mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
lego: implement SetControlMax and related partials (MxVideoManager, MxPalette, MxUnknown100dc6b0) (#42)
* lego: implement LegoNavController::SetControlMax and related * use MxResult * fix name
This commit is contained in:

committed by
GitHub

parent
579ee84049
commit
64d2b9e02b
@@ -1,11 +1,23 @@
|
||||
#ifndef MXPALETTE_H
|
||||
#define MXPALETTE_H
|
||||
|
||||
class MxPalette
|
||||
#include <ddraw.h>
|
||||
|
||||
#include "mxcore.h"
|
||||
#include "mxresult.h"
|
||||
|
||||
class MxPalette : public MxCore
|
||||
{
|
||||
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
|
||||
};
|
||||
|
||||
#endif // MXPALETTE_H
|
||||
|
Reference in New Issue
Block a user