Commit Graph

271 Commits

Author SHA1 Message Date
Chris Danford f09aee93b8 consistent language capitalization 2006-01-27 08:16:22 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Chris Danford 477e67a8aa fix smpackage file routines and registry writing 2006-01-21 12:18:26 +00:00
Glenn Maynard e39f1499e2 cleanup 2006-01-20 06:07:37 +00:00
Chris Danford 6012947d00 remove ssprintf overload 2006-01-08 05:32:56 +00:00
Chris Danford 32223b6912 adding ssprintf overload for easier use with LocalizedString 2006-01-08 00:40:28 +00:00
Glenn Maynard 8174e0b629 merge RageUtilLua 2005-12-31 06:52:04 +00:00
Chris Danford 2d7ae984e2 fix VC6 compile (braindead std::string?) 2005-12-29 02:36:46 +00:00
Glenn Maynard 5303e7aab9 This isn't right: it'll add a period to the end, even when there was no
extension at all.  Remove it; it wasn't meant to be committed to begin
with.
2005-12-29 02:10:18 +00:00
Steve Checkoway 2985f1a6ec Fix warnings. 2005-12-29 02:03:14 +00:00
Steve Checkoway 451bb4c396 SetExtension does not modify sName. Also, after calling SetExtension( sName, "" ), the period is removed so if the file name is foo.bar.baz, then calling SetExtension with "" followed by "bur" you end up with foo.bur. Instead, just append "." + sExt. 2005-12-29 02:01:10 +00:00
Glenn Maynard 86572cc1f3 add MakeValidFilename 2005-12-29 01:20:33 +00:00
Chris Danford b42d28af34 add language localization tools 2005-12-28 19:21:08 +00:00
Glenn Maynard 7c70c416d8 At some point (1989), ISO-639 changed several language codes, after
the standard had already been released.  What's the point of having
standard language abbreviations if they're subject to change?

"Annex B" in ISO 639-1:2001 (over a decade later, if that's a year) says
"The changes were publicised, but they have not been included in printed
versions of ISO 639."  The first google hit for ISO-639 still makes no mention
of these changes (http://www.w3.org/WAI/ER/IG/ert/iso639.htm).  That rules.

Remove "XS?"; as far as I can tell that's just an error in the "native language"
page.
2005-12-28 06:32:33 +00:00
Glenn Maynard 1ff91344b1 missed commit: cleanups 2005-12-28 06:07:17 +00:00
Chris Danford 0249ef8d3d add language native names 2005-12-28 05:43:26 +00:00
Glenn Maynard 81559b2916 cleanup, remove old regex code 2005-12-23 08:22:21 +00:00
Chris Danford 74749a19bb move localized string to separate file 2005-12-22 03:10:04 +00:00
Chris Danford 28959facb3 make prompt strings localizable 2005-12-21 09:56:16 +00:00
Glenn Maynard 8f4496685e cleanups 2005-12-21 07:52:23 +00:00
Glenn Maynard 168868fef5 redundant 2005-12-21 06:19:18 +00:00
Glenn Maynard 296dafdd11 fix "more than one user-defined conversion has been implicitly applied" in
SDebugOverlay
2005-12-20 20:09:15 +00:00
Glenn Maynard 54ab1ec707 const, RString 2005-12-20 19:55:09 +00:00
Chris Danford d698a5f1ec CString -> RString in RageUtil
ThemeMetric<CString> -> LocalizedString to eliminate dependencies
2005-12-20 08:35:47 +00:00
Chris Danford ec51af900e CString -> RString for files used by smpackage 2005-12-10 08:15:44 +00:00
Chris Danford 37f82b43f7 remove CStringArray #define 2005-12-09 21:36:22 +00:00
Chris Danford 8fda004742 add Lua binding 2005-12-06 12:39:43 +00:00
Glenn Maynard 90ad56522c move GetCommandlineArgument, g_argc and g_argv into RageUtil.cpp,
so tests don't have to duplicate stuff, and because PrefsManager
uses it
2005-11-22 21:18:43 +00:00
Glenn Maynard 2530f0dd5f add GetLanguageNameFromISO639Code
clean up RageUtil.h while I'm here
2005-10-28 17:23:54 +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 cdb7215971 add BeginsWith 2005-10-27 04:51:47 +00:00
Glenn Maynard 775273cef4 fix warning 2005-10-07 01:45:48 +00:00
Chris Danford bc332a57b1 change Translation.dat -> Translations.xml
Move GroupName translations out of code and into Translations.xml
2005-10-06 07:01:58 +00:00
Glenn Maynard 7a561fc4d5 move helpers into RageUtil
ToLower attributs, not ToUpper
2005-09-04 23:04:21 +00:00
Chris Danford 48ebc53549 return NULL -> return CString() for clarity and efficiency 2005-09-04 16:55:21 +00:00
Chris Danford e439ae2a96 return "" -> return NULL 2005-09-02 00:14:07 +00:00
Glenn Maynard f32bb07bdb fix comment 2005-08-29 04:45:59 +00:00
Chris Danford 9b307b198c add list of scores and judgments to multiplayer gameplay 2005-08-26 17:39:53 +00:00
Glenn Maynard b9818b6379 optimize CollapsePath: only make one copy, don't split and re-join (5:1 speedup) 2005-07-26 05:26:14 +00:00
Chris Danford 2a6dcba6e8 cleanup:
"GroupName" -> "SongGroup" to make room for CourseGroup
replace checks for "cvs" with a call to StripCvs()
m_Rows -> m_pRows
broadcast on preferred group changes
2005-06-23 08:05:09 +00:00
Chris Danford dac72665e3 move background file enumerating into BackgroundUtil.*
fix editor background change functionality
2005-05-31 01:17:37 +00:00
Renaud Lepage 1b124c16a5 Someone had made ifdefs that were confusing if compiling for Xbox. The conflictual situations have been resolved. 2005-05-30 23:43:37 +00:00
Glenn Maynard f5dc5d75f3 simplify 2005-05-29 02:21:24 +00:00
Glenn Maynard 350085e096 split up FileCopy, use RageFileBasic 2005-05-21 06:51:55 +00:00
Glenn Maynard f37a3810d6 allow reading whole files with GetFileContents 2005-05-20 00:12:43 +00:00
Chris Danford d67d60e178 sync controls cleanup:
move sync display/saving out of complicated ScreenGameplay
  show sync UI in editor playback as well as gameplay
  revert sync from in-memory backup, not from disk
  move more functions into debug overlay
2005-05-19 23:29:39 +00:00
Glenn Maynard 4e6d716027 GetRedirContents -> GetFileContents 2005-05-17 02:20:43 +00:00
Thad Ward 5949e5bc90 (this is possibly going to annoy some people, but..)
put all (obvious) MSVC lines in #if defined(_MSC_VER) blocks, primarilly
to allow alternative win32 compilers to be used.
2005-05-11 04:43:54 +00:00
Chris Danford 1cc8d4a859 save survival life seconds remaining in HighScore
show SurvivalLifeTime in Ranking
2005-05-08 22:03:41 +00:00
Glenn Maynard 348468cfd7 copy in blocks, instead of copying the whole thing at once; better timeout behavior and more robust with very large files 2005-04-25 21:05:29 +00:00