[Wesnoth-dev] UtBS rewrite

2007-04-25 Thread Mist
As you probably (don't :) ) know I volunteered to do an WML rewrite of 
UtBS. After doing some work on the first scenario and in depth analysis 
of the rest, and surrounding utils there are two conclusions:

1) The present WML is rather unsalvageable, it's bloated, unprecise and 
conceptualy ugly. That means almost complete overhaul.

2) Because of 1) I can't guarantee that campaign will remain in working 
state all along. If keeping up compatibility with existing code will 
mean writing uglier than could be done otherwise, I'll drop the 
compatibility.

I'll start after 1.3.2, that means campaign will be probably unplayable 
in trunk before 1.3.3, and if not finished by then also further up. That 
infomation should be included in changelog.

cycholka


Rozlicz się sercem - przekaż 1% podatku.
1% Twojego podatku może uratować życie dziecka!
Jak przekazać 1% podatku potrzebującym? Kliknij i zobacz:
http://klik.wp.pl/?adr=www.jedenprocent.wp.plsid=



___
Wesnoth-dev mailing list
Wesnoth-dev@gna.org
https://mail.gna.org/listinfo/wesnoth-dev


Re: [Wesnoth-dev] UtBS rewrite

2007-04-25 Thread jeremy rosen
well, if a rewrite is needed, let's do a rewrite...


that's what dev versions are for :)


On 4/25/07, Mist [EMAIL PROTECTED] wrote:
 As you probably (don't :) ) know I volunteered to do an WML rewrite of
 UtBS. After doing some work on the first scenario and in depth analysis
 of the rest, and surrounding utils there are two conclusions:

 1) The present WML is rather unsalvageable, it's bloated, unprecise and
 conceptualy ugly. That means almost complete overhaul.

 2) Because of 1) I can't guarantee that campaign will remain in working
 state all along. If keeping up compatibility with existing code will
 mean writing uglier than could be done otherwise, I'll drop the
 compatibility.

 I'll start after 1.3.2, that means campaign will be probably unplayable
 in trunk before 1.3.3, and if not finished by then also further up. That
 infomation should be included in changelog.

 cycholka

 
 Rozlicz się sercem - przekaż 1% podatku.
 1% Twojego podatku może uratować życie dziecka!
 Jak przekazać 1% podatku potrzebującym? Kliknij i zobacz:
 http://klik.wp.pl/?adr=www.jedenprocent.wp.plsid=



 ___
 Wesnoth-dev mailing list
 Wesnoth-dev@gna.org
 https://mail.gna.org/listinfo/wesnoth-dev

___
Wesnoth-dev mailing list
Wesnoth-dev@gna.org
https://mail.gna.org/listinfo/wesnoth-dev


[Wesnoth-dev] WML event bug

2007-04-25 Thread Mark de Wever
Hi,

There an UtbS bug [1] which seems to expose some problems in the WML
event handling. Cycholka posted a testcase[2] made by Zookeeper. 

There are 2 units both with a die event.
* Unit 1, Jack, is stored 
* A third unit kills the second unit, Horsie
* The death event of the Horsie runs, kills Horsie and unstores Jack at
  the same location. Jack death event is also played.

What I think occurs is the game_event::fire finds both death events and
tries to run them. The handler verifies the filter applies to the
location where the event should occur and plays that event. 
First Hories event is found and played after that Jacks event is tested
and Jack is at the wrong time at the wrong place and is presumed dying.
So his event is also played.

If the definition of the death events are in the opposite order in the
scenario file the problem doesn't occur. I expect due to the fact that
then Jacks event is tested first, there's no Jack to be found so no
event.

Can somebody with more knowledge tell me whether my conclusions are
valid and also propose the best way to fix it. AFAIK it's allowed for a
unit to have more than one death event, so limiting to 1 event being run
won't fix the problem. Is what WML does really allowed or is this
bending the rules too far and should it be documented on the wiki as not
allowed?

Regards,
Mark de Wever aka Mordante/SkeletonCrew

