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

Post Reply
Smok
Posts: 52
Joined: June 14th, 2016, 11:52 am

wmlparser3.py parsing single file containing mainline macros

Post by 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?

gfgtdf
Developer
Posts: 1110
Joined: February 10th, 2013, 2:25 pm

Re: wmlparser3.py parsing single file containing mainline ma

Post by 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.

Post Reply