Commit Graph

287 Commits

Author SHA1 Message Date
Glenn Maynard a2a7b51d1b GameState::PlayerUsingBothSides 2004-03-20 17:53:04 +00:00
Glenn Maynard 78fea60b31 GameState::GetNumHumanPlayers 2004-03-20 17:45:34 +00:00
Chris Danford 7a32af8c5e clean up presisting of settings to Profile
persist PreferredCourseDifficulty
2004-03-13 22:18:09 +00:00
Chris Danford e4855e627f persist PreferredDifficulty in Profile 2004-03-13 19:20:24 +00:00
Chris Danford df63bf2642 fix Game default modifiers override Profile default modifiers depending on when the player joined 2004-03-13 12:27:24 +00:00
Chris Danford 05d3de33e9 play ending screen sounds even if attract sound is set to "never" 2004-03-13 10:12:59 +00:00
Chris Danford 28f4764ed2 SongSortOrder -> SortOrder
save/restore last sort with Profile
clean up GameConstants
2004-03-12 08:31:40 +00:00
Chris Danford 4fa5f867e1 add macros: FOREACH_HumanPlayer, FOREACH_EnabledPlayer 2004-03-11 06:46:52 +00:00
Chris Danford d0356d78fa if using a handicap option, don't add a high score and show "disqualify" on the eval screen 2004-03-09 08:19:55 +00:00
Chris Danford 0262ae76f3 show high score list on ScreenNameEntryTraditional 2004-03-08 02:21:22 +00:00
Chris Danford 7fe28a6dae add PerDifficulty and PeakCombo awards 2004-03-07 04:34:49 +00:00
Glenn Maynard 05d99b4129 lua: GetNumPlayersEnabled, PlayerUsingBothSides 2004-03-01 02:25:41 +00:00
Glenn Maynard 8c8a5f8460 split UpdateBestAndShuffled()
add SortSongs()
2004-02-27 21:28:15 +00:00
Glenn Maynard d17828c60c simplify 2004-02-22 23:26:46 +00:00
Glenn Maynard 802e1a6758 Store unlock data in a more fundamental form in the profile, and derive
the special values as needed.  Centralize most of it in GameState::EndGame.
2004-02-22 08:16:49 +00:00
Chris Danford 69600d9d80 save per-difficulty course scores 2004-02-22 06:04:01 +00:00
Glenn Maynard 29d2ceb5b5 simplify 2004-02-22 02:16:02 +00:00
Glenn Maynard 2025c85fec add assert 2004-02-16 07:39:29 +00:00
Chris Danford 6754c850df Profile HTML fixes 2004-02-16 05:35:06 +00:00
Glenn Maynard c5e45fc964 IsPlayerEnabled 2004-02-15 23:38:32 +00:00
Glenn Maynard dcd308edb7 add Lua hooks 2004-02-14 23:26:32 +00:00
Chris Danford 5e39cb5471 remove DEFAULT_RANKING_NAME. Empty string means "no name", and the default name should always be empty. 2004-02-11 04:06:27 +00:00
Thad Ward d5bd9327af fix more possible Profile crashes.
(dereferencing null pointer baaaad....)
2004-02-09 20:46:39 +00:00
Glenn Maynard fe97eda12a extra stage on AA 2004-02-09 20:01:54 +00:00
Glenn Maynard 16d24616f0 fix crash when no profile is loaded 2004-02-09 19:39:21 +00:00
Chris Danford d7f0e6c2bc move all high score data into Profile 2004-02-09 06:26:13 +00:00
Steve Checkoway 5bdae36979 Fix scoping error. 2004-02-08 06:29:12 +00:00
Chris Danford 221b51c2b4 add loading of edits from a profile 2004-02-08 01:05:53 +00:00
Glenn Maynard 5458f9d9dc const fixes
use "this->foo" in GAMESTATE, not "GAMESTATE->foo", or it'll
circumvent const
2004-02-07 22:14:36 +00:00
Glenn Maynard d2ee4ddb01 fix m_bAttackEndedThisUpdate being true when an attack begins
fix course global mods tweening
2004-02-07 06:11:36 +00:00
Glenn Maynard f8df67bb00 comment 2004-02-05 21:32:50 +00:00
Chris Danford 9c7d8a60c2 update comments 2004-02-04 07:58:02 +00:00
Glenn Maynard 72bbadb18b debug 2004-02-04 06:45:56 +00:00
Chris Danford ef8010e998 Add GetRandomCourse
change GetRandom* to behave like a shuffle so it doesn't pick back-to-back dupes
2004-02-01 23:06:07 +00:00
Glenn Maynard c5f875f6ba debug 2004-02-01 00:00:52 +00:00
Glenn Maynard 62144e5794 fix GameState::LaunchAttack 2004-01-30 00:58:33 +00:00
Glenn Maynard 1fa29116f3 think MUSIC_SECONDS_INVALID isn't needed now 2004-01-29 20:58:11 +00:00
Glenn Maynard d8212e8d08 simplify attack handling 2004-01-26 20:39:14 +00:00
Glenn Maynard 0b9f83060a fix extra stage 2004-01-25 00:12:38 +00:00
Glenn Maynard d5d93a97a4 remove extra UnlockSystem from GameState (it didn't belong at the
top, in "main state info", anyway)
2004-01-24 21:09:23 +00:00
Chris Danford ec6fb7968d fix uninitialized stage index 2004-01-24 19:09:51 +00:00
Glenn Maynard c7257147a7 simplify
fix stage counter increasing on BACK
2004-01-23 02:04:34 +00:00
Glenn Maynard f9a90cd361 fix IsFinalStage 2004-01-22 23:36:26 +00:00
Glenn Maynard 6021c6e7da make the stage count work if the eval screen isn't shown at all 2004-01-22 03:11:40 +00:00
Glenn Maynard ded50f4d88 add GameState::IncrementStageIndex 2004-01-22 02:16:50 +00:00
Glenn Maynard 7f46f2ab3b const fixes
pull code out of the header
2004-01-22 02:15:55 +00:00
Glenn Maynard 10d0ae0ada fix memleak 2004-01-21 11:28:31 +00:00
Glenn Maynard d4a35810c2 minor fixes
cleanup
2004-01-21 04:59:15 +00:00
Glenn Maynard 6c71f9103f allow per-player course difficulties (not well-tested yet, off by default) 2004-01-21 01:35:54 +00:00
Chris Danford fca912cb16 new grading scale 2004-01-20 03:32:48 +00:00