Chris Danford
32223b6912
adding ssprintf overload for easier use with LocalizedString
2006-01-08 00:40:28 +00:00
Steve Checkoway
bc5582d639
Fix memory leak.
2006-01-08 00:28:17 +00:00
Steve Checkoway
3608694a18
Do memory card stuff (more) correctly.
2006-01-08 00:23:33 +00:00
Steve Checkoway
ab718fdd6e
Fix warning. Should NUM_PLAYERS go away?
2006-01-07 08:19:13 +00:00
Chris Danford
178e45d380
don't show strings before we've set up ThemeManager to be able to show something localized
2006-01-07 06:50:10 +00:00
Chris Danford
3a523f9c3e
assert if we try to use a non-loaded string
2006-01-07 06:48:42 +00:00
Glenn Maynard
8d6a2c54dd
fix loading JOY_BUTTON mappings from disk
2006-01-07 06:28:56 +00:00
Chris Danford
ec424ec51e
fix conflicting globals during link
2006-01-07 06:02:47 +00:00
Chris Danford
706655a282
UTF8
2006-01-07 06:01:45 +00:00
Chris Danford
b96fa184ee
spacing cleanup
2006-01-07 05:43:38 +00:00
Chris Danford
168a98773e
fix LocalizedString::Load doesn't fill the value
...
Localize loading messages
2006-01-07 05:43:25 +00:00
Chris Danford
44225ad379
XToThemedString -> XToLocalizedString
2006-01-07 04:11:29 +00:00
Chris Danford
b70eb0e509
add pseudolocalize
2006-01-06 23:34:41 +00:00
Chris Danford
210f36a243
localize
2006-01-06 23:34:33 +00:00
Chris Danford
452844c7c9
fix compile
2006-01-06 23:33:45 +00:00
Chris Danford
8b0c7ac36e
SubscriptionHandler -> SubscriptionManager
2006-01-06 20:19:30 +00:00
Chris Danford
d55ae24611
add PseudoLocalize
...
phase out SubscriptionManager for SubscriptionHandler to fix ThemeManager assert
2006-01-06 20:18:15 +00:00
Chris Danford
f8379c8db7
cleanup newline handling in languages
...
remove View Statistics button (moved to command line)
2006-01-06 17:57:26 +00:00
Chris Danford
9ef306201c
CString -> RString
2006-01-06 17:57:03 +00:00
Chris Danford
f6f253b545
localize text in all dialogs
2006-01-06 07:48:26 +00:00
Chris Danford
9dfc40ba9c
remove baked text in header graphics, replace with static text
2006-01-06 07:45:38 +00:00
Chris Danford
cc922c4619
localizable smpackage dialogs
2006-01-05 07:38:31 +00:00
Chris Danford
f02ed66d59
assert if we're about to write an unparsable ini file
2006-01-05 07:36:09 +00:00
Chris Danford
fb9d07e11b
bracket cleanup
2006-01-05 07:35:27 +00:00
Chris Danford
c7f6f52da1
fix "unused function CheckXToStringParamType" removed warnings
2006-01-05 06:08:19 +00:00
Chris Danford
1fb7433c29
fix VC7 "nonstandard conversion: auto_ptr to auto_ptr&". The param to operator= is a reference.
2006-01-05 05:57:05 +00:00
Jason Felds
4b0d45e983
Fix VC6 Compile.
2006-01-05 01:26:04 +00:00
Glenn Maynard
16b998705f
That won't work. Preferences register themselves on creation, so
...
PrefsMan can iterate over them (to load and save), so preferences
must be created on startup, not first use.
2006-01-04 23:04:07 +00:00
Glenn Maynard
b734b602d2
force TypeName arrays for XToString to be an array of const char*, not CString
2006-01-04 22:30:51 +00:00
Glenn Maynard
8ed46bd67f
update
2006-01-04 22:27:18 +00:00
Jason Felds
e04f9440ac
Removed DateTimeLua.cpp and LocalizedStringLua.cpp from the project file; they no longer exist.
2006-01-04 21:12:58 +00:00
Steve Checkoway
cd8788c941
Newlines do not work here.
2006-01-04 19:54:34 +00:00
Glenn Maynard
b2cec2d787
build fix
2006-01-04 18:09:39 +00:00
Glenn Maynard
4b92224743
lame fix for Linux build for now
2006-01-04 18:03:42 +00:00
Glenn Maynard
6a5b7540cc
this should not be static
2006-01-04 18:02:25 +00:00
Glenn Maynard
b5414c435c
fix linux build
2006-01-04 18:01:34 +00:00
Glenn Maynard
e24076f744
build fix
2006-01-04 17:51:43 +00:00
Glenn Maynard
37af3d7b37
build fix
2006-01-04 17:46:29 +00:00
Glenn Maynard
c0e6e08918
fix warnings
2006-01-04 05:17:36 +00:00
Steve Checkoway
f5f1097587
Delay init to work around static init dependencies.
2006-01-03 18:14:18 +00:00
Steve Checkoway
c7c10fa06d
fix compile.
2006-01-03 02:57:24 +00:00
Glenn Maynard
831c4860f5
revert this for now. We do FAIL_M(s()), where s() returns a CString; doing this
...
causes the return value to go out of scope, and the char* to be invalid.
2006-01-01 05:48:06 +00:00
Glenn Maynard
f10898b806
Oops. We started setting the theme's expected coordinate space
...
in Screen, by calling SetFOV to make ActorFrame do LoadMenuPerspective.
That broke screen backgrounds, which are rendered outside of any
screen, so they always used 640x480 (the default).
2006-01-01 03:47:02 +00:00
Glenn Maynard
8174e0b629
merge RageUtilLua
2005-12-31 06:52:04 +00:00
Glenn Maynard
47978e8275
merge
2005-12-31 06:46:31 +00:00
Glenn Maynard
8689b087f8
Static globals are still globals, and the global qualifier seems more useful than a static one. (don't want to start with the multiple-qualifiers business, eg 'sg_'; that gets ugly fast, and doesn't really help anything)
2005-12-31 06:19:54 +00:00
Glenn Maynard
a692d9f58d
cleanup
2005-12-31 06:16:22 +00:00
Glenn Maynard
8652d9e3b9
LastSeenMemory -> StepMania
2005-12-31 05:07:05 +00:00
Glenn Maynard
d8eac51039
move IgnoredMessageWindows to Dialog, rename to IgnoredDialogs
2005-12-31 05:03:26 +00:00
Glenn Maynard
f435983996
IPreference stores preferences, but knows nothing about loading or
...
saving them; that's up to PrefsManager.
Treat IPreference as a simple data holder, with simple facilities for
looking them up by name, converting to/from strings, and storing to/from
an XNode, but with no application-specific code to save to disk. This
can be used alone as a way for code to configure things internally, even
for uses that have no notion of storing user preferences (eg. unit tests),
and other programs can use it to store preferences in entirely different
ways (SMPackage could use it to store to the registry). PrefsManager is
layered on top, to implement StepMania's particular use of Preference
(saving and loading INIs), but isn't needed for Preference to be useful.
This also makes Preference only use XNode, not the more specialized IniFile.
(One piece is missing: several low-level places, eg. Dialog, want to set
a preference and write it to disk immediately. The only way to do that
is to have access to PREFSMAN. FIXME.)
2005-12-31 04:59:56 +00:00