[1] https://gna.org/bugs/index.php?8981
[2] https://gna.org/bugs/download.php?file_id=2265

___
Wesnoth-dev mailing list
Wesnoth-dev@gna.org
https://mail.gna.org/listinfo/wesnoth-dev


[Wesnoth-dev] solidifying the Void

2007-04-25 Thread Mark de Wever
Hi,

anybody against this idea? 
http://www.wesnoth.org/forum/viewtopic.php?t=15849

If not I'm going to look at it soon.

Regards,
Mark de Wever aka Mordante/SkeletonCrew

___
Wesnoth-dev mailing list
Wesnoth-dev@gna.org
https://mail.gna.org/listinfo/wesnoth-dev


Re: [Wesnoth-dev] wesnoth and python

2007-04-25 Thread Bruno Wolff III
On Wed, Apr 25, 2007 at 20:28:22 +0200,
  Elias Pschernig [EMAIL PROTECTED] wrote:
 
 1. We include the DLL - it comes with the official python installer,
 so it can't be that problematic to re-distribute it with the Windows
 installer, if otherwise it doesn't work.

I don't think it is safe to draw that conclusion without examining what
license the windows DLL is distributed under. It may not be compatible with
the GPL.

___
Wesnoth-dev mailing list
Wesnoth-dev@gna.org
https://mail.gna.org/listinfo/wesnoth-dev


Re: [Wesnoth-dev] solidifying the Void

2007-04-25 Thread Eric S. Raymond
Mark de Wever [EMAIL PROTECTED]:
 anybody against this idea? 
 http://www.wesnoth.org/forum/viewtopic.php?t=15849

No objection here.
-- 
a href=http://www.catb.org/~esr/;Eric S. Raymond/a

___
Wesnoth-dev mailing list
Wesnoth-dev@gna.org
https://mail.gna.org/listinfo/wesnoth-dev


[Wesnoth-dev] Duplicate image files in trunk

2007-04-25 Thread Eric S. Raymond
Wiith the NR merge coming up, I decided to give macroscope the
capability to find and detect cliques of duplicate files, so I
can drop redundant copies of images in NR.

You can generate this report by going to data/tools and typing

make collisions

My code uses MD5 hashing rather than byte-by-byte comparison, so 
this works pretty fast.

Here's a copy of the current report.  I deduce from this, for example,
that it ought to be possible to remove the file
data/campaigns/The_South_Guard/images/misc/cross.png.

