pixelperfectengine.scripting.lualib

Undocumented in source.

Members

Functions

getLayer
LuaVar getLayer(int n)
Undocumented in source. Be warned that the author may not have intended to support it.
getLayerType
string getLayerType(Layer l)
Undocumented in source. Be warned that the author may not have intended to support it.
getPaletteIndex
uint getPaletteIndex(ushort n)
Undocumented in source. Be warned that the author may not have intended to support it.
moveSprite
void moveSprite(ISpriteLayer target, int n, LuaVar x, LuaVar y)
Undocumented in source. Be warned that the author may not have intended to support it.
readMapping
long readMapping(void* target, int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
registerLibForScripting
void registerLibForScripting(lua_State* state)

Registers the PPE standard library for a Lua script, so engine functions can be called through a Lua script.

relMoveSprite
void relMoveSprite(ISpriteLayer target, int n, LuaVar x, LuaVar y)
Undocumented in source. Be warned that the author may not have intended to support it.
relScrollLayer
void relScrollLayer(Layer l, LuaVar x, LuaVar y)
Undocumented in source. Be warned that the author may not have intended to support it.
scrollLayer
void scrollLayer(Layer l, LuaVar x, LuaVar y)
Undocumented in source. Be warned that the author may not have intended to support it.
setLayerRenderingMode
bool setLayerRenderingMode(Layer target, string mode)
Undocumented in source. Be warned that the author may not have intended to support it.
setPaletteIndex
uint setPaletteIndex(ushort n, uint c)
Undocumented in source. Be warned that the author may not have intended to support it.
setSpriteRenderingMode
void setSpriteRenderingMode(ISpriteLayer target, int n, string mode)
Undocumented in source. Be warned that the author may not have intended to support it.
setSpriteSlice
Box setSpriteSlice(void* target, int n, LuaVar x0, LuaVar y0, LuaVar x1, LuaVar y1)
Undocumented in source. Be warned that the author may not have intended to support it.
tileByPixel
long tileByPixel(void* target, int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
ttl_getA
short ttl_getA(ITTL target)
Undocumented in source. Be warned that the author may not have intended to support it.
ttl_getB
short ttl_getB(ITTL target)
Undocumented in source. Be warned that the author may not have intended to support it.
ttl_getC
short ttl_getC(ITTL target)
Undocumented in source. Be warned that the author may not have intended to support it.
ttl_getD
short ttl_getD(ITTL target)
Undocumented in source. Be warned that the author may not have intended to support it.
ttl_getx_0
short ttl_getx_0(ITTL target)
Undocumented in source. Be warned that the author may not have intended to support it.
ttl_gety_0
short ttl_gety_0(ITTL target)
Undocumented in source. Be warned that the author may not have intended to support it.
ttl_setA
short ttl_setA(ITTL target, LuaVar val)
Undocumented in source. Be warned that the author may not have intended to support it.
ttl_setB
short ttl_setB(ITTL target, LuaVar val)
Undocumented in source. Be warned that the author may not have intended to support it.
ttl_setC
short ttl_setC(ITTL target, LuaVar val)
Undocumented in source. Be warned that the author may not have intended to support it.
ttl_setD
short ttl_setD(ITTL target, LuaVar val)
Undocumented in source. Be warned that the author may not have intended to support it.
ttl_setx_0
short ttl_setx_0(ITTL target, LuaVar val)
Undocumented in source. Be warned that the author may not have intended to support it.
ttl_sety_0
short ttl_sety_0(ITTL target, LuaVar val)
Undocumented in source. Be warned that the author may not have intended to support it.
writeMapping
void writeMapping(void* target, int x, int y, uint val)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta