Commit Graph

17977 Commits

Author SHA1 Message Date
Glenn Maynard ccbbb2e5ec Add an optional template parameter to Preference to specify the operating type
for conversions.  This way, Preference doesn't need to know about every enum
type used with it.  (This means that you can't construct a Preference<T,U> from T,
since you don't know U, which led to the previous ScreenOptionsMasterPrefs.cpp
change.)
2005-10-27 15:47:31 +00:00
Glenn Maynard ecab2463c6 Adjust SOptionsMP to work on IPreference directly, by converting data through
strings.  This reduces templating and is easier to diagnose, and will allow
us to reduce direct access to preferences via PREFSMAN.
2005-10-27 15:46:16 +00:00
Glenn Maynard b233e57060 rename to match pref name 2005-10-27 15:25:36 +00:00
Glenn Maynard bbead64b10 match prefs 2005-10-27 15:25:08 +00:00
Glenn Maynard 5321594ab8 cleanup 2005-10-27 15:22:07 +00:00
Glenn Maynard 958c41f846 rename to match pref name 2005-10-27 15:19:22 +00:00
Glenn Maynard fa95e31bab "never" and "always" aren't ambiguous 2005-10-27 14:25:18 +00:00
Glenn Maynard fb3aac1610 cleanup 2005-10-27 13:43:14 +00:00
Glenn Maynard 6d42771f9d cleanup 2005-10-27 13:36:09 +00:00
Glenn Maynard 77c5edc9ad ResamplingQuality -> SoundResampleQuality 2005-10-27 13:34:47 +00:00
Glenn Maynard b249196e76 ResamplingQuality -> SoundResampleQuality, use MovePref 2005-10-27 13:33:43 +00:00
Glenn Maynard df966ddaf6 remove Xbox prefs from PREFSMAN (not tested on Xbox) 2005-10-27 13:32:47 +00:00
Glenn Maynard 5b51315394 remove Xbox prefs from PREFSMAN (not tested on Xbox) 2005-10-27 13:24:27 +00:00
Glenn Maynard 2bab32514f really old cleanups 2005-10-27 12:56:29 +00:00
Glenn Maynard 702c81cf1c fix compile 2005-10-27 12:46:05 +00:00
Chris Danford 112564dc99 fix [Common] DefaultModifers not being applied in most places 2005-10-27 07:51:37 +00:00
Chris Danford 6dc474d41b don't make a copy of the string when comparing 2005-10-27 06:11:59 +00:00
Chris Danford 8b8fa8aad3 move CommonMetrics into a namespace so that it's clear where they're coming from when used. 2005-10-27 05:16:19 +00:00
Chris Danford 5d7885c764 move game prefs into PrefsManager 2005-10-27 04:54:45 +00:00
Chris Danford cdb7215971 add BeginsWith 2005-10-27 04:51:47 +00:00
Glenn Maynard 0ac45b8853 handle all frame decoding stuff in DecodePacket 2005-10-27 00:09:17 +00:00
Chris Danford e00a57e05e use Preference1D 2005-10-26 23:09:56 +00:00
Chris Danford 9b3a007551 reduce dependencies 2005-10-26 02:27:48 +00:00
Glenn Maynard 7ba01f023d renderer for "experimental" theora decoder. (not sure if I should try to merge
dupe code here, or just split them into separate decoders; this will probably
change)
2005-10-25 21:53:33 +00:00
Glenn Maynard d3389a90c6 simplify 2005-10-25 19:18:48 +00:00
Glenn Maynard f413d3e412 If a screen has no BG, we create a blank Actor without looking at g_vPreparedBackgrounds.
Don't put them on there when we're done; they'll never be reused.
2005-10-25 12:42:32 +00:00
Glenn Maynard f56df35f86 fix FindFirstDisplayedBeat, FindLastDisplayedBeat in boomerang 2005-10-25 03:56:28 +00:00
Glenn Maynard 3a049ceb62 const 2005-10-25 03:47:17 +00:00
Glenn Maynard eb420bfe62 const 2005-10-25 03:46:28 +00:00
Steve Checkoway c6c04d8c6b Remove out of date comment, cleanup. 2005-10-25 02:53:35 +00:00
Steve Checkoway 04d79278d4 Cleanup. Fix beeping when pressing certain keys while windowed. It still beeps in full screen and command key presses beep all the time.
I need to just replace SDL entirely to fix this. LowLevelWindow is all that remains.
2005-10-24 13:41:01 +00:00
Steve Checkoway 7280c1ccb3 Simplify. 2005-10-24 13:39:10 +00:00
Steve Checkoway fcff93222e Get the product description. 2005-10-24 12:46:25 +00:00
Steve Checkoway 55f9fe93be *shurg* it thinks they're newer. 2005-10-24 12:29:48 +00:00
Steve Checkoway 878247f51d Update. (I hope this adds the shell script phase to fix problems with ranlib.) 2005-10-24 11:46:48 +00:00
Steve Checkoway 8310140755 Set new arbitrary values with the input handler above the sound decoder. 2005-10-24 11:40:43 +00:00
Steve Checkoway ff9f7d25c5 Test having SM not run in the main thread. This is most noticeable during the loading window since events are still processed.
It's possible that this causes problems if something in SDL or SM absolutely must be run in the main thread. One thing to consider is lowering the main thread's precedence.
2005-10-24 11:29:34 +00:00
Steve Checkoway 10688caf8e Use SetThreadPrecedence(). 2005-10-24 11:21:46 +00:00
Steve Checkoway 05201a047c Header cleanup. Use SetThreadPrecedence() and add potential replacement code for GetCurrentTime(). 2005-10-24 11:21:17 +00:00
Steve Checkoway a1e97116b5 Cleanup and add SetThreadPrecedence(). 2005-10-24 11:18:28 +00:00
Steve Checkoway 2e84aba3a4 The new OS X input driver returns F13 for the F13 key. It might decide to return print screen for non-apple keyboards depending on the keyboard. Support both and keep cmd-F12 for laptops. 2005-10-24 11:18:01 +00:00
Steve Checkoway aa0f90feae __MACOSX__ --> MACOSX, keep __MACOSX__ for ogg. 2005-10-24 10:37:56 +00:00
Glenn Maynard 283747e8c9 fix comment
distinguish more consistently between a Model and a Geometry
2005-10-24 09:01:48 +00:00
Glenn Maynard d99f3457fa fix comment 2005-10-24 08:58:22 +00:00
Steve Checkoway 35ad7eb289 Support preferred sample rates and report the latency more correctly. 2005-10-24 08:55:25 +00:00
Steve Checkoway 5156e4cbf5 Cleanup. 2005-10-24 08:19:04 +00:00
Steve Checkoway cb229a8774 Remove redundant defines. 2005-10-24 08:17:12 +00:00
Steve Checkoway 3f93a76b21 Header cleanup. 2005-10-24 07:37:38 +00:00
Glenn Maynard 3cb8e00e94 remove HAVE_UNIX harder 2005-10-24 07:27:50 +00:00
Glenn Maynard 040e795623 remove HAVE_UNIX 2005-10-24 07:26:53 +00:00