wmlparser3.py parsing single file containing mainline macros

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

Moderator: Forum Moderators

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

wmlparser3.py parsing single file containing mainline macros

Post by Smok »

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: 1432
Joined: February 10th, 2013, 2:25 pm

Re: wmlparser3.py parsing single file containing mainline ma

Post by gfgtdf »

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