Commit Graph

165 Commits

Author SHA1 Message Date
Chris Danford 3098d41e7a tweak credits text
fix memory card profile creation
2003-11-08 15:49:48 +00:00
Glenn Maynard 02a6a82bd6 Fix CreateDirectories pulling wrong data from cache. (That should fix
the cache creation problems ...)
2003-11-04 06:52:39 +00:00
Glenn Maynard 20798c677c remove old comments 2003-11-02 04:05:38 +00:00
Glenn Maynard af965e4e45 Remove splitrelpath.
Minor splitpath optimization.
2003-10-29 21:22:28 +00:00
Glenn Maynard 706c713945 CString SetExtension("foo.bar", "") -> "foo" 2003-10-29 20:59:40 +00:00
Glenn Maynard e2c2ae4941 use GetExtension, Dirname, Basename 2003-10-29 20:46:37 +00:00
Glenn Maynard f03a889274 add Dirname, optimize Basename 2003-10-29 20:18:04 +00:00
Glenn Maynard 2824bf6049 remove old code 2003-10-29 19:38:37 +00:00
Glenn Maynard 688b342c57 optimize split() for the common case of one-character delimitors (~10%
speedup)
2003-10-28 22:37:20 +00:00
Glenn Maynard dcea66e6e6 fix GetExtension 2003-10-22 07:23:50 +00:00
Glenn Maynard 2715b39ba3 optimize GetExtension 2003-10-22 05:49:26 +00:00
Glenn Maynard f4ff423457 better output 2003-10-21 21:33:51 +00:00
Glenn Maynard b34bc5108d optimize case-insensitive string ops 2003-10-20 03:57:02 +00:00
Glenn Maynard abc93ed1d4 work around windows and/or samba bug 2003-10-10 04:16:44 +00:00
Chris Danford 4087097cf4 better redir error checking 2003-09-23 05:39:47 +00:00
Glenn Maynard 18a45487ab Cache mtimes. 2003-09-23 00:09:10 +00:00
Chris Danford c0c680317c profiles are usable 2003-09-08 07:21:41 +00:00
Glenn Maynard 46d9ea8488 Add troubleshooting output. 2003-09-06 22:32:38 +00:00
Glenn Maynard 636dcaaa7a Add GetCwd(). 2003-09-05 06:20:55 +00:00
Glenn Maynard 8e69db6e86 Add SetExtension. 2003-09-04 19:28:39 +00:00
Glenn Maynard d934177bf4 Changed this during testing so I didn't have to recompile everything
each time I changed it.  Why make this inline?  It's not performance-critical
at that level, and it's more code in the headers to slow down compiles.
2003-09-03 18:22:55 +00:00
Chris Danford 35950c4eaf Add prefs for logging. Don't throw if can't open log file. Remove Ragefopen and Rageifstream (they aren't needed). 2003-08-13 04:40:23 +00:00
Glenn Maynard e78ad5e491 Fix Course::GetCourseInfo crashes 2003-08-03 04:47:53 +00:00
Chris Danford 34b3cc616a Collapse path when reading redirects (needed for Xbox) 2003-08-02 19:28:31 +00:00
Glenn Maynard 4262c7fd96 Add an SDL random number generator with independent seeds. 2003-07-30 20:31:50 +00:00
Glenn Maynard e4e96da008 fix CreateDirectories 2003-07-28 23:26:40 +00:00
Chris Danford 278cb4c3f1 runs on Xbox 2003-07-22 07:47:27 +00:00
Glenn Maynard 7716edf4ac Fix error reporting. 2003-07-14 22:23:04 +00:00
Glenn Maynard a44b6d0a86 remove unneeded header 2003-07-12 20:42:08 +00:00
Chris Danford 8158ca8770 compiles on Xbox (still a CRT linking error though) 2003-07-11 03:15:28 +00:00
Chris Danford 571a21eff8 ResolvePath() in DerefRedir() to fix path problems on non-Win platforms 2003-07-10 11:47:28 +00:00
Glenn Maynard 5a6c5760f3 No, really, don't access str[-1] ... 2003-07-10 01:55:37 +00:00
Steve Checkoway 981988a74f We should be able to compile with the C flag -DNDEBUG to remove all assertions.
This fixes the problem that I had before with SM crashing in GetFontName.
2003-07-07 23:14:50 +00:00
Glenn Maynard 61baf5992b Wow, I wonder how many obscure crashes were happening because
of a bug in a 2-line function.  :)
2003-07-06 22:08:02 +00:00
William Reading d310d0e252 Fix darwin math problems 2003-07-04 18:03:20 +00:00
Glenn Maynard ddf76cefc9 just avoid memicmp completely 2003-07-03 19:42:48 +00:00
Steve Checkoway c9a6e30621 Headers needed for mkdir function. 2003-07-03 09:22:03 +00:00
Glenn Maynard 524c29c1e2 split off FDB 2003-07-03 02:41:27 +00:00
Glenn Maynard 3086ba4ea2 fix utf8_is_valid 2003-06-30 08:38:24 +00:00
Glenn Maynard 32be84e468 I'm tired of strange, obscure regex crashes. Use PCRE instead of GNU
regex.

Reenable d3d error messages.

Put my missing code back in.  Don't revert large sections of important
code; report bugs and get them fixed.  (Without this, "IsAFile("foo\bar")
will fail on Unix.)
2003-06-27 20:09:29 +00:00
Glenn Maynard 3480fd1367 Fix hh:mm.ss display. Switch at an hour, not 100 minutes. 2003-06-24 20:21:09 +00:00
William Reading 8d06cc4069 The newer RageUtil with FDB does not work properly under linux, so I'm reverting it for the sake of having it compile under the current CVS. I'm not sure what the problem is exactly, but I know that it has something to do with the way that it parses directories. This results in it not being able to find needed directories and throwing an error. I'd have just commented out the new code, except that it isn't worth adjusting all the code for it to be completely changed again relatively soon. 2003-06-10 11:08:09 +00:00
Glenn Maynard 09acdd7da8 needs more debugging than I can muster at 5am 2003-06-06 08:38:21 +00:00
Glenn Maynard a3fb5c3f67 Use FDB for a few more functions. Probably fixes bugs in *nix; speeds
some things up.
2003-06-06 07:15:46 +00:00
Glenn Maynard 623185dba7 also CString("")[0] is illegal 2003-05-22 21:13:29 +00:00
Glenn Maynard 3ed33e8e17 CString("")[0] is illegal 2003-05-22 21:13:02 +00:00
Glenn Maynard cc1e00823b Rewrite GetHashForString to fix a small copyright problem. (A license
that says "you can use this code however you want" doesn't necessarily
imply "you can modify it, too", just that you can use it.)

Besides, hardcoding that huge table was ugly since it can be derived
easily.
2003-05-22 20:32:08 +00:00
Glenn Maynard 713b0021fa Directory separator is /.
Simplify hash function.  Remove old comments that no longer apply.

This CRC code says "You may use this program ... without restriction."  That
doesn't say "use or modify"; although that may have been the intent, it
doesn't say that.  I'll look around for some replacement code.
2003-05-22 20:02:05 +00:00
Chris Danford 02016ae442 Reorganize RageDisplay
Add Direct3D renderer (separate project configuration)
Add Xbox project config (doesn't yet compile)
2003-05-22 05:28:37 +00:00
Glenn Maynard 01a6404711 add utf8_is_valid 2003-05-18 04:36:03 +00:00