2013-08-02 07:25:12 +00:00
|
|
|
|
|
|
|
:: AllToLua.bat
|
|
|
|
:: This scripts updates the automatically-generates Lua bindings in Bindings.cpp / Bindings.h
|
2013-12-21 18:30:16 +00:00
|
|
|
:: When called without any parameters, it will pause for a keypress at the end
|
|
|
|
:: Call with any parameter to disable the wait (for buildserver use)
|
2013-08-02 07:25:12 +00:00
|
|
|
|
2014-01-25 19:36:20 +00:00
|
|
|
@echo off
|
|
|
|
|
2013-08-02 07:25:12 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-12-21 18:30:16 +00:00
|
|
|
:: Regenerate the files:
|
2014-01-25 23:48:48 +00:00
|
|
|
echo Regenerating LUA bindings . . .
|
|
|
|
"tolua++.exe" -L virtual_method_hooks.lua -o Bindings.cpp -H Bindings.h AllToLua.pkg
|
2013-08-02 07:25:12 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-12-21 18:30:16 +00:00
|
|
|
: Wait for keypress, if no param given:
|
2014-01-25 19:36:20 +00:00
|
|
|
echo.
|
2014-01-25 23:48:48 +00:00
|
|
|
if %ALLTOLUA_WAIT%N == N pause
|
2013-08-02 07:25:12 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|