speed up game to reach old speed, but the elvish fighter mvt animation will need some caring
This commit is contained in:
parent
933a88eaac
commit
3977406a65
34 changed files with 48 additions and 47 deletions
|
@ -26,6 +26,7 @@ SVN trunk (1.1+svn):
|
|||
* fix menu capitalization consistency (#4972)
|
||||
* reduce scrolling during unit movement
|
||||
* make default zoom work properly
|
||||
* unit speed is back to 1.0 speed
|
||||
* WML improvements
|
||||
* attack ranges renamed to "melee" and "ranged", new ranges can be used
|
||||
(retaliation will use any attack of the same range)
|
||||
|
|
|
@ -6,7 +6,7 @@ image="owaec-lord.png"
|
|||
[movement_anim]
|
||||
[frame]
|
||||
begin=0
|
||||
end=250
|
||||
end=150
|
||||
image="owaec-lord-moving.png"
|
||||
[/frame]
|
||||
[/movement_anim]
|
||||
|
|
|
@ -6,7 +6,7 @@ image="owaec-captain.png"
|
|||
[movement_anim]
|
||||
[frame]
|
||||
begin=0
|
||||
end=250
|
||||
end=150
|
||||
image="owaec-captain-moving.png"
|
||||
[/frame]
|
||||
[/movement_anim]
|
||||
|
|
|
@ -6,7 +6,7 @@ image="owaec-commander.png"
|
|||
[movement_anim]
|
||||
[frame]
|
||||
begin=0
|
||||
end=250
|
||||
end=150
|
||||
image="owaec-commander-moving.png"
|
||||
[/frame]
|
||||
[/movement_anim]
|
||||
|
|
|
@ -6,7 +6,7 @@ image="undead-chocobone.png"
|
|||
[movement_anim]
|
||||
[frame]
|
||||
begin=0
|
||||
end=250
|
||||
end=150
|
||||
image="undead-chocobone-moving.png"
|
||||
[/frame]
|
||||
[/movement_anim]
|
||||
|
|
|
@ -6,7 +6,7 @@ image="undead-chocobone.png"
|
|||
[movement_anim]
|
||||
[frame]
|
||||
begin=0
|
||||
end=250
|
||||
end=150
|
||||
image="undead-chocobone-moving.png"
|
||||
[/frame]
|
||||
[/movement_anim]
|
||||
|
|
|
@ -6,7 +6,7 @@ image="units/human-loyalists/human-cavalier.png"
|
|||
[movement_anim]
|
||||
[frame]
|
||||
begin=0
|
||||
end=250
|
||||
end=150
|
||||
image="units/human-loyalists/human-cavalier-moving.png"
|
||||
[/frame]
|
||||
[/movement_anim]
|
||||
|
|
|
@ -6,7 +6,7 @@ image="units/human-loyalists/human-scout.png"
|
|||
[movement_anim]
|
||||
[frame]
|
||||
begin=0
|
||||
end=250
|
||||
end=150
|
||||
image="units/human-loyalists/human-scout-moving.png"
|
||||
[/frame]
|
||||
[/movement_anim]
|
||||
|
|
|
@ -13,7 +13,7 @@ image="units/goblins/goblin-direwolver-defend.png"
|
|||
[movement_anim]
|
||||
[frame]
|
||||
begin=0
|
||||
end=250
|
||||
end=150
|
||||
image="units/goblins/goblin-direwolver-moving.png"
|
||||
[/frame]
|
||||
[/movement_anim]
|
||||
|
|
|
@ -6,7 +6,7 @@ image="units/human-loyalists/human-dragoon.png"
|
|||
[movement_anim]
|
||||
[frame]
|
||||
begin=0
|
||||
end=250
|
||||
end=150
|
||||
image="units/human-loyalists/human-dragoon-moving.png"
|
||||
[/frame]
|
||||
[/movement_anim]
|
||||
|
|
|
@ -14,7 +14,7 @@ image="units/drakes/drake-blademaster-defend.png"
|
|||
[movement_anim]
|
||||
[frame]
|
||||
begin=0
|
||||
end=250
|
||||
end=150
|
||||
image="units/drakes/drake-blademaster-flying.png"
|
||||
[/frame]
|
||||
[/movement_anim]
|
||||
|
|
|
@ -13,7 +13,7 @@ image="units/drakes/drake-burner-defend.png"
|
|||
[movement_anim]
|
||||
[frame]
|
||||
begin=0
|
||||
end=250
|
||||
end=150
|
||||
image="units/drakes/drake-burner-flying.png"
|
||||
[/frame]
|
||||
[/movement_anim]
|
||||
|
|
|
@ -13,7 +13,7 @@ image="units/drakes/drake-fighter-defend.png"
|
|||
[movement_anim]
|
||||
[frame]
|
||||
begin=0
|
||||
end=250
|
||||
end=150
|
||||
image="units/drakes/drake-fighter-flying.png"
|
||||
[/frame]
|
||||
[/movement_anim]
|
||||
|
|
|
@ -13,7 +13,7 @@ image="units/drakes/drake-fire-defend.png"
|
|||
[movement_anim]
|
||||
[frame]
|
||||
begin=0
|
||||
end=250
|
||||
end=150
|
||||
image="units/drakes/drake-fire-flying.png"
|
||||
[/frame]
|
||||
[/movement_anim]
|
||||
|
|
|
@ -13,7 +13,7 @@ image="units/drakes/drake-flameheart-defend.png"
|
|||
[movement_anim]
|
||||
[frame]
|
||||
begin=0
|
||||
end=250
|
||||
end=150
|
||||
image="units/drakes/drake-flameheart-flying.png"
|
||||
[/frame]
|
||||
[/movement_anim]
|
||||
|
|
|
@ -13,7 +13,7 @@ image="units/drakes/drake-flare-defend.png"
|
|||
[movement_anim]
|
||||
[frame]
|
||||
begin=0
|
||||
end=250
|
||||
end=150
|
||||
image="units/drakes/drake-flare-flying.png"
|
||||
[/frame]
|
||||
[/movement_anim]
|
||||
|
|
|
@ -13,7 +13,7 @@ image="units/drakes/drake-glider-defend.png"
|
|||
[movement_anim]
|
||||
[frame]
|
||||
begin=0
|
||||
end=250
|
||||
end=150
|
||||
image="units/drakes/drake-glider-flying.png"
|
||||
[/frame]
|
||||
[/movement_anim]
|
||||
|
|
|
@ -13,7 +13,7 @@ image="units/drakes/drake-hurricane-attack-melee1.png"
|
|||
[movement_anim]
|
||||
[frame]
|
||||
begin=0
|
||||
end=250
|
||||
end=150
|
||||
image="units/drakes/drake-hurricane-flying.png"
|
||||
[/frame]
|
||||
[/movement_anim]
|
||||
|
|
|
@ -13,7 +13,7 @@ image="units/drakes/drake-inferno-defend.png"
|
|||
[movement_anim]
|
||||
[frame]
|
||||
begin=0
|
||||
end=250
|
||||
end=150
|
||||
image="units/drakes/drake-inferno-flying.png"
|
||||
[/frame]
|
||||
[/movement_anim]
|
||||
|
|
|
@ -13,7 +13,7 @@ image="units/drakes/drake-sky-defend.png"
|
|||
[movement_anim]
|
||||
[frame]
|
||||
begin=0
|
||||
end=250
|
||||
end=150
|
||||
image="units/drakes/drake-sky-defend.png"
|
||||
[/frame]
|
||||
[/movement_anim]
|
||||
|
|
|
@ -14,7 +14,7 @@ image="units/drakes/drake-warrior-defend.png"
|
|||
[movement_anim]
|
||||
[frame]
|
||||
begin=0
|
||||
end=250
|
||||
end=150
|
||||
image="units/drakes/drake-warrior-flying.png"
|
||||
[/frame]
|
||||
[/movement_anim]
|
||||
|
|
|
@ -112,42 +112,42 @@ get_hit_sound=groan.wav
|
|||
[movement_anim]
|
||||
[frame]
|
||||
begin=0
|
||||
end=30
|
||||
end=20
|
||||
image="units/elves-wood/elvish-fighter-move1.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=30
|
||||
end=60
|
||||
begin=20
|
||||
end=40
|
||||
image="units/elves-wood/elvish-fighter-move2.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=60
|
||||
end=90
|
||||
begin=40
|
||||
end=60
|
||||
image="units/elves-wood/elvish-fighter-move3.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=90
|
||||
end=120
|
||||
begin=60
|
||||
end=80
|
||||
image="units/elves-wood/elvish-fighter-move4.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=120
|
||||
end=150
|
||||
begin=80
|
||||
end=100
|
||||
image="units/elves-wood/elvish-fighter-move5.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=150
|
||||
end=180
|
||||
begin=100
|
||||
end=120
|
||||
image="units/elves-wood/elvish-fighter-move6.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=180
|
||||
end=210
|
||||
begin=120
|
||||
end=140
|
||||
image="units/elves-wood/elvish-fighter-move7.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=210
|
||||
end=240
|
||||
begin=140
|
||||
end=160
|
||||
image="units/elves-wood/elvish-fighter-move8.png"
|
||||
[/frame]
|
||||
[/movement_anim]
|
||||
|
|
|
@ -13,7 +13,7 @@ image="units/elves-wood/elvish-outrider-defend.png"
|
|||
[movement_anim]
|
||||
[frame]
|
||||
begin=0
|
||||
end=250
|
||||
end=150
|
||||
image="units/elves-wood/elvish-outrider-moving.png"
|
||||
[/frame]
|
||||
[/movement_anim]
|
||||
|
|
|
@ -13,7 +13,7 @@ image="units/elves-wood/elvish-rider-defend.png"
|
|||
[movement_anim]
|
||||
[frame]
|
||||
begin=0
|
||||
end=250
|
||||
end=150
|
||||
image="units/elves-wood/elvish-rider-moving.png"
|
||||
[/frame]
|
||||
[/movement_anim]
|
||||
|
|
|
@ -12,7 +12,7 @@ image="units/elves-wood/elvish-scout-defend.png"
|
|||
[movement_anim]
|
||||
[frame]
|
||||
begin=0
|
||||
end=250
|
||||
end=150
|
||||
image="units/elves-wood/elvish-scout-moving.png"
|
||||
[/frame]
|
||||
[/movement_anim]
|
||||
|
|
|
@ -6,7 +6,7 @@ image="units/goblins/goblin-knight.png"
|
|||
[movement_anim]
|
||||
[frame]
|
||||
begin=0
|
||||
end=250
|
||||
end=150
|
||||
image="units/goblins/goblin-knight-moving.png"
|
||||
[/frame]
|
||||
[/movement_anim]
|
||||
|
|
|
@ -6,7 +6,7 @@ image="units/goblins/goblin-pillager.png"
|
|||
[movement_anim]
|
||||
[frame]
|
||||
begin=0
|
||||
end=250
|
||||
end=150
|
||||
image="units/goblins/goblin-pillager-moving.png"
|
||||
[/frame]
|
||||
[/movement_anim]
|
||||
|
|
|
@ -6,7 +6,7 @@ image="units/human-loyalists/grand-knight.png"
|
|||
[movement_anim]
|
||||
[frame]
|
||||
begin=0
|
||||
end=250
|
||||
end=150
|
||||
image="units/human-loyalists/grand-knight-moving.png"
|
||||
[/frame]
|
||||
[/movement_anim]
|
||||
|
|
|
@ -6,7 +6,7 @@ image="units/human-loyalists/horseman.png"
|
|||
[movement_anim]
|
||||
[frame]
|
||||
begin=0
|
||||
end=250
|
||||
end=150
|
||||
image="units/human-loyalists/horseman-moving.png"
|
||||
[/frame]
|
||||
[/movement_anim]
|
||||
|
|
|
@ -6,7 +6,7 @@ image="units/human-loyalists/knight.png"
|
|||
[movement_anim]
|
||||
[frame]
|
||||
begin=0
|
||||
end=250
|
||||
end=150
|
||||
image="units/human-loyalists/knight-moving.png"
|
||||
[/frame]
|
||||
[/movement_anim]
|
||||
|
|
|
@ -13,7 +13,7 @@ image="units/human-loyalists/lancer-defend.png"
|
|||
[movement_anim]
|
||||
[frame]
|
||||
begin=0
|
||||
end=250
|
||||
end=150
|
||||
image="units/human-loyalists/lancer-moving.png"
|
||||
[/frame]
|
||||
[/movement_anim]
|
||||
|
|
|
@ -7,7 +7,7 @@ image_healing="units/human-loyalists/paladin-healing.png"
|
|||
[movement_anim]
|
||||
[frame]
|
||||
begin=0
|
||||
end=250
|
||||
end=150
|
||||
image="units/human-loyalists/paladin-moving.png"
|
||||
[/frame]
|
||||
[/movement_anim]
|
||||
|
|
|
@ -6,7 +6,7 @@ image="units/goblins/wolf-rider.png"
|
|||
[movement_anim]
|
||||
[frame]
|
||||
begin=0
|
||||
end=250
|
||||
end=150
|
||||
image="units/goblins/wolf-rider-moving.png"
|
||||
[/frame]
|
||||
[/movement_anim]
|
||||
|
|
|
@ -1361,7 +1361,7 @@ unit_type::movement_animation::movement_animation(const config& cfg)
|
|||
}
|
||||
}
|
||||
|
||||
unit_type::movement_animation::movement_animation(const std::string& image,const std::string& terrain,gamemap::location::DIRECTION dir):terrain_types(utils::split(terrain)),animation(image,0,250)
|
||||
unit_type::movement_animation::movement_animation(const std::string& image,const std::string& terrain,gamemap::location::DIRECTION dir):terrain_types(utils::split(terrain)),animation(image,0,150)
|
||||
{
|
||||
if(dir !=gamemap::location::NDIRECTIONS) {
|
||||
directions.push_back(dir);
|
||||
|
|
Loading…
Add table
Reference in a new issue