Merged 2006-10-09T16:39:28Z!lari.nieminen@iki.fi into trunk

This commit is contained in:
Isaac Clerencia Perez 2006-10-10 06:29:59 +00:00
parent 737f2b6f71
commit 3a994b8bc6
9 changed files with 204 additions and 121 deletions

View file

@ -84,7 +84,7 @@ Special Notes:"+{SPECIAL_NOTES_LEADERSHIP}
[animation]
hits=no
[frame]
begin=-225
begin=-200
end=-175
image="units/drakes/flameheart.png"
[/frame]
@ -95,23 +95,23 @@ Special Notes:"+{SPECIAL_NOTES_LEADERSHIP}
[/frame]
[frame]
begin=-100
end=75
end=50
image="units/drakes/flameheart-attack-close2.png"
sound={SOUND_LIST:MISS}
[/frame]
[frame]
begin=75
end=125
begin=50
end=100
image="units/drakes/flameheart-lead.png"
[/frame]
[frame]
begin=125
end=225
begin=100
end=175
image="units/drakes/flameheart-flying.png"
[/frame]
[frame]
begin=225
end=250
begin=175
end=200
image="units/drakes/flameheart.png"
[/frame]
[/animation]
@ -134,18 +134,18 @@ Special Notes:"+{SPECIAL_NOTES_LEADERSHIP}
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[frame]
begin=75
end=125
begin=50
end=100
image="units/drakes/flameheart-lead.png"
[/frame]
[frame]
begin=125
end=225
begin=100
end=175
image="units/drakes/flameheart-flying.png"
[/frame]
[frame]
begin=225
end=250
begin=175
end=200
image="units/drakes/flameheart.png"
[/frame]
[/animation]

View file

@ -138,18 +138,18 @@ Special Notes:"+{SPECIAL_NOTES_LEADERSHIP}
[/frame]
[frame]
begin=-75
end=75
end=100
image="units/drakes/flare-attack-close.png"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[frame]
begin=75
end=200
begin=100
end=175
image="units/drakes/flare-flying.png"
[/frame]
[frame]
begin=200
end=225
begin=175
end=200
image="units/drakes/flare.png"
[/frame]
[/animation]

View file

@ -97,12 +97,12 @@ Special Notes:"+{SPECIAL_NOTES_MARKSMAN}
[animation]
hits=no
[frame]
begin=-225
end=-200
begin=-200
end=-175
image="units/drakes/hurricane.png"
[/frame]
[frame]
begin=-200
begin=-175
end=-150
image="units/drakes/hurricane-attack-ranged-fire1.png"
[/frame]
@ -113,35 +113,35 @@ Special Notes:"+{SPECIAL_NOTES_MARKSMAN}
[/frame]
[frame]
begin=-75
end=75
end=50
image="units/drakes/hurricane-attack-melee2.png"
sound={SOUND_LIST:MISS}
[/frame]
[frame]
begin=75
end=150
begin=50
end=125
image="units/drakes/hurricane-flying.png"
[/frame]
[frame]
begin=150
end=200
begin=125
end=175
image="units/drakes/hurricane-attack-melee1.png"
[/frame]
[frame]
begin=200
end=225
begin=175
end=200
image="units/drakes/hurricane.png"
[/frame]
[/animation]
[animation]
hits=yes
[frame]
begin=-225
end=-200
begin=-200
end=-175
image="units/drakes/hurricane.png"
[/frame]
[frame]
begin=-200
begin=-175
end=-150
image="units/drakes/hurricane-attack-ranged-fire1.png"
[/frame]
@ -152,23 +152,23 @@ Special Notes:"+{SPECIAL_NOTES_MARKSMAN}
[/frame]
[frame]
begin=-75
end=75
end=50
image="units/drakes/hurricane-attack-melee2.png"
sound=club.ogg
[/frame]
[frame]
begin=75
end=150
begin=50
end=125
image="units/drakes/hurricane-flying.png"
[/frame]
[frame]
begin=150
end=200
begin=125
end=175
image="units/drakes/hurricane-attack-melee1.png"
[/frame]
[frame]
begin=200
end=225
begin=175
end=200
image="units/drakes/hurricane.png"
[/frame]
[/animation]

View file

