1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-01-24 07:56:54 +00:00
CC-Tweaked/projects
Jonathan Coates ba36c69583
Use ARGB32 to store palette colours
Previously we used an RGBA byte array. However, this comes with some
overhead (extra memory reads, bounds checks).

Minecraft 1.21+ uses ARGB32 colours for rendering (well, in the public
code — internaly it converts to ABGR), so it makes sense to match that
here.

We also add some helper functions for dealing with ARGB32 colours. These
can be removed in 1.21, as Minecraft will have these builtin.
2024-09-11 10:13:39 +01:00
..
common Use ARGB32 to store palette colours 2024-09-11 10:13:39 +01:00
common-api Fix several repeated words 2024-08-17 11:39:14 +01:00
core Use ARGB32 to store palette colours 2024-09-11 10:13:39 +01:00
core-api Don't share singleton collections 2024-08-18 10:20:54 +01:00
fabric Use ARGB32 to store palette colours 2024-09-11 10:13:39 +01:00
fabric-api Rewrite turtle upgrade modeller registration API 2024-01-16 23:00:49 +00:00
forge Use ARGB32 to store palette colours 2024-09-11 10:13:39 +01:00
forge-api Rewrite turtle upgrade modeller registration API 2024-01-16 23:00:49 +00:00
lints Fix disk drives not setting/clearing removed flag 2024-08-15 09:03:33 +01:00
standalone Small bits of cleanup 2024-06-26 18:07:57 +01:00
web Publish docs via an artifact instead 2024-06-19 09:57:56 +01:00
ARCHITECTURE.md Add a standalone CC:T UI 2023-10-28 17:58:11 +01:00