mirror of
https://github.com/UberGames/rpgxEF.git
synced 2025-02-23 04:21:04 +00:00
18 lines
335 B
Text
18 lines
335 B
Text
|
Entity Definitions Parser
|
||
|
|
||
|
Required tools:
|
||
|
* flex
|
||
|
|
||
|
Building
|
||
|
flex quake.l
|
||
|
gcc lex.yy.c -o entityDefParser -lfl
|
||
|
|
||
|
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.
|