Commit Graph

20 Commits

Author SHA1 Message Date
Martin Natano bacecae1f7 Decouple <vector> 2023-04-21 22:13:41 +02:00
Martin Natano b68ca517e6 Clean up math functions
- Remove checking for standard functions from the build system
- Prefix all invocations with std::
- Replace suffixed functions with unprefixed versions
- Include <cmath> in all files that use it and remove the global include

e.g. floorf(x) -> std::floor(x)
2023-04-19 19:31:40 +02:00
Michael Sundqvist 0cba3579de Remove global "using namespace std;" declarations, use "std::" prefixes on all std elements
Fix whitespace changes
2022-07-31 22:14:38 +02:00
teejusb 7e3789b131 Integrate C++11 branch into 5_1-new 2019-06-22 12:35:38 -07:00
Devin J. Pohly 5d9c3aaa59 propagate Attack::GetAttackBeats precondition 2013-11-02 00:58:01 -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 c788253faa simple one. 2013-05-01 22:10:36 -04:00
Jason Felds c07d4cf78f Let Mac OS X have goodies. 2013-04-29 23:37:10 -04:00
Jason Felds bebfd47b26 Loop and goodie. 2013-04-28 23:09:45 -04:00
Jason Felds 1fc16698ba War on -Werror, part 12: explicit bool usage.
It may save a few cycles, but it's best to be
explicit on boolean operations, especially with
ASSERT.
2012-12-27 11:38:53 -05:00
Jason Felds 55e1eff14c Quick way to get the number of attacks. 2012-05-21 21:10:10 -04:00
Jason Felds 0f6d4cd813 Adjust attacks on offset change.
Should we ever store the other timing segments in
seconds and not beats in the future, we may want
to use this.
2011-06-30 13:35:25 -04:00
Jason Felds 5ce88d4b54 Attacks can be saved in the editor.
It's more flexible to do it by hand though.
2011-06-24 22:11:07 -04:00
Jason Felds 7fa6620423 [splittiming] m_Position needed. (50) 2011-05-10 14:45:52 -04:00
Jason Felds 9cb41af5f4 [splittiming] All but ScreenEdit. (67) 2011-05-09 21:11:33 -04:00
Jason Felds a085d0d1da Line endings...be normalized! 2011-03-17 01:47:30 -04:00
Jason Felds e9df4832f6 Bring shadowed variables back from the dark side.
Alright Colby, happy now?
2011-03-14 02:54:11 -04: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