Commit Graph
100 Commits
Author SHA1 Message Date
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
Glenn Maynard 187c490303 fix warnings 2004-04-18 22:07:26 +00:00
Glenn Maynard e7a0b4ccd3 fix compile 2004-04-18 22:06:55 +00:00
Glenn Maynard cfc8ccd725 add GetLoadedFromProfile() 2004-04-18 21:53:15 +00:00
Glenn Maynard 5dee44f989 slight unification of crash apis; better .vdi searching 2004-04-18 00:08:37 +00:00
Glenn Maynard f7b18deff3 fix driver root creation 2004-04-17 22:37:40 +00:00
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