[[Icon reorganization]]

* Moved weapon icons to their own hierarchy: images/attacks/
* Changed code and unit files accordingly
* Fixed some erroneous/missing entries
This commit is contained in:
Cédric Duval 2004-05-30 00:36:35 +00:00
parent 48ee994423
commit 04b0ac1546
71 changed files with 34 additions and 25 deletions

View file

@ -34,7 +34,7 @@ get_hit_sound=groan.wav
range=long
damage=15
number=5
icon=misc/dark-missile.png
icon=attacks/dark-missile.png
[frame]
begin=-250
end=0

View file

@ -20,7 +20,7 @@ get_hit_sound=skeleton-hit.wav
impact=120
[/resistance]
[attack]
name=fists
name=fist
type=impact
range=short
damage=5

View file

@ -14,7 +14,7 @@ usage=fighter
unit_description="Cuttle Fish are giantic creatures of the seas. They can grab their opponents with strong tentacles, or spit a poisonous black ink from a distance. The best way to survive an encounter with these monsters is to remain ashore."
get_hit_sound=groan.wav
[attack]
name=tentacles
name=tentacle
type=impact
range=short
damage=3

View file

@ -24,7 +24,7 @@ get_hit_sound=groan.wav
range=long
damage=8
number=2
icon=misc/dark-missile.png
icon=attacks/dark-missile.png
[frame]
begin=-300
end=-200

View file

@ -20,7 +20,7 @@ get_hit_sound=skeleton-hit.wav
range=short
damage=15
number=4
icon=misc/battleaxe.png
icon=attacks/battleaxe.png
[sound]
time=-250
sound=sword-swish.wav

View file

@ -37,6 +37,7 @@ get_hit_sound=groan.wav
range=long
damage=13
number=3
icon=attacks/dark-missile.png
[frame]
begin=-300
end=-200

View file

@ -28,6 +28,7 @@ get_hit_sound=groan.wav
range=long
damage=14
number=4
icon=attacks/dark-missile.png
[missile_frame]
begin=-200
end=0

View file

@ -30,7 +30,7 @@ get_hit_sound=groan.wav
[/defense]
[attack]
name=berserker frenzy
icon=misc/frenzy.png
icon=attacks/frenzy.png
type=blade
special=berserk
range=short

View file

@ -25,7 +25,7 @@ get_hit_sound=groan.wav
name=battle axe
type=blade
range=short
icon=misc/battleaxe.png
icon=attacks/battleaxe.png
damage=17
number=3
[frame]

View file

@ -21,6 +21,8 @@ get_hit_sound=groan.wav
range=short
damage=15
number=3
# XXX we're currently lacing a runic hammer icon
icon=attacks/hammer.png
[frame]
begin=-100
@ -36,6 +38,7 @@ get_hit_sound=groan.wav
range=long
damage=15
number=2
icon=attacks/lightingbolt.png
special=magical
[sound]

View file

@ -23,7 +23,7 @@ unit_description="The more experienced Dwarvish Steelclad fighters wear heavy ch
get_hit_sound=groan.wav
[attack]
name=battle axe
icon=misc/battleaxe.png
icon=attacks/battleaxe.png
type=blade
range=short
damage=11

View file

@ -35,7 +35,7 @@ unit_description="Once great, Elder Mages have seen their power a little diminis
special=magical
damage=14
number=4
icon=misc/lightingbolt.png
icon=attacks/lightingbolt.png
[frame]
begin=-300
end=0

View file

@ -24,7 +24,7 @@ get_hit_sound=female-hit.wav
damage=4
number=2
range=short
icon=misc/druidstaff.png
icon=attacks/druidstaff.png
[frame]
begin=-100
end=100
@ -43,7 +43,7 @@ get_hit_sound=female-hit.wav
damage=6
number=2
range=long
icon=misc/entangle.png
icon=attacks/entangle.png
[frame]
begin=-250
end=0

View file

@ -25,7 +25,7 @@ get_hit_sound=female-hit.wav
damage=3
number=2
range=short
icon=misc/druidstaff.png
icon=attacks/druidstaff.png
[frame]
begin=-100
end=100

View file

