Glenn Maynard
6ca113d42e
cleanup
2005-01-16 21:10:15 +00:00
Glenn Maynard
dc7fcbc776
remove m_Overlay (duplicates ScreenWithMenuElements::m_sprOverlay)
2005-01-15 18:54:04 +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
12d556c759
allow multiple, simultaneous prepared screens
2004-12-09 09:41:06 +00:00
Chris Danford
2b9d990e71
prefs name cleanup
2004-12-04 06:09:30 +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
7cfa03acc7
metrics cleanup
2004-11-09 07:02:25 +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
Glenn Maynard
d13e368d7d
fix background loading not being aborted
2004-10-16 17:53:47 +00:00
Glenn Maynard
532177bee3
fix player options coming up when it shouldn't (post-3.9)
2004-10-06 20:40:46 +00:00
Glenn Maynard
575727fd46
minor fix
2004-09-17 01:52:17 +00:00
Chris Danford
d2a54cca31
make TapNote a struct. Over time, more properties will move from the enums and into bit flags.
2004-09-12 05:56:24 +00:00
Glenn Maynard
9fcb3c6bfc
fix sample not starting when selecting fast
2004-09-10 03:37:33 +00:00
Glenn Maynard
ce4656bc51
update
2004-09-09 17:48:26 +00:00
Glenn Maynard
546e048fa2
Support background loading. The principle is simple: when the song
...
changes, request all of its assets that we need be loaded. Once each
piece finishes, load it from cache. We still take a skip to decode graphics
(banners in particular), but not from disk seeks, which is an issue on hard
drives and fatal on CDs.
This also handles fading banners much more precisely: we fade to the
high res banner once the music wheel has settled. Before, it was approximate;
we'd often load the banner before we settled. It still skips, but it's much less
prominent to skip when the music wheel is completely settled, than to skip
just before it settles.
Some more work is necessary to resolve lock contention; currently, you'll
still see frequent skips off a CD (but not constant as before). I'm working
on that, but I'm not sure if I want to put that in before the release, since
it's caused some crashes that I havn't tracked down.
The actual background work is disabled, and may not be enabled for the
release. I'm committing this to get the basic API work ironed out. It still
gives perceptual skip improvements even without the background thread.
2004-09-08 02:53:54 +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
Charles Lohr
b3e23e2201
Reverted change to control ScreenSelectMusic
2004-08-26 08:52:26 +00:00
Glenn Maynard
1d6a9296e3
Move m_sprExplanation below m_sprBannerFrame. This should be
...
possible to do with draw order metrics, but we don't actually run OnCommand
in here ...
2004-08-25 00:18:51 +00:00
Charles Lohr
0decd5c7eb
ScreenMessaged' some stuff, and now shows "Initilizing Network" when attempting to connect to server on start.
2004-08-18 01:02:06 +00:00
Glenn Maynard
83b640f5dd
reduce disk access on wheel move by using timing data that's already loaded
2004-08-15 23:16:30 +00:00
Chris Danford
504ba6c163
GetPath*N->GetPath*F
2004-07-25 06:29:50 +00:00
Glenn Maynard
94d0cba859
RageSounds -> GameSoundManager
2004-07-08 00:10:34 +00:00
Glenn Maynard
1ec55117e7
fix loading ""
2004-06-29 21:12:45 +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
Glenn Maynard
2e7eb9d37c
comment
2004-06-11 21:35:57 +00:00
Chris Danford
51366df8cc
name cleanup: PLAY_MODE_ARCADE -> PLAY_MODE_REGULAR
2004-06-11 06:05:35 +00:00
Chris Danford
1300566d36
fix OffCommand played instead of HideCommand
2004-06-09 04:55:53 +00:00
Glenn Maynard
ee87baa6cf
fix scores not appearing (post-alpha 20 regression)
2004-06-08 08:03:49 +00:00
Chris Danford
501b417f0f
add separate Hide/Show commands for CourseHasMods
2004-06-08 07:50:28 +00:00
Glenn Maynard
e4d124dd91
license update
2004-06-08 05:22:33 +00:00
Glenn Maynard
af9a619044
seed and course change in GameState::FinishStage
2004-06-04 06:34:52 +00:00
Glenn Maynard
b93d1bfd5e
first pass at merging CourseDifficulty into Difficulty
...
CourseDifficulty names still exist, since it's useful to distinguish them
in command names
2004-06-04 02:05:56 +00:00
Glenn Maynard
76a190e5f3
SwitchToPreferredSongDifficulty -> SwitchToPreferredDifficulty; handle
...
course difficulty
don't re-tween course list after changing course difficulty
2004-06-03 21:41:54 +00:00
Chris Danford
61581479d8
track the current Trail in GameState
2004-06-03 08:22:02 +00:00
Glenn Maynard
0f5c3f0fec
simplify cdtitle; spin, dim, etc. are themable
2004-06-03 02:55:47 +00:00
Glenn Maynard
5fb15586f7
simplify m_sprCDTitleBack
2004-06-03 02:35:27 +00:00
Chris Danford
64636015c8
fix assert when choosing TYPE_PORTAL
2004-06-02 07:22:55 +00:00
Chris Danford
2d269ebe06
remove Leap, add Portal
2004-06-02 05:12:45 +00:00
Glenn Maynard
cab74820c4
SwitchToPreferredDifficulty -> SwitchToPreferredSongDifficulty
2004-06-01 19:19:35 +00:00
Chris Danford
3cadf4c5d5
have Numbers fall back to Fonts (in perparation for removing the Numbers dir altogether)
2004-05-30 23:23:39 +00:00
Chris Danford
d4eaab5ad4
Split balloon commands into On, Off, Show, Hide
2004-05-29 05:35:13 +00:00
Chris Danford
6ad780417e
"SetFromNotes" -> "SetFromSteps"
2004-05-29 04:50:47 +00:00
Chris Danford
ff5ec77fec
fix "unlocking a song doesn't automatically select it"
2004-05-26 05:50:22 +00:00
Chris Danford
a9db266eb2
"for( p=0; p<NUM_PLAYERS; p++ )" -> "FOREACH_PlayerNumber( p )"
2004-05-24 08:16:17 +00:00
Chris Danford
b05d25ab24
"m_pCurNotes" -> "m_pCurSteps"
2004-05-24 06:12:17 +00:00
Chris Danford
ba93ee8469
"for( int p=0; p<NUM_PLAYERS; p++ )" -> "FOREACH_PlayerNumber( p )"
2004-05-24 06:10:11 +00:00
Chris Danford
4bb777232d
name cleanup: "pNotes" -> "pSteps"
2004-05-24 03:41:39 +00:00
Chris Danford
abfc956e4f
refactor Course: move some responsibilities to Trail
2004-05-23 00:53:20 +00:00