Commit Graph

440 Commits

Author SHA1 Message Date
John Bauer e28f5f5ce8 Cosmetic changes:
merge an if and a switch that test the same thing
embellish a LOG line

R=steve
2006-10-22 13:36:59 +00:00
Glenn Maynard 617e8b5335 FOREACH_ENUM2 -> FOREACH_ENUM 2006-10-07 08:56:58 +00:00
Glenn Maynard 4bb479a445 standard enums for some preference types 2006-10-07 07:43:18 +00:00
Glenn Maynard 0493bc75a9 standard enums for some preference types 2006-10-07 05:52:45 +00:00
Glenn Maynard de6ca466d2 more enum standardization 2006-10-07 04:39:48 +00:00
Glenn Maynard 2ce839e4eb Invalid 2006-10-07 04:25:28 +00:00
Glenn Maynard 8a4ddd1515 Invalid 2006-10-07 04:13:43 +00:00
Glenn Maynard a31f76e9ad allocate GameCommand as needed 2006-10-01 20:13:27 +00:00
Glenn Maynard e8a3c636f6 SortOrder_INVALID, NUM_SortOrder 2006-09-26 07:42:55 +00:00
Glenn Maynard e206261b80 ARRAYSIZE -> ARRAYLEN 2006-09-13 03:11:38 +00:00
Glenn Maynard 406dc6b245 auto RefreshGrades 2006-08-16 22:34:59 +00:00
Chris Danford c36f33c088 fix compile 2006-08-15 21:17:36 +00:00
Chris Danford a894eca8ec show all courses, not just preferred 2006-08-15 20:14:25 +00:00
Chris Danford 08616ca55d fix VC6 compile 2006-08-14 04:31:53 +00:00
Glenn Maynard 3d85b7a02b update, fix, simplify ... 2006-08-10 17:42:28 +00:00
Glenn Maynard 208c5b0061 Make wheel items regular children (no special update/drawing);
remove "staggered tween" hack and set the offset in the
context so this can be done in commands; fix sections;
do OnCommand/OffCommand normally and rename TweenOn/OffScreen
to TweenOn/OffScreenForSort; other fixes/cleanups (metric
updates to come in a bit)
2006-08-10 06:27:47 +00:00
Glenn Maynard 35618be535 Fix up MusicWheel. This code was a mess: huge blocks of copy-and-pasted
code, duplicated arrays in base classes that were never used ...

(It's still ugly, but at least WheelBase is actually a real base class now.)
2006-08-10 04:27:46 +00:00
Glenn Maynard eebaa57c5b cleanup 2006-08-09 22:40:35 +00:00
Glenn Maynard c55c3b1615 remove WheelItemOnDelayCenter, WheelItemOffDelayCenter 2006-08-09 22:39:03 +00:00
Steve Checkoway 387b1397c1 Move extra stage setting player options to SSMusic. 2006-08-06 23:34:33 +00:00
Steve Checkoway ba0d51cc7a Simplify. 2006-08-06 02:37:42 +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
Josh Allen e9bc3ab514 clean up 2006-08-01 21:55:32 +00:00
Steve Checkoway a07e194cf1 Revert. Fixes Linux build. 2006-07-18 05:51:37 +00:00
Jason Felds 366c3440d4 Fix VC8 macro redef warning. (more to come) 2006-07-18 03:56:37 +00:00
Steve Checkoway 80698277cf Don't use rand()%n. The function specified by the ANSI committee is a terrible linear congruential generator. In fact, it's so bad that the low order bit alternates. The algorithm implemented as RandomFloat() seems to be Park and Miller's "minimum standard" generator which is better (but not great). [See Knuth for more information.]
Any place where you would use rand()%n, use RandomInt(0, n) instead.
2006-06-26 12:14:30 +00:00
Steve Checkoway aa2c86ce35 Cleanup. 2006-06-24 00:06:57 +00:00
Steve Checkoway 5b2b0b4611 Show memory card icon for course edits. 2006-06-14 04:12:20 +00:00
Sean Burke b99c1ebdcd Fix typo here as well 2006-05-16 10:06:04 +00:00
Chris Danford 8814cb747d add courses preferred sort 2006-05-01 21:49:59 +00:00
Glenn Maynard fe00ec613c move out of PrefsManager 2006-04-06 09:39:29 +00:00
Chris Danford e3bd1698d3 fix wheel item colors still look locked if Roulette then back out from SPlayerOptions 2006-04-04 21:39:03 +00:00
Chris Danford 64ea81fac1 Best -> Popular
populate SORT_PREFERRED from a txt file
2006-03-20 01:04:46 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Chris Danford fc18dbd342 make more strings localizable 2006-01-08 18:40:20 +00:00
Glenn Maynard b68e9dd772 simplify into one loop 2005-12-09 20:05:04 +00:00
Glenn Maynard be0fe94d36 fix current sort not selected when going to sort menu 2005-12-09 00:42:45 +00:00
Glenn Maynard 7edb143399 cleanup, const 2005-10-30 20:09:32 +00:00
Glenn Maynard 89f80eb2e5 more easily themable sort text
(Not sure whether to use the choice name or the GameCommand m_sName.
The GameCommand name is used to identify asset names.  However, we
already have a Choice name here, and it's weird having two names: the
GC name just seems like a confusing extra layer of indirection.  Hmm ...)
2005-10-30 18:31:18 +00:00
Glenn Maynard 65a16ed427 overwritten immediately 2005-10-30 18:14:52 +00:00
Glenn Maynard eccfe81012 fix current StepsType ignored 2005-10-01 01:03:08 +00:00
Glenn Maynard be73671d02 cleanup 2005-09-19 09:55:05 +00:00
Glenn Maynard 075b132f89 nudge RebuildWheelItems and RebuildMusicWheelItems together 2005-09-19 09:48:41 +00:00
Glenn Maynard d2616b08d9 nudge RebuildWheelItems and RebuildMusicWheelItems together 2005-09-19 09:37:47 +00:00
Glenn Maynard 4f1e6add01 remove function overload that doesn't change anything
cleanup
2005-09-19 09:33:05 +00:00
Glenn Maynard 6a0c91e07e STATE_SELECTING_GENERIC -> STATE_SELECTING 2005-09-19 09:27:43 +00:00
Glenn Maynard ccc567b85c There were two "selecting" states, and several functions from WheelBase duplicated
in MusicWheel that just had one replaced with the other.  Merge them.  Multiple
selection "modes" are implemented by having different sorts containing different
selections, not with a high-level mode.
2005-09-19 09:26:42 +00:00
Glenn Maynard 60aa06f88b optimize load of same object 2005-09-09 03:55:42 +00:00
Glenn Maynard f8548a4ac6 cleanup 2005-09-03 04:34:04 +00:00