Commit Graph

548 Commits

Author SHA1 Message Date
Glenn Maynard 0b45f5dd0a use SetCurrentStyle 2006-09-30 22:22:26 +00:00
Glenn Maynard 2eca7b670c use FOREACH_ENUM2 2006-09-27 05:18:47 +00:00
Glenn Maynard a20ff0e3b6 GenericTweenOn, GenericTweenOff 2006-09-23 03:37:45 +00:00
Glenn Maynard e7fdfa2132 prefer GAMESTATE->JoinPlayer to setting GAMESTATE->m_bSideIsJoined manually 2006-09-15 05:56:43 +00:00
Steve Checkoway 944a913790 PlayerNumber -> IEP. 2006-09-15 01:47:24 +00:00
Glenn Maynard aeb9c89191 use input.pn 2006-09-13 10:02:58 +00:00
Glenn Maynard e206261b80 ARRAYSIZE -> ARRAYLEN 2006-09-13 03:11:38 +00:00
Glenn Maynard 7b995b8487 remove unused 2006-08-20 20:01:53 +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 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 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 161aa4a035 cleanup 2006-07-07 19:34:51 +00:00
Glenn Maynard 7f463daafe remove experimental TotalError 2006-07-07 18:45:15 +00:00
Steve Checkoway af860e6ccc Fix parameter. This worked before because it was being called with an argument of l. 2006-07-05 21:53:12 +00:00
Chris Danford 66d25f70ec AccumStageStats -> AccumPlayedStageStats 2006-07-03 00:04:30 +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
Chris Danford ede57d64ad add GetNumSelectableAndUnlockedSongs, add GetMD5ForString 2006-05-16 00:47:02 +00:00
Chris Danford 370d11ee19 theme -> localize 2006-01-29 22:17:54 +00:00
Chris Danford 3ced24bd13 tabs cleanup 2006-01-27 21:31:56 +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 470c909ec6 Transition away from Screen(sName). 2006-01-15 18:54:03 +00:00
Glenn Maynard c5b71c0631 remove logs (this stuff predates the crash handler and has been copied
and pasted around since)

jesus we have a lot of screens
2006-01-15 08:54:03 +00:00
Chris Danford 44225ad379 XToThemedString -> XToLocalizedString 2006-01-07 04:11:29 +00:00
Glenn Maynard b734b602d2 force TypeName arrays for XToString to be an array of const char*, not CString 2006-01-04 22:30:51 +00:00
Chris Danford 0b98adff15 make RadarCategory enum and Lua names consistent 2005-12-24 20:18:56 +00:00
Chris Danford 800158e185 move floating globals into a namespace 2005-12-02 01:16:28 +00:00
Chris Danford 8b8fa8aad3 move CommonMetrics into a namespace so that it's clear where they're coming from when used. 2005-10-27 05:16:19 +00:00
Glenn Maynard b4ad9ee7af unused. Do this in XML. 2005-10-17 01:02:09 +00:00
Glenn Maynard e6bd6ccb5d do this in metrics 2005-10-17 00:53:19 +00:00
Glenn Maynard d2768dfe7e cleanup 2005-10-17 00:50:06 +00:00
Glenn Maynard 0895f07f48 simplify: StartTransitioningScreen calls TweenOffScreen 2005-10-13 22:48:22 +00:00
Glenn Maynard 2a7addfe83 fix metric 2005-10-13 22:45:24 +00:00
Glenn Maynard c83a8a676e All of these conditionals surround a call that we're making right above anyway; remove. 2005-10-13 22:35:20 +00:00
Glenn Maynard dfc67cd84d ScreenWithMenuElements::StartTransitioning -> StartTransitioningScreen, to make searching
for it easier (vs. Transition::StartTransitioning).  (Trying to simplify tweening; this
may go back later.)
2005-10-13 22:17:13 +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 32464990af enum name cleanup to reflect the generic calculations 2005-10-08 04:50:28 +00:00
Chris Danford 0f07808ecc Use generic names for score values since they are treated genericly by the code.
Theme changes coming...
2005-10-08 02:10:32 +00:00
Chris Danford 1ead066956 Use generic names for TapNoteScore values since they are treated genericly by the code.
Theme changes coming...
2005-10-08 02:02:03 +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 b390717cf0 fix compile error (accidental keyboard hit) 2005-10-02 20:01:53 +00:00
Chris Danford 8863adb31a fix wrong song number displayed in nonstop if one player fails and the other doesn't 2005-10-02 19:58:40 +00:00
Chris Danford fa2a5bddc3 Don't give awards if GaveUp or UsedAutoplay
Move bGaveUp into StageStats.  It's not really a per-player value.
2005-10-01 00:18:13 +00:00
Glenn Maynard d3ecba30a0 cleanup test 2005-09-26 19:08:45 +00:00
Glenn Maynard 27017e01dc simplify: Type -> Summary, pick stage or course appropriately 2005-09-11 04:12:50 +00:00
Glenn Maynard 887d9eacbc reduce dependency on m_Type 2005-09-11 03:15:22 +00:00
Glenn Maynard 97fb44e183 reduce dependency on m_Type 2005-09-11 03:14:06 +00:00
Glenn Maynard 32fe33d9a4 remove (briefly) deprecated 2005-09-11 02:11:52 +00:00