Commit Graph

872 Commits

Author SHA1 Message Date
Steve Checkoway 5a01cb9c3f Split out SaveStats to give more flexibility to subclasses that may wish to interact with the stats differently. 2006-07-10 04:32:33 +00:00
Steve Checkoway 3f2877bf76 Simplify. 2006-07-10 00:47:59 +00:00
Steve Checkoway 0b8e8f8512 Use a PlayerStageStats rather than indexing into STATSMAN with a PlayerNumber. 2006-07-10 00:02:07 +00:00
Steve Checkoway eb764177f1 Overlapping NoteFields is not an option. Revert. 2006-07-09 21:51:04 +00:00
Steve Checkoway a92d8a244d Remove all notes except for that player's. 2006-07-09 20:15:51 +00:00
Steve Checkoway 4a324be6dd GetPlayerInfoForInput allows mapping inputs to PlayerInfos rather than just PlayerNumbers to PlayerInfos. 2006-07-09 20:14:06 +00:00
Steve Checkoway fa4b293f83 Simplify. 2006-07-07 19:42:28 +00:00
Glenn Maynard 934b3f25c1 fix input check 2006-07-05 16:05:22 +00:00
Glenn Maynard b0055b0853 simplify. Don't separate "next" and "cancel" as much: to cancel, set the next screen to PREV_SCREEN, and use SM_GoToNextScreen. 2006-06-25 18:11:09 +00:00
Steve Checkoway e1f9e558df Map between PlayerNumber and PlayerInfo. Most subclasses use a one to one mapping so that's what ScreenGameplay's version will do. If you need other behavior, implement this member function. 2006-06-24 04:19:00 +00:00
Steve Checkoway d2db559fb3 Cleanup. 2006-06-24 00:22:13 +00:00
Steve Checkoway 2426abc7d1 v.begin()-1 is not a valid iterator. Increment the iterator before calling GetNext*Player*() and do not increment inside the function. 2006-06-16 20:23:02 +00:00
Chris Danford af3e1c571c move Steps searching out of song into SongUtil so that it can be shared with CourseEntry 2006-06-13 01:10:37 +00:00
Chris Danford ab78ca7e34 fix PlayerOptions warning 2006-06-12 09:19:07 +00:00
Chris Danford f988e6d38f delay 0.5s before showing abort or give up 2006-06-03 23:13:22 +00:00
Chris Danford f46e1e8c07 localize 'hold back' text 2006-05-03 23:57:23 +00:00
Glenn Maynard ae22035669 unused 2006-04-29 02:11:13 +00:00
Glenn Maynard 96b027ac1d broadcast ChangeCourseSongIn/Out (deprecates CourseSongNumberChangeIn/Out)
more general way of showing graphics bound to the song number (still a hack, though)
2006-04-29 02:03:08 +00:00
Chris Danford af74b19ba1 fix forced mods persist if back out from gameplay 2006-04-25 21:49:41 +00:00
Chris Danford a6272ec9ca tab cleanup
remove unfinished multiplayer stuff
2006-04-21 00:17:48 +00:00
Chris Danford f5f05d8e54 undo last 2006-04-08 01:52:37 +00:00
Chris Danford 7800b50fb6 hush debug logging 2006-04-08 01:36:40 +00:00
Chris Danford 16ecd09b9b 400ms between NotesWillCross messages 2006-04-04 21:45:10 +00:00
Glenn Maynard 788ad134f1 This broke beat alignment, and after that was fixed, other questions
came up (like how to align beat effects correctly).  Revert this and
fix assist tick differently.

Add GetBeatAndBPSFromElapsedTimeNoOffset, GetBeatFromElapsedTimeNoOffset,
GetElapsedTimeFromBeatNoOffset.  Use them to ignore GlobalOffsetSeconds.
2006-03-29 11:12:20 +00:00
Glenn Maynard ee9c292b09 Implement GlobalOffsetSeconds in GameState::UpdateSongPosition,
not TimingData.  TimingData is a simple data structure, and shouldn't
be affected by hardware tweaks.  This is also easier to bypass in cases
we don't want GlobalOffsetSeconds.

Don't adjust assist tick by GlobalOffsetSeconds.
2006-03-28 09:28:55 +00:00
Chris Danford ee8329cee6 don't DQ because of forced mods 2006-03-26 17:48:39 +00:00
Glenn Maynard b7d200c4e1 m_textDebug OnCommand 2006-03-26 06:22:00 +00:00
Glenn Maynard 7ab439ebb2 fix memory leak 2006-03-24 18:20:35 +00:00
Glenn Maynard ddb155858c fix "hold start to give up" stays on screen if the button was pushed before
we ended a course song, and triggered after
2006-03-14 06:01:03 +00:00
Glenn Maynard 3050906da6 cleanup 2006-03-14 05:47:51 +00:00
Glenn Maynard 313c722da3 remove UseForcedModifiersInBeginner 2006-03-14 05:39:57 +00:00
Glenn Maynard 8c40e1fb1b remove UseForcedModifiersInBeginner 2006-03-14 05:39:08 +00:00
Glenn Maynard 84226e5d27 cleanup 2006-03-14 02:23:45 +00:00
Glenn Maynard 054cacfc11 expose Center1Player 2006-02-28 21:55:58 +00:00
Chris Danford 646e199e14 fix VC6 compile 2006-02-28 17:52:29 +00:00
Glenn Maynard 8ff0263439 add AllowCenter1Player metric 2006-02-28 01:19:06 +00:00
Glenn Maynard 5f8337e9da move some stuff out of PManager 2006-02-28 01:13:44 +00:00
Glenn Maynard af7fb8a25c Clean up some messages. I'm not too crazy about this; we should have parameters
to messages, and unify them with actor messages instead of having two major,
distinct, functionally similar messaging systems.   This is an improvement over
a chunk of messages that are handled differently than all other messages, though.
2006-02-23 23:50:32 +00:00
Chris Danford 04577935f7 fix assert if no songs loaded 2006-02-07 08:12:47 +00:00
Chris Danford cce97c40b8 move autosync logic out of Player and GameState, into a separate file 2006-02-06 01:23:25 +00:00
Chris Danford 9a05977e52 localize SongOptions strings 2006-02-05 20:30:37 +00:00
Chris Danford 3a89d0f997 fix Init method not being called 2006-02-05 04:29:10 +00:00
Chris Danford 8d584de037 push ScreenSaveSync instead of making it a separate screen. Simplifies branching. 2006-02-04 20:14:04 +00:00
Chris Danford 2a1ce6b79a make background and foreground optional when loading this screen 2006-02-04 18:37:26 +00:00
Chris Danford e09e502038 CenteredSingle->Center1Player 2006-01-27 07:09:43 +00:00
Chris Danford af732e66aa solo single -> centered single 2006-01-27 06:46:41 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Glenn Maynard e310fdac0c actor names are set by their parent, not themself 2006-01-18 22:37:06 +00:00
Glenn Maynard 7100fa1d00 PlayerState::Update already calls RebuildPlayerOptionsFromActiveAttacks
as needed.
2006-01-18 22:22:37 +00:00
Glenn Maynard 2bd7dfda9d GameState::Update just calls m_pPlayerState->Update. Do it
directly, so we don't call it redundantly, and so we do the
same for any dummy players.
2006-01-18 22:20:21 +00:00