Glenn Maynard
692a52673e
Too-big commit in one chunk makes code review impossible--please break
...
things apart better. Trying to figure out what just happened ...
2005-10-31 00:54:52 +00:00
Glenn Maynard
226e6fc3d8
unused metrics
2005-10-30 22:30:33 +00:00
Glenn Maynard
ad69594521
Simplify options message. Remove m_sprOptionsMessage; show this in an overlay.
...
Remove m_bgOptionsOut, m_bgNoOptionsOut; these were only used for delays, which
we can do by sleeping on the options message commands. Remove SM_TweenOffOptionsMessage;
treat that as part of FadingOut.
2005-10-30 22:23:07 +00:00
Glenn Maynard
3c11c86ea9
themable "N/A", "Other"
2005-10-30 20:58:42 +00:00
Glenn Maynard
dd16deaf23
themable "N/A"
2005-10-30 20:58:08 +00:00
Glenn Maynard
76ade2280a
static, cleanup
2005-10-30 20:14:58 +00:00
Glenn Maynard
b66cdac7b9
static
2005-10-30 20:13:46 +00:00
Glenn Maynard
7edb143399
cleanup, const
2005-10-30 20:09:32 +00:00
Glenn Maynard
6d8349b6d2
update for 0-9
2005-10-30 20:07:49 +00:00
Glenn Maynard
39696c1a08
NUM -> 0-9
2005-10-30 19:58:00 +00:00
Glenn Maynard
dfdc0e6713
metrics
2005-10-30 18:32:50 +00:00
Glenn Maynard
89f80eb2e5
more easily themable sort text
...
(Not sure whether to use the choice name or the GameCommand m_sName.
The GameCommand name is used to identify asset names. However, we
already have a Choice name here, and it's weird having two names: the
GC name just seems like a confusing extra layer of indirection. Hmm ...)
2005-10-30 18:31:18 +00:00
Glenn Maynard
65a16ed427
overwritten immediately
2005-10-30 18:14:52 +00:00
Glenn Maynard
519f720bb0
fix linux compile, or iter skipping an entry
2005-10-30 06:28:53 +00:00
Glenn Maynard
5d1eb4a5f6
more bindings
2005-10-30 04:06:04 +00:00
Glenn Maynard
c622d1a559
lua PerDifficultyAwardToThemedString, PeakComboAwardToThemedString
2005-10-30 03:46:56 +00:00
Glenn Maynard
20274f070e
bind PlayModeToThemedString
2005-10-30 02:36:02 +00:00
Glenn Maynard
999ec0bd15
change m_sprLineHighlight to AutoActor
2005-10-29 23:47:03 +00:00
Glenn Maynard
21fcc06b7e
fix long-standing bug: resize image to fit the dialog for when the default
...
font size is changed (in Win2k, hidden away in display -> settings -> advanced ->
general)
2005-10-29 21:52:50 +00:00
Glenn Maynard
9b7346e607
oops, fix another crash. I guess the "pass pointer by reference and maybe automatically reallocate" idiom is error-prone.
2005-10-29 21:50:26 +00:00
Glenn Maynard
3bf8373588
fix crash
2005-10-29 21:15:55 +00:00
Glenn Maynard
7c42b794ea
cleanup
2005-10-29 21:08:37 +00:00
Glenn Maynard
f3d55ef26e
allow disabling song backgrounds (without disabling backgrounds entirely
...
with 0% Brightness, which gives an ugly black background)
2005-10-29 20:59:08 +00:00
Glenn Maynard
a7af61d74c
simplify with GetTweenTimeLeft()
2005-10-29 20:09:10 +00:00
Glenn Maynard
8c9b57dbae
m_BackgroundMode -> m_RandomBackgroundMode
2005-10-29 20:04:57 +00:00
Glenn Maynard
9f210adf3e
don't THEME->EvaluateString here; it's unnecessary and actually using it is slow
2005-10-29 03:30:16 +00:00
Glenn Maynard
034c7f4a41
bring back MovieTexture_FFMpeg::RegisterProtocols
2005-10-29 03:25:39 +00:00
Glenn Maynard
ac1a1e3817
remove hack
2005-10-29 03:13:48 +00:00
Glenn Maynard
4cee7a4045
This table will be accessed very often, so use the terse name "P", for eg. File="@P.File".
2005-10-29 01:35:53 +00:00
Glenn Maynard
938bfeb7b0
add ActorUtil::SetParamFromStack, ActorUtil::GetParam. Save params to
...
a table, not as global variables. Saving and loading from globals is still
around temporarily.
2005-10-29 01:28:29 +00:00
Glenn Maynard
fde59d8464
set the loading screen, so actors can use it as an input variable
2005-10-28 22:47:11 +00:00
Glenn Maynard
102f39d7c5
simplify: ThemeManager::LoadThemeRecursive recurses themes, but
...
there's no reason for it to actually be a recursive function
2005-10-28 19:07:19 +00:00
Glenn Maynard
2d907c34e4
use HOOKS->GetPreferredLanguage to set the default language
2005-10-28 17:25:22 +00:00
Glenn Maynard
2530f0dd5f
add GetLanguageNameFromISO639Code
...
clean up RageUtil.h while I'm here
2005-10-28 17:23:54 +00:00
Glenn Maynard
d7fdb1917f
cleanup
2005-10-28 16:34:58 +00:00
Glenn Maynard
590381ce25
GetPreferencesSection
...
assert
2005-10-28 16:33:28 +00:00
Glenn Maynard
20efb43a86
add ArchHooks::GetPreferredLanguage
2005-10-28 07:14:53 +00:00
Glenn Maynard
d9cd9a1d8c
update
2005-10-28 06:09:27 +00:00
Glenn Maynard
8c52221570
cleanup
2005-10-27 23:03:21 +00:00
Glenn Maynard
d7ce21c03d
maybe fix screensaver coming on sometimes
2005-10-27 23:00:17 +00:00
Glenn Maynard
717f58387f
remove metrics
2005-10-27 22:12:00 +00:00
Glenn Maynard
30f076e682
remove "StaticBG"
2005-10-27 22:11:06 +00:00
Glenn Maynard
609bd13b76
cleanup
2005-10-27 22:06:21 +00:00
Glenn Maynard
d81e4c45c7
fix missing license
2005-10-27 21:57:40 +00:00
Glenn Maynard
f36c662d96
ScreenGameplay is getting out of hand--58 #includes. Cleanup.
2005-10-27 21:55:24 +00:00
Glenn Maynard
6b06a89634
cleanup (should probably use spaces for tables like this; this is a mess with
...
standard 8-space tab stops)
2005-10-27 19:33:29 +00:00
Glenn Maynard
5e9fcddbbc
cleanup
2005-10-27 19:29:04 +00:00
Glenn Maynard
ce69fcffdf
cleanup
2005-10-27 19:25:31 +00:00
Glenn Maynard
099aea8d1c
cleanup
2005-10-27 19:24:25 +00:00
Glenn Maynard
ac696aebe8
fix up test builds
2005-10-27 18:07:51 +00:00
Glenn Maynard
4c62c63e84
move m_sDefaultLocalProfileID into ProfileManager
2005-10-27 17:47:42 +00:00
Glenn Maynard
a9038f82dd
move memory card prefs into MemoryCardManager
2005-10-27 17:37:59 +00:00
Glenn Maynard
fe19cdf726
don't FixSlashes on the memory card OS path. This is a system path, not a RageFile path, so it doesn't need to follow our rules.
2005-10-27 17:33:01 +00:00
Glenn Maynard
495799d04b
missing header
2005-10-27 17:28:04 +00:00
Glenn Maynard
a2727f6644
warning: `static' is not at beginning of declaration
2005-10-27 16:57:18 +00:00
Glenn Maynard
a9ac27c730
move SoundResampleQuality into RageSoundReader_Resample
2005-10-27 16:51:18 +00:00
Glenn Maynard
0336db43c6
Sync up more SOptionsMenu pref names, and use the ConfOption code path when possible,
...
to reduce PREFSMAN access.
2005-10-27 16:47:23 +00:00
Glenn Maynard
c0a37b7324
remove old "MOVE" macro
2005-10-27 16:14:23 +00:00
Glenn Maynard
95fd833a1a
rename to match pref name
2005-10-27 16:10:09 +00:00
Glenn Maynard
ecd7354c23
use MovePref
2005-10-27 16:07:57 +00:00
Glenn Maynard
806fb5ba9b
use MovePref
2005-10-27 15:57:39 +00:00
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
Glenn Maynard
0ac45b8853
handle all frame decoding stuff in DecodePacket
2005-10-27 00:09:17 +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
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
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
Glenn Maynard
a21a296d5a
HAVE_UNIX -> UNIX
2005-10-24 07:26:24 +00:00
Glenn Maynard
94f5407bda
remove HAVE_LINUXKERNEL
2005-10-24 07:23:38 +00:00
Glenn Maynard
539ec6aa5c
HAVE_WIN32 -> WINDOWS. HAVE_LINUXKERNEL -> LINUX. If some features originating in Linux work on other systems, then define them specifically (eg. HAVE_LINUX_JOYSTICKS).
2005-10-24 07:22:28 +00:00
Glenn Maynard
45ec442600
I'm not entirely sure why someone thought it was appropriate to call someone else's code "Useless!" in the source code. (The comment was also entirely wrong: the driver was used for prototyping on a system that used SDL for video but received input from a TTY, which SDL didn't support.)
2005-10-24 07:17:24 +00:00
Glenn Maynard
a1f58e11eb
remove HAVE_WIN32. We have WIN32 (WIndows, Xbox) and WINDOWS
...
(Windows only); we don't need "HAVE_WIN32" to complicate things further.
2005-10-24 07:12:56 +00:00
Glenn Maynard
4e464c3777
remove old comment
2005-10-24 06:42:28 +00:00
Glenn Maynard
2b035b3ebd
cleanup
2005-10-24 06:33:32 +00:00
Glenn Maynard
e8f7db11f3
optimize InputFilter::Update (.5ms -> .05ms on k7/1000)
2005-10-24 06:32:30 +00:00
Glenn Maynard
2791f8f90b
remove unneeded
...
fix use before init
2005-10-24 05:38:04 +00:00
Glenn Maynard
330f0a783c
MovieDecoder_Theora is reading the entire file when given a non-Ogg. Treat holes at the beginning of the file as fatal.
2005-10-24 05:19:53 +00:00
Glenn Maynard
20f8e3e08f
MovieDecoder_Theora is reading the entire file when given a non-Ogg. This fix should expose the actual problem (rest of the fix coming).
2005-10-24 05:06:51 +00:00
Glenn Maynard
06d12e2239
support PREFSMAN->m_iSoundPreferredSampleRate
2005-10-24 02:45:45 +00:00
Glenn Maynard
4bd59b5a7b
cleanup
2005-10-24 02:42:56 +00:00