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
|
86c49079a1
|
Move rod_points onto stack
|
2013-11-28 00:27:43 +00:00 |
|
Kp
|
c47d1b3d30
|
Move lrgb_list onto stack
|
2013-11-28 00:27:43 +00:00 |
|
Kp
|
86a6f4b18b
|
Mark rod.cpp uvl_list[] static
|
2013-11-28 00:27:43 +00:00 |
|
Kp
|
2714679284
|
Mark private functions static
|
2013-11-02 04:23:55 +00:00 |
|
Kp
|
8ed99faf5c
|
Make headers freestanding
|
2013-10-26 03:50:28 +00:00 |
|
Kp
|
f9899a9f20
|
Mark various functions static
|
2013-10-03 03:11:51 +00:00 |
|
Kp
|
a881ee455e
|
Remove fix.h
|
2013-08-08 03:01:48 +00:00 |
|
Kp
|
528d2e3ee7
|
Mark must_clip_tmap_face static
|
2013-08-07 03:04:11 +00:00 |
|
Kp
|
2c8aa517bc
|
Mark must_clip_flat_face static
|
2013-08-07 03:03:55 +00:00 |
|
Kp
|
d97e7b468b
|
Move common/3d/setup.c -> common/3d/setup.cpp
|
2013-08-03 17:45:22 +00:00 |
|
Kp
|
040216910f
|
Move common/3d/rod.c -> common/3d/rod.cpp
|
2013-08-03 17:45:22 +00:00 |
|
Kp
|
fe9f99ead8
|
Move common/3d/points.c -> common/3d/points.cpp
|
2013-08-03 17:45:22 +00:00 |
|
Kp
|
eaf449e144
|
Move common/3d/matrix.c -> common/3d/matrix.cpp
|
2013-08-03 17:45:22 +00:00 |
|
Kp
|
03832a8752
|
Move common/3d/instance.c -> common/3d/instance.cpp
|
2013-08-03 17:45:22 +00:00 |
|
Kp
|
1274540315
|
Move common/3d/globvars.c -> common/3d/globvars.cpp
|
2013-08-03 17:45:22 +00:00 |
|
Kp
|
eb65b73b2a
|
Move common/3d/draw.c -> common/3d/draw.cpp
|
2013-08-03 17:45:22 +00:00 |
|
Kp
|
adfbb4129d
|
Move common/3d/clipper.c -> common/3d/clipper.cpp
|
2013-07-27 22:30:54 +00:00 |
|
Kp
|
74bcb86cf4
|
Remove some const modifiers that broke SDL-only build
|
2013-07-27 21:29:01 +00:00 |
|
Kp
|
4577dd3977
|
Merge branch 'd2x-rebirth/master' into unification/master
|
2013-07-21 21:34:46 +00:00 |
|
Kp
|
a1ba420031
|
Mark various parameters and variables as const
|
2013-07-20 23:12:24 +00:00 |
|
Kp
|
012d8e249b
|
Merge branch d1x-rebirth/master into unification/master
|
2013-07-19 22:32:28 +00:00 |
|
Kp
|
2fc1cba2b5
|
Move */3d -> common/3d
Move all the common 3d/ code into a common directory. Substantial
differences exist in 3d/interp.c, so it is not yet common.
|
2013-03-03 01:03:33 +00:00 |
|