mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-29 11:06:05 -05:00
13 lines
No EOL
373 B
C++
13 lines
No EOL
373 B
C++
#include "legovideomanager.h"
|
|
#include <ddraw.h>
|
|
// OFFSET: LEGO1 0x1007c440
|
|
void LegoVideoManager::SetSkyColor(float red, float green, float blue)
|
|
{
|
|
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
|
|
} |