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
|
2d01f3a649
|
Optimize references to player ship
|
2013-12-01 22:53:25 +00:00 |
|
Kp
|
1d073475e7
|
Mark various headers for C linkage
|
2013-10-20 22:49:11 +00:00 |
|
Kp
|
9210a3870e
|
Remove unused fields in struct player
|
2013-09-21 18:04:10 +00:00 |
|
Kp
|
83df42af8e
|
Fix loading of older save files
struct player_rw offsets must not change within a savefile version
|
2013-09-21 17:47:03 +00:00 |
|
Kp
|
f4b21088a0
|
Track vulcan ammo explicitly
|
2013-09-20 23:12:54 +00:00 |
|
Kp
|
a881ee455e
|
Remove fix.h
|
2013-08-08 03:01:48 +00:00 |
|
Kp
|
4577dd3977
|
Merge branch 'd2x-rebirth/master' into unification/master
|
2013-07-21 21:34:46 +00:00 |
|
Kp
|
8a153d1f63
|
Allow common headers with private dependencies to be used in common
|
2013-03-24 20:32:01 +00:00 |
|
Kp
|
3125d6bd52
|
Move */main/player.h -> common/main/player.h
|
2013-03-03 01:03:33 +00:00 |
|