mirror of
https://github.com/UberGames/rpgxEF.git
synced 2024-11-15 01:11:25 +00:00
28 lines
517 B
Text
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.
|