Commit Graph

13 Commits

Author SHA1 Message Date
Glenn Maynard baf8ef940e RunScript cleanup, default to 0 return values 2005-02-22 01:21:38 +00:00
Glenn Maynard 6f88bf18c0 Cleanup: change RunExpression to a RunScript helper. Never tack on
"return "; the caller can do that if it wants.  Instead, just act as a helper to
display a generic dialog on error.
2005-02-17 05:46:31 +00:00
Glenn Maynard d6b13fb134 pronoun 2005-02-17 00:44:26 +00:00
Glenn Maynard 8a62baa1d1 cleanup 2005-02-17 00:41:30 +00:00
Glenn Maynard 45159de835 cleanup 2005-02-17 00:00:04 +00:00
Chris Danford 5492de16e4 fix VC6 compile 2005-02-16 03:29:11 +00:00
Glenn Maynard 69383384bf add LuaData::Serialize, LuaData::LoadFromString; fix stack overflow 2005-02-16 02:42:05 +00:00
Glenn Maynard 4376c828e5 fix LuaData::BeforeReset 2005-02-16 01:46:29 +00:00
Glenn Maynard 6175a16f24 Add LuaData, a reference type that restores itself over Lua resets. This
works only with static data types that can be restored: tables, strings,
numbers, and not functions, userdata, etc.
2005-02-16 00:38:40 +00:00
Glenn Maynard 0a0ad8714c allow LuaManager::RunExpression to return a function
show the filename when a full script has an error
use LuaManager::RunExpression in LuaExpression
2005-02-15 02:15:26 +00:00
Glenn Maynard ab39fa278e fix compile 2005-02-14 01:33:53 +00:00
Glenn Maynard e24c79048e add LuaReference::GetLuaType, LuaExpression 2005-02-14 01:31:10 +00:00
Glenn Maynard c423e070aa Move Lua reference handling into a generic base class. 2005-02-13 04:00:48 +00:00