2023-06-25 00:47:06 -04:00
|
|
|
#include "legovideomanager.h"
|
2023-06-26 06:24:11 -04:00
|
|
|
#include <ddraw.h>
|
2023-06-29 04:10:08 -04:00
|
|
|
|
|
|
|
// OFFSET: LEGO1 0x1007aa20 STUB
|
|
|
|
LegoVideoManager::LegoVideoManager()
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
// OFFSET: LEGO1 0x1007ab40 STUB
|
|
|
|
LegoVideoManager::~LegoVideoManager()
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
// OFFSET: LEGO1 0x1007c560 STUB
|
|
|
|
int LegoVideoManager::EnableRMDevice()
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
// OFFSET: LEGO1 0x1007c740 STUB
|
|
|
|
int LegoVideoManager::DisableRMDevice()
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
// OFFSET: LEGO1 0x1007c310 STUB
|
|
|
|
void LegoVideoManager::EnableFullScreenMovie(unsigned char a, unsigned char b)
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
// OFFSET: LEGO1 0x1007b6a0 STUB
|
|
|
|
void LegoVideoManager::MoveCursor(int x, int y)
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
2023-06-29 09:49:51 -04:00
|
|
|
|
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-29 09:49:51 -04:00
|
|
|
}
|