Commit Graph

94 Commits

Author SHA1 Message Date
Chris Danford 599db61b62 Always call LoadAllCommands explicitly.
The hack to LoadAllCommands when playing a command was leading to weird interactions: If a theme element contained an OnCommand, it would cause the rest of the commands defined in metrics to not be loaded.
2007-02-19 09:30:07 +00:00
Chris Danford 46ca7f526a explicitly LoadAllCommands. The "load commands in SetXY" hack isn't working well now that more and more Actors are being moved into Lua. That hack should be removed eventually in favor of explicit command loading. 2007-02-16 07:09:04 +00:00
Chris Danford be95c36516 fix double-loading of commands
ActorUtil::SetXY calls ActorUtil::LoadAllCommands, which doesn't seem right.  This should be cleaned up someday.
2007-02-12 23:16:00 +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 7b995b8487 remove unused 2006-08-20 20:01:53 +00:00
Glenn Maynard 9de17517d1 fix crash 2006-08-16 06:44:24 +00:00
Glenn Maynard 29eb1f6ccb don't pass parent; m_pParent is used, which is set by AddChild 2006-08-15 19:16:39 +00:00
Glenn Maynard bdb7b58250 fixup XML use 2006-08-10 21:26:57 +00:00
Glenn Maynard a222a01508 simplify 2006-08-10 20:43:49 +00:00
Steve Checkoway 884af552ee Allow combined player steps to have per-player radar values. This doesn't work for trails where it just uses the PLAYER_1 values, same with writing to the catalog file. 2006-07-28 03:34:14 +00:00
Chris Danford 9bf317e1e1 tab cleanup 2006-03-21 03:55:10 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Chris Danford 0b98adff15 make RadarCategory enum and Lua names consistent 2005-12-24 20:18:56 +00:00
Chris Danford 8a68930a2a add XML loading 2005-12-05 19:09:22 +00:00
Glenn Maynard dd16deaf23 themable "N/A" 2005-10-30 20:58:08 +00:00
Chris Danford 65d71a4f23 expermienting with DEFINE_METHOD macro for Lua methods 2005-09-10 02:47:04 +00:00
Glenn Maynard 75087b00d4 fixup 2005-09-09 08:27:12 +00:00
Glenn Maynard fbcab87acc simplify - do this stuff in Lua 2005-09-09 08:11:31 +00:00
Glenn Maynard 9a02d19e3d remove unused 2005-09-09 05:54:15 +00:00
Glenn Maynard 70a109c54b fPercentDP, fSurviveSeconds 2005-08-12 02:46:58 +00:00
Glenn Maynard 2307fa23d9 hidden HighScore::sName 2005-08-12 01:52:01 +00:00
Chris Danford c9718db4b6 add lua bindings 2005-07-29 22:59:11 +00:00
Glenn Maynard 2aa266892e all this did was cause extranneous SetContent calls 2005-07-06 21:51:29 +00:00
Glenn Maynard 76c9fb7e6f remove extra SetFocus call; it's up to the caller to call SetFromGameState 2005-07-06 21:48:44 +00:00
Glenn Maynard 6203bc50f8 remove unused 2005-07-06 21:26:14 +00:00
Glenn Maynard bb8af41cb1 missing headers 2005-07-01 05:07:22 +00:00
Chris Danford 39b631da51 fix saving of machine scores for machine edits 2005-06-15 09:25:33 +00:00
Chris Danford aeda0c6449 Don't show or save machine high scores for edits loaded from a player profile 2005-06-13 06:48:13 +00:00
Chris Danford 933e1320da add DefaultSong, move DefaultSort into GameState, show machine scores for edits 2005-06-12 03:44:13 +00:00
Chris Danford 7374f1566e add EmptyMachineHighScoreName 2005-06-12 00:44:59 +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
Glenn Maynard 934b176bda don't use m_sID hackery 2005-05-31 07:29:58 +00:00
Chris Danford fb1d69add3 rename: IsUsingProfile -> IsPersistentProfile
Don't require IsPersistentProfile in some places related to fitness mode where a non-persistent Profile will suffice
2005-05-09 08:44:01 +00:00
Chris Danford 3a726a1c9b fix ScreenEnding shows stats when not using a memory card
fix other bugs introduced when GetProfile was changed to return a valid pointer even with no profile loaded
2005-05-01 06:42:30 +00:00
Chris Danford 7c991e150a show "????" for blank names 2005-04-29 21:06:13 +00:00
Chris Danford 48fcd2887f remove the 100% hack now that the text doesn't overlap 2005-04-29 20:12:02 +00:00
Glenn Maynard 37253cca48 add rolls
show "100.00%" as "100%", to save space
2005-04-25 11:24:27 +00:00
Chris Danford d67e3c618b use PercentageDisplay::FormatPercentScore in ScreenRanking 2005-04-15 08:05:29 +00:00
Chris Danford ad2db75e39 fix percent scores off by *100 2005-04-12 07:48:04 +00:00
Chris Danford dd84b4ffd6 separate course popularities for each PlayMode
don't calculate autogen courses in best list if they're not shown
2005-04-07 08:46:40 +00:00
Chris Danford 62a2834202 format the percentDP score in PaneDisplay using the same code in PercentageDisplay 2005-04-05 09:29:05 +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
Chris Danford 1de61aa8ae split AutoActor into a separate file 2005-02-09 05:27:51 +00:00
Chris Danford 4223e09cc8 GetPathTo -> GetPath 2005-02-06 03:32:53 +00:00
Glenn Maynard 4b2da16b42 remove unused stuff
pre-parse levels commands, instead of constantly re-parsing them
2005-01-29 23:05:21 +00:00
Glenn Maynard 8a9dd8d177 PaneDisplay::Move is never used 2005-01-29 21:13:24 +00:00
Glenn Maynard 271f14516d PANEMODE_BATTLE is never used 2005-01-29 21:10:32 +00:00