rpgxef/code/game/entityDefParser
2012-12-08 00:48:25 +01:00
..
LICENSE Added licenses for luaDefParser and entityDefParser 2012-12-08 00:48:25 +01:00
quaked.l Added licenses for luaDefParser and entityDefParser 2012-12-08 00:48:25 +01:00
README Moved luaDefParser and entityDefParser to a new location 2012-12-08 00:38:21 +01:00

Entity Definitions Parser

Required tools:
	Linux:
		* flex
	Windows:
		* mingw

Building:
	Linux:
		flex quake.l
		gcc lex.yy.c -o entityDefParser -lfl
	Mac:
		flex quake.l
		gcc lex.yy.c -o entityDefParser -lfl
	Windows:
		flex quake.l
		gcc lex.yy.c -o entityDefParser /lib/libfl.a

Usage:
	./entityDefParser <code file> <output file>

Example:
	./entityDefParser game/g_mover.c hm_entities.def
	./entityDefParser game/g_fx.c
	
	Will produce a def file including all entity definitions from
	g_mover.c and g_fx.c.