Isle
Loading...
Searching...
No Matches
legoroi.h File Reference
Include dependency graph for legoroi.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  LegoROI
 [AI] Represents a Real-time Object Instance enriched with LEGO-specific functionality. More...
 
class  TimeROI
 [AI] An extension of LegoROI that adds support for keeping and applying a base time reference (used for time-based animation/control). More...
 

Typedefs

typedef unsigned char(* ColorOverride) (const char *, char *, unsigned int)
 [AI] Function pointer type for overriding color. More...
 
typedef unsigned char(* TextureHandler) (const char *, unsigned char *, unsigned int)
 [AI] Function pointer type for custom palette lookup or texture palette fetching. More...
 

Typedef Documentation

◆ ColorOverride

ColorOverride

[AI] Function pointer type for overriding color.

Used to map a logical color name to an RGBA or palette format string.

Parameters
constchar* [AI] The original color name.
char*[AI] The output buffer for the overridden color name.
unsignedint [AI] Size of the buffer.
Returns
unsigned char [AI] Indicates whether an override occurred. [1 - overridden, 0 - not]

Definition at line 15 of file legoroi.h.

◆ TextureHandler

TextureHandler

[AI] Function pointer type for custom palette lookup or texture palette fetching.

Parameters
constchar* [AI] Texture name.
unsignedchar* [AI] Pointer to output palette entries.
unsignedint [AI] Number of entries expected/requested.
Returns
unsigned char [AI] Indicates success (nonzero) or failure (zero).

Definition at line 25 of file legoroi.h.