diff --git a/PC-Mac/PAL.md b/PC-Mac/PAL.md index 3d68028..0f87c5a 100644 --- a/PC-Mac/PAL.md +++ b/PC-Mac/PAL.md @@ -14,8 +14,6 @@ Color palettes are sets of 256 colors used to render CEL/CL2 graphics. `{PALETTE COLOR} * 256` -*The first half of the palette depends on the level palette ??* - ## 3. `{PALETTE COLOR}` (3 bytes) `{RED COMPONENT} {GREEN COMPONENT} {BLUE COMPONENT}` @@ -30,16 +28,3 @@ To find the corresponding `{COLOR PALETTE OFFSET}` in the color palette file, use the following formula: `{COLOR PALETTE OFFSET} = 3 * {PALETTE INDEX}` - -## TODO -- Add palette structure - - First half (128 bytes) background - - Second half (128 bytes) other elements -- Add hue and brightness - - Each half (128 bytes) has 8 hues - - Each hue (16 bytes) has 16 levels of brightness (1 byte each) - - Every square on the map has a light level which is combined with the orignal light level to get the final color (to be detailed). - - Is it different for the first 32 bytes of the second half? - - It seems that those 32 bytes are split into 4 hues (8 bytes) with 8 levels of brightness (1 byte each) - - It is different for level loading screens -- Add JASC palette format?