mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-24 17:04:17 +00:00
ConvertColor wip
This commit is contained in:
@@ -1,7 +1,13 @@
|
||||
#include "legovideomanager.h"
|
||||
|
||||
#include <ddraw.h>
|
||||
// OFFSET: LEGO1 0x1007c440
|
||||
void LegoVideoManager::SetSkyColor(float r, float g, float b)
|
||||
void LegoVideoManager::SetSkyColor(float red, float green, float blue)
|
||||
{
|
||||
//TODO
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user