New colormap (.ct) format added
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1510 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
+12
-2
@@ -25,15 +25,25 @@ Followed by:
|
||||
4 offset from &StringCount until one char past the end
|
||||
of the last string.
|
||||
|
||||
For .ct files an item is as follows (new 256x24bit format):
|
||||
1 Index of first clut in this item.
|
||||
1 Index of last clut in this item.
|
||||
For each item:
|
||||
256 palette entries:
|
||||
1 red value
|
||||
1 green value
|
||||
1 blue value
|
||||
|
||||
For .ct files an item is as follows:
|
||||
For old .ct files an item is as follows (obsoleted by new 256x24bit format):
|
||||
1 Index of first clut in this item.
|
||||
1 Index of last clut in this item.
|
||||
For each item:
|
||||
32 palette entries:
|
||||
2 bits 0-4: blue value
|
||||
bits 5-9: green value
|
||||
bits 10-15: red value
|
||||
bits 10-14: red value
|
||||
bit 15: specifies the interpolation mode for 3DO scaling
|
||||
(is ignored now)
|
||||
The full palette contains 256 values, which are the original 32 values
|
||||
multiplied by 1 to 8.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user