mirror of
https://github.com/isledecomp/isle.git
synced 2026-02-02 10:28:55 +00:00
Fix savegame.ksy: backgroundcolor uses HSV, not RGB (#1738)
The backgroundcolor and tempBackgroundColor variables store HSV values (scaled 0-100), not RGB. The game converts to RGB using ConvertHSVToRGB().
This commit is contained in:
committed by
GitHub
parent
56ed4d3339
commit
77bb4634b8
@@ -101,7 +101,9 @@ types:
|
||||
if: not is_end_marker
|
||||
doc: |
|
||||
Variable value. For colors this is a color name like "lego red".
|
||||
For backgroundcolor this is "set R G B".
|
||||
For backgroundcolor and tempBackgroundColor this is "set H S V" where
|
||||
H, S, V are HSV color values scaled 0-100 (not RGB). The game internally
|
||||
converts to RGB using ConvertHSVToRGB().
|
||||
For lightposition this is a number "1" or "2".
|
||||
instances:
|
||||
is_end_marker:
|
||||
|
||||
Reference in New Issue
Block a user