isle-portable/LEGO1/mxpalette.h
itsmattkc 4c9e138cbf implement all DLL exports (as TODOs)
Now we can use our own compiled LEGO1.LIB rather than one generated from the original. Also implements a script that tests them to help ensure future commits don't break them.
2023-06-30 11:34:39 -07:00

25 lines
465 B
C++

#ifndef MXPALETTE_H
#define MXPALETTE_H
#include <ddraw.h>
#include "mxcore.h"
#include "mxtypes.h"
// VTABLE 0x100dc848
// SIZE 0x414
class MxPalette : public MxCore
{
public:
__declspec(dllexport) MxBool 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
};
#endif // MXPALETTE_H