191 Commits

Author SHA1 Message Date
Jérémy Rosen
066b33e2cf fix infinite loop in melee attack 2006-09-24 11:30:31 +00:00
Jérémy Rosen
31ecc3a0a1 fix movement animations splitting on neighbour hex 2006-09-22 19:04:13 +00:00
Serge Martin
bfcf92c21c replace non_turbo_delay() by delay(10) to decrease cpu load 2006-09-21 22:57:48 +00:00
Serge Martin
94ce9f7d28 re add anim_->update_current_frame();
in unit.cpp to fix infinite loop with sliver mage teleport
2006-09-21 20:45:10 +00:00
Jérémy Rosen
55bcd57145 more animation filtering on attack,
zookeeper needs to improve the berserker easter egg...
2006-09-14 20:20:38 +00:00
Jérémy Rosen
c889b4364e add filtering on SUF to animations 2006-09-10 17:04:26 +00:00
Jérémy Rosen
350b7ed49b made halo_x and halo_y progressive parameters 2006-09-10 10:18:09 +00:00
Jérémy Rosen
e77114fe79 make offset a progressive param.
I have changed the Elvish Shaman line as an example, but it needs a
better missile
2006-09-10 08:51:55 +00:00
Jérémy Rosen
9a649421ad add a turbo speed setting, thx to EdB 2006-09-09 08:03:07 +00:00
Jérémy Rosen
e476886059 put swing filtering back in, now that 6644 has been fixed 2006-09-03 13:33:55 +00:00
Jérémy Rosen
8dd679f5e3 scrolling cleanup during fights 2006-09-02 07:09:36 +00:00
Jérémy Rosen
7c9a8c31bf more structural changes for progressive parameters 2006-08-17 21:06:13 +00:00
Patrick Parker
1706536918 revert 2006-08-07T20:34:56Z!jeremy.rosen@enst-bretagne.fr until the resolution of bug #6644
"unit animations crash in trunk"
2006-08-15 05:57:08 +00:00
Jérémy Rosen
4967e62489 fighting animations can now filter on swing number 2006-08-07 20:34:56 +00:00
Jérémy Rosen
cc18ff7fe2 structural change needed for progressive parameters 2006-08-05 13:56:12 +00:00
Jérémy Rosen
e15da8088e refresh unit sidebar during fights 2006-07-30 08:43:19 +00:00
Jérémy Rosen
569c689631 fix missile reseting in the middle of the anim 2006-06-28 21:19:02 +00:00
Jérémy Rosen
54b58abf3b allow missile animations to go post time=0 2006-06-28 20:00:03 +00:00
Gunter Labes
e6f4b02dba fixes bug #6229 by boucman 2006-06-25 11:14:48 +00:00
Jérémy Rosen
5ac39c8537 fix orbs disapearing on kill 2006-06-22 20:43:58 +00:00
Jérémy Rosen
f4ffecb705 fix freeze when leaders take part in a fight... dammit, and just after 1.1.6 2006-06-21 18:06:45 +00:00
Gunter Labes
76f88ee721 codeclean run 2006-06-20 15:38:12 +00:00
Jérémy Rosen
787e8cf33f change anim synchronisation for zookeeper again 2006-06-18 20:35:11 +00:00
Jérémy Rosen
d45bcb35b2 fix the show_combat option not working correctly 2006-06-18 17:40:52 +00:00
Jérémy Rosen
6482457676 fix missile anims for zookeeper... now I want those drakes in game :) 2006-06-17 14:16:26 +00:00
Jérémy Rosen
74291be1cd hopefully fix missing labels in accelerated mode 2006-06-11 17:07:20 +00:00
Jérémy Rosen
b380de50b8 fix movement not changing the unit's direction 2006-06-10 16:45:01 +00:00
Jérémy Rosen
692fbc33a5 fix leaders keeping their pause after end of fight 2006-06-10 12:18:15 +00:00
Gunter Labes
23ca57f01e ran codeclean over all files and set them all to svn:eol-style 'native' 2006-06-05 20:02:25 +00:00
Jérémy Rosen
86906765eb fix small display glitch 2006-06-03 10:02:36 +00:00
Jérémy Rosen
f111a679b0 unit now submerge when entering the hex, not when reaching the middle of the hex 2006-06-03 09:23:02 +00:00
Jérémy Rosen
6d2510f95c fix compile and soften the damage blinking 2006-06-03 08:00:39 +00:00
Jérémy Rosen
b79cf78065 leader should face the unit they lead when leading 2006-06-03 07:06:19 +00:00
Jérémy Rosen
d9ddbad36d mirror missile halo when attacking leftward 2006-06-02 19:00:50 +00:00
Jérémy Rosen
e0080f9e34 fix status bar blinking during fight, now redraw them only at end of fight 2006-06-02 18:55:31 +00:00
Rusty Russell
ab60f52eec Fix bug #6044 (moving units vanish while scrolling):
keep temporary unit around until move is completed (rather than
deleting it between steps)
2006-06-01 11:10:07 +00:00
Jérémy Rosen
ec4a9ca161 fix ranged attacks in turbo mode 2006-05-29 22:44:40 +00:00
Jérémy Rosen
b1bbd5024e remove a forgotten debug printf 2006-05-29 22:27:11 +00:00
Jérémy Rosen
e715d188b9 fix infinite loop on ranged attack and also add leading anims
yes, yes I know I should do two commits, but I'm really in a hurry right now
2006-05-29 18:35:00 +00:00
Bruno Wolff III
b4de5c2f41 Add an assert to unit_move...
...so that bad data results in a message rather than a crash. This was
requested by Xan.
2006-05-29 17:51:15 +00:00
Rusty Russell
d6a7969490 Fix units not being shown when moves done, and glitch when teleporting
(drawn in wrong place).

The correct way of moving a unit is: set_hidden(true),
unit_display::move(), set_hidden(false).  This means that unit count
on the status display does not drop mysteriously, unlike doing the
obvious: units.extract(loc), unit_display::move().  But it means that
unit_display needs to use a copy for the temporary unit it draws on
the screen, and mark that copy non-hidden, otherwise it draws a hidden
unit, ie. nothing.
2006-05-29 13:06:23 +00:00
Rusty Russell
1b9636f5ed Revert accidental commit of local version of file in 2006-05-29T10:46:57Z!rusty@rustcorp.com.au. 2006-05-29 11:39:07 +00:00
Rusty Russell
ce2ee172ee Fix crash on replays introduced in unit_map changed,
...when unit moved (refresh iterator so it doesn't point to stale value)
2006-05-29 10:46:57 +00:00
Jérémy Rosen
e0b3b8841a change ranged anim timing according to zookeeper's specs 2006-05-28 18:50:24 +00:00
Rusty Russell
8b69833317 Move away from SDL_Delay for gui-related delays,
so --nogui runs at full speed (doing AI testing)
2006-05-26 01:03:08 +00:00
Jérémy Rosen
f8b23584f5 correct two missile related bugs for zookeeper 2006-05-21 12:49:47 +00:00
Jérémy Rosen
42a055aa79 fix missiles not being displayed properly,
...disabling halos will cause all misssiles to disapear, though
2006-05-08 18:19:31 +00:00
Jérémy Rosen
ca6ce641db fix attack halo staying after the engd of attack 2006-05-08 13:07:02 +00:00
Jérémy Rosen
ebe9c01ab2 better animation filtering criterias 2006-05-08 09:11:58 +00:00
Rusty Russell
61003c69dd Remove all unused warnings, and remove unused function parameters 2006-05-06 15:21:53 +00:00