mirror of
https://github.com/XProger/OpenLara.git
synced 2025-01-17 21:09:00 +01:00
less greenish for Sega Saturn data
This commit is contained in:
parent
734f6255c0
commit
2f788bd67e
@ -1042,7 +1042,7 @@ struct Level : IGame {
|
||||
delete zoneCache;
|
||||
|
||||
delete atlasRooms;
|
||||
#ifndef FFP
|
||||
#ifndef SPLIT_BY_TILE
|
||||
delete atlasObjects;
|
||||
delete atlasSprites;
|
||||
delete atlasGlyphs;
|
||||
|
@ -1480,11 +1480,10 @@ union ColorCLUT { // RGBA5551
|
||||
ColorCLUT() {}
|
||||
ColorCLUT(uint16 value) : value(value) {}
|
||||
|
||||
operator Color24() const { return Color24((r << 3) | (r >> 2), (g << 3) | (g >> 2), (b << 3) | (b >> 2)); }
|
||||
operator Color32() const { return Color32((r << 3) | (r >> 2), (g << 3) | (g >> 2), (b << 3) | (b >> 2), -a); }
|
||||
operator Color24() const { return Color24((r << 3) | (r >> 2), (g << 3), (b << 3)); }
|
||||
operator Color32() const { return Color32((r << 3) | (r >> 2), (g << 3), (b << 3), -a); }
|
||||
};
|
||||
|
||||
|
||||
struct ColorIndex4 {
|
||||
uint8 a:4, b:4;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user