Mike Hawkins
3fc4f1ea94
Player-side Autoplay modifier (allows one player to play normally, while the other is in autoplay mode)
2008-07-08 00:56:24 +00:00
Mike Hawkins
25b13dfcdf
Song Attacks modifier (course-style scripted mods in regular single play)
2008-05-30 01:09:00 +00:00
Chris Danford
f1a92b173b
add ClearStageModifiersIllegalForCourse
2008-05-20 21:42:08 +00:00
Mike Hawkins
ffcc31b8ca
Attack Mines modifier
2008-05-16 23:58:52 +00:00
Mike Hawkins
b3e11dcb94
Random attacks modifier
2008-05-16 04:00:13 +00:00
Mike Hawkins
dd347e27c5
Holds to rolls modifier
2008-05-14 23:18:58 +00:00
Mike Hawkins
9fc7166d9d
code formatting fixes
2008-05-09 23:58:11 +00:00
Mike Hawkins
2d60147372
no message
2008-05-06 00:19:54 +00:00
Glenn Maynard
3e36a05c5f
fix song.h!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2008-03-09 01:51:34 +00:00
Steve Checkoway
611366a664
TrimLeft(); TrimRight(); -> Trim();
2007-12-01 23:33:38 +00:00
Chris Danford
4311158735
Split *Options::FromString into FromString and FromOneModString.
...
Check for invalid mod names when loading a course by checking whether the mod is a valid PlayerOption or a valid SongOption. Previously, SongOption mods were being flagged as errors by PlayerOptions.
2007-08-20 02:57:05 +00:00
Glenn Maynard
2385dc342f
fix PO updating (fixes note skins in courses)
2007-06-03 03:33:40 +00:00
Glenn Maynard
8278b2e9a1
make FailType a PlayerOption instead of a SongOption; fixes
...
peculiarity that GameState::GetPlayerFailType can implement
fail modes per-player and nothing else can
2007-05-12 23:48:29 +00:00
Glenn Maynard
2d0bb7955a
GAME_BASE_NOTESKIN_NAME -> DEFAULT_NOTESKIN_NAME.
...
(This isn't the base noteskin that other noteskins derive from, just
the default preference.)
2007-02-04 04:07:14 +00:00
Glenn Maynard
d5b3a52233
add MuteOnError
2007-01-16 02:23:12 +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
c6e62ae92d
revert. Need a better approach.
2006-11-12 03:26:25 +00:00
John Bauer
5d2bf93725
Make all uses of the Steps* in the TrailEntry class use an accessor method.
...
This makes it simple to switch to something else, such as using a StepsId
instead of a Steps*.
2006-11-10 05:04:09 +00:00
Glenn Maynard
30fd6d77b4
maybe workaround g++ 3.3 weirdness
2006-10-07 08:56:12 +00:00
Steve Checkoway
1345a2cd5f
LogType -> string. Done.
2006-09-24 03:57:40 +00:00
Glenn Maynard
e206261b80
ARRAYSIZE -> ARRAYLEN
2006-09-13 03:11:38 +00:00
Steve Checkoway
faf32603f1
Consistent user warnings.
2006-09-04 08:09:27 +00:00
Steve Checkoway
4606d68fdf
Move warnings meant for the user to userlog.txt. These are as inconsistent in format as before but at least they're all in one place.
2006-09-03 05:16:09 +00:00
Jason Felds
0cd3ab7575
DWI Wave -> Expand.
...
This is, admittedly, exploiting behavior from the DWI program, but it will allow courses to work in both programs.
2006-09-02 01:54:18 +00:00
Steve Checkoway
8c6575ecbb
PlayerOption po1; // Initialize it.
...
PlayerOption po2;
po2.FromString( po1.GetString() );
po2 does not necessarily equal po1 because the note skin might be omitted so po2's note skin will be blank. Passing true to GetString() will include the note skin so po2.FromString( po1.GetString(true) ) will cause po2 to equal po1.
2006-08-18 00:09:09 +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
884af552ee
Allow combined player steps to have per-player radar values. This doesn't work for trails where it just uses the PLAYER_1 values, same with writing to the catalog file.
2006-07-28 03:34:14 +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
Chris Danford
1ec3e9f6b1
make little disqualify
2006-06-16 04:18:43 +00:00
Glenn Maynard
f0b7631e3a
use standard name "isfinite", not "finite"
2006-06-15 03:15:41 +00:00
Chris Danford
8a0d3db8dc
isfinite -> finite
2006-06-12 22:34:52 +00:00
Steve Checkoway
2992fa865a
Watch out for NaN, etc. That assert will never trigger unless PCRE stops working (or someone breaks the regex).
2006-06-12 07:56:27 +00:00
Steve Checkoway
3f27205e40
Don't throw on invalid options. If we know that they meant *123 and they have 123*, is there any reason not to simply handle it?
2006-06-12 07:22:26 +00:00
Steve Checkoway
d2f3a14495
strtof -> StringToFloat.
2006-06-12 06:42:25 +00:00
Steve Checkoway
9da602cec4
Use the theme metric rather than "default".
2006-05-20 09:00:09 +00:00
Chris Danford
74ecf45379
add Tiny (the same effect as the old Mini)
...
make calories less generous
2006-04-05 02:59:16 +00:00
Chris Danford
ee8329cee6
don't DQ because of forced mods
2006-03-26 17:48:39 +00:00
Glenn Maynard
5e5d451480
fix assert on saved mods
2006-03-14 03:35:43 +00:00
Chris Danford
071558697b
don't show a string for the default NoteSkin
2006-02-22 17:27:32 +00:00
Chris Danford
0e12a206f4
blank m_sNoteSkin mean "no change in NoteSkin". Don't hardcode the NoteSkin "default" everywhere because "default" is not guaranteed to exist.
2006-02-22 17:15:13 +00:00
Chris Danford
9a05977e52
localize SongOptions strings
2006-02-05 20:30:37 +00:00
Chris Danford
370d11ee19
theme -> localize
2006-01-29 22:17:54 +00:00
Glenn Maynard
da685371bb
cleanup
2006-01-28 09:08:39 +00:00
Chris Danford
7f821e8cfc
CString -> RString
2006-01-22 01:00:06 +00:00
Chris Danford
0b98adff15
make RadarCategory enum and Lua names consistent
2005-12-24 20:18:56 +00:00
Glenn Maynard
39b07e55b3
cleanup (prefer size() over GetLength)
2005-12-21 07:50:14 +00:00
Chris Danford
37f82b43f7
remove CStringArray #define
2005-12-09 21:36:22 +00:00