Commit Graph
100 Commits
Author SHA1 Message Date
Glenn Maynard 2224d3268c more flexible testing 2004-03-04 03:44:23 +00:00
Glenn Maynard 690ad0218f fix header 2004-03-04 01:35:42 +00:00
Glenn Maynard d7e1bd9540 interface update 2004-03-04 01:18:07 +00:00
Glenn Maynard bd01de6260 call FILEMAN->MountInitialFilesystems explicitly 2004-03-04 01:16:52 +00:00
Glenn Maynard cfead1c79e update, simplify 2004-03-04 00:21:52 +00:00
Glenn Maynard 8a58411dd5 move InitialWorkingDirectory, DirOfExecutable, ChangeToDirOfExecutable into RageFileManager 2004-03-04 00:19:42 +00:00
Glenn Maynard 98dba2b870 fix CollapsePath("/foo") resulting in "foo" 2004-03-03 00:35:00 +00:00
Glenn Maynard 8ed0a43570 cleanup, update 2004-03-03 00:17:33 +00:00
Glenn Maynard 3aaec48875 avoid requiring Grade.cpp in test sets; it pulls in ThemeManager, which
pulls in a ton of things
2004-03-03 00:13:45 +00:00
Glenn Maynard 679e9e613a fix jitter adjustment 2004-03-02 07:34:32 +00:00
Glenn Maynard 3b14d5b8a5 attempt to compensate for scheduling jitter 2004-03-01 09:01:23 +00:00
Glenn Maynard f4cf889556 check for main timer skips 2004-03-01 08:04:17 +00:00
Glenn Maynard 3134e40091 sample music sync fix 2004-03-01 06:40:40 +00:00
Glenn Maynard 6caa34faff fix note skin reverting to default after play 2004-03-01 05:41:40 +00:00
Glenn Maynard 6fc9ab707f honor m_iSoundWriteAhead 2004-03-01 05:05:43 +00:00
Glenn Maynard 05d99b4129 lua: GetNumPlayersEnabled, PlayerUsingBothSides 2004-03-01 02:25:41 +00:00
Glenn Maynard 49df2946a7 split this expression apart, so it's readable 2004-03-01 01:37:22 +00:00
Glenn Maynard e74ea267f9 SongManager::GetSongColor: ignore edits 2004-02-29 07:36:03 +00:00
Glenn Maynard aaf596bad3 fix menu music params not being set 2004-02-28 10:42:34 +00:00
Glenn Maynard 8201f7d0f1 fix warnings creating eg. "c:\foo\bar\" 2004-02-28 04:19:27 +00:00
Glenn Maynard 21f0bec081 update 2004-02-28 04:14:56 +00:00
Glenn Maynard a0b369442d use balance for mines
only change mine balance when two people are actually playing
2004-02-28 04:14:13 +00:00
Glenn Maynard e04b8bb457 fix stop mode 2004-02-28 02:47:15 +00:00
Glenn Maynard 9530cff9a6 better balance 2004-02-28 02:35:18 +00:00
Glenn Maynard be03ed1c21 Pass RageSoundParams to Play() (or SetParams). This should help fix
the long-standing ambiguity of "what happens if parameters are changed
for a second copy of a sound when a first is still playing".
2004-02-28 02:09:46 +00:00
Glenn Maynard 71d1380951 make RageSoundParams available 2004-02-28 01:02:06 +00:00
Glenn Maynard e1ed217f78 store start/length in seconds instead of frames, so RageSoundParams
isn't tied to a sound
2004-02-28 00:35:29 +00:00
Glenn Maynard 6c01e5c2cc cap beat match delay 2004-02-28 00:16:43 +00:00
Glenn Maynard 0c19d92dbf fix frame vs sample names
move sound params into a private struct
2004-02-28 00:14:16 +00:00
Glenn Maynard 8b149bd832 add balance (panning) support 2004-02-27 23:26:55 +00:00
Glenn Maynard 7236339bb6 fix path detection 2004-02-27 22:48:17 +00:00
Glenn Maynard 2af2e6b8af don't secondary sort by title each time; do that separately
use song_sort_val for more sorts
2004-02-27 21:31:05 +00:00
Glenn Maynard e0e5d0ca29 call SONGMAN->SortSongs; optimize pSong->GetSteps call 2004-02-27 21:29:31 +00:00
Glenn Maynard 8c8a5f8460 split UpdateBestAndShuffled()
add SortSongs()
2004-02-27 21:28:15 +00:00
Glenn Maynard 960a4c503d static 2004-02-27 10:01:44 +00:00
Glenn Maynard 5338e568c6 Don't log all OpenGL modes; it's noisy and hasn't been useful in a long time. 2004-02-27 09:57:53 +00:00
Glenn Maynard c1e2bc133c cleanup 2004-02-27 09:55:12 +00:00
Glenn Maynard a135def42e don't log video renderer list twice 2004-02-27 09:54:06 +00:00
Glenn Maynard 4fadb34a06 output cleanup, don't log display name twice 2004-02-27 09:45:22 +00:00
Glenn Maynard be746862a5 work around AudioPCI driver bug (can't test to see if this actually works) 2004-02-27 06:47:07 +00:00
Glenn Maynard fd1dd28b4d this driver is too noisy; use Trace for regular debugging output, not Info 2004-02-27 06:45:14 +00:00
Glenn Maynard 46dfde46a4 ugh. XForceScreenSaver( g_X11Display, ScreenSaverReset ) apparently
causes flicker.  Is there any sane way to disable the X blanker, and
reliably reenabling it (eg. after a crash)?
2004-02-27 06:35:46 +00:00
Glenn Maynard fa585ce0d2 remove ResolvePath 2004-02-27 06:27:00 +00:00
Glenn Maynard b46f5602d7 FilenameDB::ResolvePath doesn't accept . or .. 2004-02-27 06:26:14 +00:00
Glenn Maynard 74eb8a43ee comment 2004-02-27 06:24:26 +00:00
Glenn Maynard 6946ff5596 fix extra "./" being added to song paths 2004-02-27 06:21:59 +00:00
Glenn Maynard bf8ac3e2a8 fix paths not resolving correctly if they begin with ./ (CDTitles) 2004-02-27 06:20:59 +00:00
Glenn Maynard 725aa3d4c1 CollapsePath( CString &sPath, bool bRemoveLeadingDot ) 2004-02-27 05:50:57 +00:00
Glenn Maynard 464f603377 cleanup 2004-02-27 05:49:24 +00:00
Glenn Maynard 0390641b45 remove XXX 2004-02-27 05:44:53 +00:00
Glenn Maynard 5b5834acba remove ResolvePath calls; this is done automatically and has been a noop
for a long time
2004-02-27 05:42:44 +00:00
Glenn Maynard 40592b288e fix warning 2004-02-27 03:33:20 +00:00
Glenn Maynard bd24ba0e4c hopefully fix music rate judgement problems 2004-02-27 03:32:11 +00:00
Glenn Maynard 13345229af Remove commented-out stuff; this can be done with Cond= now anyway.
I couldn't find this stuff actually used in any of our themes, or I'd convert it.
2004-02-27 02:21:52 +00:00
Glenn Maynard 341715fdc7 fix 5th scoring eval crash
cleanup
2004-02-27 01:54:55 +00:00
Glenn Maynard ffa35aaf88 RADEON Mobility 7500" -> same as Radeon 7xxx (correct?)
default Intel to D3D unless we know better
2004-02-27 01:13:08 +00:00
Glenn Maynard b92296b1c9 fix m_bLogToDisk 2004-02-27 01:05:30 +00:00
Glenn Maynard 56654496ef name cleanup
"foo() ;" cleanup (itchy spacebar?)
2004-02-27 00:56:51 +00:00
Glenn Maynard 0a8899f4d8 cleanup, fix warnings 2004-02-27 00:55:25 +00:00
Glenn Maynard ddc2c030d0 compile fix 2004-02-27 00:31:06 +00:00
Glenn Maynard fdca2937a0 better output 2004-02-26 20:42:52 +00:00
Glenn Maynard b6c4b7fb51 fix/cleanup roulette-only songs 2004-02-26 20:35:46 +00:00
Glenn Maynard ddeccdfeaf fix honoring PREFSMAN->m_bHiddenSongs 2004-02-26 20:29:37 +00:00
Glenn Maynard 45d27f00fe cleanup, fix warnings 2004-02-26 06:47:13 +00:00
Glenn Maynard a60bde8547 simplify 2004-02-26 06:46:36 +00:00
Glenn Maynard 84f2b06713 style cleanup 2004-02-26 06:00:52 +00:00
Glenn Maynard c2c796d90c fix warning 2004-02-26 03:18:51 +00:00
Glenn Maynard da5414afa0 fix warnings 2004-02-26 03:07:49 +00:00
Glenn Maynard be15f6800e add Lua::GetStack
lua MonthOfYear: return 1..12 instead of 0..11
2004-02-25 23:58:47 +00:00
Glenn Maynard 572a914f9f tolerate no default selection 2004-02-25 23:56:33 +00:00
Glenn Maynard 6ed4e02417 comment 2004-02-25 23:49:53 +00:00
Glenn Maynard 3cdbc1f31f don't save profile steps to main SM's 2004-02-25 23:48:45 +00:00
Glenn Maynard 128dcc7951 remove old cryptolib stuff 2004-02-25 23:48:05 +00:00
Glenn Maynard e7f196ba9c fix crash 2004-02-25 23:43:50 +00:00
Glenn Maynard 6b9627fc15 add sanity check 2004-02-25 23:37:42 +00:00
Glenn Maynard 67fbd40cf7 don't use GetThreadId 2004-02-25 23:14:28 +00:00
Glenn Maynard 0f8d5281a7 on mutex deadlock, get a backtrace of the thread that we're deadlocked
with
2004-02-25 21:15:25 +00:00
Glenn Maynard 93c86a63a4 on mutex deadlock, get a backtrace of the thread that we're deadlocked
with
2004-02-25 21:08:10 +00:00
Glenn Maynard 5cb9970c4e split out do_backtrace 2004-02-25 08:34:26 +00:00
Glenn Maynard c69f29e54d fix crash on fallback 2004-02-25 05:26:20 +00:00
Glenn Maynard 0c1ef3f594 SDL surfaces don't get along with const (grr)
don't make assumptions about the format of the input surface
2004-02-25 05:03:13 +00:00
Glenn Maynard ecd2c3c515 path fixes 2004-02-25 05:02:06 +00:00
Glenn Maynard f7a9946cac fix d3d screenshot crashes 2004-02-25 04:48:46 +00:00
Glenn Maynard c548f045c0 add ConvertSDLSurface( src, dst )
split out CopySDLSurface(), CompareSDLFormats()
restore alpha flags when done converting
2004-02-25 03:36:20 +00:00
Glenn Maynard 1fbbc6be7a cleanup 2004-02-25 02:02:15 +00:00
Glenn Maynard 44592bc351 small fixes/const fixes 2004-02-25 01:57:41 +00:00
Glenn Maynard 44e8427729 fix screenshot filename searching if a file like "screen0.jpg" exists 2004-02-25 01:51:31 +00:00
Glenn Maynard 142be7ea83 stop including "windows.h" everywhere
make sure sm_crash shows up in stack traces
2004-02-25 01:35:19 +00:00
Glenn Maynard ecce498108 use sm_crash 2004-02-25 01:33:15 +00:00
Glenn Maynard 2c881d223c fix missing headers 2004-02-25 01:11:56 +00:00
Glenn Maynard 2c56af5715 fix XmlFile.h conflicts with windows.h 2004-02-25 01:09:17 +00:00
Glenn Maynard 9a769ec619 add missing header 2004-02-25 00:57:26 +00:00
Glenn Maynard 32b39d5730 underrun detection fix 2004-02-25 00:14:30 +00:00
Glenn Maynard 0bb5338ba9 simplify; make sure buffer_bytes_filled is never negative 2004-02-25 00:06:52 +00:00
Glenn Maynard 25869ac4d4 regression test for stop segment on first bpm segment 2004-02-24 23:41:20 +00:00
Glenn Maynard 113c7b43ec fix timing when a freeze lies before or on the first BPM segment (Black Cat) 2004-02-24 23:40:28 +00:00
Glenn Maynard 9667559886 fix course entry masking 2004-02-24 23:07:03 +00:00
Glenn Maynard 03fc6c5ecb Enable all players. 2004-02-24 23:00:52 +00:00
Glenn Maynard 6396362352 fix "Visualizations/foo.avi/ isn't a directory" crash due to visualizations
being loaded as BGAnimations
2004-02-24 02:17:03 +00:00
Glenn Maynard 5faeed32e7 validate grade input (so we don't crash later writing stats.html) 2004-02-24 02:14:31 +00:00