Glenn Maynard
a584f1b5be
rename EndScreen; that's a virtual from Screen. Why is there no way
...
to get a warning when virtual methods are overloaded without specifying
"virtual"?
2007-03-07 22:04:28 +00:00
Glenn Maynard
43ee764fde
remove unused DifficultyIcon. Do this in Lua if wanted.
2007-03-03 01:54:46 +00:00
Glenn Maynard
84e9905ae1
remove unused DifficultyMeter. Do this in Lua if wnated.
2007-03-03 01:43:19 +00:00
Glenn Maynard
5367feb73f
ShowDifficultyMeters
...
(note: this approach is not recommended for new code. It's better to
control this stuff with Lua. This is just an interim before this stuff is
moved over to Lua, since I don't want to spend time converting it
right now.)
2007-02-27 01:25:38 +00:00
Glenn Maynard
77eedba13e
fix crash
2007-02-21 11:23:30 +00:00
Chris Danford
b3c3bd52d2
LOAD_ALL_COMMANDS_AND_SET_XY -> LoadAllCommands; SET_XY
2007-02-19 10:23:29 +00:00
Chris Danford
d61272fe08
consistent command loading style
2007-02-19 10:06:50 +00:00
Chris Danford
599db61b62
Always call LoadAllCommands explicitly.
...
The hack to LoadAllCommands when playing a command was leading to weird interactions: If a theme element contained an OnCommand, it would cause the rest of the commands defined in metrics to not be loaded.
2007-02-19 09:30:07 +00:00
Glenn Maynard
abe62b0920
GetMD5ForString: don't hex
2007-01-26 04:35:15 +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
Glenn Maynard
e1eb59bc02
use bFailed
2006-11-09 08:23:55 +00:00
Steve Checkoway
e87789da7c
Rename XToString2 to XToString.
2006-10-15 00:09:18 +00:00
Steve Checkoway
04bff6bc1d
Use XToString2.
2006-10-15 00:00:22 +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
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