teejusb
53dcbed80d
Revert "Change some RString methods to free functions"
2025-06-22 23:31:56 -07:00
Arthur Eubanks
995f0ea8c1
Change some RString methods to free functions
...
These ones aren't a std::string method. Doing this helps the RString to
std::string migration.
2025-05-17 14:02:12 -07:00
Arthur Eubanks
ecfcb11a00
Remove implicit conversion operator from RString to const char*
...
This is required for the RString to std::string migration.
Mostly automated from https://github.com/aeubanks/rewriter/blob/main/c_str.cc , with some manual intervention required for fixing up `a + b.c_str()` to `(a + b).c_str()`.
Added some overloads for some common global functions like sm_crash to reduce the number of changes required here.
2025-05-15 21:14:54 -07:00
sukibaby
856f6b3058
Revert to the old RadianToDegree method
...
Doesn't seem to be getting called, but prefer to maintain the original behavior to reduce uncertainty.
2024-10-01 01:50:16 -07:00
sukibaby
6a2de50101
Remove RadianToDegree macro from ModelTypes
...
We can remove two macros from RageMath which are only used in a single place.
2024-08-07 00:58:18 -07:00
sukibaby
a1c316cfc7
Initialize variables in ModelTypes
2024-08-07 00:52:04 -07: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
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
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
3171f15df2
I should be using + instead of += apparently.
...
Yay for ##c++ for pointing this out.
2013-04-30 20:36:04 -04:00
Jason Felds
9a968a21f8
Okay, feel better about this.
2013-04-28 17:24:18 -04:00
Jason Felds
1823419009
Attempt this commit on Xcode.
2013-04-28 17:04:22 -04:00
Jason Felds
a085d0d1da
Line endings...be normalized!
2011-03-17 01:47:30 -04:00
AJ Kelly
985edeaa6b
slight style cleanup
2011-01-09 00:34:16 -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