rpgxef/code/game/entityDefParser/README
2012-12-08 00:38:21 +01:00

28 lines
517 B
Text

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.