mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-03 19:57:54 +02:00
less greenish for Sega Saturn data
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user