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
Glenn Maynard
72435f148c
explicit types
2005-02-17 04:55:41 +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
bb712884bb
move global StageStats into a singleton
2005-02-16 03:25:45 +00:00
Glenn Maynard
15a692d4cc
cleanups
2005-02-07 06:49:00 +00:00
Chris Danford
4223e09cc8
GetPathTo -> GetPath
2005-02-06 03:32:53 +00:00
Glenn Maynard
4d83c6fe58
cache
2005-02-03 02:40:40 +00:00
Chris Danford
8555a6da45
use Lua to execute commands
...
(needs cleanup)
2005-01-26 11:21:43 +00:00
Glenn Maynard
c7c28b9aea
narrow StageStats* -> PlayerStageStats*
2005-01-10 15:18:13 +00:00
Chris Danford
95b83d1ee5
make NumItemsToDraw a float
2005-01-06 21:09:13 +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
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
72bd480883
CENTER_* -> SCREEN_CENTER
2004-11-05 06:35:10 +00:00
Chris Danford
03fbb915f3
remove VC6 scoping hacks
2004-09-21 07:53:39 +00:00
Chris Danford
807d892f4f
allow theme to specify logical screen dimensions
2004-09-21 06:07:12 +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
649b3df153
handle IET_LEVEL_CHANGED
2004-09-09 22:21:50 +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
3c91fd94a5
jump to CHAR_BACK when try to enter another letter and name is full
2004-08-29 04:51:24 +00:00
Chris Danford
64628fac21
remove enum Game. Instead, pass around the GameDef pointer
2004-07-25 04:27:20 +00:00
Glenn Maynard
94d0cba859
RageSounds -> GameSoundManager
2004-07-08 00:10:34 +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
Chris Danford
51366df8cc
name cleanup: PLAY_MODE_ARCADE -> PLAY_MODE_REGULAR
2004-06-11 06:05:35 +00:00
Glenn Maynard
e4d124dd91
license update
2004-06-08 05:22:33 +00:00
Glenn Maynard
c266c71dca
stop accessing Song::m_vpSteps directly
2004-06-04 23:29:13 +00:00
Glenn Maynard
74ab510484
fix warnings
2004-06-03 20:02:46 +00:00
Chris Danford
61581479d8
track the current Trail in GameState
2004-06-03 08:22:02 +00:00
Chris Danford
6ad780417e
"SetFromNotes" -> "SetFromSteps"
2004-05-29 04:50:47 +00:00
Chris Danford
aee70ad0cc
only keep top 3 scores in players' stats.xml to keep the file size small
2004-05-28 04:46:43 +00:00
Thad Ward
28a3a099b1
Store the selected name to the profile before trimming spaces, so that the name
...
appears properly next time the player enters their name.
2004-05-24 09:40:26 +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
99a02deffe
name cleanup: "StepsType nt" -> "StepsType st"
2004-05-24 03:32:56 +00:00
Chris Danford
1d532df9ef
fix crash on fail
2004-05-24 03:16:14 +00:00
Chris Danford
4ff8b8ec2b
clean up Course score saving (use Trail)
2004-05-23 09:17:10 +00:00
Glenn Maynard
e8604a8194
cleanup unused code path and variables
2004-05-22 21:23:17 +00:00
Chris Danford
bf42f0fa4a
fix crash?
2004-05-07 02:53:51 +00:00
Chris Danford
db916d1b4f
fix crash, first FeatDisplay after training no longer remains hidden
2004-05-06 08:47:44 +00:00
Chris Danford
27c7c107ae
don't show unselectable songs
2004-05-06 06:29:33 +00:00
Chris Danford
9dfaf6c129
fix on command for FeatDisplays other than the first
2004-05-04 05:50:49 +00:00
Sean Burke
93c120c929
noeol
2004-05-04 03:16:51 +00:00
Chris Danford
42ee4096ae
add off commands
2004-05-04 02:00:15 +00:00
Chris Danford
5e6038c83a
fix "possibleDP=0 will choose Grade=Tier20, which may not have a graphic"
2004-05-02 09:57:28 +00:00
Chris Danford
df5cd5e813
move MenuElements into a base ScreenWithMenuElements so that metrics can be overridden using the Fallback mechanism
2004-05-01 23:19:33 +00:00
Chris Danford
0cc49c66bb
add CourseLastScores for tournaments
2004-04-22 22:01:38 +00:00
Chris Danford
3bc5943a9e
don't throw away Song scores for Songs/Steps that aren't currently loaded on the machine
2004-04-18 18:42:42 +00:00