Open FredrikLindgren opened 8 years ago
I was thinking only about GAME_IS/ENGINE_IS so you don't need to care about all those "REQUIRE_FILE" cases. New mods should never use REQUIRE_FILE and if, I will ask mod author to fix it when BWS Auto-Parser fails to get component-game/engine list.
Note to self: the way to do this would likely be by processing the records (tp_file->module_list->mod_flags) and analysing the TP tokens generated by the parser.
http://forums.pocketplane.net/index.php/topic,29454.0.html
Parse and print a component's predicates. This will probably require a fair amount of selectiveness. GAME_IS and other straightforward predicates should be no problem, but many others might be more cryptic.