Commit Graph

76 Commits

Author SHA1 Message Date
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
Glenn Maynard 8d48438c15 ModeMenuAvailable metric removed; change Codes instead.
Merge the sort menu into the mode menu.
GAMESTATE->m_SortOrder is now GAMESTATE->m_PreferredSortOrder.
Allow the mode menu to have non-mutually-exclusive items.
2005-01-29 20:46:08 +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 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 097efbb08b show "N/A", not "?", for Player Best if no Profile present 2004-08-22 17:35:22 +00:00
Chris Danford 56e930e1b6 don't show machine scores for edits in PaneDisplay 2004-08-21 15:51:33 +00:00
Chris Danford 4f41bacd91 fix "PaneDisplay shows bogus values for edits" 2004-08-21 06:21:12 +00:00
Glenn Maynard aad73b53e9 (float) atof() -> strtof(), which computes in float instead of computing in
double and casting to float, which is silly
2004-08-10 20:57:59 +00:00
Chris Danford 5544445ad0 name cleanup: StyleDef -> Style 2004-06-28 07:26:00 +00:00
Glenn Maynard 3798245ce6 license update 2004-06-07 21:14:03 +00:00
Glenn Maynard 74ab510484 fix warnings 2004-06-03 20:02:46 +00:00
Chris Danford 61581479d8 track the current Trail in GameState 2004-06-03 08:22:02 +00:00
Chris Danford b05d25ab24 "m_pCurNotes" -> "m_pCurSteps" 2004-05-24 06:12:17 +00:00
Chris Danford 6f75a3d920 review uses of GetTrail 2004-05-24 06:07:59 +00:00
Chris Danford 4ff8b8ec2b clean up Course score saving (use Trail) 2004-05-23 09:17:10 +00:00
Chris Danford abfc956e4f refactor Course: move some responsibilities to Trail 2004-05-23 00:53:20 +00:00
Chris Danford 07bc79ed35 show name to fill marker instead of "YOU" for new high scores 2004-05-02 10:37:07 +00:00
Chris Danford 3bc5943a9e don't throw away Song scores for Songs/Steps that aren't currently loaded on the machine 2004-04-18 18:42:42 +00:00