2023-04-27 22:19:39 -04:00
|
|
|
#ifndef MXPALETTE_H
|
|
|
|
#define MXPALETTE_H
|
|
|
|
|
2023-06-24 13:09:46 -04:00
|
|
|
#include <ddraw.h>
|
|
|
|
|
|
|
|
#include "mxcore.h"
|
2023-06-29 04:10:08 -04:00
|
|
|
#include "mxtypes.h"
|
2023-06-24 13:09:46 -04:00
|
|
|
|
2023-06-29 04:10:08 -04:00
|
|
|
// VTABLE 0x100dc848
|
|
|
|
// SIZE 0x414
|
2023-06-24 13:09:46 -04:00
|
|
|
class MxPalette : public MxCore
|
2023-04-27 22:19:39 -04:00
|
|
|
{
|
|
|
|
public:
|
2023-06-30 14:34:39 -04:00
|
|
|
__declspec(dllexport) MxBool operator==(MxPalette &);
|
2023-06-11 21:03:54 -04:00
|
|
|
__declspec(dllexport) void Detach();
|
2023-06-24 13:09:46 -04:00
|
|
|
|
|
|
|
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
|