mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-26 17:46:38 -05:00
4c9e138cbf
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.
25 lines
465 B
C++
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
|