23636 Commits

Author SHA1 Message Date
Eric S. Raymond
f7dab42239 Document a script. 2008-03-21 09:31:43 +00:00
Eric S. Raymond
142d5cd739 TeamColorizer cleaned up and moves to Python. 2008-03-21 09:03:36 +00:00
David White
7538016574 some fixes to unit specific formulas 2008-03-21 06:58:19 +00:00
David White
cfcf2462f8 fixed server messaging 2008-03-21 05:38:26 +00:00
Ali El Gariani
5bf57682ee Remove the unused special pathfinding cost for destination.
The only place where still used (finish a move in ZoC) was made
incorrect since a long time.  This make function calls simpler and
it's easy to add again if a new pathfinding feature need it.
2008-03-21 04:54:52 +00:00
Ali El Gariani
414da2dcad Fix a small error in pathfinding cost which caused sub-optimal path...
...when traversing ZoC (spend more MP just to avoid ZoC, which was
useless if the move already need several turns). Probably not really
useful for human but I prefer cleaning the code before introducing new
feature.
2008-03-21 04:31:19 +00:00
Bartek Waresiak
85b8787a07 Added unit formulas.We can now put into [unit] [/unit]:
formula=''...''  which specify custom unit-formula

[ai_vars] ... [/ai_vars] which specify AI variables for that unit

Formulas for units are executed at begining of the turn. Basic example
can be found in scenario-formula.cfg

