Commit Graph

226 Commits

Author SHA1 Message Date
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
Glenn Maynard 725aa3d4c1 CollapsePath( CString &sPath, bool bRemoveLeadingDot ) 2004-02-27 05:50:57 +00:00
Glenn Maynard 5b5834acba remove ResolvePath calls; this is done automatically and has been a noop
for a long time
2004-02-27 05:42:44 +00:00
Glenn Maynard 0eb34d9da0 add int PrettyPercent 2004-02-22 21:22:27 +00:00
Glenn Maynard 370451ebd4 fix warnings 2004-02-22 21:13:27 +00:00
Chris Danford 6154c14f86 add calorie tracking
clean up time formatting functions
2004-02-22 19:51:46 +00:00
Glenn Maynard 6084f5fa3b FileCopy sanity check 2004-02-17 22:12:39 +00:00
Glenn Maynard 103fbbc1e2 GetLocalTime() 2004-02-14 11:19:18 +00:00
Glenn Maynard d92d1d4127 add MonthOfYear, DayOfMonth 2004-02-14 08:27:09 +00:00
Glenn Maynard 946d26ae8e fix warnings 2004-01-27 21:03:43 +00:00
Manu Evans ce888de237 fixed some xbox build errors :/ 2004-01-17 05:21:24 +00:00
Glenn Maynard d680cc1f2f fix warning
don't mangle first character if non-ASCII
2004-01-03 04:30:34 +00:00
Chris Danford 40b2ecfee5 simplify mine scoring
add separate dance point weights for mines
2004-01-02 08:43:14 +00:00
Glenn Maynard 788f4a24ad simplify 2003-12-21 09:18:06 +00:00
Glenn Maynard 50f5ddc5ea work around stupid Windows error formatting returning \r\n at the end of
error strings
2003-12-21 07:04:33 +00:00
Glenn Maynard 75a1048c75 'bool CopyFile2( CString sSrcFile, CString sDstFile ); // using "CopyFile" gives "unresolved external" link error in VC6'
use "FileCopy" instead
2003-12-21 05:59:52 +00:00
Glenn Maynard 2a64220e50 cleanup 2003-12-21 02:20:53 +00:00
Glenn Maynard 9331f41838 add in-place split() functions 2003-12-15 05:34:24 +00:00