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
Glenn Maynard
a34dd244b5
add memicmp implementation
2003-02-15 00:21:40 +00:00
Glenn Maynard
bbe3de4311
small compile fix
2003-02-14 23:06:01 +00:00
Glenn Maynard
19aecdfcdc
add StripCrnl
2003-02-14 22:28:29 +00:00
Glenn Maynard
379e3e43ec
add fmodfp
2003-02-05 20:18:02 +00:00
Glenn Maynard
ff830fad55
only use longchar within fonts
2003-01-28 00:45:01 +00:00
Glenn Maynard
75d27994f9
pointless whitespace commit to get RageUtil.cpp out of my wincvs window
2003-01-24 00:26:54 +00:00
Glenn Maynard
50d5b4c471
add missing regex copy ctor
2003-01-23 21:03:57 +00:00
Glenn Maynard
80db1958d8
add FilenameDB
2003-01-23 04:30:08 +00:00
Glenn Maynard
a81855f608
add Regex class (compiling regexes every time they're used
...
is slow)
2003-01-23 04:22:07 +00:00
Glenn Maynard
dd739abc5e
mental note: save before commit
2003-01-18 07:28:07 +00:00
Glenn Maynard
13d912b0f9
optimize ReplaceText
...
(worst-case gameplay test 140->160fps; still 20-30fps to go to get back
to 3.0F...)
2003-01-18 07:26:31 +00:00
Glenn Maynard
1e66c63774
simplifications and minor fixes
2003-01-16 23:22:21 +00:00
Glenn Maynard
ffc6ae2c37
Simplify splitpath.
...
Allow a font to have an INI and no pages.
2003-01-16 22:49:22 +00:00
Glenn Maynard
17fca7cbd3
fix split
2003-01-15 20:37:15 +00:00
Glenn Maynard
1d961c3c31
add WcharDisplayText
2003-01-09 23:53:14 +00:00
Chris Danford
471fc08e51
Fixed VC6-specific compile errors
2003-01-07 08:16:55 +00:00
Glenn Maynard
aaca29fa5f
use the real internal-use reserved codepoints
2003-01-07 03:56:47 +00:00
Glenn Maynard
e5cd3a0800
text entry: replace placeholders on save, so they don't end up in
...
SMs.
2003-01-06 07:43:14 +00:00