mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-27 01:45:37 -05:00
176bd1d8fd
* LegoGameState destructor and related * MxTypes, naming convention, and using a fraction * use m_ prefix in struct
24 lines
596 B
C++
24 lines
596 B
C++
#ifndef LEGOROI_H
|
|
#define LEGOROI_H
|
|
|
|
#include "mxtypes.h"
|
|
|
|
typedef MxBool (*ROIHandler)(char*, char*, MxU32);
|
|
|
|
class LegoROI {
|
|
public:
|
|
__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
|