Commit Graph

79 Commits

Author SHA1 Message Date
parashep 1f4a330d1e Unrestrict pop'n judgment levels
It made some sort of sense to only have three judgment levels before,
but it makes far more sense to let the theme manage it now since it
isn't necessarily the case any more.
2015-12-13 19:58:41 -05:00
Kyzentun 236947b346 Changed GetFirstCompatibleStyle to not crash SM so it can be used to check whether joining is allowed. JoinPlayer and PlayersCanJoin now use GetFirstCompatibleStyle to check whether there will be a style to change to. Changed logic in PlayersCanJoin to return false at the first failed requirement. 2015-05-02 23:36:28 -06:00
Joe be3c4db602 Beat mode gameplay changes, third attempt 2015-04-29 19:43:19 +01:00
Kyzentun aeaead95c9 Changed default ScreenSelecStyle to use functions for choice names and positions instead of metrics. _fallback SSS remains the same for compatibility. Fixed style stomping bug in SetCompatibleStylesForPlayers. 2015-01-20 18:40:59 -07:00
Kyzentun 3fb36af157 Separate styles for players. Notefields positioned between margins. Edit mode works for kickbox. 2014-12-09 22:27:00 -07:00
Kyzentun c65c1eb386 Added kickbox game mode with 4 styles. 2014-12-09 22:22:50 -07:00
Kyzentun bedaf07e51 Reverted some changes that should not have been part of the merge from Midiman. 2014-08-28 05:53:37 -06:00
Jonathan Payne ef5a650b76 merge 84a8d3a 2014-08-05 15:43:57 -07:00
Kyzentun bffeda6dc0 Pretend I didn't forget the +1. 2014-08-02 19:44:25 -06:00
Kyzentun f58f111cfd Changed GetStylesForGame to not traverse the list of styles twice. 2014-08-02 19:34:39 -06:00
sigatrev 3478bc7650 added GetStylesForGame method 2014-08-02 18:09:52 -05:00
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
Kyzentun c3fb210291 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-07-20 20:59:12 -06:00
sigatrev 08f3864191 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-07-12 09:30:32 -05: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