Commit Graph

419 Commits

Author SHA1 Message Date
Glenn Maynard ed3bec750b merge MountUsedCard and MountCard 2005-01-28 00:12:09 +00:00
Glenn Maynard a930c41ed7 SongManager::LoadAllFromProfiles -> SongManager::LoadAllFromProfile
mount each memory card as needed, one at a time
working on being able to start a timeout period in MEMCARDMAN::MountCard
2005-01-28 00:04:22 +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
Glenn Maynard 244633369b don't mount in LockCards; call MountAllUsedCards explicitly 2005-01-27 19:50:11 +00:00
Glenn Maynard 39b9a68473 split LockCards into LockCards, UnlockCards 2005-01-27 19:42:34 +00:00
Glenn Maynard 0dfdaee605 remove some more old experimental stuff 2005-01-15 02:01:26 +00:00
Glenn Maynard dbca4bbf7f fix crashes due to big meter values 2005-01-14 15:58:19 +00:00
Glenn Maynard e00d5fe834 cleanup, assertion 2005-01-04 01:47:11 +00:00
Glenn Maynard a96a3d9caa cleanup 2005-01-03 21:16:20 +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 ab37218c47 rename: ModeChoice -> GameCommand 2004-12-02 06:29:20 +00:00
Chris Danford e1da21f61c Let ActorCommand do the parsing for ModeChoice 2004-12-02 05:56:38 +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
Glenn Maynard 4a246546a9 Save profile modifiers per gametype. Only reset saved modifiers when
loading profile modifiers, so we don't wipe out modifiers that aren't saved.
UsingProfileDefaultModifiers is gone; if an entry exists in the DefaultModifiers
list at all, UsingProfileDefaultModifiers is true.
2004-11-14 05:24:37 +00:00
Chris Danford b8259d7af9 move player positions from Style into metrics 2004-11-07 05:49:06 +00:00
Glenn Maynard c347954806 add header 2004-10-28 02:17:50 +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
Glenn Maynard 799a5898dd Add bgm-time effect mode. This is roughly equivalent to the default, except
it's tightly synced with the music; it stays synced over music skips, and follows
the music rate, like everything else that uses GAMESTATE->m_fMusicSeconds.
2004-10-16 01:29:25 +00:00
Chris Danford 299ab2cf1a whoops. Unpause the mount thread after resetting. 2004-10-09 10:36:28 +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
Chris Danford f65c1d3fbb only remount cards that were in use 2004-10-03 06:21:16 +00:00
Chris Danford 9fe9b0884a Add hack to not leave cards mounted 2004-10-03 05:27:52 +00:00
Glenn Maynard 2e6ffb73e0 remove construct-and-open RageFile ctor 2004-09-25 02:50:31 +00:00
Chris Danford 03fbb915f3 remove VC6 scoping hacks 2004-09-21 07:53:39 +00:00
Glenn Maynard 540b116244 fix GameState::GetAllUsedNoteSkins returning skins for inactive players 2004-09-06 00:35:52 +00:00
Chris Danford 01c0bf35d4 update comment 2004-08-31 08:28:59 +00:00
Glenn Maynard 994b2e3935 fix warning in jukebox 2004-08-31 01:17:30 +00:00
Glenn Maynard d78f734ec5 be careful not to adjust or save profile stats/options during jukebox 2004-08-30 23:59:02 +00:00
Chris Danford 8668075291 fix warnings 2004-08-30 06:41:56 +00:00
Chris Danford 3fec094b26 fix misleading name: NumSongs -> NumStages 2004-08-30 06:07: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 f72b8b15d4 fix "current combo on ScreenEnding shows the previous saved value, not the current value" 2004-08-29 19:10:25 +00:00
Chris Danford 8dcd4d93bb only persist a subset of options that players would want to use for every song. When players turn on tricky options for the last song, they often forget to turn all of the tricky stuff off again in the next game. 2004-08-29 09:19:11 +00:00
Glenn Maynard 5affade93c cleanup 2004-08-28 23:25:13 +00:00
Charles Lohr 9d19537ecf Added LUA query 2004-08-28 22:50:43 +00:00
Glenn Maynard a68dec18aa fix uninitialized values used by MEMCARDMAN calls before GameState::Reset 2004-08-22 01:11:17 +00:00
Glenn Maynard 0411171c9d fix superfluous loading of default noteskin 2004-08-18 07:38:41 +00:00
Chris Danford ee9fbb99e1 fix "memory card not mounted if initially plugged in while cards are locked"
do the final memory card mount on PlayersFinalized
2004-08-14 19:18:56 +00:00
Chris Danford ae04b6a7cd store preferredSong and preferredCourse as IDs, not pointers 2004-08-14 06:41:24 +00:00
Chris Danford 9edce13765 don't play attract sounds one whole time through when pref is set to Never 2004-08-09 08:09:20 +00:00
Chris Danford e435165014 clean up memory card logic:
- Don't do the OS mount for cards during the attract screens.  Only do OS mounts in the time between BeginGame and PlayersFinalized.
 - Remove logic for fast load of a Profile from the MemoryCard.  Instead, load the whole profile all at once on PlayersFinalized.
2004-08-09 05:01:24 +00:00
Glenn Maynard 0c4f092fd3 fix ambiguous ?: types 2004-08-06 21:01:28 +00:00
Chris Danford 35869118d9 add FAIL_COMBO_OF_30_MISSES 2004-07-31 19:14:53 +00:00
Chris Danford ca8e677ebd fix "ActiveAttackDisplay carries over into the next song even if the mod has ended" 2004-07-30 07:18:21 +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