Home
last modified time | relevance | path

Searched refs:lua_handler (Results 1 – 17 of 17) sorted by relevance

/dports/games/onscripter/onscripter-20200722/
H A DONScripter_animation.cpp62 if (lua_handler.is_animatable && !script_h.isExternalScript()){ in calcDurationToNextAnimation()
63 if (min == 0 || min > lua_handler.next_time) in calcDurationToNextAnimation()
64 min = lua_handler.next_time; in calcDurationToNextAnimation()
82 if (lua_handler.is_animatable && !script_h.isExternalScript()){ in proceedAnimation()
88 while (lua_handler.next_time <= current_time){ in proceedAnimation()
90 if (lua_handler.callFunction(true, "animation")) in proceedAnimation()
91 errorAndExit( lua_handler.error_str ); in proceedAnimation()
93 if (lua_handler.duration_time <= 0){ in proceedAnimation()
94 lua_handler.next_time = current_time; in proceedAnimation()
100 lua_handler.next_time += lua_handler.duration_time; in proceedAnimation()
[all …]
H A DONScripter_rmenu.cpp379 if (lua_handler.isCallbackEnabled(LUAHandler::LUA_LOAD)){ in executeSystemLoad()
380 if (lua_handler.callFunction(true, "load", &file_no)) in executeSystemLoad()
381 errorAndExit( lua_handler.error_str ); in executeSystemLoad()
H A DScriptParser.h265 LUAHandler lua_handler; variable
H A DONScripter_text.cpp804 if (lua_handler.isCallbackEnabled(LUAHandler::LUA_TEXT)) in textCommand()
806 if (lua_handler.callFunction(true, "text")) in textCommand()
807 errorAndExit( lua_handler.error_str ); in textCommand()
H A DONScripter_command.cpp1974 if (lua_handler.isCallbackEnabled(LUAHandler::LUA_LOAD)){ in loadgameCommand()
1975 if (lua_handler.callFunction(true, "load", &no)) in loadgameCommand()
1976 errorAndExit( lua_handler.error_str ); in loadgameCommand()
2835 lua_handler.loadInitScript(); in gameCommand()
2836 if (lua_handler.isCallbackEnabled(LUAHandler::LUA_RESET)){ in gameCommand()
2837 if (lua_handler.callFunction(true, "reset")) in gameCommand()
2838 errorAndExit( lua_handler.error_str ); in gameCommand()
3232 lua_handler.init(this, &script_h, screen_ratio1, screen_ratio2); in defineresetCommand()
H A DONScripter.cpp908 if (lua_handler.callFunction(false, cmd))
909 errorAndExit( lua_handler.error_str );
H A DScriptParser_command.cpp726 lua_handler.addCallback(label); in luacallCommand()
/dports/games/onscripter-1byte/onscripter-20200722/
H A DONScripter_animation.cpp62 if (lua_handler.is_animatable && !script_h.isExternalScript()){ in calcDurationToNextAnimation()
63 if (min == 0 || min > lua_handler.next_time) in calcDurationToNextAnimation()
64 min = lua_handler.next_time; in calcDurationToNextAnimation()
82 if (lua_handler.is_animatable && !script_h.isExternalScript()){ in proceedAnimation()
88 while (lua_handler.next_time <= current_time){ in proceedAnimation()
90 if (lua_handler.callFunction(true, "animation")) in proceedAnimation()
91 errorAndExit( lua_handler.error_str ); in proceedAnimation()
93 if (lua_handler.duration_time <= 0){ in proceedAnimation()
94 lua_handler.next_time = current_time; in proceedAnimation()
100 lua_handler.next_time += lua_handler.duration_time; in proceedAnimation()
[all …]
H A DONScripter_rmenu.cpp379 if (lua_handler.isCallbackEnabled(LUAHandler::LUA_LOAD)){ in executeSystemLoad()
380 if (lua_handler.callFunction(true, "load", &file_no)) in executeSystemLoad()
381 errorAndExit( lua_handler.error_str ); in executeSystemLoad()
H A DScriptParser.h265 LUAHandler lua_handler; variable
H A DONScripter_text.cpp804 if (lua_handler.isCallbackEnabled(LUAHandler::LUA_TEXT)) in textCommand()
806 if (lua_handler.callFunction(true, "text")) in textCommand()
807 errorAndExit( lua_handler.error_str ); in textCommand()
H A DONScripter_command.cpp1974 if (lua_handler.isCallbackEnabled(LUAHandler::LUA_LOAD)){ in loadgameCommand()
1975 if (lua_handler.callFunction(true, "load", &no)) in loadgameCommand()
1976 errorAndExit( lua_handler.error_str ); in loadgameCommand()
2835 lua_handler.loadInitScript(); in gameCommand()
2836 if (lua_handler.isCallbackEnabled(LUAHandler::LUA_RESET)){ in gameCommand()
2837 if (lua_handler.callFunction(true, "reset")) in gameCommand()
2838 errorAndExit( lua_handler.error_str ); in gameCommand()
3232 lua_handler.init(this, &script_h, screen_ratio1, screen_ratio2); in defineresetCommand()
H A DONScripter.cpp908 if (lua_handler.callFunction(false, cmd))
909 errorAndExit( lua_handler.error_str );
H A DScriptParser_command.cpp726 lua_handler.addCallback(label); in luacallCommand()
/dports/www/bozohttpd/bozohttpd-20210227/
H A Dbozohttpd.h68 typedef struct lua_handler { struct
71 SIMPLEQ_ENTRY(lua_handler) h_next; argument
78 SIMPLEQ_HEAD(, lua_handler) handlers;
/dports/www/htdigest/httpd-2.4.6/modules/lua/
H A Dmod_lua.c247 static int lua_handler(request_rec *r) in lua_handler() function
1927 ap_hook_handler(lua_handler, NULL, NULL, APR_HOOK_MIDDLE); in lua_register_hooks()
/dports/www/apache24/httpd-2.4.53/modules/lua/
H A Dmod_lua.c278 static int lua_handler(request_rec *r) in lua_handler() function
2118 ap_hook_handler(lua_handler, NULL, NULL, APR_HOOK_MIDDLE); in lua_register_hooks()