Jérémy Rosen
dd48d3d8db
allow multiple sub-animations, in all animations (not just missile in fight)
2007-10-28 10:17:53 +00:00
Jérémy Rosen
749a065b11
reorganizing backard compatibility stuff to avoid stupid mistakes,
...
also put most of the ugly code in the animation files instead of
spread between unit.xpp and unit_types.xpp
2007-10-19 17:42:45 +00:00
Jérémy Rosen
23af43b76c
fix bug 2006-02-16T14:45:33Z!benoit.timbert@free.fr (game freeze when a unit levels)
...
the copy/paste demon strikes again....
2007-10-16 16:43:16 +00:00
Jérémy Rosen
33b8fdc43e
remove support for halbardier, annouced two release ago, upgradable via wmllint
2007-10-12 17:34:39 +00:00
Jérémy Rosen
94a2b19d4a
deprecating properly image_short and image_long (code part)
2007-10-05 19:57:55 +00:00
Jérémy Rosen
c11bd3ba03
reintroduce compatibility for image_short and image_long,
...
this will be phased out later
2007-09-18 20:10:09 +00:00
Jérémy Rosen
abad6b0d62
fix the ghoul jumping bug, code side. There is still some WML fix to commit
2007-09-18 17:33:30 +00:00
Jérémy Rosen
d84b7f63b3
move attack animations out of [attack] and into [unit], code+wmllint
2007-09-08 07:51:22 +00:00
Ali El Gariani
92c2eaad22
Quick fix to a design flaw in attack_type code impacting performance:
...
This make the help opens ~5 times faster and speed up some AI operations.
(the creation of the "little" attack_type object also generated a lot of
animations data, which are useless for non-display functions (AI, help...)
And these attack_type are not cached in unit_type, like we do for unit)
2007-09-07 06:46:25 +00:00
Ali El Gariani
304e997edd
Give an "id" key to [race] (which also still have the "name" key)
...
The data is not yet adapted, and currently used as test-case to the transition
system which create an id from name if id is missing
The help also still use id and not name (but they are currently identical)
2007-09-05 04:00:36 +00:00
Patrick Parker
1e179497d5
fix an iterator redefinition...
...
...and rename a ton of variables to stop this trend (hopefully)
2007-09-03 06:12:06 +00:00
Jérémy Rosen
77e2f5dc01
ok, done... attack anim is still an ugly special case,
...
...but this will have to wait...
2007-09-01 14:37:20 +00:00
Jérémy Rosen
90846dd9ae
more animations converted... 3 more to go
2007-09-01 12:48:30 +00:00
Jérémy Rosen
3124e019d3
more internal changes to animation engine, still not consequences expected...
2007-09-01 09:11:39 +00:00
Gunter Labes
ae9e10f260
codeclean run
...
set svn:eol-style to native where missing
2007-08-31 19:09:40 +00:00
Patrick Parker
de5ef41d6f
oops, forgot to remove my debugs
2007-08-29 02:26:20 +00:00
Patrick Parker
24b912f7b7
fix bug #9881 Descent Into Darkness - new crash
2007-08-29 02:21:20 +00:00
Jérémy Rosen
509f21ffe1
use more const values instead of hard coded numbers
...
fix bug with units wo idle anims playing random anims instead
adapted movement anims to the new animation choice method
2007-08-22 22:17:30 +00:00
Hans Joachim Gurt
8f3ba4ed6c
doxygen, comments
2007-08-22 02:06:11 +00:00
Patrick Parker
d0b10efcc1
'event_itor' : unreferenced local variable
...
'd' : redefinition; multiple initialization
Please read the Coding Standards section 4.1, "Respect for loop
scoping of different platforms"
http://www.wesnoth.org/wiki/CodingStandards#Respect_for_loop_scoping_of_different_platforms
2007-08-21 22:50:55 +00:00
Jérémy Rosen
991cbc8219
change most non-fight animations to the new choosing method.
...
No user impact, WML deprecation are currently commented
2007-08-21 21:14:10 +00:00
Mark de Wever
4d73a404cb
Oops we're already at 1.3.6 so the removal should be 1.3.9.
2007-08-17 16:48:47 +00:00
Mark de Wever
7d45a97ca0
Added a compatibility hack in order to make savegames...
...
...with the old name for the Halberdier to work again. Fixes bug
#9783 .
2007-08-17 16:26:15 +00:00
Bruno Wolff III
ee3b870471
Restore unit_type::not_living()
...
so that the ai can guess whether or not recruits will have the not_living state.
2007-08-16 04:50:55 +00:00
Mark de Wever
080eb69f60
Updated the headers to state GPL 2+ and a few changelog cleanups.
2007-08-15 13:41:56 +00:00
Patrick Parker
0b6cc6f9b4
replace some uses of t_string value() with base_str()
...
add a comment explaining the difference
2007-08-11 02:15:27 +00:00
Ali El Gariani
3695a0de78
Use the blank-attack image instead of no image at all (in attack dialog).
...
I suppose it looks better. It's a simple fix for the problem of using
an invalid file. This also fix the error message in the standard
ouput spotted in bug #9570
2007-07-25 16:53:10 +00:00
Patrick Parker
b6f0a4f54f
rewrote the config merge routine (should improve parse time slightly)
2007-07-25 00:08:15 +00:00
Ali El Gariani
7e27bb9001
Quick fix about a gcc error in 2007-07-24T05:45:50Z!patrick_x99@hotmail.com.
...
(reference to a temporary object)
2007-07-24 10:03:06 +00:00
Patrick Parker
20f5bf5b1d
remove the 'remove me' ~_~
2007-07-24 05:51:38 +00:00
Patrick Parker
4cbe69fb85
FR #9558 Need "base_type" tag and derivation in [unit] declarations
2007-07-24 05:45:50 +00:00
Patrick Parker
e9cdbe0ff5
fix some (misleading) indentation
2007-07-24 03:10:34 +00:00
Benoît Timbert
708ce71f99
Fix the per level [effect] description autogeneration for level 0 units
2007-07-21 11:07:31 +00:00
Mark de Wever
bb01934b85
A rather large update which updates the copyright info
...
* Wesnoth is distributed under the terms of the GPL version 2, made
that more explicit
* updated the copyright range to 2007
* updated Dave's email adress
2007-07-21 07:28:04 +00:00
Jérémy Rosen
aa7368fce9
patch 751 : add advance from entry in the help system, thanks to jimm
2007-06-30 10:30:19 +00:00
Eric S. Raymond
9f11735f32
Split display.h up
...
in order to remove the last game_display dependency from the map
editor.
2007-06-28 10:25:30 +00:00
Eric S. Raymond
43e5de9fee
Huge patch pretty much all name changes.
...
display is now the base class and game_display the derived; code that
can use the base class because it doesn't need to grok units or teams
(like preferences.cpp and hotkeys.cpp) does so.
2007-06-28 05:32:36 +00:00
Ali El Gariani
8d9690e43c
use standard image (with duration 500) to default healing animation
...
need to adapt obsolete keys in paladin and maybe 1 or 2 mermaid
I will also remove the remaining dead code about these keys
2007-05-27 17:27:30 +00:00
Jérémy Rosen
79dcf5eb38
code refactoring in unit animations,
...
preparing the grand animation unification scheme...
2007-05-26 08:20:35 +00:00
Jérémy Rosen
01b22b62ff
change default values for anim from -1 to -2, no user visible impact
2007-05-14 18:29:03 +00:00
Jérémy Rosen
e111e5d439
unit drawing logic cleanup,
...
should fix various acceleration bugs and restore status bars during fight
2007-05-12 10:33:21 +00:00
Benoît Timbert
40c5035fd0
Remove some old backward compatibility
2007-04-28 09:15:10 +00:00
Patrick Parker
a4bd288cc2
allow effect to filter on unit_gender
...
add utility functions gender_string() and string_gender()
2007-04-16 01:52:41 +00:00
Benoît Timbert
9487942be9
Fixes attack filters and special_filters that were using name()
...
(ie translated value of the weapon's description=) instead of id() (ie
the weapon's name=). This should fix #8212
2007-03-26 19:37:49 +00:00
Benoît Timbert
2ed280e8af
In attack modification [effect]s:
...
- set_name no longer change the weapon description
- set_description (new key) change the weapon description
2007-03-13 10:32:45 +00:00
Benoît Timbert
0f69bd6de0
I plan to remove set_special after 1.3.2
2007-03-11 16:02:03 +00:00
Mark de Wever
a13d97ce23
added the new type of deprecated messages
2007-03-11 15:54:41 +00:00
Benoît Timbert
ceb21629f4
Remove some old backward compatibilty code,
...
...add comments around another v1.2 backward compatibility code to be
removed soon (after 1.3.2).
2007-03-07 20:14:15 +00:00
Mark de Wever
db132c674b
reverted the layering for the terrains,
...
...the implementation with a single 64 bit value gave both compiler
and performance problems. It will be done again with a different
approach. Didn't revert the changelog since it gave conflicts and
this feature will be added again soon.
2007-03-01 16:11:13 +00:00
Patrick Parker
d4ee5a6bb4
trunk compiles again for MSVC++6
2007-03-01 00:28:07 +00:00