Commit Graph

154 Commits

Author SHA1 Message Date
Glenn Maynard 434e603026 MenuButton -> GameButton 2007-01-13 03:44:16 +00:00
Glenn Maynard d74c5689ff GameButtonToMenuButton 2007-01-13 02:03:10 +00:00
Steve Checkoway 4517499f0f lroundf -> lrintf. 2007-01-03 05:05:28 +00:00
Steve Checkoway eb0b26cd82 Float to int is slow on ppc. It requires a store, a big stall, and then a load. It's even worse on a G5 if the compiler is dumb (and let's face it, I'm using gcc here...). Just use lroundf when we want an int. It will certainly be no slower. 2007-01-02 23:36:44 +00:00
Glenn Maynard 0db4a096e5 ScreenWithMenuElements::BeginScreen calls SortByDrawOrder 2006-11-21 04:32:59 +00:00
Chris Danford 2f7ac6aa3c Add m_ to StageStats and PlayerStageStats members. There are several methods of these classes with local variable names that are similar to the member names. m_ helps distinguish between those two types. 2006-11-14 11:13:21 +00:00
Steve Checkoway 0e8a2ecd5b Fix brain dead g++ 4.0.1's inability to have private constants without declaring storage for them. 2006-10-28 08:21:21 +00:00
Chris Danford a7220007fe add ScreenTestMode debugging 2006-10-21 06:02:22 +00:00
Steve Checkoway 56d052f6f1 Fix potential crash if the style has more columns than the max allowed. 2006-10-20 07:50:20 +00:00
Steve Checkoway 228e566f21 Simplify. 2006-10-20 07:45:36 +00:00
Steve Checkoway ea34c45ab3 Oops. Turn debugging off. 2006-10-20 07:27:19 +00:00
Steve Checkoway 035c833314 Unused. 2006-10-20 07:17:31 +00:00
Steve Checkoway 18ad948dac Simplify by inheriting from SWME. 2006-10-20 07:08:36 +00:00
Steve Checkoway 412413fa5c m_sName. 2006-10-20 06:47:20 +00:00
Steve Checkoway 5476c60b41 Stick the scrolling text into a separate actor and add that as a child. The scrolling text only needs a single BitmapText "stamp" that it moves around and draws. 2006-10-20 06:44:15 +00:00
Steve Checkoway dc10e741d7 Fix perspective. 2006-10-20 04:32:46 +00:00
Steve Checkoway a19dad4716 Fix input crash and add text as subactors. 2006-10-16 10:16:47 +00:00
Steve Checkoway 156322028e Play name entry music. 2006-10-16 09:31:28 +00:00
Steve Checkoway ea383df3e1 Static. 2006-10-16 09:01:39 +00:00
Steve Checkoway 52e55b8efc Cleanup. This is done in the metrics with lua. 2006-10-16 08:47:15 +00:00
Steve Checkoway baa0c8e6c8 It does. RString( num, c ). 2006-10-16 08:44:12 +00:00
Steve Checkoway 59a7aee9b5 Use metrics. 2006-10-16 08:42:54 +00:00
Steve Checkoway 15a60d7f9d Once CurrentStringIndex is equal to MAX_RANKING_NAME_LENGTH, it isn't going to change so break. 2006-10-16 08:27:49 +00:00
Steve Checkoway d07dc2335a static. 2006-10-16 07:30:25 +00:00
Steve Checkoway 8d02fa3eb3 Cleanup. 2006-10-16 07:18:03 +00:00
Glenn Maynard 0493bc75a9 standard enums for some preference types 2006-10-07 05:52:45 +00:00
Glenn Maynard 2ce839e4eb Invalid 2006-10-07 04:25:28 +00:00
Glenn Maynard a8dd0c5fdc GetCurrentStyle() 2006-09-30 22:13:20 +00:00
Glenn Maynard b6c3ea14d7 simplify 2006-09-30 08:22:36 +00:00
Steve Checkoway 944a913790 PlayerNumber -> IEP. 2006-09-15 01:47:24 +00:00
Glenn Maynard 7b4667c311 GameInputToMenuButton 2006-09-14 04:11:29 +00:00
Glenn Maynard cbfebb16bb use input.pn 2006-09-13 10:11:36 +00:00
Glenn Maynard d3095e0913 t -> iCol 2006-09-13 09:24:56 +00:00
Glenn Maynard 3183dcf60b GameInputToStyleInput -> GameInputToColumn 2006-09-13 09:22:24 +00:00
Glenn Maynard 9da4770fe0 StyleInput_INVALID -> Column_INVALID 2006-09-13 09:14:03 +00:00
Glenn Maynard e206261b80 ARRAYSIZE -> ARRAYLEN 2006-09-13 03:11:38 +00:00
Glenn Maynard e4d0b41da1 Stop using Input.StyleI. Just convert it when needed; the vast majority
of screens don't.
2006-09-13 01:29:33 +00:00
Glenn Maynard 1ca5c9a4b7 reduce StyleInput to an int 2006-09-13 00:46:21 +00:00
Glenn Maynard 6a80311172 phase out StyleI.player 2006-09-13 00:16:23 +00:00
Glenn Maynard 5be4331e71 phase out StyleI.player 2006-09-13 00:09:00 +00:00
Glenn Maynard 7bab74efab As far as I can tell, StyleI.player is always the
same as MenuI.player if the style is set.  Phase
it out.
2006-09-12 23:29:08 +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
Chris Danford 28f18b1b39 fix assert "!m_sNoteSkin.empty()" 2006-03-06 00:17:50 +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