diff options
author | whiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-05-04 07:29:52 +0000 |
---|---|---|
committer | whiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-05-04 07:29:52 +0000 |
commit | 14e96597c65a2402ee4ddc068ff08c7659123a1d (patch) | |
tree | ebefcbd5ec72570f68bb7b043365b3d6fb93dd6b /Lua/src/lua/UHookableEvent.pas | |
parent | 2449e4a979c23addcc9110a4dc876d9acd761005 (diff) | |
download | usdx-14e96597c65a2402ee4ddc068ff08c7659123a1d.tar.gz usdx-14e96597c65a2402ee4ddc068ff08c7659123a1d.tar.xz usdx-14e96597c65a2402ee4ddc068ff08c7659123a1d.zip |
old lua test stuff by hawkear removed or commented
new function: Party.SetWinner sets winner of current round
new unit ULuaUtils w/ some functions that are or may become useful
moved Lua_ClearStack and Lua_ToBinInt to ULuaUtils
added first hooks (have a look at hooks.txt in game/plugins until documentation is finished)
lua module for TextGl written and finished
lua testfile (game/scripts/main.lua) ported to new interface, see game/plugins/LuaTest.usdx
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1709 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r-- | Lua/src/lua/UHookableEvent.pas | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Lua/src/lua/UHookableEvent.pas b/Lua/src/lua/UHookableEvent.pas index d6ec2807..a8422026 100644 --- a/Lua/src/lua/UHookableEvent.pas +++ b/Lua/src/lua/UHookableEvent.pas @@ -281,13 +281,4 @@ begin Result := 0;
end;
-{ this is a helper in case an evenet owner don't has no use for the results
- returns number of popped elements }
-function Lua_ClearStack(L: Plua_State): Integer;
- var I: Integer;
-begin
- Result := lua_gettop(L);
- lua_pop(L, Result);
-end;
-
end.
\ No newline at end of file |