@ -25,7 +25,7 @@ get_hit_sound=female-hit.wav
damage=4
number=2
range=short
icon=misc/faerie_touch.png
icon=attacks/faerie_touch.png
[frame]
begin=-200
end=-100
@ -45,7 +45,7 @@ get_hit_sound=female-hit.wav
damage=7
number=2
range=long
icon=misc/entangle.png
icon=attacks/entangle.png
[missile_frame]
begin=-150
end=0

View file

@ -37,6 +37,7 @@ get_hit_sound=wolf-cry.wav
damage=6
number=2
range=long
icon=attacks/web.png
[frame]
begin=-200
end=100

View file

@ -15,7 +15,7 @@ unit_description="The most powerful mounted warriors of any race, Grand Knights
get_hit_sound=groan.wav
[attack]
name=sword
icon=misc/sword.png
icon=attacks/sword.png
type=blade
range=short
damage=12

View file

@ -14,14 +14,14 @@ usage=fighter
unit_description="The best of the soldiers are choosen to become Halberdiers. Their weapon, though a little slower than the sword, can strike with deadly force."
get_hit_sound=groan.wav
[attack]
name=halbard
name=halberd
type=pierce
range=short
damage=14
number=4
[/attack]
[attack]
name=halbard
name=halberd
type=blade
range=short
damage=11

View file

@ -21,6 +21,7 @@ get_hit_sound=groan.wav
range=long
damage=6
number=3
icon=attacks/dark-missile.png
[frame]
begin=-350
end=-250

View file

@ -34,7 +34,7 @@ get_hit_sound=skeleton-hit.wav
range=long
damage=12
number=3
icon=misc/dark-missile.png
icon=attacks/dark-missile.png
[frame]
begin=-300
end=-200
@ -56,4 +56,4 @@ get_hit_sound=skeleton-hit.wav
sound=magic.wav
[/sound]
[/attack]
[/unit]
[/unit]

View file

@ -37,7 +37,7 @@ get_hit_sound=groan.wav
range=long
damage=12
number=2
icon=misc/dark-missile.png
icon=attacks/dark-missile.png
[frame]
begin=-300
end=-200

View file

@ -20,6 +20,7 @@ get_hit_sound=orc-hit.wav
range=short
damage=4
number=3
icon=attacks/short-sword.png
[frame]
begin=-100
end=100

View file

@ -19,6 +19,7 @@ get_hit_sound=orc-hit.wav
range=short
damage=4
number=3
icon=attacks/short-sword.png
[frame]
begin=-100
end=100

View file

@ -20,7 +20,7 @@ unit_description="Knights of the highest virtue, Paladins have all the skills of
get_hit_sound=groan.wav
[attack]
name=sword
icon=misc/paladinsword.png
icon=attacks/paladinsword.png
type=holy
range=short
damage=8

View file

@ -23,7 +23,7 @@ get_hit_sound=mermen-hit.wav
[/attack]
[attack]
name=water spray
icon=misc/waterspray.png
icon=attacks/waterspray.png
type=impact
range=long
special=magical

View file

@ -20,7 +20,7 @@ get_hit_sound=female-groan.wav
range=short
damage=10
number=3
icon=misc/fangs.png
icon=attacks/fangs.png
special=drain
[frame]
begin=-100

View file

@ -17,7 +17,7 @@ unit_description="Today almost a boy, by his devotion to the crown he is seeking
get_hit_sound=groan.wav
[attack]
name=training sword
icon=misc/woodensword.png
icon=attacks/woodensword.png
type=impact
range=short
damage=3

View file

Before

Width:  |  Height:  |  Size: 518 B

After

Width:  |  Height:  |  Size: 518 B

View file

Before

Width:  |  Height:  |  Size: 550 B

After

Width:  |  Height:  |  Size: 550 B

View file

Before

Width:  |  Height:  |  Size: 503 B

After

Width:  |  Height:  |  Size: 503 B

View file

Before

Width:  |  Height:  |  Size: 416 B

After

Width:  |  Height:  |  Size: 416 B

View file

Before

Width:  |  Height:  |  Size: 454 B

After

Width:  |  Height:  |  Size: 454 B

View file

Before

Width:  |  Height:  |  Size: 488 B

After

Width:  |  Height:  |  Size: 488 B

View file

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View file

Before

Width:  |  Height:  |  Size: 291 B

After

Width:  |  Height:  |  Size: 291 B

View file

Before

Width:  |  Height:  |  Size: 522 B

After

