Property | Type | Description | |
---|---|---|---|
FPSToggle | bool |
Method | Description | |
---|---|---|
BindToEngine ( ScriptEngine engine ) : void | ||
CheckLineObstruction ( Vector2f &position, |
||
CheckTileObstruction ( Vector2f &position, |
||
DoTalk ( ) : void | ||
GetLayerHeight ( int layer ) : int | ||
GetLayerWidth ( int layer ) : int | ||
GetTileHeight ( ) : int | ||
GetTileWidth ( ) : int | ||
SetColorMask ( |
||
ToggleFPSThrottle ( ) : void |
Toggles the FPS throttle.
|
Method | Description | |
---|---|---|
AddPersons ( ) : void |
Adds the persons and triggers in this map instance to the person handler.
|
|
AreZonesAt ( int x, int y, int layer ) : bool | ||
AttachCamera ( string name ) : void | ||
AttachInput ( string name ) : void | ||
CallDefaultMapScript ( int which ) : void | ||
CallMapScript ( int which ) : void | ||
ChangeMap ( string filename ) : void | ||
CheckMapEdgeScript ( int x, int y ) : void | ||
CompileMapScripts ( ) : void |
Compiles the loaded default map scripts for this map.
|
|
ConstructFastAtlas ( ) : void |
Turns the tileset into a tile atlas and then put it into a wrapper for fast tetxure manipulation.
|
|
DetachCamera ( ) : void | ||
DetachInput ( ) : void | ||
DrawPersons ( int layer ) : void |
Draws the persons for the requested layer.
|
|
DrawVerts ( |
||
ExecuteTrigger ( double x, double y, int layer ) : void | ||
ExecuteZoneScript ( int zone ) : void | ||
ExecuteZones ( int x, int y, int layer ) : void | ||
ExitMapEngine ( ) : void | ||
GetCameraPerson ( ) : string | ||
GetCameraX ( ) : int | ||
GetCameraY ( ) : int | ||
GetClampedCamera ( ) : Vector2f | ||
GetCurrentMap ( ) : string | ||
GetCurrentZone ( ) : int | ||
GetInputPerson ( ) : string | ||
GetLayerName ( int layer ) : string | ||
GetMapEngineFrameRate ( ) : int | ||
GetNextAnimatedTile ( int tile ) : int | ||
GetNumLayers ( ) : int | ||
GetNumTiles ( ) : int | ||
GetNumZones ( ) : int | ||
GetTile ( int x, int y, int layer ) : int | ||
GetTileDelay ( int tile ) : int | ||
GetTileImage ( int tile ) : |
||
GetTileName ( int tile ) : string | ||
GetTriggerAt ( double x, double y ) : Entity | ||
GetZoneHeight ( int zone ) : int | ||
GetZoneLayer ( int zone ) : int | ||
GetZoneWidth ( int zone ) : int | ||
GetZoneX ( int zone ) : int | ||
GetZoneY ( int zone ) : int | ||
IsCameraAttached ( ) : bool | ||
IsInputAttached ( ) : bool | ||
IsLayerReflective ( int layer ) : bool | ||
IsLayerVisible ( int layer ) : bool | ||
IsMapEngineRunning ( ) : bool | ||
IsTriggerAt ( double x, double y, int layer ) : bool | ||
LoadMap ( string filename, bool removePeople, bool useBase ) : void |
Loads the map, and optionally removes those that may die when changing map.
|
|
MapEngine ( string filename, [ fps = 60 ) : void | ||
MapEngineHandler ( ) : System | ||
MapToScreenX ( int layer, int x ) : int | ||
MapToScreenY ( int layer, int y ) : int | ||
ParseAnimations ( ) : void |
Goes through the tiles and finds those that animate and Puts their index references into an easily managed class.
|
|
RenderMap ( bool self ) : void | ||
RenderMapHandle ( ) : void | ||
ReplaceTilesOnLayer ( int layer, int from, int to ) : void | ||
ScreenToMapX ( int layer, int x ) : int | ||
ScreenToMapY ( int layer, int y ) : int | ||
SetCameraX ( int x ) : void | ||
SetCameraY ( int y ) : void | ||
SetDefaultMapScript ( int type, object code ) : void | ||
SetDelayScript ( int frames, object code ) : void | ||
SetLayerReflective ( int layer, bool value ) : void | ||
SetLayerRenderer ( int layer, object code ) : void | ||
SetLayerVisible ( int layer, bool visible ) : void | ||
SetMapEngineFrameRate ( int rate ) : void | ||
SetRenderScript ( object code ) : void | ||
SetTile ( int x, int y, int layer, int tile ) : void | ||
SetTileImage ( int tile, |
||
SetUpdateScript ( object code ) : void | ||
UpdateCutout ( ) : void |
Updates the max num of vertices that the size of the screen can handle.
|
|
UpdateInput ( ) : void | ||
UpdateMapEngine ( bool self ) : void | ||
UpdateMapEngineHandle ( ) : void |
public static BindToEngine ( ScriptEngine engine ) : void | ||
engine | ScriptEngine | |
return | void |
public static CheckLineObstruction ( Vector2f &position, |
||
position | Vector2f | |
person | ||
return | bool |
public static CheckTileObstruction ( Vector2f &position, |
||
position | Vector2f | |
person | ||
return | bool |
public static GetLayerHeight ( int layer ) : int | ||
layer | int | |
return | int |
public static GetLayerWidth ( int layer ) : int | ||
layer | int | |
return | int |
public static SetColorMask ( |
||
color | ||
frames | int | |
return | void |