Commit Graph

153 Commits

Author SHA1 Message Date
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
Glenn Maynard fe33dec385 Partial s/GetString/c_str/.
(watch out for PlayerOptions::GetString and SongOptions::GetString)
2003-04-25 00:01:35 +00:00
Chris Danford 25ef2863e0 add time-based spacing and variable scroll speed (commented out because it wasn't as helpful as I hoped) 2003-04-16 22:49:40 +00:00
Chris Danford 82199383a8 Change event mode to a CoinMode (since using COIN_PAY and EventMode at the same time doesn't make sense).
Split ScreenLogo and ScreenTitleMenu.
In ScreenTitleMenu, add a different animation if using COIN_HOME (for SMMAX2).
Added codes at TitleMenu to change Theme and Announcer.
2003-04-13 04:50:08 +00:00
Glenn Maynard f5341a0438 fix paths that end in a slash 2003-04-01 19:31:55 +00:00
Glenn Maynard 8db1c70e1e add missing operator=; fixes a crash that only occurs after releasing snapshots 2003-03-28 05:23:35 +00:00
Glenn Maynard 2303e8cd3e supply a default constructor 2003-03-27 20:16:17 +00:00
Chris Danford 033b2773ed disallow > 1 theme element matches to catch problems early 2003-03-15 00:16:45 +00:00
Glenn Maynard ab3c8e47b1 Handle up to two wildcards in GetDirListing 2003-02-24 07:07:56 +00:00
Glenn Maynard 09189d8fde strip redirs 2003-02-16 05:12:27 +00:00
Glenn Maynard 42cfd6f98c stdafx -> global 2003-02-16 04:01:45 +00:00
Glenn Maynard cbadeb046f use standard functions for directory scanning (which Windows doesn't have?) 2003-02-15 00:32:32 +00:00
Glenn Maynard b51773e21a and make it work 2003-02-15 00:30:14 +00:00