Glenn Maynard
f89bd561fc
add Get
2007-05-11 21:52:13 +00:00
Steve Checkoway
7a296e8bc8
Fix template. I'm not sure it's really any less ugly, but at least it's more descriptive, sort of.
2007-01-20 09:06:05 +00:00
John Bauer
bf6da7d8b4
Reorder some includes.
2006-11-29 14:57:21 +00:00
Glenn Maynard
de6ca466d2
more enum standardization
2006-10-07 04:39:48 +00:00
Glenn Maynard
c011185fa9
new binding method
2006-09-26 01:54:36 +00:00
Steve Checkoway
e3ee179531
Missing header.
2006-09-01 02:09:43 +00:00
Steve Checkoway
0592a4b911
Fix indent.
2006-08-19 22:01:40 +00:00
Steve Checkoway
16dc51dbcb
Includes.
2006-08-18 00:04:45 +00:00
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
62c5e096f6
Remove Toggle and make the members private. Now, when setting a lower level, it must be applied to the higher levels.
2006-08-05 05:50:11 +00:00
Steve Checkoway
24abc3ec89
Copyright.
2006-08-05 04:55:25 +00:00
Steve Checkoway
7dd10c92f4
Instead of using the MODS_GROUP_ASSIGN über-macro, add members for assigning, both to an individual field and for the entire group. Also add FromString and generic zero argument Call members. For the templated Assign, Call, and Toggle[1] members, use the macros to make getting pointers to data/function members easier.
...
1. Toggle just toggles a boolean. This would seem to have strange effects that are not consistent with the others. Calling Toggle with ModsLevel_Song and then following that by calling it with ModsLevel_Stage will cause Stage and Song groups to be opposite w.r.t. that bool. This is only used in two places. Perhaps Assign() with the value of the smallest ModsLevel used--that is the level passed to Toggle currently--toggled should be used instead.
2006-08-05 04:46:11 +00:00
Steve Checkoway
f698819de9
Concatenating does not make valid preprocessing tokens.
2006-08-05 03:15:04 +00:00
Chris Danford
94d8a38dd2
save Preferred, Stage, Song, and Current modifiers separately. This eliminates the fragile mods store/restore.
2006-08-05 02:55:40 +00:00