dxx-rebirth/d2x-rebirth/main
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
..
bmread.cpp Move d2x-rebirth/main/bmread.c -> d2x-rebirth/main/bmread.cpp 2013-12-01 23:24:33 +00:00
descent.cfg
escort.cpp Make Escort_goal_text [][] from *[] 2013-11-28 02:09:45 +00:00
gamepal.cpp Move d2x-rebirth/main/gamepal.c -> d2x-rebirth/main/gamepal.cpp 2013-11-09 18:07:28 +00:00
inferno.ini
movie.cpp Invert sense of hires/lowres options 2013-11-24 22:57:36 +00:00
movie.h Switch to C++ linkage 2013-12-06 03:35:32 +00:00
segment.cpp Move d2x-rebirth/main/segment.c -> d2x-rebirth/main/segment.cpp 2013-11-09 18:07:28 +00:00