Commit Graph
100 Commits
Author SHA1 Message Date
Glenn Maynard e9070532fa Only slide duplicate difficulties when loading BMS files; in other cases,
just move the duplicates to EDIT.  This should fix the common glitch
of users with eg. two beginner steps for a song having all difficulties
bumped up; instead, just move the extra step to an edit.
2004-04-17 01:47:55 +00:00
Glenn Maynard 85688f9afc remove devices with no matched mountpoint 2004-04-17 01:02:54 +00:00
Glenn Maynard de3a48cb54 on edit "revert from disk", if the reverted file has no steps of the current
type, exit to menu instead of crashing
2004-04-17 00:07:59 +00:00
Glenn Maynard 7bd4ce0445 remove old hack 2004-04-17 00:04:28 +00:00
Glenn Maynard ce23a1d712 edits: set m_LoadedFromProfile, force m_Difficulty to DIFFICULTY_EDIT 2004-04-16 23:48:31 +00:00
Glenn Maynard b3e627f968 cleanup
add SetLoadedFromProfile()
2004-04-16 23:47:24 +00:00
Glenn Maynard 293d0fa52a when reverting out of the editor, not being able to match steps* is not
a fatal error

use GetID so reverting from disk menu option can try to match for edits
2004-04-16 23:42:13 +00:00
Glenn Maynard 688f76c5ac rename SongID to StepsID; add Song::GetStepsByID (with caveats); use it in StepsID 2004-04-16 23:40:48 +00:00
Glenn Maynard bae39968ed add Steps::GetID; this should be a unique identifier within a song and
difficulty (but it's not unique yet)
2004-04-16 23:28:20 +00:00
Glenn Maynard 0cf7715dfd working on fixing crash after revert from editor 2004-04-16 23:02:39 +00:00
Glenn Maynard 2312b3a1c3 pack info output more 2004-04-16 22:59:59 +00:00
Glenn Maynard fadbe25ae9 cleanup 2004-04-16 22:52:30 +00:00
Glenn Maynard 82e8261d30 reenable dir fsync 2004-04-16 22:31:40 +00:00
Glenn Maynard c8f1fc31d3 locks in pos_map aren't needed anymore (we do it in RageSound) 2004-04-16 22:28:57 +00:00
Glenn Maynard b925b61654 fix lock ordering
all sounds are now deleted in the main thread
2004-04-16 22:28:01 +00:00
Glenn Maynard 63735fe781 fix crash on empty model due to meshInfo.iVertexStart+meshInfo.iVertexCount-1 < meshInfo.iVertexStart 2004-04-16 22:10:25 +00:00
Glenn Maynard 29af57002c fix crash after context invalidation in Windows
fix AssertNoGLError
2004-04-16 21:34:58 +00:00
Glenn Maynard 202c37ce44 handle SIGABRT 2004-04-16 07:16:37 +00:00
Glenn Maynard 7f970858dc CrashSignalHandler works on DARWIN 2004-04-16 07:13:18 +00:00
Glenn Maynard 507b5ba7de make signalHandler work on DARWIN 2004-04-16 07:12:05 +00:00
Glenn Maynard 481886f8cf cleanup 2004-04-16 07:07:09 +00:00
Glenn Maynard f38983f3d3 implement GetSignalBacktraceContext on DARWIN 2004-04-16 07:03:14 +00:00
Glenn Maynard f952f9fc4f handle CrashData::SIGNAL in DARWIN 2004-04-16 07:00:45 +00:00
Glenn Maynard 6286f94cf4 missing header 2004-04-16 06:19:02 +00:00
Glenn Maynard 2f6c0d08a7 auto-hide "_blank"; gameplay hold note test case 44->50FPS since
unused hold tails are hidden
2004-04-16 05:41:47 +00:00
Glenn Maynard a61dccdabf simplify 2004-04-16 05:21:25 +00:00
Glenn Maynard 83ad8b4d88 fix crash when line AA is disabled 2004-04-16 05:06:31 +00:00
Glenn Maynard 3cb96004a0 simplify 2004-04-16 04:17:26 +00:00
Glenn Maynard b75139b11a fix hold body glow pass being drawn when not needed 2004-04-16 03:05:16 +00:00
Glenn Maynard 28449f1ca2 fix race 2004-04-15 23:41:03 +00:00
Glenn Maynard a739e45e3f fix potential tweening overflow 2004-04-15 23:22:32 +00:00
Glenn Maynard 585f92c5f3 clean up commandline handling, make network stuff more self-contained 2004-04-15 20:21:39 +00:00
Glenn Maynard 8a45506bca cleanup 2004-04-15 20:10:40 +00:00
Glenn Maynard 203af6d23f cleanup 2004-04-15 19:32:31 +00:00
Glenn Maynard 599a921933 begin major cleanup of "arguement" handling 2004-04-15 19:31:45 +00:00
Glenn Maynard 97e040279e autosync is back - Tom Jackson appears in a puff of logic 2004-04-15 05:41:57 +00:00
Glenn Maynard 3b541425e9 optimize: reduce superfluous GetHoldNoteScore, GetHoldNoteLife, m_HeldHoldNotes[],
m_ActiveHoldNotes[] calls
2004-04-15 01:31:28 +00:00
Glenn Maynard 4f82c6d4fb fix rendering glitch 2004-04-14 20:17:03 +00:00
Glenn Maynard 94d3512316 Remove what's left of "Tom Jackson"'s autosync code, since he's
MIA (the only person we couldn't contact for the license switch).  Back
soon ...
2004-04-14 00:21:58 +00:00
Glenn Maynard 388fc02c6d fix possible infinite loop 2004-04-13 23:11:32 +00:00
Glenn Maynard e335f5a90a provide reasonable OptionOrder defaults 2004-04-13 22:23:37 +00:00
Glenn Maynard 6117ea8b1a fix link 2004-04-13 20:00:22 +00:00
Glenn Maynard 518a749bcf draw hold bodies as a quad strip; much simpler and avoids a lot of duplication 2004-04-13 07:47:10 +00:00
Glenn Maynard 8c8e449922 add DrawQuadStrip 2004-04-13 07:28:25 +00:00
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