Glenn Maynard
3285433fb9
optimize FTOC (about 7x faster in g++, not benchmarked in VC)
2004-05-01 05:21:39 +00:00
Glenn Maynard
eeb79a5ee0
implement missing lrintf
2004-05-01 05:17:58 +00:00
Glenn Maynard
b48043dc2e
search all_sounds, not owned_sounds
2004-05-01 05:15:21 +00:00
Glenn Maynard
84ac4d3fc9
fix crash if a sound is played, copied, and then the parent is given over
...
to RageSoundManager; don't think this ever actually happens
2004-05-01 05:13:09 +00:00
Glenn Maynard
53fd27b885
disable "drive not ready", etc. dialogs
2004-05-01 01:44:07 +00:00
Glenn Maynard
41662b7239
fix spurious mkdir(d:/) calls
2004-05-01 01:40:58 +00:00
Glenn Maynard
50b593f7d2
If a drive isn't ready, don't try to mount it at all; it may cause mkdir()
...
calls to be made (if eg. mounting "D:\foo"), causing "volume not ready"
dialogs. This happens with removable devices like memory card readers
that don't have a device.
I think this is generally incorrect: if a user has a memcard reader, we'll ignore
it on the first change (no device is installed), and then we'll never actually
notice when a card is inserted, since the drive letters don't actually
change. I don't have a memcard reader to test this, so I'm punting on
this for now.
2004-05-01 01:26:38 +00:00
Glenn Maynard
07fa62c417
move "join player" logic into GameState
...
add --player, --mode
2004-04-30 07:48:02 +00:00
Glenn Maynard
f013cbf3f8
allow setting courses
...
fix setting steps not working if the song was previously set
2004-04-30 07:46:46 +00:00
Glenn Maynard
9948172998
add more "why" returns from ModeChoice::IsPlayable
2004-04-30 07:27:01 +00:00
Glenn Maynard
bfb552014c
add --metric
2004-04-30 07:26:06 +00:00
Glenn Maynard
81eaecbc63
add interface for multiple options with the same name
2004-04-30 07:24:29 +00:00
Glenn Maynard
efc61b33d6
simplify RangeOverlaps
...
add ContainedByRange
2004-04-29 00:33:09 +00:00
Glenn Maynard
7b9802b2bf
remove "SaveToProfile"
2004-04-28 23:42:23 +00:00
Glenn Maynard
ba8e2196c4
remove "SaveToProfile" option; options are always saved to the profile now
2004-04-28 23:38:27 +00:00
Glenn Maynard
4044ec4073
we give a warning about this earlier, so let's not die because of it here
2004-04-28 23:36:18 +00:00
Glenn Maynard
73271fa3d2
fix DifficultyIcon hiding when no song is selected
...
(Note that in general, actors should never SetHidden(false) on themselves,
since that will cause themed "hidden,1" commands to be overridden.)
2004-04-28 22:57:42 +00:00
Glenn Maynard
c27418fbbf
don't throw if a song uses an unknown audio type
2004-04-28 01:26:32 +00:00
Glenn Maynard
33c7b4670d
better error messages for unsupported WAV types
2004-04-28 01:24:28 +00:00
Glenn Maynard
ba00dbe76b
simplify and clarify error handling
2004-04-28 01:23:56 +00:00
Glenn Maynard
55975d9ba9
a18
2004-04-27 06:41:02 +00:00
Glenn Maynard
b62efeb7f7
fix missing metric
2004-04-27 06:34:27 +00:00
Glenn Maynard
6804fe8554
fix g++ warnings
2004-04-26 23:10:16 +00:00
Glenn Maynard
78feda2ad9
fix old filename
2004-04-26 22:52:40 +00:00
Glenn Maynard
1781f0148a
fix error reporting
2004-04-26 05:29:16 +00:00
Glenn Maynard
c046875db1
fix warnings
2004-04-26 05:26:52 +00:00
Glenn Maynard
a593763aac
fix crash with empty vertex objects
2004-04-26 05:26:20 +00:00
Glenn Maynard
0324b49bde
fix menu timer having a shadow even though ON_COMMAND says not to
2004-04-26 05:05:18 +00:00
Glenn Maynard
97aaf75dd9
fix missing metrics
2004-04-26 04:54:33 +00:00
Glenn Maynard
5463520a12
fix rounding error: acosf(cosom) becomes 0, causing div/0
2004-04-26 03:11:19 +00:00
Glenn Maynard
8f7e6894dc
fix StepsID::operator<
...
beware: invalid < operations (where a<b and b<a can both be true)
lead to crashes with std::map on glibc
2004-04-26 00:08:51 +00:00
Glenn Maynard
9707e6bb0c
allow omitting alpha from "1,1,1", like #FFFFFF
2004-04-26 00:07:25 +00:00
Glenn Maynard
84e873bb28
remove debugging
2004-04-26 00:06:42 +00:00
Glenn Maynard
fe9459b29e
fix accepting input after pressing start if it comes in the same update
...
(test case: F2, enter, enter)
2004-04-25 23:36:00 +00:00
Glenn Maynard
fc18e6186d
increase decoder thread priority by 32 instead of 5; log errors
2004-04-25 23:25:38 +00:00
Glenn Maynard
b0ca9ef1ea
debugging
2004-04-25 23:22:46 +00:00
Glenn Maynard
08c00bd689
fix backing out of the stage screen causes the stage counter to be increased
2004-04-25 23:17:08 +00:00
Glenn Maynard
162d5581ba
simplify ScreenStage; add "MinimumDelay" metric
2004-04-25 22:52:15 +00:00
Glenn Maynard
2db701b557
comment
2004-04-25 22:51:16 +00:00
Glenn Maynard
94161d0789
ScreenStage metric update
2004-04-25 22:50:17 +00:00
Glenn Maynard
bf03cda720
ScreenStage metric update
2004-04-25 22:41:37 +00:00
Glenn Maynard
e939841c29
simplify ScreenStage
2004-04-25 22:40:31 +00:00
Glenn Maynard
0121c60e2b
implement Transition::GetTweenTimeLeft
2004-04-25 22:38:55 +00:00
Glenn Maynard
cb9efe946d
fix ChangeSelection in !SharedPreviewAndCursor mode
2004-04-25 22:37:54 +00:00
Glenn Maynard
4e073c4776
cleanup
2004-04-25 08:54:10 +00:00
Glenn Maynard
f03f1b527b
remove code that's been commented out for eons
2004-04-25 08:40:14 +00:00
Glenn Maynard
6ed0ad1953
noisy
2004-04-25 05:56:31 +00:00
Glenn Maynard
be3fb45f33
don't make challenge steps edits in difficult courses
2004-04-25 05:52:21 +00:00
Glenn Maynard
18e66dc2d0
fix remainder tween off
2004-04-25 05:51:09 +00:00
Glenn Maynard
654d99076f
fix remainder tween off
2004-04-25 05:26:23 +00:00
Glenn Maynard
35814004ef
make sure we never send a negative update to Actor
2004-04-25 04:42:36 +00:00
Glenn Maynard
19494e41f2
noisy
2004-04-25 04:41:21 +00:00
Glenn Maynard
f2413b4170
a selection screen with no choices is broken; abort early instead of
...
crashing later (most selection screens assume selection 0 is valid)
2004-04-25 04:31:18 +00:00
Glenn Maynard
18167e013e
registry access cleanup
...
log system drives and whether DMA is enabled (for skip diagnostics)
2004-04-25 03:49:05 +00:00
Glenn Maynard
a2a7ae6e8e
add RegistryAccess
2004-04-25 03:47:50 +00:00
Glenn Maynard
dffe8cf029
fix reverting in the editor goes to the wrong song if the selected song
...
has a blank description
2004-04-24 21:01:32 +00:00
Glenn Maynard
4bdf480a6f
editor: fix crash on reverting from disk and the selected notes weren't found
2004-04-24 20:57:30 +00:00
Glenn Maynard
eeeb9809f6
fix path not being found correctly when started from smpackage
2004-04-24 19:30:49 +00:00
Glenn Maynard
5bf8f64570
split out GetDirOfExecutable
2004-04-24 19:22:53 +00:00
Glenn Maynard
3e76470d77
fix warning
2004-04-23 08:31:38 +00:00
Glenn Maynard
795252d302
reenable linux memcards
2004-04-23 04:21:50 +00:00
Glenn Maynard
93e9377ea2
chars and translit for "kono omoi o tsutaetai" and Ai (Chuu Seishin) (Excel
...
Saga OP)
2004-04-23 03:54:06 +00:00
Glenn Maynard
1fd151a2b9
don't read "empty" as a fallback announcer
2004-04-23 03:15:07 +00:00
Glenn Maynard
917c07437c
fix grade announcer not playing
2004-04-23 02:37:09 +00:00
Glenn Maynard
d2e6537efe
fix potential crash
2004-04-22 20:17:27 +00:00
Glenn Maynard
1090b94fc6
log mixing underruns
...
remove potential raced ASSERT
2004-04-22 06:22:30 +00:00
Glenn Maynard
aaea098f4e
no need to silence the buffer; Mix() will always fill it
2004-04-22 06:09:11 +00:00
Glenn Maynard
6f3ad36e24
a17
2004-04-22 04:37:04 +00:00
Glenn Maynard
d0a7e241f3
disable linux memcards for the snapshot
2004-04-22 03:29:11 +00:00
Glenn Maynard
8632edc9c2
cleanup
2004-04-22 03:23:05 +00:00
Glenn Maynard
1800ebd9f6
don't extrapolate sound position when a mapping entry isn't found; it
...
causes odd underrun behavior and software mixing starts
2004-04-21 23:35:07 +00:00
Glenn Maynard
eb3815e26e
fix stale colors
2004-04-21 05:30:23 +00:00
Glenn Maynard
485354928f
fix error reporting
2004-04-21 04:16:31 +00:00
Glenn Maynard
8ef2d598c2
cleanup
2004-04-21 03:14:37 +00:00
Glenn Maynard
9b9d8b5aa4
assert for negative updates; they should never happen (this is why
...
backgrounds would turn black on negative song position updates--the
background would enter hibernate for a while)
2004-04-20 06:04:31 +00:00
Glenn Maynard
dd7336185d
catch out of order position returns from sound drivers early and handle
...
them sanely
2004-04-20 05:59:40 +00:00
Glenn Maynard
bdbeb958e9
SOUND->PlayOnceFromAnnouncer
2004-04-20 04:58:34 +00:00
Glenn Maynard
aedc2d39e1
remove trace
2004-04-20 04:13:23 +00:00
Glenn Maynard
7ffad5c4f6
cleanup
2004-04-20 03:55:36 +00:00
Glenn Maynard
b82a155fe7
cleanup
2004-04-20 03:51:41 +00:00
Glenn Maynard
732cf4b380
cleanup
2004-04-20 03:44:38 +00:00
Glenn Maynard
3bbefc42d4
name sound mutexes differently
2004-04-20 01:55:23 +00:00
Glenn Maynard
0607e7976d
if we run out of mutex slots, log a list
2004-04-20 01:08:49 +00:00
Glenn Maynard
d2571cb252
on/off commands for overlay
2004-04-20 00:16:20 +00:00
Glenn Maynard
70958ad3cb
never sign machine profiles
2004-04-20 00:07:17 +00:00
Glenn Maynard
f116061b9f
handle signals like in *nix; handles stack overflow and thread crashes better
2004-04-19 23:40:34 +00:00
Glenn Maynard
0b5644a9b9
make sigaltstack work on Darwin
2004-04-19 23:31:47 +00:00
Glenn Maynard
ab4e87d7d7
don't ignore local symbols (fixes some backtraces)
2004-04-19 23:09:12 +00:00
Glenn Maynard
512eebdb60
RageFile::SLOW_FLUSH when writing non-cache SMs
2004-04-19 22:20:38 +00:00
Glenn Maynard
df9c4cbd6e
fix failed writes to "foo.sm" leaving "new.foo.sm" behind, which will
...
trigger an error on the next load
2004-04-19 22:19:54 +00:00
Glenn Maynard
ef44d6eae5
fix wrong search used for writing when SAFE_WRITE is enabled
...
use SLOW_FLUSH when appropriate
2004-04-19 22:16:39 +00:00
Glenn Maynard
534bdc8dab
cleanup
2004-04-19 21:11:53 +00:00
Glenn Maynard
1e1ae8c53d
fix data being read in HALTING
2004-04-19 21:09:15 +00:00
Glenn Maynard
2a2c43b88e
cleanup
2004-04-19 21:07:14 +00:00
Glenn Maynard
79ac1ae2c6
directory flushing doesn't work in windows
2004-04-19 21:00:18 +00:00
Glenn Maynard
07629d0eb4
don't flush the whole directory cache after writing an SM
2004-04-19 20:57:54 +00:00
Glenn Maynard
88560d563e
BrightnessFadeCommand
2004-04-19 20:30:59 +00:00
Glenn Maynard
c35aa5c853
cleanup BrightnessOverlay
...
fix unneeded brightness tween on gameplay start
2004-04-19 20:28:10 +00:00
Glenn Maynard
3ecb9a168f
fix potential infinite loop
2004-04-19 03:35:46 +00:00
Glenn Maynard
d5211311c6
fix infinite looping on error
2004-04-18 23:06:56 +00:00