Width:  |  Height:  |  Size: 522 B

View file

Before

Width:  |  Height:  |  Size: 475 B

After

Width:  |  Height:  |  Size: 475 B

View file

Before

Width:  |  Height:  |  Size: 351 B

After

Width:  |  Height:  |  Size: 351 B

View file

Before

Width:  |  Height:  |  Size: 497 B

After

Width:  |  Height:  |  Size: 497 B

View file

Before

Width:  |  Height:  |  Size: 661 B

After

Width:  |  Height:  |  Size: 661 B

View file

Before

Width:  |  Height:  |  Size: 606 B

After

Width:  |  Height:  |  Size: 606 B

View file

Before

Width:  |  Height:  |  Size: 549 B

After

Width:  |  Height:  |  Size: 549 B

View file

Before

Width:  |  Height:  |  Size: 714 B

After

Width:  |  Height:  |  Size: 714 B

View file

Before

Width:  |  Height:  |  Size: 555 B

After

Width:  |  Height:  |  Size: 555 B

View file

Before

Width:  |  Height:  |  Size: 535 B

After

Width:  |  Height:  |  Size: 535 B

View file

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View file

Before

Width:  |  Height:  |  Size: 515 B

After

Width:  |  Height:  |  Size: 515 B

View file

Before

Width:  |  Height:  |  Size: 479 B

After

Width:  |  Height:  |  Size: 479 B

View file

Before

Width:  |  Height:  |  Size: 446 B

After

Width:  |  Height:  |  Size: 446 B

View file

Before

Width:  |  Height:  |  Size: 326 B

After

Width:  |  Height:  |  Size: 326 B

View file

Before

Width:  |  Height:  |  Size: 377 B

After

Width:  |  Height:  |  Size: 377 B

View file

Before

Width:  |  Height:  |  Size: 488 B

After

Width:  |  Height:  |  Size: 488 B

View file

Before

Width:  |  Height:  |  Size: 465 B

After

Width:  |  Height:  |  Size: 465 B

View file

Before

Width:  |  Height:  |  Size: 476 B

After

Width:  |  Height:  |  Size: 476 B

View file

Before

Width:  |  Height:  |  Size: 441 B

After

Width:  |  Height:  |  Size: 441 B

View file

Before

Width:  |  Height:  |  Size: 524 B

After

Width:  |  Height:  |  Size: 524 B

View file

Before

Width:  |  Height:  |  Size: 344 B

After

Width:  |  Height:  |  Size: 344 B

View file

Before

Width:  |  Height:  |  Size: 477 B

After

Width:  |  Height:  |  Size: 477 B

View file

Before

Width:  |  Height:  |  Size: 389 B

After

Width:  |  Height:  |  Size: 389 B

View file

Before

Width:  |  Height:  |  Size: 420 B

After

Width:  |  Height:  |  Size: 420 B

View file

Before

Width:  |  Height:  |  Size: 384 B

After

Width:  |  Height:  |  Size: 384 B

View file

Before

Width:  |  Height:  |  Size: 362 B

After

Width:  |  Height:  |  Size: 362 B

View file

Before

Width:  |  Height:  |  Size: 411 B

After

Width:  |  Height:  |  Size: 411 B

View file

Before

Width:  |  Height:  |  Size: 621 B

After

Width:  |  Height:  |  Size: 621 B

View file

Before

Width:  |  Height:  |  Size: 321 B

After

Width:  |  Height:  |  Size: 321 B

View file

Before

Width:  |  Height:  |  Size: 490 B

After

Width:  |  Height:  |  Size: 490 B

View file

Before

Width:  |  Height:  |  Size: 381 B

After

Width:  |  Height:  |  Size: 381 B

View file

Before

Width:  |  Height:  |  Size: 575 B

After

Width:  |  Height:  |  Size: 575 B

BIN
images/attacks/web.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 356 B

View file

@ -36,7 +36,7 @@ attack_type::attack_type(const config& cfg)
backstab_ = special_ == "backstab";
icon_ = cfg["icon"];
if(icon_.empty())
icon_ = "misc/" + name_ + ".png";
icon_ = "attacks/" + name_ + ".png";
range_ = cfg["range"] == "long" ? LONG_RANGE : SHORT_RANGE;
hexes_ = maximum<int>(1,atoi(cfg["hexes"].c_str()));