@ -96,12 +96,12 @@ Special Notes:"+{SPECIAL_NOTES_MARKSMAN}
[animation]
hits=no
[frame]
begin=-225
end=-200
begin=-200
end=-175
image="units/drakes/sky.png"
[/frame]
[frame]
begin=-200
begin=-175
end=-150
image="units/drakes/sky-ranged-impact.png"
[/frame]
@ -112,23 +112,23 @@ Special Notes:"+{SPECIAL_NOTES_MARKSMAN}
[/frame]
[frame]
begin=-75
end=75
end=50
image="units/drakes/sky-attack-melee2.png"
sound={SOUND_LIST:MISS}
[/frame]
[frame]
begin=75
end=150
begin=50
end=125
image="units/drakes/sky-defend.png"
[/frame]
[frame]
begin=150
end=200
begin=125
end=175
image="units/drakes/sky-attack-melee1.png"
[/frame]
[frame]
begin=200
end=225
begin=275
end=200
image="units/drakes/sky.png"
[/frame]
[/animation]
@ -151,23 +151,23 @@ Special Notes:"+{SPECIAL_NOTES_MARKSMAN}
[/frame]
[frame]
begin=-75
end=75
end=50
image="units/drakes/sky-attack-melee2.png"
sound=club.ogg
[/frame]
[frame]
begin=75
end=150
begin=50
end=125
image="units/drakes/sky-defend.png"
[/frame]
[frame]
begin=150
end=200
begin=125
end=175
image="units/drakes/sky-attack-melee1.png"
[/frame]
[frame]
begin=200
end=225
begin=275
end=200
image="units/drakes/sky.png"
[/frame]
[/animation]

View file

@ -39,40 +39,60 @@ Special Notes:"+{SPECIAL_NOTES_POISON}
[animation]
hits=yes
[frame]
begin=-400
begin=-250
end=-200
image="units/goblins/direwolver-moving.png"
image="units/goblins/direwolver.png"
sound=wolf-big-bite.ogg
[/frame]
[frame]
begin=-200
end=0
end=-100
image="units/goblins/direwolver-moving.png"
[/frame]
[frame]
begin=-100
end=50
image="units/goblins/direwolver-attack.png"
[/frame]
[frame]
begin=0
end=200
begin=50
end=100
image="units/goblins/direwolver-moving.png"
[/frame]
[frame]
begin=100
end=200
image="units/goblins/direwolver.png"
[/frame]
[/animation]
[animation]
hits=no
[frame]
begin=-400
begin=-250
end=-200
image="units/goblins/direwolver-moving.png"
image="units/goblins/direwolver.png"
sound=wolf-big-bite-miss.ogg
[/frame]
[frame]
begin=-200
end=0
end=-100
image="units/goblins/direwolver-moving.png"
[/frame]
[frame]
begin=-100
end=50
image="units/goblins/direwolver-attack.png"
[/frame]
[frame]
begin=0
end=200
begin=50
end=100
image="units/goblins/direwolver-moving.png"
[/frame]
[frame]
begin=100
end=200
image="units/goblins/direwolver.png"
[/frame]
[/animation]
[/attack]
[attack]
@ -85,43 +105,64 @@ Special Notes:"+{SPECIAL_NOTES_POISON}
[specials]
{WEAPON_SPECIAL_POISON}
[/specials]
[animation]
hits=no
[frame]
begin=-250
end=-100
image="units/goblins/direwolver-moving.png"
[/frame]
[frame]
begin=-100
end=100
image="units/goblins/direwolver-attack.png"
sound={SOUND_LIST:MISS}
[/frame]
[frame]
begin=100
end=200
image="units/goblins/direwolver-moving.png"
[/frame]
[/animation]
[animation]
hits=yes
[frame]
begin=-250
end=-200
image="units/goblins/direwolver.png"
sound=wolf-big-bite.ogg
[/frame]
[frame]
begin=-200
end=-100
image="units/goblins/direwolver-moving.png"
[/frame]
[frame]
begin=-100
end=100
end=50
image="units/goblins/direwolver-attack.png"
sound=claws.ogg
[/frame]
[frame]
begin=50
end=100
image="units/goblins/direwolver-moving.png"
[/frame]
[frame]
begin=100
end=200
image="units/goblins/direwolver.png"
[/frame]
[/animation]
[animation]
hits=no
[frame]
begin=-250
end=-200
image="units/goblins/direwolver.png"
[/frame]
[frame]
begin=-200
end=-100
image="units/goblins/direwolver-moving.png"
[/frame]
[frame]
begin=-100
end=50
image="units/goblins/direwolver-attack.png"
sound={SOUND_LIST:MISS}
[/frame]
[frame]
begin=50
end=100
image="units/goblins/direwolver-moving.png"
[/frame]
[frame]
begin=100
end=200
image="units/goblins/direwolver.png"
[/frame]
[/animation]
[/attack]
[idle_anim]

View file

