Commit Graph

33 Commits

Author SHA1 Message Date
Jason Felds 28e5148dec The big NULL replacement party part 5.
Right. ' = NULL' would get a lot of these.
2013-05-03 23:39:52 -04:00
Jason Felds a3f37dc2b4 The big NULL replacement party part 3.
Getting there I think.
2013-05-03 23:16:39 -04:00
Jason Felds ba59dd1656 The big NULL replacement party part 2.
This may take a bit. Trying to do this by operator/command.
2013-05-03 23:11:42 -04:00
Jason Felds 9f24627bf9 The big NULL replacement party part 1.
This is meant to be a safer alternative since
NULL can often be 0. Let's not rely on that.

And yes, I know this is a lot of files. This is
a safer thing to do in big commits vs for loops.
2013-05-03 23:01:54 -04:00
Jason Felds c67419ecc8 There goes the macro file.
This is one of my bigger commits in this branch.

Still, shouldn't cause a problem.
2013-05-01 23:54:39 -04:00
Jason Felds 08218a3a85 Another simplification. 2013-04-27 15:23:31 -04: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