Commit Graph

66 Commits

Author SHA1 Message Date
Kyzentun 9b08ab5b52 Created GameLoop::ChangeGame analogous to GameLoop::ChangeTheme. Changed ChangeTheme to use the AfterThemeChangeScreen metric instead of a passed in screen name from the theme being changed away from. ChangeGame uses the AfterGameChangeScreen and AfterGameAndThemeChangeScreen metrics to pick the screen to load after the change. New metrics are optional and default to InitialScreen. Changed ScreenManager::ThemeChanged to not duplicate the code in ReloadOverlayScreens. Fixed ScreenManager::IsScreenNameValid to check with HasMetric before using GetMetric. Changed game ConfOption logic to set the preference and work in a similar way to the theme ConfOption. Added THEME:SetTheme lua function. 2014-08-02 00:38:34 -07:00
sigatrev ce2b729710 SetGame method
Added SetGame method to GameManager.

Altered Stepmania::ChangeCurrentGame() to allow a second input,
selecting which theme will be loaded after game is changed.
2014-08-02 00:38:23 -07:00
Devin J. Pohly 911a0d6471 remove unnecessary enum-to-int cast 2014-02-08 21:39:26 -05:00
Devin J. Pohly 9916275a8a fix signed-compare warnings
The m_iSelection array could probably be made unsigned... IF we were
confident we never try to assign it a negative number, of which fact I'm
not convinced.
2014-02-08 20:30:33 -05:00
Ben "root" Anderson ee84f9263c Make hold checkpoints a struct Game member, not a metric. It CANNOT be a metric because it affects max DP. 2013-12-19 18:06:07 -06:00
Ben "root" Anderson a040c4a586 1) SOMEONE can't spell "accessible" 2) Global commenting consistency 3) persistance -> persistence 2013-11-30 09:50:54 -06:00
Ben "root" Anderson cf4f6c35a0 Don't let duplicates happen! 2013-11-25 21:54:41 -06:00
Ben "root" Anderson 2b73f4b5ec Don't iterate over every StepsType in existence when we already know exactly which StepsTypes we want. 2013-11-25 20:58:04 -06:00
Devin J. Pohly bd0e2074ad replace ASSERT(0) with useful fail messages 2012-12-27 16:59:35 -05:00
Jonathan Payne f80c03af7b Revert. 2012-11-20 19:31:22 -08:00
Jonathan Payne 2da98afcc8 Ooops. 2012-11-20 18:57:15 -08:00
Jonathan Payne 211e6f7ecb kb7-small. 2012-11-20 18:02:02 -08:00
Jason Felds 217cfa7350 Fix nonexistant techno-double8.
The game mode never existed people!

......you know what? Forget it. Enjoy playing
with 16 arrows that are hard to read.
2012-04-06 19:03:52 -04:00
Jason Felds 226b79cbe1 Fix techno double 5.
I wonder if someone previously mixed up double 5
with double 8 here.

