isle/LEGO1/legovideomanager.cpp

13 lines
373 B
C++
Raw Normal View History

2023-06-25 00:47:06 -04:00
#include "legovideomanager.h"
2023-06-26 06:24:11 -04:00
#include <ddraw.h>
2023-06-25 00:47:06 -04:00
// OFFSET: LEGO1 0x1007c440
2023-06-26 06:24:11 -04:00
void LegoVideoManager::SetSkyColor(float red, float green, float blue)
2023-06-25 00:47:06 -04:00
{
2023-06-26 06:24:11 -04:00
PALETTEENTRY colorStrucure; // [esp+0h] [ebp-4h] BYREF
colorStrucure.peRed = (red* 255.0);
colorStrucure.peGreen = (green * 255.0);
colorStrucure.peBlue = (blue * 255.0);
colorStrucure.peFlags = -124;
// TODO
2023-06-25 00:47:06 -04:00
}