wmlparser3.py parsing single file containing mainline macros

Discussion of all aspects of the game engine, including development of new and existing features.

Moderators: Forum Moderators, Developers

wmlparser3.py parsing single file containing mainline macros

Postby Smok » April 1st, 2017, 8:08 am

When I try to parse simple era file containing RANDOM_SIDE macro, program breaks. I bet its becouse preprcesor deosen recognize this macro. Is there way to parse non-core files that have core macros? Btw. Is there way to load macro definitions into tree?
Smok
 
Posts: 48
Joined: June 14th, 2016, 11:52 am

Re: wmlparser3.py parsing single file containing mainline ma

Postby gfgtdf » April 1st, 2017, 11:26 am

afaik a similar issue was recently fixed in https://github.com/wesnoth/wesnoth/comm ... e3a971112a . Hope this helps.
Scenario with Robots SP scenario (1.11/1.12), allows you to build your units with components, PYR No preperation turn 1.12 mp-mod that allows you to select your units immideately after the game begins.
gfgtdf
Developer
 
Posts: 857
Joined: February 10th, 2013, 2:25 pm


Return to Coder’s Corner

Who is online

Users browsing this forum: No registered users and 3 guests