- axisEvent
void axisEvent(uint id, BindingCode code, uint timestamp, float value)
Called when an axis is being operated.
The id should be generated from a string, usually the name of the binding.
code is a duplicate of the code used for fast lookup of the binding, which also contains other info (deviceID, etc).
timestamp is the time lapsed since the start of the program, can be used to measure time between keypresses.
value is the current position of the axis normalized between -1.0 and +1.0 for joysticks, and 0.0 and +1.0 for analog
triggers.
- controllerAdded
void controllerAdded(uint ID)
Undocumented in source. Be warned that the author may not have intended to support it.
- controllerRemoved
void controllerRemoved(uint ID)
Undocumented in source. Be warned that the author may not have intended to support it.
- createNewDocument
void createNewDocument(dstring name, int rX, int rY)
Undocumented in source. Be warned that the author may not have intended to support it.
- initAddMaterials
void initAddMaterials()
Opens a window to ask the user for input on materials to be added
- initNewTileLayer
void initNewTileLayer()
Opens a window to ask the user for the data on the new tile layer
- initResizeLayer
void initResizeLayer()
Undocumented in source. Be warned that the author may not have intended to support it.
- keyEvent
void keyEvent(uint id, BindingCode code, uint timestamp, bool isPressed)
Called when a keybinding event is generated.
The id should be generated from a string, usually the name of the binding.
code is a duplicate of the code used for fast lookup of the binding, which also contains other info (deviceID, etc).
timestamp is the time lapsed since the start of the program, can be used to measure time between keypresses.
NOTE: Hat events on joysticks don't generate keyReleased events, instead they generate keyPressed events on release.
- menuEvent
void menuEvent(Event ev)
Undocumented in source. Be warned that the author may not have intended to support it.
- newTileLayer
void newTileLayer(int tX, int tY, int mX, int mY, dstring name, string file, bool embed)
Creates a new tile layer with the given data.
- onExit
void onExit()
Undocumented in source. Be warned that the author may not have intended to support it.
- onLoad
void onLoad()
Undocumented in source. Be warned that the author may not have intended to support it.
- onLoadDialog
void onLoadDialog(Event ev)
Undocumented in source. Be warned that the author may not have intended to support it.
- onNewDocument
void onNewDocument()
Undocumented in source. Be warned that the author may not have intended to support it.
- onQuit
void onQuit()
Undocumented in source. Be warned that the author may not have intended to support it.
- onRedo
void onRedo()
Undocumented in source. Be warned that the author may not have intended to support it.
- onSave
void onSave()
Undocumented in source. Be warned that the author may not have intended to support it.
- onSaveAs
void onSaveAs()
Undocumented in source. Be warned that the author may not have intended to support it.
- onSaveDialog
void onSaveDialog(Event ev)
Undocumented in source. Be warned that the author may not have intended to support it.
- onUndo
void onUndo()
Undocumented in source. Be warned that the author may not have intended to support it.
- openLayerList
void openLayerList()
Undocumented in source. Be warned that the author may not have intended to support it.
- openMaterialList
void openMaterialList()
Undocumented in source. Be warned that the author may not have intended to support it.
- setRasterRefresh
void setRasterRefresh()
Undocumented in source. Be warned that the author may not have intended to support it.
- whereTheMagicHappens
void whereTheMagicHappens()
Undocumented in source. Be warned that the author may not have intended to support it.