Glenn Maynard
673709d06d
update (runs, needs more testing)
2004-04-13 02:12:19 +00:00
Glenn Maynard
73e908f2cc
fix assert
2004-04-13 02:11:26 +00:00
Glenn Maynard
31b5eccedd
better output
2004-04-13 01:48:51 +00:00
Glenn Maynard
0e396e32c4
Rewrite sound locking.
2004-04-13 00:05:35 +00:00
Glenn Maynard
1875901837
Rewrite sound locking. Having a single global mutex for the sound system
...
is causing contention, leading to skips. A detail on this is probably
coming to -devs soon ... (this will break the ALSA hw driver compile until
I update it; an hour or so)
2004-04-13 00:04:09 +00:00
Glenn Maynard
f1fddd90d1
use SOUND->PlayOnceFromAnnouncer
2004-04-12 20:11:36 +00:00
Glenn Maynard
5c41e31f60
add SOUND->PlayOnceFromAnnouncer(); this is now the preferred
...
way to play an announcer. Announcer files are in many separate
directories; scanning a directory can cause a skip, so we don't want
to do that in the main thread during gameplay.
2004-04-12 20:02:47 +00:00
Glenn Maynard
bb77e54c39
fix #ifndefs
2004-04-12 08:10:55 +00:00
Glenn Maynard
ef53c07bec
sm_crash: pass reason to the crash handler in Windows
2004-04-12 01:47:17 +00:00
Glenn Maynard
abd4b43719
add ForceCrashHandler() (same API as the Unix handler)
2004-04-12 01:46:14 +00:00
Glenn Maynard
cc25c2d3fd
update
2004-04-11 04:54:09 +00:00
Glenn Maynard
b21fd54b8e
split out RageSoundPosMap (too much code in RageSound)
2004-04-11 04:51:03 +00:00
Glenn Maynard
0b0db1cbe0
s/position/decode_position/
2004-04-11 04:01:07 +00:00
Glenn Maynard
228f2bf858
split out AdjustBalance, FadeSound
2004-04-11 03:31:14 +00:00
Glenn Maynard
8e42e80208
trace fix
2004-04-11 01:45:29 +00:00
Glenn Maynard
83e96f5187
comment
2004-04-11 01:44:37 +00:00
Glenn Maynard
5e4eb9e001
optimize SM_SDL_ErrorDiffusionDither like SM_SDL_OrderedDither; now
...
it's only about 50% slower
this also fixes banding after dithering gradients
2004-04-11 01:41:35 +00:00
Glenn Maynard
67eb0be6b0
fix race condition
2004-04-11 01:03:18 +00:00
Glenn Maynard
fd839eb946
optimize SM_SDL_ErrorDiffusionDither: takes about half as long now
...
(but it still takes 3x as long as SM_SDL_OrderedDither, and I still
see banding in both vertical and horizontal gradients ...)
2004-04-10 23:09:41 +00:00
Glenn Maynard
668be17204
fix dupe texture loads (mostly harmless _blank/_black dupes, but sometimes
...
more)
2004-04-10 22:15:16 +00:00
Glenn Maynard
d7ede40600
fix unmount memleak
...
make sure we normalize mountpoints the same way when unmounting as mounting
add checkpoints
2004-04-10 21:45:14 +00:00
Glenn Maynard
d42bf52bf8
typo
2004-04-10 21:00:38 +00:00
Glenn Maynard
0c9e2ef404
(that'd just be confusing)
2004-04-10 20:42:09 +00:00
Glenn Maynard
2cfb403220
fix PointsToValidCall for some types of CALL instructions
...
get a stack frame if we eg. "CALL NULL"
2004-04-10 20:18:49 +00:00
Glenn Maynard
c3b3df6d69
There doesn't seem to be any documentation on the purpose of "physical"
...
vs "IOProc" formats (why would you ever want them to be different?), or
their behavior. It's possible that the available IOProc formats depend
on the current physical format, or vice versa, so let's try setting up
one before querying the other.
2004-04-10 08:32:59 +00:00
Glenn Maynard
dcbd6454eb
StartDecodeThread earlier
2004-04-10 07:18:19 +00:00
Glenn Maynard
f9a38f49cb
call StartDecodeThread()
...
(Hopefully all remaining issues with the CA drivers can be fixed and
we can remove this driver ...)
2004-04-10 07:15:37 +00:00
Glenn Maynard
e2d6911fb9
set SDL_VIDEODRIVER so SDL doesn't try to fire up aalib, etc
2004-04-10 06:28:08 +00:00
Glenn Maynard
3a4737905f
remove ScreenRaveOptions
2004-04-10 01:43:10 +00:00
Glenn Maynard
27c0fb5668
ScreenRaveOptions update
2004-04-10 01:40:44 +00:00
Glenn Maynard
60432acc10
remove ScreenRaveOptions (same as ScreenOptionsMaster)
2004-04-10 01:40:14 +00:00
Glenn Maynard
1f9f980782
simplify
...
don't strip "*danger*" backgrounds; the danger background doesn't
go in BGAnimations anymore
2004-04-10 00:47:52 +00:00
Glenn Maynard
52092e810e
fix LowLevelWindow_SDL::TryVideoMode sometimes returning "" on failure
...
due to SDL bugs
2004-04-09 21:53:41 +00:00
Glenn Maynard
11843f12be
add mySDL_GetError
2004-04-09 21:52:50 +00:00
Glenn Maynard
c885c95ee0
handle weird cases where 0 is listed in /proc/n/maps
2004-04-09 21:18:26 +00:00
Glenn Maynard
bf62e02420
fix crash notification not being displayed if stdout has been closed
2004-04-09 21:02:43 +00:00
Glenn Maynard
061e5affb6
kill(getpid), not kill(0) (maybe this is why X was sometimes killed on
...
crash, too)
2004-04-09 20:57:58 +00:00
Glenn Maynard
ab7e7b1afa
fix brake/boost tweening
...
allow tweening to/from constant speed mods
2004-04-09 04:49:29 +00:00
Glenn Maynard
e540237288
fix crashes due to there being two RageModelVertexArraySW classes
2004-04-09 04:28:37 +00:00
Glenn Maynard
a0efc346bd
fix GAMESTATE->m_iCpuSkill going out of bounds
2004-04-09 02:16:34 +00:00
Glenn Maynard
c190b2e6c5
reenable threaded movie decode by default
2004-04-08 20:36:44 +00:00
Glenn Maynard
c58396d7c7
cleanup
...
flush cache due to beginner bugfix in alpha 16
2004-04-08 05:33:48 +00:00
Glenn Maynard
61fc9629e2
fix both ScoreKeeperRave launch attack p1 and Player attack launch p2
...
being played when p1 launches an attack
simplify battle/course attack sound handling; do it in the same place;
make the sound filenames clear
2004-04-08 03:40:28 +00:00
Glenn Maynard
ebbdf05f9a
metric to specify what brightness to fade the background from
2004-04-08 00:18:13 +00:00
Glenn Maynard
3219e9d9f0
fix warning
2004-04-08 00:13:29 +00:00
Glenn Maynard
8c24db7fab
add lua CurStyleName
2004-04-07 23:26:26 +00:00
Glenn Maynard
82808801f2
fix crash
2004-04-07 20:17:49 +00:00
Glenn Maynard
5fd6938bd0
remove RageSoundBase::StopPlaying
2004-04-07 08:06:36 +00:00
Glenn Maynard
6d79666fb0
s/StopPlaying/SoundIsFinishedPlaying/
2004-04-07 07:42:55 +00:00
Glenn Maynard
66337428c7
comment
2004-04-07 07:41:58 +00:00
Glenn Maynard
f8d81ce6a9
fix hangs after crash
2004-04-07 07:40:02 +00:00
Glenn Maynard
837d2d03aa
fix RageSoundManager::Update in linux
2004-04-07 07:35:26 +00:00
Glenn Maynard
979578427d
fix reversed grade NG and OK weights
2004-04-07 07:22:53 +00:00
Glenn Maynard
8939214912
use SoundIsFinishedPlaying; simplify
2004-04-07 04:21:09 +00:00
Glenn Maynard
0f3ed7e635
update comment
2004-04-07 04:20:32 +00:00
Glenn Maynard
514ad5b37e
fix garbled sound and delays on quit
2004-04-07 04:14:20 +00:00
Glenn Maynard
e451db6b30
use SoundIsFinishedPlaying
...
when Stop is called, stop the sound immediately; don't wait for it
to flush
2004-04-07 04:13:26 +00:00
Glenn Maynard
6274bf9011
simplify
2004-04-07 04:12:36 +00:00
Glenn Maynard
fb5be14eeb
add RageSound::SoundIsFinishedPlaying (replaces StopPlaying for
...
use from sound drivers)
2004-04-07 04:10:26 +00:00
Glenn Maynard
37de4a8898
Add RageSoundManager::StopPlayingSoundsForThisThread. We
...
need to stop playing the sounds that a thread started before exiting
the thread, or it causes unpredictable behavior with DirectSound.
2004-04-07 03:47:12 +00:00
Glenn Maynard
960bc1eaac
rename RageSoundManager::StopPlayingSound to RageSoundManager::StopPlayingAllCopiesOfSound
2004-04-07 03:42:14 +00:00
Glenn Maynard
e1d583dac4
add RageThread::GetCurrentThreadID
2004-04-07 03:38:15 +00:00
Glenn Maynard
058695b969
simplify: get rid of sounds_to_delete
2004-04-07 03:31:27 +00:00
Glenn Maynard
7135f8cc1d
extend log timestamps to three decimal places
2004-04-06 23:21:27 +00:00
Glenn Maynard
831ac462d1
fix waveout underruns due to incorrect locks
2004-04-06 23:20:14 +00:00
Glenn Maynard
3462de7511
fix waveout underruns cascading into decode underruns because the
...
decode buffer is smaller than the writeahead
2004-04-06 23:18:40 +00:00
Glenn Maynard
fcd978de7e
splash.png
2004-04-06 05:15:47 +00:00
Glenn Maynard
db66e17d87
a16
2004-04-06 05:09:32 +00:00
Glenn Maynard
08984222fb
cleanup
2004-04-06 04:42:07 +00:00
Glenn Maynard
6691583ce9
small output fix
2004-04-06 04:41:07 +00:00
Glenn Maynard
2a4681ba09
handle song paths more consistently
...
if a song contains weird paths (eg. "../foo.png"), don't expand them when
writing in the editor
2004-04-06 04:39:59 +00:00
Glenn Maynard
f07ece1dc8
fix assertion on song paths starting with lots of "../"
2004-04-06 04:22:18 +00:00
Glenn Maynard
42d969af9d
fix CollapsePath("../../foo") resulting in "foo"
2004-04-06 04:21:06 +00:00
Glenn Maynard
9196f0521d
metric update
2004-04-06 04:12:31 +00:00
Glenn Maynard
29464ea185
simplify RageSounds using a qeue (this was actually in Windows a15, just
...
forgot to commit it)
allow disabling beat alignment
2004-04-06 04:10:41 +00:00
Glenn Maynard
9a41c54bf5
fix "../" in #MUSIC tag asserting
2004-04-06 04:06:37 +00:00
Glenn Maynard
4502507915
allow player-specific difficulty icons
2004-04-06 04:05:43 +00:00
Glenn Maynard
b1429e6f44
debug
2004-04-06 04:04:47 +00:00
Glenn Maynard
fb9ad46efd
cleanup
...
remove NHAVE_SDL
2004-04-06 01:30:37 +00:00
Glenn Maynard
47bb04c42c
clean weird tabbing, remove old SDL stuff
2004-04-06 01:30:02 +00:00
Glenn Maynard
44bb7da19f
simplify
2004-04-06 01:04:04 +00:00
Glenn Maynard
e0bd0a1153
cleanup
2004-04-06 00:54:14 +00:00
Glenn Maynard
b9a95698b4
fix personal rec #1 saying "machine record"
2004-04-06 00:53:52 +00:00
Glenn Maynard
fa0075234e
allow using 2x6 difficultyicons in eval
2004-04-06 00:46:46 +00:00
Glenn Maynard
c97fc09b8d
Use wildcard searching for redirs, too. A file "foo 1x5.png" should be
...
replacable with a file "foo 1x5.redir".
2004-04-06 00:46:05 +00:00
Glenn Maynard
a253dd8290
reserve a few more blocks
2004-04-05 23:19:05 +00:00
Glenn Maynard
673dfb6b75
fix warnings
2004-04-05 22:43:16 +00:00
Glenn Maynard
99a3eeb659
add assert
2004-04-05 22:33:49 +00:00
Glenn Maynard
4139cc5081
disable threaded movie decode by default (to see what effect it has)
2004-04-05 22:32:51 +00:00
Glenn Maynard
a702601034
updates (we still don't use this yet)
2004-04-05 22:16:26 +00:00
Glenn Maynard
2a4dc7808d
fix win32 loading window bypasses RageFile
...
allow the splash to be a png
2004-04-05 08:38:19 +00:00
Glenn Maynard
161e6da184
fix garbage in win98 crash output (win2k handles "%08p"; win98 does not)
2004-04-05 05:34:38 +00:00
Glenn Maynard
1bf65b9fb9
Fix crashes when song paths begin with "../".
2004-04-05 03:09:58 +00:00
Glenn Maynard
707ed2b4f7
fix assert
2004-04-04 23:16:17 +00:00
Glenn Maynard
0d7fe4cb94
update
2004-04-04 22:15:29 +00:00
Glenn Maynard
8bbae371b5
update disqualification after resetting options
2004-04-04 22:12:17 +00:00
Glenn Maynard
a34044550c
BACKTRACE_LOOKUP_METHOD_DARWIN_DYLD
2004-04-04 20:59:48 +00:00
Glenn Maynard
b26b6bed86
implement native reverse symbol lookup
2004-04-04 20:58:57 +00:00
Glenn Maynard
c48c1e1802
fix top stack frame sometimes being lost
2004-04-04 20:49:24 +00:00
Glenn Maynard
96a76fa6a6
don't loop sample music in the editor
2004-04-04 05:39:10 +00:00