Files
VVVVVV/desktop_version/src
NyakoFox 0e9c4f98a6 Replace colour IDs with an enum
Entity colors are just integers. Their colour ID gets passed through a
big switch, returning different RGB values depending on the colour ID
(and can also get affected by randomness or other game state.)

But because of this, there's a bunch of random numbers floating around,
with no actual description on what they are other than comments which,
while most of the time are accurate, only exist in the switch.

To fix this, this commit adds a new enum which labels every colour.
While we can't use it as a type (as we need to allow colours outside of
what are defined, in case people want a "pure white", and scripting can
set any colour ID they want), colours have to stay as `int`.
2025-04-21 20:09:57 -04:00
..
2024-01-09 15:48:41 -08:00
2024-01-09 15:48:41 -08:00
2025-04-21 20:09:57 -04:00
2025-04-21 20:09:57 -04:00
2025-04-21 20:09:57 -04:00
2025-04-21 20:09:57 -04:00
2021-12-18 00:01:32 -08:00
2021-09-27 10:32:23 -07:00
2025-04-21 20:09:57 -04:00
2025-04-21 20:09:57 -04:00
2025-04-21 20:09:57 -04:00
2024-01-09 15:48:41 -08:00
2024-01-09 15:48:41 -08:00
2024-08-02 22:25:00 -07:00
2025-04-21 20:09:57 -04:00
2022-12-31 20:04:56 -08:00
2022-03-13 23:50:37 -07:00
2025-04-21 20:09:57 -04:00
2024-11-03 21:54:44 -08:00
2025-04-21 20:09:57 -04:00
2024-01-08 19:17:44 -08:00
2024-08-27 15:13:24 -07:00
2024-02-03 18:11:11 -08:00
2025-04-21 20:09:57 -04:00
2024-11-07 09:53:45 -08:00
2023-11-30 08:38:40 -08:00
2024-01-09 15:48:41 -08:00
2023-11-27 12:09:42 -05:00
2022-12-31 20:04:56 -08:00
2021-09-24 16:37:27 -07:00
2022-12-29 16:13:54 -08:00
2023-02-27 23:00:41 -08:00
2023-02-27 23:00:41 -08:00
2023-03-21 19:59:48 -07:00
2022-11-14 19:40:23 -08:00
2020-11-04 12:06:57 -05:00
2023-11-27 12:09:42 -05:00