URL:
<http://gna.org/bugs/?19985>
Summary: terrain_mask defigure the output of the map editor
Project: Battle for Wesnoth
Submitted by: natasiel
Submitted on: Thu 26 Jul 2012 11:36:23 PM GMT
Category: Bug
Severity: 2 - Minor
Priority: 5 - Normal
Item Group: Editor
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: svn 54851
Operating System: GNU/Linux
_______________________________________________________
Details:
I've put the whole addon to display the regression.
1. ./World_Conquest/maps/castle{0,1,2}.mask
are the original maps made with the 1.10 editor.
2. ./World_Conquest/maps-1.11/castle{0,1,2}.mask
are the same maps loaded in the 1.11 editor then saved.
Have a look at the different data structures.
Now if you want to test what happens when using the new version; simply change
line 85 of
./World_Conquest/scenarios/dr_definitions.cfg
from: {DR_definition_CASTLE_old}
to: {DR_definition_CASTLE_new}
You can see the differences in the way to load each mask on the few lines
above.
While both seems to have about the same data field, there is a translation of
the origin to new coordinates (which doesn't really matter since a constant
can be applied to get it back right); but you'll also notice how alignment is
wrong.
ASCII art!
_ _
/ \_/ \_/ \
\_/B\_/ \_/
/A\_/D\_/ \
\_/C\_/ \_/
/ \_/ \_/ \
We are supposed to have:
A= 1,2
B= 2,1
C= 2,2
D= 3,2
When the mask is applied, it's hex set is inaccurately being translated as:
A= 1,2
B= 2,0
C= 2,1
D= 3,2
At the end, it shows something like:
_ _
/ \_/ \_/ \
\_/B\_/ \_/
/ \_/ \_/ \
\_/C\_/ \_/
/A\_/D\_/ \
Hope that helps,
Dom.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thu 26 Jul 2012 11:36:23 PM GMT Name: World_Conquest-120726.tar.gz
Size: 33kB By: natasiel
<http://gna.org/bugs/download.php?file_id=16205>
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?19985>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs