Commit Graph

9 Commits

Author SHA1 Message Date
Glenn Maynard a4de4c8c0d better function registration: store a reference, instead of making up a name 2005-02-05 23:03:20 +00:00
Chris Danford e2da825c30 re-register all ActorCommands after resetting Lua 2005-02-05 10:15:15 +00:00
Glenn Maynard 2eb9e8837b don't bother parsing for empty commands 2005-02-02 03:36:46 +00:00
Glenn Maynard 088b7bb356 Allow passing a lua_State to PushStack; make them static.
Add SetGlobal(bool), UnsetGlobal, PushStackNil.
Pass lua_State* to LUA_RETURN.
2005-01-30 02:01:27 +00:00
Glenn Maynard 703833d7d4 Simplify. RageException::Throw no longer actually throws; this makes
debugging much easier, since we don't lose the stack after a Lua error.
2005-01-28 19:42:44 +00:00
Chris Danford 8555a6da45 use Lua to execute commands
(needs cleanup)
2005-01-26 11:21:43 +00:00
Chris Danford ed6aa8b02e The Lua state needs to be reset on a theme change to reload scripts 2005-01-24 03:05:37 +00:00
Chris Danford cd9c48d645 LuaHelpers -> LuaManager 2005-01-24 02:26:55 +00:00
Chris Danford b055671a63 LuaHelpers.cpp -> LuaManager 2005-01-24 02:12:07 +00:00