Commit Graph
168 Commits
Author SHA1 Message Date
Glenn Maynard d5cfb74709 split GameState::ApplyGameCommand from GameState::ApplyCmdline;
expose to Lua
2005-02-16 06:24:33 +00:00
Chris Danford 0da2e0fa6e remove unused workout options 2005-02-13 18:18:55 +00:00
Glenn Maynard 7a2a367522 warning: `class GameState' has virtual functions but non-virtual destructor 2005-02-13 04:12:02 +00:00
Chris Danford e31d0ce615 experiment: expose global singletons and their methods in Lua so we don't end up with tons of Lua function polluting the global namespace 2005-02-12 21:07:13 +00:00
Glenn Maynard ca4589a8c3 Memory card work: Show "CHECKING" when we've seen the card and
havn't finished checking it out yet (eg. write check).  This improves responsiveness:
a slow card will indicate that we see the card immediately, and it helps
diagnostics since we can easily tell if the machine sees a card.  Allow re-
establishing a memory card removed after finalization, as long as it has the
same serial number.
2005-02-06 05:08:46 +00:00
Chris Danford b5cf0b87eb add variables for workout 2005-01-31 02:00:00 +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
Glenn Maynard 1ccb50ac55 include cleanup (not much of a win) 2005-01-22 19:36:39 +00:00
Glenn Maynard 0dfdaee605 remove some more old experimental stuff 2005-01-15 02:01:26 +00:00
Chris Danford f840c014a9 Move some player-specific data out of the bloated GameState class.
Have gameplay objects hold a PlayerState pointer instead of a PlayerNumber and indexing back into GameState.
This will simplify off-screen players (e.g. CPU ghosts, network replicated human players, >2 players using one NoteField)
2004-12-20 06:25:59 +00:00
Glenn Maynard 873bf63992 cleanup 2004-12-01 20:42:15 +00:00
Chris Danford 683587e81b rename: m_sPreferredGroup -> m_sPreferredSongGroup
add SongGroup to ModeChoice
2004-12-01 07:24:55 +00:00
Chris Danford 3ac1dba044 simplify TapAttack storage:
store attack info in TapNote
  in the SMNoteData string, store the attack params inline (like with keysounds)
play keysounds when hit
  still doesn't play keysounds on a miss
  still doesn't play autoKeysounds
2004-10-23 23:41:49 +00:00
Chris Danford cf9b4af6cb convert ints and casts to use PlayerNumber and macros 2004-08-30 04:35:14 +00:00
Chris Danford 081c1e24b5 fix incorrect song counts for courses
cleanup: make StageStats hold a list of Songs and Steps that were played during the stage
2004-08-30 04:09:23 +00:00
Chris Danford 35869118d9 add FAIL_COMBO_OF_30_MISSES 2004-07-31 19:14:53 +00:00
Chris Danford ff4c12b727 rename GameDef -> Game 2004-07-25 17:07:32 +00:00
Chris Danford 64628fac21 remove enum Game. Instead, pass around the GameDef pointer 2004-07-25 04:27:20 +00:00
Chris Danford c301e1eb83 remove Stats.html
add XML stylesheet for Stats.xml
2004-07-11 01:58:55 +00:00
Chris Danford 5544445ad0 name cleanup: StyleDef -> Style 2004-06-28 07:26:00 +00:00
Chris Danford 3809715db0 cleanup: Remove Style and use StyleDef everywhere. This gets rid of a lot of Style->StyleDef lookups and discourages code that's specific to a Style. All game logic should be data-driven. 2004-06-27 06:52:49 +00:00
Chris Danford a0411cc58a add environment variables that themes can use to save state 2004-06-13 09:42:14 +00:00
Glenn Maynard 733127d8ed license update 2004-06-08 01:24:17 +00:00
Chris Danford 61581479d8 track the current Trail in GameState 2004-06-03 08:22:02 +00:00
Chris Danford ff5ec77fec fix "unlocking a song doesn't automatically select it" 2004-05-26 05:50:22 +00:00
Chris Danford b05d25ab24 "m_pCurNotes" -> "m_pCurSteps" 2004-05-24 06:12:17 +00:00
Chris Danford d65404e750 TapSteps -> TapNotes 2004-05-24 04:26:54 +00:00
Chris Danford 99a02deffe name cleanup: "StepsType nt" -> "StepsType st" 2004-05-24 03:32:56 +00:00
Glenn Maynard bcf6792d47 handle CourseDifficultiesToShow, add IsCourseDifficultyShown 2004-05-20 22:23:44 +00:00
Chris Danford ee4427a54b clean up CPU player naming
add default CPU player modifiers
2004-05-16 02:51:55 +00:00
Glenn Maynard 2619a24791 GameState::GetEasiestNotesDifficulty and lua binding 2004-05-11 06:11:08 +00:00
Chris Danford fec42c1a21 lock Difficulty/Steps for all players in Rave 2004-05-07 04:37:47 +00:00
Chris Danford d18dd8f200 allow switching difficulties while on roulette, random, leap
tween off DifficultyList and CourseContents when in the sort and mode menus
2004-05-07 02:53:07 +00:00
Glenn Maynard 07fa62c417 move "join player" logic into GameState
add --player, --mode
2004-04-30 07:48:02 +00:00
Chris Danford ab1d3bfd0e fix "PlayersFinalized executes twice" 2004-04-23 02:08:11 +00:00
Chris Danford 493c6c8103 smarter menu button blinking 2004-03-30 08:03:00 +00:00
Glenn Maynard 962870f6e3 fix extra stage modifiers being saved to the profile 2004-03-30 03:55:54 +00:00
Chris Danford b9cb773195 clean up attract sound counting 2004-03-20 19:15:06 +00:00
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 28f4764ed2 SongSortOrder -> SortOrder
save/restore last sort with Profile
clean up GameConstants
2004-03-12 08:31:40 +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 d17828c60c simplify 2004-02-22 23:26:46 +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 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
Glenn Maynard c7257147a7 simplify
fix stage counter increasing on BACK
2004-01-23 02:04:34 +00:00