mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-26 01:44:19 +00:00
LegoGameState destructor and related (#259)
* LegoGameState destructor and related * MxTypes, naming convention, and using a fraction * use m_ prefix in struct
This commit is contained in:
@@ -1,10 +1,24 @@
|
||||
#ifndef LEGOROI_H
|
||||
#define LEGOROI_H
|
||||
|
||||
#include "mxtypes.h"
|
||||
|
||||
typedef MxBool (*ROIHandler)(char*, char*, MxU32);
|
||||
|
||||
class LegoROI {
|
||||
public:
|
||||
__declspec(dllexport) void SetDisplayBB(int p_displayBB);
|
||||
__declspec(dllexport) static void configureLegoROI(int p_roi);
|
||||
__declspec(dllexport) void SetDisplayBB(MxS32 p_displayBB);
|
||||
__declspec(dllexport) static void configureLegoROI(MxS32 p_roi);
|
||||
|
||||
static void SetSomeHandlerFunction(ROIHandler p_func);
|
||||
static MxBool CallTheHandlerFunction(
|
||||
char* p_param,
|
||||
MxFloat& p_red,
|
||||
MxFloat& p_green,
|
||||
MxFloat& p_blue,
|
||||
MxFloat& p_other
|
||||
);
|
||||
static MxBool ColorAliasLookup(char* p_param, MxFloat& p_red, MxFloat& p_green, MxFloat& p_blue, MxFloat& p_other);
|
||||
};
|
||||
|
||||
#endif // LEGOROI_H
|
||||
|
||||
Reference in New Issue
Block a user