Commit Graph
192 Commits
Author SHA1 Message Date
Chris Danford e734e00bcc give up if all human players have 30 misses so that battle will end early 2005-05-09 14:22:21 +00:00
Chris Danford 16818e54c8 broadcast on style change 2005-05-07 08:34:20 +00:00
Chris Danford 49bbddcb74 broadcast players joined and finalized 2005-05-07 00:27:31 +00:00
Chris Danford a122528974 Allow AutoActors for Stage and CouseNumber 2005-05-06 10:48:32 +00:00
Glenn Maynard 16fd7077bb separate song beat for lights, to fix off-sync lights in menus 2005-05-04 20:32:31 +00:00
Chris Danford f7b43c71fd add Lua method 2005-04-24 10:47:44 +00:00
Chris Danford 812943886b fix aborted attacks continue to show in the active attack list 2005-04-15 13:00:30 +00:00
Chris Danford c8636e1728 add Lua method PlayerIsUsingModifier 2005-04-15 09:07:57 +00:00
Chris Danford 228ca9f166 reload SSM help text on sort changed
clean up SortOrder names
2005-04-15 07:18:40 +00:00
Chris Danford dc7f16ed32 broadcast GoalComplete 2005-04-09 09:34:54 +00:00
Chris Danford 218be32879 separate fail types per player. Now FailType adjustments based on Difficulty only affect the relevant players. 2005-04-05 08:30:57 +00:00
Chris Danford 7856c7c534 use modifiers only in playback/record, not in edit 2005-03-31 21:25:15 +00:00
Chris Danford b856c24d78 add AnyPlayerHasRankingFeats 2005-03-21 12:21:58 +00:00
Glenn Maynard fbf6e78cf3 Use a real Lua table for the environment; this obsoletes m_mapEnv. 2005-03-18 22:47:44 +00:00
Chris Danford a3e0bacbd8 Reset the round seed so that the players get new shuffle patterns if they Back out of gameplay and play again
RoundSeed -> StageSeed
2005-03-11 18:09:34 +00:00
Chris Danford 8b32383969 move DifficultiesToShow into CommonMetrics
re-cache on theme reload, not on timer expired
2005-03-10 19:57:43 +00:00
Chris Danford 70663436bb wrap GameState difficulties 2005-02-26 08:32:49 +00:00
Chris Danford 4104edcad9 use BroadcastOnChange wrappers 2005-02-25 05:27:28 +00:00
Chris Danford ab22e629d4 enforce that changed message is broadcast whenever value changes 2005-02-24 12:27:30 +00:00
Chris Danford 94743864e6 add OptionRowHandler types for EditMenu 2005-02-24 11:36:19 +00:00
Glenn Maynard b46daecd2f Commit stats to profiles before loading ScreenEvaluation. 2005-02-23 19:18:11 +00:00
Chris Danford 9bc3887788 remove unused CourseStopSeconds
add Lua methods
2005-02-23 17:39:57 +00:00
Chris Danford a2915c038b add TemporaryEventMode flag to GameState 2005-02-21 17:29:49 +00:00
Chris Danford ad3c10f251 move GetEvalStageStats into StatsManager
Add GetAccumStageStats
2005-02-16 19:40:09 +00:00
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