Run: wesnoth --test formula --debug to see it in action
2008-03-21 04:00:25 +00:00
Eric S. Raymond
e5e500ca60 [unit_type] unit_description -> description 2008-03-21 03:26:09 +00:00
Eric S. Raymond
54d289ab1c More tag list adjustments. 2008-03-21 03:02:31 +00:00
Eric S. Raymond
89f0d9bdb6 Incorporate tags added recently. 2008-03-21 02:57:22 +00:00
Eric S. Raymond
7aa14b8a5f Address bug #11318. Continuity fixes for story setup. 2008-03-20 23:17:56 +00:00
Eric S. Raymond
bd129a9c79 Name changes preparatory to addressing bug #11318. 2008-03-20 22:45:52 +00:00
Jérémy Rosen
0b784256f4 make image_diagonal also work with normal frames 2008-03-20 22:27:04 +00:00
Jérémy Rosen
3312efd0d6 forgot changelog 2008-03-20 21:44:07 +00:00
Jérémy Rosen
1f9c122674 add two new progressive parameters for animations : x and y.
notice that refresh rules still apply, unit shall not leave their
redraw zone. This can be applied to all types of frames in the usual
ways
2008-03-20 21:43:50 +00:00
Eric S. Raymond
810b84452e Address bug #11317.
Zookeeper pointed out that if wwe're not going to turn the peasants
chaotic, there's not much point in having them change unit types.
2008-03-20 21:05:35 +00:00
Jérémy Rosen
a82b592ae5 new animation parameter: submerge.
Not really useful, but needed for future refactoring
2008-03-20 20:37:38 +00:00
Eric S. Raymond
c978a28d52 Add an "alignment" type check to wmllint. 2008-03-20 20:26:51 +00:00
Mark de Wever
9baf085293 Added more validation on the line and rectangle input.
Fixed a output copy paste error.
2008-03-20 19:15:36 +00:00
Ali El Gariani
fb49b8a6ed Subtle 3D effect on the loading bar (nothing fancy)
for low-PC users who watch this bar too often.
2008-03-20 19:03:51 +00:00
Mark de Wever
18c1497916 A hack to make the letters show up a bit readable...
...it does however clear the background. This needs to be fixed but
don't want to stall development too long on it.
2008-03-20 18:47:11 +00:00
Nils Kneuper
9e248f5caa updated Czech translation 2008-03-20 16:02:12 +00:00
David White
dedcf6543b fixed CPU time calculations on server 2008-03-20 14:08:16 +00:00
Nils Kneuper
074746f3e3 updated Turkish translation 2008-03-20 12:42:34 +00:00
Piotr Cychowski
9ac6c6dcc9 Fix a typo, caught by -Wall 2008-03-20 12:02:23 +00:00
Bartek Waresiak
b6d9038d7f Make trunk compile again without warnings...
...gcc wants virtual destructors for classes with virtual functions
2008-03-20 11:57:03 +00:00
Piotr Cychowski
bbd3c9e8b5 Commit tentative patch of server.cpp to allow compilation under Windows again.
Introduces boost::timer header dependency. Needs review by Sirp.
2008-03-20 11:48:19 +00:00
Piotr Cychowski
ffde554c80 Commit revised server project file for compilation with gcc4. 2008-03-20 11:46:41 +00:00
David Philippi
71d4201e60 lithuanian translation update 2008-03-20 10:53:13 +00:00
Piotr Cychowski
2f7f55a63c Revised editor project for compilation usage with gcc4.
Begs a question why exactly does editor need both boost::iostreams and
zlib when it does no compressed I/O
2008-03-20 10:26:40 +00:00
Richard Kettering
6eea7850a7 New attack animation for ulfzerker. 2008-03-20 06:27:06 +00:00
Richard Kettering
3265ff135a New attack animation for ulfzerker. 2008-03-20 06:26:51 +00:00
Richard Kettering
d39bad53ab New attack animation for ulfzerker. 2008-03-20 06:02:14 +00:00
David White
5f575c8862 added builtin function names to 'functions' operator 2008-03-20 03:15:39 +00:00
Eric S. Raymond
47bfeded8e Actually build a config.h. 2008-03-20 02:30:42 +00:00
David White
a8d9b5f917 applied barbarianhero's 'functions' patch to formula system 2008-03-20 02:22:45 +00:00
Benoît Timbert
3b13748f61 French translation update 2008-03-19 20:22:47 +00:00
Ignacio R. Morelle
ef718e55f3 Fixed a small bug with moving the lightning bolt missile animation to core 2008-03-19 19:52:42 +00:00
Ignacio R. Morelle
a13684285a Made Delfador's thunderbolt missile animations reusable by UMC 2008-03-19 19:26:51 +00:00
Eric S. Raymond
5ba329f32f First scons build successful, of wesnothd. 2008-03-19 18:42:22 +00:00
Bruno Wolff III
b7e7071b57 Note that gcc 4.3 is complete in trunk. 2008-03-19 18:31:23 +00:00
Bruno Wolff III
084b785d25 Propagate rename of svnrev (rom game_config) to revision into the editor. 2008-03-19 18:25:04 +00:00
Bruno Wolff III
da05baf054 Thanks for pointing out the intention of the statement,
...but given that intention it was still wrong. Bitwise and has lower
preceence than comparison so parens are needed around the masking
clause. This change gets rid of the gcc 4.3 warning and I think
provides the correct semantics.
2008-03-19 18:17:17 +00:00
Bruno Wolff III
34580132d1 Silence gcc 4.3 warning by adding parens around && clause near ||. 2008-03-19 17:57:30 +00:00
Bruno Wolff III
8c349c77b3 Silence gcc 4.3 warnings by adding parens around && clauses near ||. 2008-03-19 17:54:45 +00:00
Ignacio R. Morelle
45087ff383 Fixed the *real* typo originated by 2008-03-19T17:25:39Z!bruno@wolff.to;...
...the operator intended there was & to check against a bitfield
2008-03-19 17:51:45 +00:00
Bruno Wolff III
12be05d9bd Silence gcc 4.3 warning by add braces to prevent ambiguous else. 2008-03-19 17:51:14 +00:00
Bruno Wolff III
cb4171b955 Silence gcc 4.3 warnings by add parens around && clauses near ||. 2008-03-19 17:48:22 +00:00
Bruno Wolff III
2811126476 Silence gcc 4.3 warning by removing const from const return type. 2008-03-19 17:46:27 +00:00
Bruno Wolff III
c20311777f Silence gcc 4.3 warning by adding parens around && clause near ||. 2008-03-19 17:44:45 +00:00