Commit Graph

23 Commits

Author SHA1 Message Date
Glenn Maynard 9bc27fb390 Messages and commands are nearly identical: they both have a name,
they can both have parameters stashed in a table, and they both play
stuff out of the actor command list.  Merge them; now the only
difference between playing and broadcasting a command is that playing
plays recursively on a tree and broadcasting sends to all subscribers.

The distinction between "messages" and "commands" is cosmetic now;
everything is a message.  The only thing special about commands intended
to be received as a broadcast is the "Message" suffix, which subscribes it.
2007-02-03 06:17:02 +00:00
Steve Checkoway db89c28b25 Param table. 2006-11-17 17:18:35 +00:00
Chris Danford 2f7ac6aa3c Add m_ to StageStats and PlayerStageStats members. There are several methods of these classes with local variable names that are similar to the member names. m_ helps distinguish between those two types. 2006-11-14 11:13:21 +00:00
Glenn Maynard e11914d4bb LoadFromNode(sDir, pNode) -> LoadFromNode(pNode) 2006-10-09 08:24:10 +00:00
Glenn Maynard d7776aba60 evaluate enums directly 2006-10-09 01:34:16 +00:00
Glenn Maynard c690fdcfe4 unify registration 2006-09-29 00:01:32 +00:00
Glenn Maynard 8ef5aeb341 simpler Lua boilerplate 2006-09-27 20:10:14 +00:00
Glenn Maynard cbc69ea550 remove unused parameter 2006-08-15 19:24:29 +00:00
Chris Danford 66d25f70ec AccumStageStats -> AccumPlayedStageStats 2006-07-03 00:04:30 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Glenn Maynard 9d7f835609 no need to template Luna specializations 2005-06-20 05:02:03 +00:00
Glenn Maynard 77ee110e65 include cleanup 2005-06-20 04:28:16 +00:00
Glenn Maynard 0b80f541ac update registration for BitmapText types 2005-06-20 04:06:26 +00:00
Glenn Maynard dd3b227562 LuaHelpers::RunExpressionI, LuaHelpers::RunExpressionS 2005-06-16 06:37:45 +00:00
Chris Danford 623dc2512f merge PlayCommand2 and PlayCommand so that Actor derivities only have to override one method to get the correct behavior 2005-06-12 00:35:08 +00:00
Chris Danford 8b5f3c3e55 fix bogus initial calorie number 2005-04-04 09:21:16 +00:00
Glenn Maynard 728c5c7778 don't unsub if never loaded 2005-03-01 15:16:34 +00:00
Glenn Maynard fc1c863f8a omit semicolon, so REGISTER_ACTOR_CLASS(x) can't be parsed as
a prototype
2005-02-23 19:09:13 +00:00
Chris Danford 25c88d3aa0 show cumulative calorie number 2005-02-17 19:35:06 +00:00
Chris Danford c13accadc0 evaluate PlayerNumber as a lua expression 2005-02-16 21:20:33 +00:00
Chris Danford 4e12486bf4 fix compile 2005-02-16 17:35:21 +00:00
Chris Danford bb712884bb move global StageStats into a singleton 2005-02-16 03:25:45 +00:00
Chris Danford 6d7f4cf150 add ScoreDisplayCalories 2005-02-15 07:09:07 +00:00