[Freeciv-Dev] (PR#10687) adding animation
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=10687 >
> [jdorje - Sat Oct 23 01:25:50 2004]:
>
> This patch adds animation!
>
> Apply the patch, copy the warriors.png into data/misc, run with
> civclient, and build lots of warriors. There are four animated actions:
> movement, attacking, dying, and fortifying.
>
> There are bugs. And it is incomplete.
>
> The animation graphics are taken from the incoming directory, made by
> Lukas Tonne using blender.
Looks real cool! :-)
I had to set unit move delay to 25 ms and enable unit moves in the local
options to see the unit moves anim. I also got this crash after mucking
around a bit:
#0 0x0811a61f in get_sprite_dimensions (sprite=0x0, width=0xfef5dbb8,
height=0xfef5dbb4) at graphics.c:215
#1 0x08081f78 in run_animation (ptile=0xf68b1148, anim=0x81a0d60)
at mapview_common.c:1831
#2 0x0808246c in animate_unit_change_activity (punit=0x9ae80c8,
new_activity=ACTIVITY_FORTIFYING) at mapview_common.c:1945
#3 0x0808643d in handle_unit_packet_common (packet_unit=0x9b3e818)
at packhand.c:1009
#4 0x08086221 in handle_unit_info (packet=0x9b7fd18) at packhand.c:915
#5 0x0808aad5 in client_handle_packet (type=PACKET_UNIT_INFO,
packet=0x9b7fd18) at packhand_gen.c:160
#6 0x0806f4d9 in handle_packet_input (packet=0x9b7fd18, type=49)
at civclient.c:333
#7 0x08072e62 in input_from_server (fd=7) at clinet.c:337
#8 0x0811eda7 in get_net_input (data=0x0, fid=7, condition=GDK_INPUT_READ)
at gui_main.c:1378
#9 0x00128b3b in gdk_get_show_events () from /usr/lib/libgdk-x11-2.0.so.0
#10 0x00000000 in ?? ()
|
|