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