isle/LEGO1/mxpalette.h

26 lines
472 B
C
Raw Normal View History

2023-04-27 22:19:39 -04:00
#ifndef MXPALETTE_H
#define MXPALETTE_H
#include <ddraw.h>
#include "mxcore.h"
#include "mxtypes.h"
// VTABLE 0x100dc848
// SIZE 0x414
class MxPalette : public MxCore
2023-04-27 22:19:39 -04:00
{
public:
__declspec(dllexport) unsigned char operator==(MxPalette &);
__declspec(dllexport) void Detach();
MxResult GetEntries(LPPALETTEENTRY p_entries);
private:
LPDIRECTDRAWPALETTE m_pDirectDrawPalette;
PALETTEENTRY m_entries[256];
// there's a bit more here
2023-04-27 22:19:39 -04:00
};
#endif // MXPALETTE_H