Commit Graph
822 Commits
Author SHA1 Message Date
Chris Danford 6c379ca934 fix broken ChangePreferredDifficulty 2005-04-03 09:48:15 +00:00
Chris Danford 2017e310ef add metric to enable/disable name blacklist 2005-04-03 06:48:26 +00:00
Chris Danford 7856c7c534 use modifiers only in playback/record, not in edit 2005-03-31 21:25:15 +00:00
Chris Danford 8cac261c52 clean up GRADE_ constant names to match GradeToString 2005-03-31 06:14:28 +00:00
Chris Danford b29790f307 grade constant cleanup
add LuaGrade
2005-03-31 02:06:24 +00:00
Chris Danford 05c5297f4b event mode should have precedence in stage text 2005-03-27 10:16:47 +00:00
Chris Danford 091fed1bad add GetPlayMode Lua method 2005-03-27 07:03:30 +00:00
Chris Danford c500975854 fix AccumStageStats doesn't get cleared between games 2005-03-26 17:30:37 +00:00
Chris Danford 5d8456e3ea metrics cleaup: Remove duplicated "ToShow" and "ToHide" parsing logic
don't show hidden StepsTypes in EditMenu
2005-03-24 21:44:03 +00:00
Steve Checkoway fd86efc075 Fix initialization list order. 2005-03-23 20:59:23 +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
Glenn Maynard 7f15d9b9ec simplify: have GameState::GetAllUsedNoteSkins get the used note skins directly from courses, so we don't have to worry about init order 2005-03-18 04:04:59 +00:00
Glenn Maynard d7bcda9e38 simplify 2005-03-18 03:37:05 +00:00
Ben Anderson 0db665d4d6 Thorough(!) remodeling of the arch/ directory and the contents therein; fixed link-time warnings on GCC and should make things a lot easier to manage. A pile of other random things too, mostly cleanups and getting things to work with the remodeled arch/ directory. 2005-03-14 06:44:38 +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 197e4a19cd Reset the round seed so that the players get new shuffle patterns if they Back out of gameplay and play again 2005-03-11 07:22:37 +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 071f02a862 allow access to individual BroadcastOnChangePtrs within BroadcastOnChangePtr1D 2005-02-25 18:17:26 +00:00
Chris Danford 4104edcad9 use BroadcastOnChange wrappers 2005-02-25 05:27:28 +00:00
Glenn Maynard d6bafe0398 fix CurSong 2005-02-25 01:07:49 +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
Chris Danford b45d0ddff3 broadcast on steps change 2005-02-23 20:39:27 +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 6f6ef25d1d add Lua bindings 2005-02-23 05:02:28 +00:00
Glenn Maynard 94f87f9b58 simplify 2005-02-23 04:46:05 +00:00
Glenn Maynard 4e4b6df7aa move code to StatsManager::CommitStatsToProfiles 2005-02-23 04:32:45 +00:00
Glenn Maynard e912b47839 move code around, comment 2005-02-23 03:40:47 +00:00
Chris Danford 3673781c1b fix compile error 2005-02-22 23:34:18 +00:00
Chris Danford 3899d6063a add Lua bindings 2005-02-22 23:08:46 +00:00
Chris Danford 105e01232a add Lua bindings 2005-02-22 23:06:51 +00:00
Chris Danford a2915c038b add TemporaryEventMode flag to GameState 2005-02-21 17:29:49 +00:00
Glenn Maynard 74d27315d3 s/UnlockSystem.h/UnlockManager.h/ 2005-02-21 06:22:46 +00:00
Chris Danford 5c7b8314f4 allow hiding of option rows based on the value of other rows 2005-02-20 10:12:50 +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 bb712884bb move global StageStats into a singleton 2005-02-16 03:25:45 +00:00
Chris Danford bb099ee7e0 count calories while stepping, not at the end 2005-02-15 09:24:48 +00:00
Chris Danford 0da2e0fa6e remove unused workout options 2005-02-13 18:18:55 +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 4c0a55a295 when we MountCard, we must always UnmountCard
disable FlushAndReset.  It doesn't fit well with the timeout scheme:
we have separate timeouts, but FlushAndReset is global.  I could enable
the timeout separately for this, but the mount -o remount should probably
just be part of Unmount and we don't have to reload usb-storage anymore ...
2005-02-07 03:39:51 +00:00
Glenn Maynard bd516940b2 when we MountCard, we must always UnmountCard 2005-02-07 03:37:43 +00:00
Glenn Maynard ddae9b2242 unload all profiles on reset, not just ones loaded from memory cards;
fixes wrong profile being used when a card is inserted too late and a new
game starts (local profile was already loaded)
2005-02-06 09:58:50 +00:00
Glenn Maynard 97a4a65b26 Unmount cards if we time out. "Locking" and "finalizing" are the same;
merge them.  (They're both enabled and disabled in the same place.)
Pause the memory card thread during gameplay, so any changes will
wait until the current stage finishes (so we don't interrupt the player with
a noise and possibly skip).  Work on making MemoryCardManager::LockCards()
block if the card is in CHECKING.
2005-02-06 08:48:55 +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 a24bd3014c cleanup: "(PlayerNumber)" -> "" 2005-01-31 03:18:46 +00:00
Chris Danford b5cf0b87eb add variables for workout 2005-01-31 02:00:00 +00:00