Commit Graph

38 Commits

Author SHA1 Message Date
Kyzentun Keeslala 771e24d1ca Added kludge to shift tex coords for bottom cap by one pixel to get rid of seam. power_of_two rewritten to use math instead of a while loop. 2015-06-07 18:27:35 -06:00
Kyzentun 1c3db82537 Modified StepsID operators to consider 0 equal to all other hash values. See comment in source for details. Changed operator>>(RString&, int&) functions to be based off a template. 2015-04-10 09:10:51 -06:00
Kyzentun 2f1a348565 Commify handles negative numbers now. 2015-04-02 18:02:38 -06:00
Kyzentun d789ef7c6b Exposed commify function to lua and made it handle decimal numbers. 2015-04-02 13:36:41 -06:00
Kyzentun 8b09da8e64 Various changes to speed up start up time:
Added delay_save_cache to SongCacheIndex so that it doesn't write the entire cache index file after every song is loaded when loading songs.
Added m_SongsByDir to SongManager so that GetSongFromDir doesn't have to walk the entire list of songs.
Minor changes to when LoadEnabledSongsFromPref occurs and how SanityCheckGroupDir works to speed up loading.
Song::ReloadFromSongDir removes cache file to force an actual reload from the song dir instead of reloading from the cache.  ReloadFromSongDir exposed to lua.
Reordered Actor::LoadFromNode to put Command first because that case is more common.
Course::GetTrailUnsorted reserves entries before starting to save time reallocating.
join in RageUtil calculates the final size of the concatenated strings reserves it to save time reallocating.
Added time log file to RageLog for profiling.
2015-03-30 17:45:52 -06:00
Kyzentun a2798e16f4 More aggressive caching. In general, this makes Stepmania avoid looking in the song directory at all if the song is in the cache, in order to load songs faster. All the RadarValue calculations were also rolled into one to reduce the time needed to build the cache. 2015-03-23 11:35:30 -06:00
Andrew Udvare 36a412f6e4 Add --with-system-pcre; allow building against system PCRE library 2015-01-28 16:11:26 -08:00
Kyzentun ca4eb65b61 Added lerp, lerp_color, approach, and multiapproach lua functions. 2014-10-23 00:13:13 -06:00
Kyzentun e3f8d272c1 istream::operator bool() is explicit in C++11, use git diff 2014-09-02 14:33:55 -06:00
Kyzentun d5878da037 Added Arbitrary Remap option to Alter Menu in Edit Mode. 2014-08-30 13:38:16 -06:00
Ben "root" Anderson 263240debc Apparently MinGW needs this too. 2013-10-27 15:36:05 -05:00
Devin J. Pohly 58aa480016 war on -Werror, part 3: narrowing conversions 2012-12-26 21:12:12 -05:00
Colby Klein 5378173b5a Fix math.random() never returning > 0.5.
All the credit goes to vyhd for both breaking and fixing this.
2012-12-24 15:52:28 -08:00
AJ Kelly 2a2cf23c47 [RageUtil] Add detection of .hg to StripCvsAndSvn. 2012-07-02 21:52:31 -05:00
Mark Cannon 86710c1716 fix compilation for MersenneTwister; generate 2^32 constant with pow(), so it doesn't depend on compiler semantics 2011-08-23 11:39:57 -07:00
Mark Cannon ed86859798 rewrite MersenneTwister.Random to support negative numbers and generally be more robust 2011-08-22 20:49:50 -07:00
Flameshadowxeroshin e8d3af2485 Fix Random arguments. Thanks, Saturn2888! 2011-08-23 03:15:51 +00:00
Jason Felds 11c0758568 Force a long long. 2011-08-22 22:27:38 -04:00
Mark Cannon 657217beda replace math.random and math.randomseed with MersenneTwister 2011-08-22 11:45:45 -07:00
AJ Kelly 8bf7287d78 move comment 2011-08-20 03:47:11 -05:00
AJ Kelly 54c6fd471f Added PrettyPercent(numerator,denominator) Lua binding. Should probably add the two Commify bindings a bit later on... 2011-08-16 22:28:06 -05:00
AJ Kelly 6621b81aff insert ECW 'you fucked up!' chant here* 2011-08-16 22:16:26 -05:00
AJ Kelly f1b22b02ad comment, cleanup, and whatnot 2011-08-16 21:55:15 -05:00
Jason Felds 3c348a8ac3 Consistent function placement.
This will be used for later.
2011-07-17 13:04:36 -04:00
AJ Kelly ffb6144456 slightly edit assert msg 2011-07-03 16:38:24 -05:00
AJ Kelly 10eb50d93e pedantic crap 2011-07-03 10:41:44 -05:00
AJ Kelly 94385b7ded update url 2011-06-24 13:03:01 -05:00
Jason Felds 7f3b8577b3 Prototypes. 2011-06-12 03:42:15 -04:00
Jason Felds 4bb0b28fc8 Good old warning fixes...how I missed thee. 2011-06-12 03:30:57 -04:00
Jason Felds da51e26d07 Standardize conversion processes.
Too many arguments for or against the many methods:
stick to one inside a common function.

This commit will force recompilation of many files.
2011-05-11 15:58:31 -04:00
Jason Felds c2cdf0c763 [sm130futures] Not as much to change with pcre. 2011-05-04 22:42:23 -04:00
AJ Kelly cf81f8cc3b remove xbox support; it doesn't work, and it'd take too much effort to get it working again 2011-03-19 19:28:57 -05:00
Jason Felds a085d0d1da Line endings...be normalized! 2011-03-17 01:47:30 -04:00
Jason Felds c5fda59080 More warning reductions, even if not noticed.
We're in the lower 40Ks now with Effective C++
Violations being checked.
2011-03-14 12:15:33 -04:00
AJ Kelly 20a1802758 add StripMacResourceForks(); hopefully prevents things like issue 178 ( http://ssc.ajworld.net/sm-ssc/bugtracker/view.php?id=178 ) from happening again 2010-08-26 00:49:40 -05:00
AJ Kelly 31c69f1d9c okay I'm not done with the commits yet but mercurial is not making it easy for me
to commit just a subsection of files so I have to dump everything in here. :|
2010-03-09 03:36:44 -06:00
AJ Kelly 3e51544930 Initial commit. 2010-01-26 21:00:30 -06:00
Devin J. Pohly 80057f53cd smsvn -> ssc-hg glue: rearrange directory structure 2013-06-10 15:38:43 -04:00