%%
../../images/terrain/castle/elven/keep-wall-0-ne.png
../../images/terrain/castle/elven/keep-inside-ne.png
../../images/terrain/castle/elven/keep-wall-1-ne.png
../../images/terrain/castle/elven/keep-wall-ne.png
%%
../../images/terrain/cave/wall-rough-chasm-convex-nw.png
../../images/terrain/cave/wall-rough-convex-nw.png
%%
../../images/projectiles/wailprojectile-n-6.png
../../images/projectiles/wailprojectile-s-6.png
%%
../../images/terrain/castle/sunkenkeep-keep-e.png
../../images/terrain/castle/sunken-ruinkeep1-keep-e.png
%%
../../images/terrain/castle/encampment-concave-w.png
../../images/terrain/castle/encampment-convex-w.png
%%
../../images/projectiles/wailprojectile-n-4.png
../../images/projectiles/wailprojectile-s-4.png
%%
../../data/tutorial/images/units/elder-mage-ranged1.png
../../data/campaigns/Heir_To_The_Throne/images/units/elder-mage-ranged1.png
%%
../../data/tutorial/images/units/elder-mage-defend.png
../../data/campaigns/Heir_To_The_Throne/images/units/elder-mage-defend.png
%%
../../images/terrain/castle/sunkenkeep-inside-sw.png
../../images/terrain/castle/sunkenkeep-wall-sw.png
%%
../../data/tutorial/images/units/elder-mage-ranged3.png
../../data/campaigns/Heir_To_The_Throne/images/units/elder-mage-ranged3.png
%%
../../data/tutorial/images/units/human-princess-attack-1.png
../../data/campaigns/Heir_To_The_Throne/images/units/human-princess-attack-1.png
%%
../../images/terrain/castle/keep-wall-1-ne.png
../../images/terrain/castle/keep-wall-0-ne.png
../../images/terrain/castle/keep-inside-ne.png
../../images/terrain/castle/keep-wall-ne.png
%%
../../data/campaigns/Under_the_Burning_Suns/external_binary_data/images/UtBS_campaign_icon.png
../../data/campaigns/Under_the_Burning_Suns/images/newelves/kaleh.png
%%
../../data/campaigns/The_Rise_Of_Wesnoth/images/units/undead-vampirelady-defend.png
../../data/campaigns/The_Rise_Of_Wesnoth/images/units/undead-vampirelady-range.png
%%
../../images/terrain/castle/sunkenkeep-wall-1-nw.png
../../images/terrain/castle/sunkenkeep-wall-nw.png
../../images/terrain/castle/sunkenkeep-wall-0-nw.png
../../images/terrain/castle/sunkenkeep-inside-nw.png
%%
../../images/misc/bar-energy-enemy.png
../../images/misc/bar-energy.png
%%
../../data/campaigns/Heir_To_The_Throne/images/story/story9.png
../../data/campaigns/The_Rise_Of_Wesnoth/images/story/rough_landing.png
%%
../../images/terrain/castle/sunkenkeep-wall-0-ne.png
../../images/terrain/castle/sunkenkeep-inside-ne.png
../../images/terrain/castle/sunkenkeep-wall-1-ne.png
../../images/terrain/castle/sunkenkeep-wall-ne.png
%%
../../images/buttons/paste_button_editor-active.png
../../images/buttons/paste_button_editor.png
../../images/buttons/paste_button_editor-pressed.png
%%
../../data/campaigns/Eastern_Invasion/external_binary_data/images/EI_campaign_image.png
../../data/campaigns/Eastern_Invasion/images/portraits/gweddry.png
%%
../../images/terrain/castle/encampment-convex-se.png
../../images/terrain/castle/encampment-concave-se.png
%%
../../data/campaigns/Under_the_Burning_Suns/images/newelves/desert-elvish-archer+female-defend.png
../../data/campaigns/Under_the_Burning_Suns/images/newelves/desert-elvish-archer-defend.png
%%
../../data/campaigns/Under_the_Burning_Suns/external_binary_data/images/UtBS_difficulty_hard.png
../../data/campaigns/Under_the_Burning_Suns/images/newelves/desert-elvish-prowler.png
%%
../../images/terrain/lava-dcastle-ccw-nw.png
../../images/terrain/lava-dcastle-chasm-ccw-nw.png
%%
../../images/units/human-magi/white-mage+female-die-4.png
../../images/units/human-magi/white-mage-die-4.png
%%
../../images/buttons/group_castle-active.png
../../images/buttons/group_castle-active-pressed.png
%%
../../data/campaigns/Under_the_Burning_Suns/images/newelves/desert-elvish-sharpshooter-defend.png
../../data/campaigns/Under_the_Burning_Suns/images/newelves/desert-elvish-sharpshooter+female-defend.png
%%
../../data/tutorial/images/portraits/lisar.png
../../data/campaigns/Heir_To_The_Throne/images/portraits/lisar.png
%%
../../images/items/bones.png
../../data/campaigns/Under_the_Burning_Suns/images/items/bones.png
%%
../../data/tutorial/images/units/human-princess-defend.png
../../data/campaigns/Heir_To_The_Throne/images/units/human-princess-defend.png
%%
../../images/terrain/castle/sunkenkeep-keep-se.png
../../images/terrain/castle/sunken-ruinkeep1-keep-se.png
%%
../../data/campaigns/Under_the_Burning_Suns/external_binary_data/images/UtBS_difficulty_challenging.png