Go to the source code of this file.
Functions | |
int | script_demo_display (lua_State *L) throw () |
void demo_display(picture, x, y) |
|
void demo_display(picture, x, y)
Definition at line 29 of file demo-script.cpp. 00030 { 00031 BEGIN_NOEXCEPTION; 00032 const char *filename = luaL_checkstring(L, 1); 00033 int x = luaL_checkint(L, 2); 00034 int y = luaL_checkint(L, 3); 00035 00036 Picture *picture = new Picture(Path::dataReadPath(filename), V2(x, y)); 00037 getDemo(L)->action_display(picture); 00038 END_NOEXCEPTION; 00039 return 0; 00040 }
|