Even though there shouldn't need to be a double 8...
2012-04-06 16:45:04 -04:00
AJ Kelly ca281aa83f [GameManager] Allow beat single7 and versus7 to be shown in Demonstration. 2012-03-31 13:15:13 -05:00
Flameshadowxeroshin 614929fae4 allow left and right in dance-threepanel 2012-01-05 04:00:36 +00:00
Flameshadowxeroshin 93e449553d look i know what you guys were going for but it just screws things up. 2011-09-11 14:41:51 +00:00
AJ Kelly 71ec0fc66b [GameManager] Fix shifting of 2P notes in beat mode. [1a2a3a2a1a] 2011-09-08 21:16:46 -05:00
AJ Kelly a0455b4fd2 Experiment over, dance is the default game again. 2011-09-07 17:44:37 -05:00
AJ Kelly abb21b32a1 [GameManager] beat "versus" -> "versus5"; fix beat versus7 being "single7". see http://ssc.ajworld.net/sm-ssc/bugtracker/view.php?id=512 [1a2a3a2a1a] 2011-09-02 20:58:17 -05:00
Colby Klein 876f9eb3e3 Set default game to pump - let's see what happens. 2011-08-19 12:50:08 -07:00
AJ Kelly 0c5f9c2b66 moved format hacks from GameManager to NotesLoaderSM 2011-08-03 23:11:05 -05:00
AJ Kelly 7ce28b7b88 attempt to fix crashes by removing more guitar stuff 2011-07-30 17:21:48 -05:00
Jason Felds 2961d4532b No need for hopo checking. 2011-07-30 15:43:22 -04:00
Jason Felds 3756c60b79 Officially remove the guitar game. 2011-07-30 15:40:29 -04:00
Jason Felds 16826b7afe How does this compile here? 2011-07-30 15:37:42 -04:00
Jason Felds 7f41c184bf Restored dance-couple and pump-couple editing. 2011-07-04 23:57:55 -04:00
Jason Felds 0cd794f778 Be consistent with pump couple edit. 2011-07-03 16:34:45 -04:00
Jason Felds 3115b5a438 Need eyes for couple edit stuff. 2011-07-03 15:10:00 -04:00
Jason Felds 38d84b45f5 Revert, restore Couple_Edit. 2011-07-03 14:50:05 -04:00
Jason Felds 70b4c024bf Right...rushed that part a bit. 2011-05-30 15:44:46 -04:00
Jason Felds bf69af0a76 Better error message, worse (?) implementation.
Help will be needed to restore couple editing.

I hope we didn't knock out routine editing as well.
2011-05-30 14:42:39 -04:00
AJ Kelly fbfbace87d fix crash on start 2011-05-12 00:57:16 -05:00
Jason Felds 212a3b971f Allow beat versus to take place.
Made sure to cover 5 and 7 styles.
2011-05-11 14:33:04 -04:00
Jason Felds a085d0d1da Line endings...be normalized! 2011-03-17 01:47:30 -04:00
AJ Kelly ba6ab436e5 small whitespace killing 2011-03-07 15:21:03 -06:00
Jason Felds 9d13036e08 Add @briefs to the Luna classes.
Yeah...there was a lot. */
2011-02-19 12:26:18 -05:00
AJ Kelly 0755d0f3b9 comment/whitespace editing 2011-02-09 17:42:16 -06:00
Flameshadowxeroshin c2b8a33107 add techno-double8 2011-01-09 07:35:13 -06:00
Flameshadowxeroshin 7ffcd0a9fd fix pump-routine spacing 2011-01-07 22:34:16 -06:00
Alberto Ramos 9479df65f3 2px pump sides spacing tweak 2010-12-14 19:21:17 -07:00
Flameshadowxeroshin 23553e0bcd revert to old values, turns out they weren't bad 2010-12-14 20:05:04 -06:00
Flameshadowxeroshin 6dc2664b97 make pump-double/halfdouble spacing more like pump 2010-12-14 19:54:15 -06:00
AJ Kelly 53a8a435ef remove unfinished karaoke mode 2010-08-19 21:24:35 -05:00
AJ Kelly b55a57f2a9 some kb7 changes from shakesoda, namely space is no longer Start. 2010-07-26 13:39:52 -05:00
Alberto Ramos 2d07cc65f3 Values restored... 2010-07-21 14:35:25 -06:00
Alberto Ramos dcc6d3be8a More tweaks 2010-07-21 14:30:22 -06:00
Alberto Ramos 9cab120e24 Minor tweaks in gameman (pump stuff) and notesloaderksf 2010-07-21 14:08:48 -06:00
AJ Kelly 856fd52c88 kb7 stuff. added some spacing for the middle note and adjusted the board to match [shakesoda] 2010-07-21 10:03:57 -05:00
Alberto Ramos 266c121859 HG: changed src/ScreenSelectMusic.h 2010-07-17 11:16:44 -06:00