Commit Graph
100 Commits
Author SHA1 Message Date
Chris Danford 77940f76a2 Move percent formatting into PlayerStageStats and apply the truncating rules in GetPercentScore(). The percent score that ends up in HighScore should match what is shown on the screen. 2007-09-14 08:50:29 +00:00
Vecais Dumais Laacis 9497d928d8 reverting unneeded changes 2007-08-08 09:49:30 +00:00
Vecais Dumais Laacis 247cddd607 little hack to force update m_bRadarValuesCached - someone needs to find out why m_bRadarValuesCached is set to true but in fact m_bRadarValuesCached values are invalid
this doesnt occur on all courses
2007-08-07 11:18:51 +00:00
Glenn Maynard 3bcfa8f737 unused element 2007-06-09 17:08:26 +00:00
Glenn Maynard 1a5b1ad6cd simplify and fix 2007-06-09 16:59:19 +00:00
Glenn Maynard 7f454cb8af blank by default 2007-04-07 23:43:10 +00:00
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