Commit Graph

11771 Commits

Author SHA1 Message Date
Josh Allen 6e3fd323df Changes to ScreenNetSelectMusic. 2004-09-09 01:02:50 +00:00
Glenn Maynard 6b450d396e debug 2004-09-09 00:20:45 +00:00
Glenn Maynard 8e7164dae5 improve backtracing 2004-09-08 22:39:28 +00:00
Glenn Maynard 34f22e588c fix up SemaImpl_Pthreads::Wait 2004-09-08 21:58:47 +00:00
Glenn Maynard 22570a4c33 cleanup 2004-09-08 21:19:13 +00:00
Glenn Maynard 07cc95f520 cleanup 2004-09-08 21:18:33 +00:00
Glenn Maynard 4d829e3d29 wait, no. It's GetThreadBacktraceContext's job to suspend the thread. 2004-09-08 21:17:43 +00:00
Glenn Maynard 3e7f55ae30 no, don't use pthreads extensions if we don't at least have timedlock (not going to bother making it two tests unless it's actually needed) 2004-09-08 08:56:19 +00:00
Steve Checkoway 7da3bacbda update 2004-09-08 08:51:46 +00:00
Steve Checkoway bf3ce581af OS X has pthread_cond_timedwait but not pthread_mutex_timedlock. 2004-09-08 08:36:43 +00:00
Steve Checkoway 03e703e447 Fix OS X compile. 2004-09-08 08:35:07 +00:00
Steve Checkoway c0c98557c0 Fix warnings. 2004-09-08 08:33:38 +00:00
Glenn Maynard 96d780514e ForceCrashHandlerDeadlock(GetInvalidThreadId()) support 2004-09-08 08:08:06 +00:00
Steve Checkoway dbbf9497cd Fix connect. Just about everything has gethostbyname. It is not thread safe and probably should not be used in general; however, it is fine here. 2004-09-08 08:06:35 +00:00
Glenn Maynard 2625da14f2 cleanup
support semaphore timeouts
2004-09-08 07:56:32 +00:00
Glenn Maynard 8c92f9ec0f cleanup, simplify 2004-09-08 07:34:38 +00:00
Glenn Maynard b582fa5ebc update 2004-09-08 06:48:45 +00:00
Glenn Maynard 81f2f6460a hopefully fix init order in vc6 2004-09-08 06:33:07 +00:00
Chris Danford eb5e274128 fix Xbox compile 2004-09-08 05:48:48 +00:00
Chris Danford 26b6c80b91 remove VISE uninstall check 2004-09-08 05:34:46 +00:00
Chris Danford 1f6ed69612 remove old installer 2004-09-08 05:13:16 +00:00
Glenn Maynard 30a5054533 fix mutexes under valgrind; type fix 2004-09-08 04:45:16 +00:00
Glenn Maynard 546e048fa2 Support background loading. The principle is simple: when the song
changes, request all of its assets that we need be loaded.  Once each
piece finishes, load it from cache.  We still take a skip to decode graphics
(banners in particular), but not from disk seeks, which is an issue on hard
drives and fatal on CDs.

This also handles fading banners much more precisely: we fade to the
high res banner once the music wheel has settled.  Before, it was approximate;
we'd often load the banner before we settled.  It still skips, but it's much less
prominent to skip when the music wheel is completely settled, than to skip
just before it settles.

Some more work is necessary to resolve lock contention; currently, you'll
still see frequent skips off a CD (but not constant as before).  I'm working
on that, but I'm not sure if I want to put that in before the release, since
it's caused some crashes that I havn't tracked down.

The actual background work is disabled, and may not be enabled for the
release.  I'm committing this to get the basic API work ironed out.  It still
gives perceptual skip improvements even without the background thread.
2004-09-08 02:53:54 +00:00
Glenn Maynard d42b2b965c FadingBanner no longer auto-fades low res banners; that's up to
ScreenSelectMusic.  (If we want simpler screens to use low res banners,
we can create an AutoFadingBanner to do what this logic did.)  It's ugly
to have music wheel metrics, etc. in here.
2004-09-08 02:46:13 +00:00
Glenn Maynard 6370cf385f update 2004-09-08 02:31:08 +00:00
Glenn Maynard be22d989cb fix warning 2004-09-08 02:28:32 +00:00
Glenn Maynard b86988a538 update 2004-09-08 02:21:09 +00:00
Glenn Maynard 8296900391 This is a helper to precache files in the background, which is used to
make the music selection screen playable when music is being read
off a CD.  This is actually disabled; I'm adding it so I can shift
ScreenSelectMusic to use the API.
2004-09-08 02:17:08 +00:00
Glenn Maynard a5dae29422 reduce lock contention 2004-09-08 01:38:22 +00:00
Glenn Maynard eff24b6380 fix odd newline behavior in wrap mode 2004-09-08 01:21:52 +00:00
Glenn Maynard 96e96f042f cleanup 2004-09-08 00:42:07 +00:00
Glenn Maynard d6d3a3ccc5 typo 2004-09-08 00:36:30 +00:00
Glenn Maynard 2846fb4c9c fix crashes on invalid #MODS entry 2004-09-08 00:33:20 +00:00
Glenn Maynard 8c284daa36 fix TexCoordArrayFromRect crash 2004-09-08 00:21:25 +00:00
Glenn Maynard f633a309d7 cleanup
fix crash
2004-09-08 00:03:06 +00:00
Charles Lohr 71fbc18e1f Oops. Accidently added network options... again. 2004-09-07 23:34:18 +00:00
Glenn Maynard 2accf47cf3 fix false "underruns" 2004-09-07 22:57:53 +00:00
Glenn Maynard 3d5d6687f6 whoops 2004-09-07 21:29:12 +00:00
Glenn Maynard bfd8078f5d OSC3 update 2004-09-07 21:27:22 +00:00
Glenn Maynard ad0369f7fc update 2004-09-07 21:26:46 +00:00
Glenn Maynard f9478959da log SongManager::RevertFromDisk 2004-09-07 20:38:01 +00:00
Steve Checkoway 98580f128b Remove Exceptions. 2004-09-07 14:00:35 +00:00
Steve Checkoway dee65098f1 Cleanup 2004-09-07 13:57:21 +00:00
Steve Checkoway f08a2d00c9 Remove Exceptions since OS X does not catch them. Instead, it waits for the signal. 2004-09-07 13:44:06 +00:00
Steve Checkoway 1e036b76fd Fix year 2004-09-07 13:27:00 +00:00
Steve Checkoway 54f869a424 If it is invalid, GetThreadBacktraceContext will fail anyway. 2004-09-07 13:25:47 +00:00
Steve Checkoway be70a826c6 Also true for OS X. 2004-09-07 13:14:36 +00:00
Steve Checkoway 7b2ec2cee3 Use uint64_t except where other types are expected. 2004-09-07 12:59:08 +00:00
Steve Checkoway 3dac41c399 Add missing license text. 2004-09-07 12:51:24 +00:00
Steve Checkoway bdd4988829 Simplify. 2004-09-07 12:49:49 +00:00