Commit Graph

3476 Commits

Author SHA1 Message Date
Jason Felds 027845a8a2 That array conversion worked.
I think I can safely assume most of these will work.
2013-05-05 08:42:06 -04:00
Jason Felds c7800078f2 ...but braces are needed instead. 2013-05-05 08:22:45 -04:00
Jason Felds faae62ffb3 No need for an indexer here. 2013-05-05 07:34:04 -04:00
Jason Felds 5408e1510b I'm assuming a white space fix. 2013-05-05 07:33:52 -04:00
Jason Felds 4adb39d31a A vector isn't needed here. 2013-05-05 00:12:10 -04:00
Jason Felds 353d41edc6 This does not need the power of the RString. 2013-05-05 00:03:56 -04:00
Jason Felds 5298668327 Well, std::array works it seems.
Time for more slow transitioning.
2013-05-05 00:02:40 -04:00
Jason Felds caa417abe7 Bring in the warp stuff. 2013-05-04 20:55:56 -04:00
Jason Felds a040cb0c62 Fix a...strange debug issue.
Didn't get this to happen on release testing.
2013-05-04 18:09:40 -04:00
Jason Felds 25c3c7d4f1 Change our auto_ptr's to unique_ptr's.
auto_ptr is deprecated in c++11.
2013-05-04 14:11:47 -04:00
Jason Felds a8fe2634ca Do string validation before parsing.
...this is NOT the right place for this.

At some point, we need to either use std::stof directly
and/or just accept that we need to use exceptions.
2013-05-04 13:43:54 -04:00
Jason Felds fc2b198ce2 Optimization: no need to loop the whole vector.
Gotta love the back call.
2013-05-04 12:03:00 -04:00
Jason Felds f5c877cbb6 Replace StringToInt with the std version.
Again, RageUtil isn't the right home.
2013-05-04 11:59:25 -04:00
Jason Felds af3890f504 Add a comment to move this later.
We probably need a standard helper library.
2013-05-04 11:49:03 -04:00
Jason Felds 490327cf55 Remove the IntToString function, use std.
...this seriously didn't belong in Rage.
2013-05-04 11:22:10 -04:00
Jason Felds 07b9fb6da5 The big NULL replacement party part 6.
...and ', NULL' had even more to replace.
2013-05-03 23:49:23 -04:00
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 328c41eec0 The big NULL replacement party part 4.
...okay, not as big of a commit.
2013-05-03 23:24:23 -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 b22a3bd3c4 I see no use in BaseClasses.
Anyone want to remove this?
2013-05-03 22:49:23 -04:00
Jason Felds a4798fbd5d Some Mac OS X fixes.
Joystick was more stubborn than it should have been.
2013-05-02 22:47:16 -04:00
Jason Felds dba1c7f69a Bring default's changes in.
Hopefully I also handled mac's arch_setup right.
2013-05-02 22:08:51 -04:00
Jason Felds 35f9b78481 Well...this works at least. 2013-05-02 22:06:23 -04:00
Jason Felds fe0c9f4c6f Revert "Loops with unused variables? Wonder why."
This reverts commit c3ae23939a.
2013-05-02 21:48:32 -04:00
Jason Felds 9607f013a0 Revert "These should have been const to begin with."
This reverts commit 15dc12cd0e.
2013-05-02 21:45:13 -04:00
Jason Felds 8a1d137d05 Revert "Now I can apply const appropriately."
This reverts commit 15e9e1d1d4.
2013-05-02 21:44:51 -04:00
Jason Felds 3ac6a08fbe Revert "Loop...and const. Crap."
This reverts commit 4979bf3218.
2013-05-02 21:44:05 -04:00
Devin J. Pohly e16104058b fix some neg-bpm -> warp problems 2013-05-02 20:55:05 -04:00
Jason Felds 1083ffa8cd Another warning fixed.
...any reason why this is a pointer to a vector?
2013-05-02 20:19:37 -04:00
Jason Felds 001769b946 Address one unused warning warning.
...you know what that sentence should say.
2013-05-02 20:07: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 b1ed735622 The non windows files. 2013-05-01 23:45:12 -04:00
Jason Felds 02d16ce574 Eww: quad loop. 2013-05-01 23:39:15 -04:00
Jason Felds d281bba0cd One loop for now. 2013-05-01 23:36:18 -04:00
Jason Felds cb6651f1fb Two more loops. 2013-05-01 23:35:15 -04:00
Jason Felds d64dd6721d Simple loop. 2013-05-01 23:34:38 -04:00
Jason Felds ac9a8373d2 Two loops simplified via range for syntax. 2013-05-01 23:33:43 -04:00
Jason Felds 015a433caa Loop dealing with pointers to functions? 2013-05-01 23:32:29 -04:00
Jason Felds 03d2d5da75 Lots of PlayerNumber style loops. 2013-05-01 23:31:37 -04:00
Jason Felds d225713f3d ...why is this in a header file? 2013-05-01 23:25:04 -04:00
Jason Felds f4bd0a879d Blasted iterator math. 2013-05-01 23:24:32 -04:00
Jason Felds 1707d5d044 Oh joy: THIS file.
Take advantage of auto whenever possible.
2013-05-01 23:23:08 -04:00
Jason Felds bf2f771fd1 More loops here. 2013-05-01 23:17:51 -04:00
Jason Felds 66ee0769cc These loops are handled. 2013-05-01 23:14:23 -04:00
Jason Felds 2baca75e2b Keep the comment...updated?
Should we just remove this?
2013-05-01 23:13:30 -04:00
Jason Felds fb66e2139f Some more loops. 2013-05-01 23:12:51 -04:00
Flameshadowxeroshin 78d5be779f Add metric [Gameplay] UseInternalScoring.
Turn it off to prevent the game from touching custom scoring stuff. It is by default on.
2013-05-01 22:11:27 -05:00
Jason Felds 596056b8c3 Loops and...auto actors?
I think we have a new candidate for smart pointers.

The built in kind that is.
2013-05-01 23:11:07 -04:00