mirror of
https://github.com/isledecomp/isle.git
synced 2026-02-28 06:57:37 +00:00
Fix savegame.ksy: backgroundcolor uses HSV, not RGB
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:
parent
56ed4d3339
commit
04413eca71
@ -101,7 +101,9 @@ types:
|
|||||||
if: not is_end_marker
|
if: not is_end_marker
|
||||||
doc: |
|
doc: |
|
||||||
Variable value. For colors this is a color name like "lego red".
|
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".
|
For lightposition this is a number "1" or "2".
|
||||||
instances:
|
instances:
|
||||||
is_end_marker:
|
is_end_marker:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user