Steve Checkoway
0cb22fb806
Apparently VC doesn't like using (group).GroupType as a type (and frankly, I couldn't get g++ to accept it outside of StepMania, either) so use the macros with PO and SO prefixes for PlayerOptions and SongOptions, respectively. Also, pointers to data members can't point to elements of an array (no idea why gcc was allowing it before) so use Assign_n and pass the index separately. (Very annoying, typeof() should really be in the standard.)
2006-08-05 08:02:49 +00:00
Steve Checkoway
1802e603b3
Update to use the new ModsGroup api.
2006-08-05 04:47:01 +00:00
Chris Danford
7ac45c24e4
save Preferred, Stage, Song, and Current modifiers separately. This eliminates the fragile mods store/restore.
2006-08-05 02:38:05 +00:00
Steve Checkoway
b8ab1f7393
Fix possible crash if Player accesses the NoteData in it's dtor and the Player is a PlayerPlus. Now just treat PlayerPlus as a smart pointer to a Player with the added Load( const NoteData& ) member function. This is only a connivence class anyway.
2006-07-20 02:19:03 +00:00
Steve Checkoway
8502fc3083
Use PlayerPlus (a Player plus a NoteData, this gives the old behavior of Player, i.e. calling Load( nd )).
2006-07-17 00:56:23 +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
Glenn Maynard
0ad99bffc2
switch -> if
2006-02-24 00:20:41 +00:00
Chris Danford
7f821e8cfc
CString -> RString
2006-01-22 01:00:06 +00:00
Glenn Maynard
a87993bcb1
finish ctor transition
2006-01-15 20:46:15 +00:00
Glenn Maynard
1c5b3c9002
Transition away from Screen(sName).
2006-01-15 19:18:57 +00:00
Glenn Maynard
51a2d29493
unuseds
2006-01-13 06:50:16 +00:00
Thad Ward
41162e8223
I never did add my name to the copyright on these files, even though I did
...
quite a bit of work on them.
2005-10-30 06:22:18 +00:00
Chris Danford
a048cc52bb
assert earlier if missing rather than when trying to open the Milkshape file
2005-10-23 18:48:25 +00:00
Glenn Maynard
1168414cf0
m_bPastHereWeGo -> !m_bGameplayLeadIn, default false. This is more natural;
...
!m_bPastHereWeGo was the usual case.
2005-10-10 04:36:04 +00:00
Glenn Maynard
b0df6d2d68
broadcast bPastHereWeGo
2005-10-10 02:24:58 +00:00
Chris Danford
feb1bfb0fc
naming cleanup: rename scoring "Tier1"s to "W1"s (short for "Window 1")
...
add Preference1D so that we can index into the grading and life values
2005-10-09 04:30:59 +00:00
Chris Danford
b6cf3477b4
Use generic names for TapNoteScore values since they are treated genericly by the code.
...
Theme changes coming...
2005-10-08 00:57:40 +00:00
Chris Danford
1333bfd2d8
remove references to specific games for things that are only specific to the controller type
2005-10-07 05:00:52 +00:00
Glenn Maynard
0022bc3338
cleanup
2005-09-03 02:08:27 +00:00
Chris Danford
fdb9764c81
load from PlayerState and PlayerStageStats, not PlayerNumber and looking up in GameState
2005-08-23 21:04:35 +00:00
Chris Danford
e50a401341
move Character stuff out of messy GAMESTATE and into CHARMAN
2005-08-14 12:06:40 +00:00
Glenn Maynard
1e05d86b7d
missing includes
2005-07-04 20:52:21 +00:00
Glenn Maynard
ac15f8064b
missing includes
2005-07-03 02:48:38 +00:00
Chris Danford
16818e54c8
broadcast on style change
2005-05-07 08:34:20 +00:00
Chris Danford
f0d15f7bc3
remove redundancies with ScreenWithMenuElements
2005-02-28 04:43:14 +00:00
Glenn Maynard
4c2ffa90ef
Player cleanup
2005-02-26 05:59:12 +00:00
Chris Danford
ab22e629d4
enforce that changed message is broadcast whenever value changes
2005-02-24 12:27:30 +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
1de61aa8ae
split AutoActor into a separate file
2005-02-09 05:27:51 +00:00
Chris Danford
4223e09cc8
GetPathTo -> GetPath
2005-02-06 03:32:53 +00:00
Glenn Maynard
c9091a1214
Don't play "On" automatically for non-generic BGAnimations; play it
...
explicitly, like we do with all other objects.
2005-01-15 19:21:09 +00:00
Glenn Maynard
0dfdaee605
remove some more old experimental stuff
2005-01-15 02:01:26 +00:00
Glenn Maynard
3a9b2f7f4b
working on fixing up extra loads when entering play mode in the editor
2005-01-15 01:28:29 +00:00
Chris Danford
a1340dd1c0
have gameplay objects access PlayerStageStats though a member pointer and not directly access g_CurStageStats.
2004-12-22 07:31:27 +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
Glenn Maynard
f0c9196995
fix Assertion '!actor.GetID().empty()' failed
2004-12-06 06:22:32 +00:00
Chris Danford
4183869a45
fix player Y position
2004-12-04 21:14:25 +00:00
Chris Danford
7f336c2ce6
self-registering screen classes
2004-11-26 17:28:47 +00:00
Chris Danford
406a2d1085
cleanup
2004-11-06 23:54:34 +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
09193d9e4b
cleanup:
...
use references when passing NoteData
Have player own a NoteDataWithScoring, not derive from it
2004-10-23 17:43:49 +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
350d3771b8
dep fix
2004-08-19 01:18:11 +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
Glenn Maynard
db75aa0255
simplify
2004-07-12 22:57:37 +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
94f61972c8
move HowToPlay and Demonstration Style usage info into StyleDef
2004-06-27 02:16:12 +00:00