Commit Graph

18945 Commits

Author SHA1 Message Date
Glenn Maynard 502bd70521 static 2005-12-31 03:29:11 +00:00
Glenn Maynard d454d09298 This code isn't worth it. It's only used for one driver. It's
mostly useful for pointing casual users to drivers, but any URLs
we give them will just go out of date, and 404s don't help people.
It's also too heavyweight to be done in ArchHooks; aim to not use
anything in it that we don't want to always include.

(I'm sort of undecided about this. This definitely needs to be out
of HOOKS; it could be moved to GraphicsWindow.  It's potentially
useful, in theory, but it'd be a major hassle to maintain and always
be incomplete.  Since it's only used for one ancient card and has
never been used for anything else, I'm just removing it for now.)
2005-12-31 03:26:18 +00:00
Glenn Maynard 6f7a4418d7 cleanup 2005-12-31 03:05:15 +00:00
Glenn Maynard 418bce60a8 SoundDrivers into RageSoundManager 2005-12-31 02:35:49 +00:00
Glenn Maynard 037b3c8ac0 doesn't exist 2005-12-31 02:20:33 +00:00
Glenn Maynard 757fdf0795 move InputDrivers into RageInput 2005-12-31 02:20:03 +00:00
Glenn Maynard 45d3c944af move movie driver pref into arch.cpp 2005-12-31 02:13:39 +00:00
Glenn Maynard 0066776403 move lights driver pref into LightsMan 2005-12-31 02:06:57 +00:00
Glenn Maynard e2bd376410 remove PrefsManager::GetPreferenceByName 2005-12-31 02:00:37 +00:00
Glenn Maynard 2255a72086 use IPreference::GetPreferenceByName 2005-12-31 01:59:52 +00:00
Glenn Maynard f4570700fa build fix 2005-12-31 01:40:24 +00:00
Glenn Maynard d7daf00e8a fix -r argument 2005-12-31 01:36:29 +00:00
Glenn Maynard 2f03572ef8 cleanup 2005-12-31 01:29:59 +00:00
Glenn Maynard 76e55c2f14 PrefsMan and Preference depend on each other. PrefsMan is big, and
depends on some higher level code.  Make Preference stand-alone, so
code that only has its own preferences can be used without PrefsMan.
2005-12-31 01:26:29 +00:00
Glenn Maynard aac313fdd3 cleanup 2005-12-31 00:48:59 +00:00
Glenn Maynard 5316ffdecc move some preferences to where they're used 2005-12-30 19:46:10 +00:00
Glenn Maynard f4278bf86a prototypes 2005-12-30 19:36:25 +00:00
Glenn Maynard 2128cc180a unneeded 2005-12-30 19:29:40 +00:00
Glenn Maynard 75d2dfadd9 cleanup 2005-12-30 19:12:10 +00:00
Glenn Maynard 2084896f7d RageSoundUtil::Attenuate 2005-12-30 19:04:18 +00:00
Glenn Maynard 08dd174e5c RageSoundManager::AttenuateBuf -> RageSoundUtil::Attenuate
comment
2005-12-30 19:03:09 +00:00
Steve Checkoway be00b88919 Partial revert of byte swapping macros, just copy them out of the header. Simplify and fix CHECK macro. 2005-12-30 14:54:43 +00:00
Steve Checkoway e9d4fb0cdf machine/endian.h is getting picked up on OS X with gcc 4.0 but no endian.h exists. 2005-12-30 14:30:39 +00:00
Steve Checkoway e6ff11e0b0 Remove file. 2005-12-30 13:29:31 +00:00
Steve Checkoway 3c8f18483b Make ASSERT_M and FAIL_M into safe function-like macros. 2005-12-30 13:26:22 +00:00
Steve Checkoway ada5f4f00f Use ASSERT like a function. 2005-12-30 13:19:40 +00:00
Glenn Maynard 7cc18a89cd provide a default localizer 2005-12-30 08:35:33 +00:00
Glenn Maynard 6db0cf831a no longer needed 2005-12-30 08:30:29 +00:00
Glenn Maynard 0062b24e2f RageException is a very low-level helper (usable by any code). Eliminate
StepMania.cpp dependency.
2005-12-30 08:23:56 +00:00
Glenn Maynard 79c00ae191 Don't evaluate MESSAGE twice in FAIL_M. Reduces the code
cost of assertions.
2005-12-30 08:01:47 +00:00
Glenn Maynard 000a896258 use implicit initialization of POD types to simplify SubscriptionManager,
so it's not essentially a templated singleton type (old version will be
phased out)
2005-12-30 07:59:59 +00:00
Glenn Maynard 6e6fcb746a "XToThemedString" uses theme metrics. We don't want DateTime
(used by XmlFile) to depend on THEME, so use localized strings.

We may *always* want LocalizedString.  One reason we may not
is if we start using the DynamicThemeMetric paradigm more.
That evaluates expressions when they're used, which allows
metrics to change dynamically.  However, we may really not
want to do that for localized strings, since it would complicate
translation, so we may want to restrict localized strings to
pre-evaluation anyway.
2005-12-30 07:24:30 +00:00
Glenn Maynard b9f3b4a790 if localizer already registered on construction, refresh 2005-12-30 07:14:21 +00:00
Glenn Maynard 622a6e6698 return ref, to allow returning it from functions that also return ref 2005-12-30 07:12:52 +00:00
Glenn Maynard 9225fa0196 SMPackage includes lua now. Merge DateTimeLua back into DateTime. 2005-12-30 06:20:41 +00:00
Glenn Maynard b6cda2fc47 simplify 2005-12-30 06:12:31 +00:00
Glenn Maynard 65336b7e5c partial test fix 2005-12-30 06:08:57 +00:00
Glenn Maynard 9de5ac05a1 compile fix 2005-12-30 05:48:45 +00:00
Glenn Maynard f939b76f49 i dumb 2005-12-30 05:38:20 +00:00
Glenn Maynard d67288d8a3 simplify 2005-12-30 05:38:02 +00:00
Glenn Maynard 6b26684c8a Don't SaveMappingsToDisk on game change. We save explicitly
when we change mappings.
2005-12-30 04:42:24 +00:00
Glenn Maynard 395b06b5c0 fix comment 2005-12-30 04:36:53 +00:00
Glenn Maynard 8bab05a98a fix weird dependency 2005-12-30 04:25:41 +00:00
Glenn Maynard 61c5ab9cb1 unued 2005-12-30 04:22:04 +00:00
Glenn Maynard 2570959691 cleanup 2005-12-30 04:20:12 +00:00
Glenn Maynard aa2ca76c17 prefs out of PrefsMan 2005-12-30 04:19:55 +00:00
Glenn Maynard 166b57b497 the game loop boosts priority; it's now its job to unboost it, too 2005-12-30 04:10:43 +00:00
Glenn Maynard b078d742ba unneeded include 2005-12-30 04:07:06 +00:00
Glenn Maynard 21da00170d unneeded includes 2005-12-30 04:06:45 +00:00
Glenn Maynard 0330792ab6 unneeded include, fix compile 2005-12-30 04:06:00 +00:00