Chris Danford
7f821e8cfc
CString -> RString
2006-01-22 01:00:06 +00:00
Glenn Maynard
4cbf9be85a
Add AddCommand and THEME:GetMetricA.
...
This won't work with theme reloading, but that hasn't worked in a long time anyway
(recreating the Lua environment while it's actually in use is hard).
2005-10-05 07:37:26 +00:00
Chris Danford
42c5e2b3f9
allow specifying a Lua function for a command with "%funciton(self) self:blah end"
2005-02-23 19:15:24 +00:00
Glenn Maynard
11002ff5b2
ActorCommands is a LuaReference
2005-02-13 04:07:29 +00:00
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
b547efa5e7
have ActorCommands push themself
2005-01-28 20:08:29 +00:00
Glenn Maynard
c108dce357
add copy ctor for ActorCommands. (This was an attempt to fix a crash,
...
and wasn't the problem, but is very important anyway; it's currently unused,
so untested.)
2005-01-28 19:54:52 +00:00
Glenn Maynard
fde9e0cfc9
auto_ptr is incompatible with STL containers; use a custom refcounted holder
2005-01-26 20:52:20 +00:00
Chris Danford
8555a6da45
use Lua to execute commands
...
(needs cleanup)
2005-01-26 11:21:43 +00:00
Chris Danford
ed19821e09
rename: ActorCommand -> Command
...
Make Command smaller and more generic.
Parse arguments on use, not in Command::Load.
2004-12-03 05:19:46 +00:00
Chris Danford
e1da21f61c
Let ActorCommand do the parsing for ModeChoice
2004-12-02 05:56:38 +00:00
Chris Danford
bcbe615c0d
Pass ActorCommand structures to Actor instead of unparsed command strings.
...
This way, we can potentially do the parsing early and not parse inside of Actor as the command is executing.
2004-11-06 23:13:47 +00:00
Chris Danford
6c855f0c93
"ParsedCommand" -> "ActorCommand"
2004-11-06 20:42:09 +00:00
Chris Danford
2c314df898
HandleParams -> BeginHandleParams
2004-11-06 03:09:29 +00:00
Chris Danford
40e692a32c
const fixes
2004-11-06 03:00:10 +00:00
Chris Danford
bc184683ca
allow Lua expressions in ActorCommand parameters
2004-11-05 06:43:12 +00:00
Glenn Maynard
c531e8b172
license update
2004-06-08 00:47:53 +00:00
Chris Danford
7c19bf4b6b
add missing files
2004-01-10 20:43:56 +00:00