Commit Graph

419 Commits

Author SHA1 Message Date
Chris Danford ea34de2bef one path for parsing and theming player options - fixes "SuperShuffle" not themed
warn in ActiveAttackList if an invalid mod is encountered
don't hard code font name
2005-04-06 05:32:09 +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 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
Charles Lohr 8c5909ebe9 Modify AutoScreenMessage to keep map of all non-standard ScreenMessages.
This has a lot of advantages over the old ways.  Some of the initial ones are that
you can log a list of all screenmessages and their respective number and another
is that it would be fairly easy to add a reverse lookup, so you could get the name
of a ScreenMessage for log use by getting the ScreenMessage number.
2005-03-28 08:01:36 +00:00
Chris Danford 880e42e1d3 fix conflicting ScreenMessage IDs by automatically generating unique values 2005-03-23 08:48:38 +00:00
Chris Danford ea59bbfec8 cleanup 2005-03-21 20:14:08 +00:00
Glenn Maynard 778ac6a63d remove m_bgCondBga; none of our themes seem to use it. (If anyone
needed this, post to sm-devs saying what you need to do any I'll explain
how to do it with the newer XML-based system.)
2005-03-18 01:55:03 +00:00
Chris Danford f1d3a2395d revert: don't precache 2005-03-16 02:36:34 +00:00
Chris Danford 90a470ab4a precache sounds 2005-03-16 02:18:03 +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
Chris Danford ab22e629d4 enforce that changed message is broadcast whenever value changes 2005-02-24 12:27:30 +00:00
Glenn Maynard 9ff32c8d25 fix init 2005-02-23 22:45:01 +00:00
Chris Danford 4a926a4605 DifficultyMeter: set name before load 2005-02-23 22:13:06 +00:00
Glenn Maynard bf85d3d3ac fix update 2005-02-23 21:13:09 +00:00
Chris Danford 555d5aa2fe don't use Name/ID to load DifficultyMeter. We only need the Name at load time, so pass it into Load and don't save it in the Actor. 2005-02-23 20:40:46 +00:00
Glenn Maynard b46daecd2f Commit stats to profiles before loading ScreenEvaluation. 2005-02-23 19:18:11 +00:00
Glenn Maynard b51b0cfb4c Use Init() for all screens, so we can set state before the base class
members are loaded--they'll see resets, score finalization, etc.  It
also results in smaller code, due to a g++ bug that causes constructors
to be emitted several times.
2005-02-23 06:29:05 +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 533e83ed00 Don't set two different names for an element. Instead, pass the metrics group name as a parameter to Load() 2005-02-16 23:03:01 +00:00
Chris Danford ad3c10f251 move GetEvalStageStats into StatsManager
Add GetAccumStageStats
2005-02-16 19:40:09 +00:00
Chris Danford bb712884bb move global StageStats into a singleton 2005-02-16 03:25:45 +00:00
Chris Danford 3ccb1f7e01 have ComboGraph obey screen fallback logic 2005-02-15 21:47:30 +00:00
Chris Danford 147151e0b1 don't use hard-coded screen name 2005-02-15 19:44:34 +00:00
Chris Danford 12fde5d55c move PlayerName texts out of code and into BGAnimations 2005-02-13 01:16:17 +00:00
Chris Danford 40c9e8fbe7 cache common metrics 2005-02-12 21:03:39 +00:00
Glenn Maynard a0c9398419 cleanup 2005-02-07 06:46:41 +00:00
Chris Danford 4223e09cc8 GetPathTo -> GetPath 2005-02-06 03:32:53 +00:00
Chris Danford a24bd3014c cleanup: "(PlayerNumber)" -> "" 2005-01-31 03:18:46 +00:00
Glenn Maynard 18b0c5f2d9 Instead of manually pausing and unpausing, automatically pause the
memory card thread when mounting the first drive, and automatically
unpause it when we unmount the last drive.  (We can do this simplification
because we always mount and unmount memory cards explicitly when
reading and writing to them.)
2005-01-27 22:57:18 +00:00
Glenn Maynard d7a279efb9 Remove m_bMemoryCardsMountOnlyWhenNecessary; always do that. 2005-01-27 20:06:20 +00:00
Chris Danford 8555a6da45 use Lua to execute commands
(needs cleanup)
2005-01-26 11:21:43 +00:00
Chris Danford d92379cc5d update screen testing 2005-01-21 05:58:31 +00:00
Glenn Maynard b19f730790 script fix 2005-01-20 01:51:30 +00:00
Glenn Maynard 29b2a6d22f remove m_bgOverlay (duplicates ScreenWithMenuElements::m_sprOverlay) 2005-01-15 18:41:09 +00:00
Glenn Maynard c7c28b9aea narrow StageStats* -> PlayerStageStats* 2005-01-10 15:18:13 +00:00
Glenn Maynard 8cba265a01 Init() 2005-01-03 22:44:19 +00:00
Chris Danford e01f6ed77e cleanup 2004-12-23 23:12:25 +00:00
Chris Danford 09d018444e split StageStats into player-specific and non-player-specific structs 2004-12-20 10:47:41 +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
Chris Danford ed19821e09 rename: ActorCommand -> Command
Make Command smaller and more generic.
Parse arguments on use, not in Command::Load.
2004-12-03 05:19:46 +00:00
Chris Danford 7f336c2ce6 self-registering screen classes 2004-11-26 17:28:47 +00:00
Chris Danford bcbe615c0d Pass ActorCommand structures to Actor instead of unparsed command strings.
This way, we can potentially do the parsing early and not parse inside of Actor as the command is executing.
2004-11-06 23:13:47 +00:00
Chris Danford 0634c55431 fix rounding error in displaying percent score 2004-10-18 03:00:12 +00:00
Glenn Maynard 39c30e2f37 fix stage count problems 2004-10-09 15:18:42 +00:00
Chris Danford bc39cb5079 serialize all memory card operations since mount operations hang if we're doing lsusb or reading USB mass storage descriptors in another thread 2004-10-09 08:16:48 +00:00
Glenn Maynard a10764d6a4 fix stage counter being wrong for early ScreenSelectMusic code 2004-10-06 01:38:23 +00:00
Chris Danford 5d954e5659 don't mount unless the profile was loaded from a memory card 2004-10-03 05:49:10 +00:00