Commit Graph
100 Commits
Author SHA1 Message Date
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
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
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
Jason Felds a762a7c882 Simple loops. 2013-05-01 23:08:56 -04:00
Jason Felds fdda57beee Rage Sound is complicated. 2013-05-01 23:07:42 -04:00
Jason Felds b7c07d6fe6 Attempt to simplify some loops. 2013-05-01 23:05:43 -04:00
Jason Felds 9d237ae779 A non-windows loop. 2013-05-01 23:02:27 -04:00
Jason Felds 9d19421b7a Another simple one. 2013-05-01 23:01:55 -04:00
Jason Felds e61e09973a Simple loop. 2013-05-01 23:01:11 -04:00
Jason Felds 77e4c710c4 Good variety of loops. 2013-05-01 23:00:25 -04:00
Jason Felds d67a0fd1de Good variety of loops. 2013-05-01 22:51:50 -04:00
Jason Felds 33ca2a3410 Another old style one 2013-05-01 22:44:34 -04:00
Jason Felds 852e1cf8b0 Use the old style loops. 2013-05-01 22:43:42 -04:00
Jason Felds 45b1631e09 Another loop with deleting.
...unsure how maintained this file will be.
2013-05-01 22:42:24 -04:00
Jason Felds a013d6faa3 Loop and refactor. 2013-05-01 22:41:43 -04:00
Jason Felds 5781c827e1 Two loops. 2013-05-01 22:39:10 -04:00
Jason Felds d1bf7fbc58 One loop. 2013-05-01 22:38:02 -04:00
Jason Felds 317537b575 Range for with an iterator? Huh. 2013-05-01 22:37:28 -04:00
Jason Felds 9ffac354d5 Three loops here. 2013-05-01 22:36:47 -04:00
Jason Felds b32ff0504c Gotta love loops that can be done with any_of. 2013-05-01 22:35:35 -04:00
Jason Felds fb792a5560 Two loops here. 2013-05-01 22:34:05 -04:00
Jason Felds 93ab2afccc Good number of loops here. 2013-05-01 22:23:49 -04:00
Jason Felds 792ecf427d One loop. 2013-05-01 22:19:27 -04:00
Jason Felds 3f3ea20a3a One loop. 2013-05-01 22:16:53 -04:00
Jason Felds 1766edc691 Two loops. 2013-05-01 22:15:38 -04:00
Jason Felds b4de5421b7 Make this loop slightly more efficient. 2013-05-01 22:14:35 -04:00
Jason Felds ede7d80dbd Not so simple one. 2013-05-01 22:12:41 -04:00
Jason Felds 50ffcebb09 Simple loops here. 2013-05-01 22:11:40 -04:00
Jason Felds c788253faa simple one. 2013-05-01 22:10:36 -04:00
Jason Felds bec4640ee3 Much simpler implementations for the loops.
Who needs iterators?
2013-05-01 22:08:23 -04:00
Jason Felds 9aef74918f Personal reminder for things.
Yes, I know this forces recompilation.

Headers will not be spared.
2013-05-01 22:06:27 -04:00
Jason Felds 07caab3ab4 Simple one. 2013-05-01 22:04:20 -04:00
Jason Felds d945ee21cb NoteData handled. 2013-05-01 22:03:47 -04:00
Jason Felds 2b12717c02 One loop here. 2013-05-01 22:01:42 -04:00
Jason Felds 905e7bdedd Simple one. 2013-05-01 22:01:18 -04:00
Jason Felds f50cd1f0b7 More loops, more deletion spots. 2013-05-01 22:00:32 -04:00
Jason Felds 8804288aea Another deletion smart pointer possible loop. 2013-05-01 21:58:47 -04:00
Jason Felds 22eea07264 Simple loop. Another smart pointer watch spot. 2013-05-01 21:57:46 -04:00
Jason Felds 7180cc4acd Back to a simple loop. 2013-05-01 21:56:57 -04:00
Jason Felds f8315d19f2 Use the library. 2013-05-01 21:56:25 -04:00
Jason Felds f2dbe7ccdb Utilize the algorithm approach. 2013-05-01 21:55:47 -04:00
Jason Felds 6069744cf2 Another deletion loop.
Another opportunity for a smart pointer.
2013-05-01 21:52:48 -04:00
Jason Felds 0976455ec8 One loop here.
Note: braces required with some of these macros.

Another reason to look into getting rid of them.
2013-05-01 21:51:56 -04:00
Jason Felds 9efec5e244 One loop here. 2013-05-01 21:51:05 -04:00
Jason Felds ddd85d1f42 Another loop...wait.
This just screams smart pointer control.
2013-05-01 21:49:29 -04:00
Jason Felds cfd75da986 Player loops are handled. 2013-05-01 21:48:22 -04:00
Jason Felds c759c4770f Loop and efficiency boost.
No need to loop the structure twice.
2013-05-01 21:41:20 -04:00
Jason Felds 3a97e3cba4 Two loops here. 2013-05-01 21:38:23 -04:00
Jason Felds 79cc4327ac Just one loop here. 2013-05-01 21:35:31 -04:00
Jason Felds caa1c30419 Few loops here. 2013-05-01 21:24:42 -04:00
Jason Felds 828e52e012 Some loops here. Wanted to for_each some. 2013-05-01 21:22:39 -04:00
Jason Felds 7622c417ab One more left in here. 2013-04-30 23:26:39 -04:00
Jason Felds 3c9a40d6e5 Explicitly use the old style. 2013-04-30 23:24:41 -04:00
Jason Felds c7269b63ff Handle the files either skipped or not on windows. 2013-04-30 23:24:29 -04:00
Jason Felds 3d52695085 Simple one to fix here. 2013-04-30 23:14:10 -04:00
Jason Felds 0bd79b9984 Loops plus minor improvements. 2013-04-30 23:11:53 -04:00
Jason Felds 0897ce48e4 Another one similar. 2013-04-30 23:07:23 -04:00
Jason Felds fac8c17706 Loop with a shortcut variable. 2013-04-30 23:06:23 -04:00
Jason Felds 58dbdd7d9e Simple ones. 2013-04-30 23:04:28 -04:00
Jason Felds 438d7a5305 Nested loops were simple. 2013-04-30 23:03:45 -04:00
Jason Felds 860699988b Another simple one. 2013-04-30 23:02:20 -04:00
Jason Felds 9cbcf304a6 Simple one to fix. 2013-04-30 23:01:47 -04:00
Jason Felds 46824a6fbb More loops and count_ifs. 2013-04-30 23:00:39 -04:00
Jason Felds c09a2a0e0d Loop plus post increment trickery. 2013-04-30 22:54:49 -04:00
Jason Felds a0fe49fa8b Replace loop with any_of. 2013-04-30 22:53:57 -04:00
Jason Felds eb5e380edf Even simpler. 2013-04-30 22:51:49 -04:00
Jason Felds efb0a386f4 Simple loop here. 2013-04-30 22:51:19 -04:00
Jason Felds be91b56a63 Loops and a const. 2013-04-30 22:50:43 -04:00
Jason Felds de6515ddf5 Just two here. 2013-04-30 22:47:28 -04:00
Jason Felds bb634d57ac Another batch of loops. 2013-04-30 22:46:14 -04:00