Kp
|
37aac31d0c
|
Switch i2f/f2i to inline functions
|
2015-09-19 23:04:36 +00:00 |
|
Kp
|
0141e9ed78
|
Remove redundant fix_sincos calls
The result is immediately overwritten. Skip computing it.
|
2015-06-02 03:03:32 +00:00 |
|
Bradley Bell
|
bdacd2f7d7
|
change u_int*_t to C99 standard uint*_t
|
2015-05-18 17:12:53 -07:00 |
|
Kp
|
6431b9d821
|
Include <cstdint> for maths.h
|
2015-04-30 03:32:26 +00:00 |
|
Kp
|
a5b83d19de
|
Simplify fix_sin/fix_cos calls
|
2015-04-29 03:35:09 +00:00 |
|
Kp
|
90fbebf8fd
|
Convert most global arrays to array<>
|
2015-04-02 02:36:52 +00:00 |
|
Kp
|
1c58627aa3
|
Remove unused cos from fix_fastsincos
|
2015-02-05 03:03:50 +00:00 |
|
Kp
|
4f11c2516f
|
Add convenience methods fix_sin, fix_cos
|
2015-02-05 03:03:50 +00:00 |
|
Kp
|
4c8f3a47b5
|
Convert frequently used casts to C++ casts
|
2015-02-05 03:03:49 +00:00 |
|
Kp
|
a8784bc486
|
Fold fixmul calls to fixmul64
|
2015-02-05 03:03:48 +00:00 |
|
Kp
|
0ec8b6671f
|
Use native int64 math for fixmulaccum
|
2014-08-16 17:43:56 +00:00 |
|
Kp
|
ceeaadb940
|
Add native int64 to quadint struct
|
2014-08-16 17:42:34 +00:00 |
|
Kp
|
62c656c00c
|
Pass quadint to quad_sqrt
|
2014-08-08 02:53:57 +00:00 |
|
Kp
|
279d39a2d7
|
Inline fixdivquadlong
|
2014-08-08 02:53:26 +00:00 |
|
zico
|
ad7cb106bc
|
Changed custom D1X license to GPLv3
|
2014-06-01 19:55:23 +02:00 |
|
Kp
|
9de54cfa74
|
Switch to C++ linkage
import fileinput
guard = 0
cxxguard = '#ifdef __cplusplus\n'
for line in fileinput.input(inplace=True):
if line == cxxguard:
guard = 1
continue
if guard:
if line == 'extern "C" {\n':
guard = 2
continue
if line == '}\n':
guard = 0
continue
if guard == 2:
assert(line == '#endif\n')
guard = 0
print cxxguard,
continue
print line,
|
2013-12-06 03:35:32 +00:00 |
|
Kp
|
f11e787ef3
|
Use helper for bounding check
|
2013-11-08 03:14:44 +00:00 |
|
Kp
|
eb65b73b2a
|
Move common/3d/draw.c -> common/3d/draw.cpp
|
2013-08-03 17:45:22 +00:00 |
|
Kp
|
c80a824136
|
Move common/2d/line.c -> common/2d/line.cpp
|
2013-07-27 22:30:54 +00:00 |
|
Kp
|
4577dd3977
|
Merge branch 'd2x-rebirth/master' into unification/master
|
2013-07-21 21:34:46 +00:00 |
|
Kp
|
85c66cad08
|
Move */include/maths.h -> common/include/maths.h
|
2013-03-03 01:03:33 +00:00 |
|