Commit Graph

150 Commits

Author SHA1 Message Date
Steve Checkoway 19e1c8bb4e Fix format strings. 2008-12-26 23:23:18 +00:00
Chris Danford 83c0aec94a revert last: StringToDifficulty is intentional 2008-11-28 21:10:41 +00:00
Jason Felds 68c78e18b1 StringToDifficulty -> BackwardCompatibleStringToDifficulty. Looks like a few files were missing. 2008-11-28 20:41:05 +00:00
Steve Checkoway b7b3e88a9f Fix crashes with GAMESTATE->m_iCoins. 2008-09-22 04:39:22 +00:00
Chris Danford f4b1e3e72b broadcast CoinsChanged, removed InsertCoin broadcast later 2008-09-18 09:06:59 +00:00
Steve Checkoway 521c1c23e5 GAMEMAN-> to GameManager:: 2008-03-24 12:50:16 +00:00
Glenn Maynard 3e36a05c5f fix song.h!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 2008-03-09 01:51:34 +00:00
Chris Danford dc9084b1bb bind GetStyle 2008-01-10 08:09:51 +00:00
Steve Checkoway 3041311588 Set the difficulty correctly. Before, it was using the difficulty as a direction. 2007-07-22 12:28:35 +00:00
Glenn Maynard 9ad52991f8 remove debug 2007-05-27 19:21:13 +00:00
Glenn Maynard f72002721c remove unused 2007-05-27 19:05:16 +00:00
Glenn Maynard 226911828a remove "unlock"; do this with Lua: UNLOCKMAN:UnlockEntryID 2007-05-24 23:16:02 +00:00
Glenn Maynard 7a21217e25 add clearcredits 2007-05-04 17:50:28 +00:00
Steve Checkoway 0f873f8282 Simplify. 2007-04-01 06:25:46 +00:00
Chris Danford 0c972a4dd7 cleanup CoinMode and Premium names 2007-02-26 09:40:14 +00:00
Chris Danford f77647b5ad enum name cleanup: DIFFICULTY_* -> Difficulty_* 2007-02-22 07:18:05 +00:00
Chris Danford 491ab6eaf5 StyleType enum name cleanup 2007-02-22 06:56:17 +00:00
Chris Danford 33835ee478 pass a GameCommand to each wheel item bar (experimental) 2006-12-07 11:34:42 +00:00
Glenn Maynard 915f587d21 don't eval here. This dates back to when commands were
actually parsed with Commands; if you really want to eval
a GameCommand, eval the whole string: Choice1="screen,"..f()
2006-10-23 20:33:32 +00:00
Glenn Maynard 4ccea4e87b phase out separate course difficulty names 2006-10-07 22:49:04 +00:00
Glenn Maynard 78a91ba878 revert. You brought back a type I've been trying to remove. 2006-10-07 22:33:24 +00:00
Steve Checkoway 73663c4f8a CourseDifficulty. 2006-10-07 10:49:53 +00:00
Glenn Maynard de6ca466d2 more enum standardization 2006-10-07 04:39:48 +00:00
Glenn Maynard 2ce839e4eb Invalid 2006-10-07 04:25:28 +00:00
Glenn Maynard 8a4ddd1515 Invalid 2006-10-07 04:13:43 +00:00
Glenn Maynard cb746be4c3 Invalid 2006-10-07 03:43:41 +00:00
Glenn Maynard a31f76e9ad allocate GameCommand as needed 2006-10-01 20:13:27 +00:00
Glenn Maynard 0b45f5dd0a use SetCurrentStyle 2006-09-30 22:22:26 +00:00
Glenn Maynard a8dd0c5fdc GetCurrentStyle() 2006-09-30 22:13:20 +00:00
Glenn Maynard a010517276 Don't change the game with GameCommand. It's not a simple
game mode; it normally can change the theme and input maps.
2006-09-30 07:04:26 +00:00
Glenn Maynard c690fdcfe4 unify registration 2006-09-29 00:01:32 +00:00
Glenn Maynard ea7c05cee5 simpler Lua boilerplate 2006-09-27 19:53:05 +00:00
Glenn Maynard 9c9440c8a0 PlayMode_Invalid 2006-09-26 20:32:41 +00:00
Glenn Maynard e8a3c636f6 SortOrder_INVALID, NUM_SortOrder 2006-09-26 07:42:55 +00:00
Steve Checkoway 6ea2a41b00 Cleanup RageException::Throw(). Do not use ssprintf() inside of Throw() and do not pass it bare error messages. Use RageException::Throw( "%s", sError.c_str() ); instead. Be consistent with quoting file names "%s" and theme metrics as "%s : %s". Try to make them complete English sentences when possible. 2006-09-17 01:19:19 +00:00
Glenn Maynard e7fdfa2132 prefer GAMESTATE->JoinPlayer to setting GAMESTATE->m_bSideIsJoined manually 2006-09-15 05:56:43 +00:00
Steve Checkoway 0cb22fb806 Apparently VC doesn't like using (group).GroupType as a type (and frankly, I couldn't get g++ to accept it outside of StepMania, either) so use the macros with PO and SO prefixes for PlayerOptions and SongOptions, respectively. Also, pointers to data members can't point to elements of an array (no idea why gcc was allowing it before) so use Assign_n and pass the index separately. (Very annoying, typeof() should really be in the standard.) 2006-08-05 08:02:49 +00:00
Steve Checkoway 1802e603b3 Update to use the new ModsGroup api. 2006-08-05 04:47:01 +00:00
Chris Danford 7ac45c24e4 save Preferred, Stage, Song, and Current modifiers separately. This eliminates the fragile mods store/restore. 2006-08-05 02:38:05 +00:00
Chris Danford 29d77f5c8c search songs by a genre list
move MenuDir to SSMaster header
GoalType name cleanup
2006-07-11 06:51:46 +00:00
Steve Checkoway 6b38a1bea5 TWO_PLAYERS_SHARED_SIDES. 2006-06-24 00:09:50 +00:00
Chris Danford af3e1c571c move Steps searching out of song into SongUtil so that it can be shared with CourseEntry 2006-06-13 01:10:37 +00:00
Chris Danford 5de6202367 add url 2006-06-12 09:15:27 +00:00
Chris Danford 82835dae6a change unlock entry IDs to strings so that auto generated entry ids won't shift around and unlock different things when new songs are added 2006-05-03 22:56:23 +00:00
Chris Danford 8814cb747d add courses preferred sort 2006-05-01 21:49:59 +00:00
Chris Danford c52ab6fa5e Code -> UnlockEntryID
UnlockedSongs -> UnlockedEntryIDs
UnlockIndex -> UnlockEntryID
2006-01-28 22:08:16 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Glenn Maynard e341ce46bb remove unused 2006-01-15 08:12:27 +00:00
Glenn Maynard 55efe79054 Most of the time we use a GameCommand to store state, we don't want
Apply() itself to load the screen; we want to stuff it in m_sNextScreen
and let the normal screen loading code path do it.  That's why we have
GetAndClearScreen.

However, GetAndClearScreen is a non-const, and applying a GameCommand
should be a const operation.  It doesn't get along well with screen
reuse; once you've applied it, you've destroyed the GameCommand.

Instead, hold a flag indicating whether or not to apply screens, and
set this true on load when we handle it manually.  We should probably
*always* do this, and never load a screen within GameCommand itself, so
this may go away soon (always on).
2006-01-15 08:00:37 +00:00
Glenn Maynard d8ae5df6ef fix leak 2006-01-14 06:46:15 +00:00