Commit Graph

243 Commits

Author SHA1 Message Date
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
Glenn Maynard 104ecd10ce split("") should return an empty vector 2005-04-24 06:32:51 +00:00
Glenn Maynard 9e663cba1e add AddNumberSuffix 2005-03-31 02:26:37 +00:00
Ben Anderson 0db665d4d6 Thorough(!) remodeling of the arch/ directory and the contents therein; fixed link-time warnings on GCC and should make things a lot easier to manage. A pile of other random things too, mostly cleanups and getting things to work with the remodeled arch/ directory. 2005-03-14 06:44:38 +00:00
Chris Danford 2c0f0d1e06 add recursive redirect lookup 2005-03-11 06:09:56 +00:00
Steve Checkoway 73e5f1092f Unused variable. 2004-12-12 09:58:14 +00:00
Glenn Maynard fdf6ad8735 fix standard crc32 2004-12-12 01:39:30 +00:00
Glenn Maynard 4e1298d6a2 type cleanup 2004-12-12 00:54:44 +00:00
Glenn Maynard 3b9f86422c split out CRC32 code 2004-12-11 23:33:11 +00:00
Glenn Maynard c37a82ed40 more general string<->value functions 2004-12-07 01:43:06 +00:00
Glenn Maynard afcacbdf85 add utf8_remove_bom 2004-12-03 01:02:45 +00:00
Glenn Maynard 348c1a696e minor optimization: searching for a character in a string is faster than
searching for a substring
2004-11-08 07:12:17 +00:00
Chris Danford ec4090a3eb fix VC7 warnings 2004-11-08 06:16:22 +00:00
Glenn Maynard ada4232495 replace rand 2004-10-07 04:10:45 +00:00
Glenn Maynard ab064cd6db optimize 2004-10-03 14:41:28 +00:00
Glenn Maynard 207a02dd08 ACP conversion. (This and hr_ and werr_ssprintf don't really belong in here,
I'll clean it up eventually ...)
2004-09-20 00:03:09 +00:00
Glenn Maynard aad73b53e9 (float) atof() -> strtof(), which computes in float instead of computing in
double and casting to float, which is silly
2004-08-10 20:57:59 +00:00
Glenn Maynard 80ebe589ac simplify 2004-06-25 23:39:40 +00:00
Glenn Maynard 47d43cee82 unsigned -> size_t for string::find returns 2004-06-16 07:01:12 +00:00
Steve Checkoway a613d4d9fa s/RAGE_ASSERT/ASSERT/ 2004-06-16 00:38:31 +00:00
Glenn Maynard 9762c6583f error checking 2004-06-06 20:56:46 +00:00
Glenn Maynard a5fd0fc48e utf-8 fixes 2004-05-18 03:15:13 +00:00
Glenn Maynard e9b5ce0e88 use 0xFFFD for INVALID_CHAR ("U+FFFD REPLACEMENT CHARACTER") instead of 0xFFFF 2004-05-17 21:33:35 +00:00
Glenn Maynard e72dcafae5 replace UTF-8 functions from glib 2004-05-17 21:28:26 +00:00
Glenn Maynard f9f10e2372 more license updates 2004-05-06 02:40:33 +00:00
Glenn Maynard 7135f8cc1d extend log timestamps to three decimal places 2004-04-06 23:21:27 +00:00
Glenn Maynard 42d969af9d fix CollapsePath("../../foo") resulting in "foo" 2004-04-06 04:21:06 +00:00
Steve Checkoway 20a8bab45c Clean up includes. 2004-04-05 05:22:32 +00:00
Glenn Maynard 98dba2b870 fix CollapsePath("/foo") resulting in "foo" 2004-03-03 00:35:00 +00:00