Commit Graph
121 Commits
Author SHA1 Message Date
Chris Danford ddf1548909 fix CPU skill calculation
make SCALE integer friendly
2004-01-12 00:32:18 +00:00
Glenn Maynard 048c4c8e47 fix wrap(float) not working; caused receptors to not flash before beat 0 2004-01-08 09:11:49 +00:00
Chris Danford e3cc4e3ff5 cleanup Model, remove MathUtil files, fix col major/row major errors 2003-12-24 12:30:41 +00:00
Chris Danford 4ac936cfbf GrayArrow => ReceptorArrow
move ReceptorArrow metrics into NoteSkin
ReceptorArrow metrics, code cleanup
2003-12-22 10:30:10 +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 505137dd71 show ssprintf printf warnings 2003-12-17 04:17:28 +00:00
Glenn Maynard 9331f41838 add in-place split() functions 2003-12-15 05:34:24 +00:00
Glenn Maynard cdb4dbc03b replace GetFileModTime with GetFileHash 2003-12-10 07:07:42 +00:00
Chris Danford abf88923c1 working on stats.html 2003-12-08 10:27:45 +00:00
Chris Danford eac836cc40 move many bookkeeping numbers to ProfileManager 2003-12-08 04:02:43 +00:00
Glenn Maynard 5f6fedfcda move DirectoryIsEmpty to RageUtil
cleanup
add join( Delimitor, iterator, iterator )
2003-12-07 22:54:50 +00:00
Glenn Maynard c6b550e2ef remove CreateDirectories and Rename 2003-12-07 04:20:07 +00:00
Glenn Maynard 3f666a7cdf Fatal errors in templates that don't even show up until they're used. Ugh. 2003-11-17 03:53:59 +00:00
Glenn Maynard 7a9bb7bd55 fix g++ compile 2003-11-17 03:47:09 +00:00
Glenn Maynard 929c8108c8 add FindIndex 2003-11-17 03:38:14 +00:00
Glenn Maynard af965e4e45 Remove splitrelpath.
Minor splitpath optimization.
2003-10-29 21:22:28 +00:00
Glenn Maynard f03a889274 add Dirname, optimize Basename 2003-10-29 20:18:04 +00:00
Glenn Maynard 0eaa9aa178 Move truncf, roundf fallbacks to the right place.
Fix BeatToNoteRow rounding backwards for negative numbers.
2003-10-27 03:45:15 +00:00
Glenn Maynard 8f32599998 Fix warnings, fix possible problems with characters outside of ASCII 2003-10-21 19:05:16 +00:00
Glenn Maynard b34bc5108d optimize case-insensitive string ops 2003-10-20 03:57:02 +00:00
Chris Danford c0c680317c profiles are usable 2003-09-08 07:21:41 +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
Thad Ward 05443292da Consolidate duplicate function 2003-09-03 13:03:41 +00:00
Chris Danford 0cd5766ba2 add Dance Maniax and Technomotion support 2003-09-03 04:30:29 +00:00
Glenn Maynard 5b17149520 Fix warning.
WRAP is only safe for the int range, since it needs to cast to int to
negate; so only allow int.

When possible, use a (possibly templated) inline function instead of
a #define.
2003-09-01 02:04:16 +00:00
Chris Danford 0d3d590766 add WRAP macro 2003-08-31 22:37:32 +00:00
Chris Danford e892ecc027 use ARRAYSIZE macro 2003-08-02 20:05:46 +00:00
Glenn Maynard 4262c7fd96 Add an SDL random number generator with independent seeds. 2003-07-30 20:31:50 +00:00
Chris Danford 278cb4c3f1 runs on Xbox 2003-07-22 07:47:27 +00:00
Glenn Maynard ddf76cefc9 just avoid memicmp completely 2003-07-03 19:42:48 +00:00
Glenn Maynard 8b7a62b89a fix Windows compile (er, I'd have used strcasecmp if I could have). I'll
add a check for this in a minute.
2003-07-03 18:55:35 +00:00
Steve Checkoway 562251ec37 strncasecmp and memicmp appear to be the same from the man pages. However I don't have memicmp and unless other systems don't have strncasecmp I see no reason to add more checks to the configure script. 2003-07-03 09:21:36 +00:00
Glenn Maynard 524c29c1e2 split off FDB 2003-07-03 02:41:27 +00:00
Glenn Maynard 75d3b3b13e fix and simplify 2003-06-30 04:41:53 +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 01a6404711 add utf8_is_valid 2003-05-18 04:36:03 +00:00
Steve Checkoway 2c814f4fda Added check for roundf function. If it's defined in a system library, redefining it in RageUtil.h causes stepmania to fail to link with g++. 2003-05-09 21:34:25 +00:00
Steve Checkoway 0d37ae065d added some min/max overloads 2003-04-26 00:58:01 +00:00
Glenn Maynard c3c090799d Apologies for abruptly reverting things, but compilation in Windows is
highest priority.  See my post to stepmania-devs for explanations.
2003-04-20 21:28:02 +00:00
Steve Checkoway 09d633005f changed min/max to one function each (if it's missing) to remove ambiguity 2003-04-20 12:52:45 +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 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
Glenn Maynard 3b1396dd65 remove unused prototype 2003-03-15 03:23:21 +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