1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-03-10 05:28:13 +00:00
Jonathan Coates 6e374579a4
Standardise on term colour parsing
- colors.toBlit now performs bounds checks on the passed value,
   preventing weird behaviour like color.toBlit(2 ^ 16) returning "10".

 - The window API now uses colors.toBlit (or rather a copy of it) for
   parsing colours, allowing doing silly things like
   term.setTextColour(colours.blue + 5).

 - Add some top-level documentation to the term API to explain some of
   the basics.

Closes #1736
2024-03-06 10:18:40 +00:00
..
2024-02-24 14:55:22 +00:00
2024-03-06 10:18:40 +00:00
2023-12-16 19:09:39 +00:00
2023-10-28 17:58:11 +01:00