@ -39,39 +39,59 @@ The wolves they are given are bred for speed and strength, making them quite dan
[animation]
hits=yes
[frame]
begin=-400
begin=-250
end=-200
image="units/goblins/knight-moving.png"
image="units/goblins/knight.png"
sound=wolf-big-bite.ogg
[/frame]
[frame]
begin=-200
end=-100
image="units/goblins/knight-moving.png"
[/frame]
[frame]
begin=-100
end=50
image="units/goblins/knight-attack.png"
[/frame]
[frame]
begin=50
end=150
image="units/goblins/knight-defend.png"
end=100
image="units/goblins/knight-moving.png"
[/frame]
[frame]
begin=100
end=200
image="units/goblins/knight.png"
[/frame]
[/animation]
[animation]
hits=no
[frame]
begin=-400
begin=-250
end=-200
image="units/goblins/knight-moving.png"
image="units/goblins/knight.png"
sound=wolf-big-bite-miss.ogg
[/frame]
[frame]
begin=-200
end=-100
image="units/goblins/knight-moving.png"
[/frame]
[frame]
begin=-100
end=50
image="units/goblins/knight-attack.png"
[/frame]
[frame]
begin=50
end=150
image="units/goblins/knight-defend.png"
end=100
image="units/goblins/knight-moving.png"
[/frame]
[frame]
begin=100
end=200
image="units/goblins/knight.png"
[/frame]
[/animation]
[/attack]

View file

@ -40,13 +40,13 @@ Special Notes:"+{SPECIAL_NOTES_SLOW}
[animation]
hits=no
[frame]
begin=-300
end=-200
begin=-200
end=-100
image="units/goblins/pillager-moving.png"
sound=torch-miss.ogg
[/frame]
[frame]
begin=-200
begin=-100
end=50
image="units/goblins/pillager-attack.png"
[/frame]
@ -59,13 +59,13 @@ Special Notes:"+{SPECIAL_NOTES_SLOW}
[animation]
hits=yes
[frame]
begin=-300
end=-200
begin=-200
end=-100
image="units/goblins/pillager-moving.png"
sound=torch.ogg
[/frame]
[frame]
begin=-200
begin=-100
end=50
image="units/goblins/pillager-attack.png"
[/frame]

View file

@ -40,40 +40,60 @@ Wolves, likely, could never support the weight of a man in plate, but a goblin i
[animation]
hits=yes
[frame]
begin=-400
begin=-250
end=-200
image="units/goblins/wolf-rider-moving.png"
image="units/goblins/wolf-rider.png"
sound=wolf-bite.ogg
[/frame]
[frame]
begin=-200
end=0
end=-100
image="units/goblins/wolf-rider-moving.png"
[/frame]
[frame]
begin=-100
end=50
image="units/goblins/wolf-rider-attack.png"
[/frame]
[frame]
begin=0
end=200
begin=50
end=100
image="units/goblins/wolf-rider-moving.png"
[/frame]
[frame]
begin=100
end=200
image="units/goblins/wolf-rider.png"
[/frame]
[/animation]
[animation]
hits=no
[frame]
begin=-400
begin=-250
end=-200
image="units/goblins/wolf-rider-moving.png"
image="units/goblins/wolf-rider.png"
sound=wolf-bite-miss.ogg
[/frame]
[frame]
begin=-200
end=0
end=-100
image="units/goblins/wolf-rider-moving.png"
[/frame]
[frame]
begin=-100
end=50
image="units/goblins/wolf-rider-attack.png"
[/frame]
[frame]
begin=0
end=200
begin=50
end=100
image="units/goblins/wolf-rider-moving.png"
[/frame]
[frame]
begin=100
end=200
image="units/goblins/wolf-rider.png"
[/frame]
[/animation]
[/attack]
[idle_anim]

View file

@ -29,23 +29,25 @@ files.each { | file|
file = file[2,file.length]
puts "\n* processing #{file}\n"
old = "/home/isaac/devel/wesnoth/last/#{file}";
if checkOld and File.exists?(old) and sha1sum(file) == sha1sum(old)
puts " * no change since last release\n";
next;
end
output = `nice -n 19 pngrewrite "#{file}" "#{file}.new"`;
File.exists?("#{file}.new") or next;
# old = "/home/isaac/devel/wesnoth/last/#{file}";
# if checkOld and File.exists?(old) and sha1sum(file) == sha1sum(old)
# puts " * no change since last release\n";
# next;
# end
output = `nice -n 19 convert -strip "#{file}" "#{file}.stripped.png"`;
output = `nice -n 19 pngcrush -brute -q "#{file}.stripped.png" "#{file}.new.png"`;
output = `rm "#{file}.stripped.png"`
File.exists?("#{file}.new.png") or next;
oldSize = File.size(file)
newSize = File.size("#{file}.new")
newSize = File.size("#{file}.new.png")
if newSize < oldSize
savedBytes = oldSize - newSize;
totalSavedBytes = totalSavedBytes + savedBytes
totalSavedFiles = totalSavedFiles.succ
output = `mv "#{file}.new" -v "#{file}"`
puts ", $output,\nsaved: #{savedBytes} bytes, total saved: #{totalSavedBytes/1024} KB"
output = `mv "#{file}.new.png" -v "#{file}"`
puts ",\nsaved: #{savedBytes} bytes, total saved: #{totalSavedBytes/1024} KB"
else
File.unlink("#{file}.new");
File.unlink("#{file}.new.png");
end
}