23678 Commits

Author SHA1 Message Date
Douglas Hains
fdddd90bce Added support for formula scripting to formulaAI parser 2008-03-22 22:10:10 +00:00
Ali El Gariani
42b2db2158 add a little shadow on the bar of the loading screen 2008-03-22 20:28:45 +00:00
Ali El Gariani
975ef01ab4 add a little 3D effect in the loading screen
fix sub-optimal multi-turns pathfinding which avoided ZoC too much
2008-03-22 20:23:42 +00:00
Eric S. Raymond
4be7a28ae0 Change link order to put system libaries last. 2008-03-22 18:00:47 +00:00
Benoît Timbert
762a7f1e47 Apply a patch from caslav.ilic: Fix the extraction of info variables...
...when the value is quoted.
2008-03-22 17:10:00 +00:00
Eric S. Raymond
67bf2612d6 scons recipe complexity reduction. 2008-03-22 17:01:48 +00:00
Mark de Wever
1cdd8361e7 Add has_key member. 2008-03-22 16:49:48 +00:00
Gunter Labes
43748b58e5 remove --enable-debug and use different $CXXFLAGS for the different versions 2008-03-22 15:15:46 +00:00
Mark de Wever
73abe36486 Converted the text to use the formula system as well.
Buttons now can draw their label from the definition.

Various minor cleanups.
2008-03-22 15:00:23 +00:00
Nils Kneuper
109acec398 updated Chinese translation 2008-03-22 13:09:31 +00:00
Eric S. Raymond
f622023e36 More option coverage in the scons recipe. 2008-03-22 13:09:01 +00:00
Eric S. Raymond
ed0c215917 Add smallgui option to scons recipe. 2008-03-22 12:41:36 +00:00
Eric S. Raymond
de3b6a6b1c Split the scons recipe so it doesn't have to rebuild every .o every time. 2008-03-22 11:56:45 +00:00
Lari Nieminen
fa7008d6a6 Applied mesilliac's fix for keep<->cavewall glitches. 2008-03-22 11:12:10 +00:00
Eric S. Raymond
2b652a22e8 Remove some unneeded #includes and #defines. 2008-03-22 10:39:02 +00:00
Benoît Timbert
54cd5b3403 French translation update 2008-03-22 10:15:55 +00:00
Eric S. Raymond
e2aff149a6 Typo fix. (Patch #1009) 2008-03-22 10:00:17 +00:00
Gunter Labes
da607317c0 separate out of sync termination reasons by the era used 2008-03-22 09:46:43 +00:00
Eric S. Raymond
a586100484 And yet *more* scons warnings cleared. 2008-03-22 05:52:01 +00:00
Eric S. Raymond
6e370718fb Yet more scons warnings cleared. 2008-03-22 05:40:54 +00:00
Eric S. Raymond
949389a998 More warning message elimination. 2008-03-22 05:31:31 +00:00
Eric S. Raymond
0dd9a4da4d Cut down on scons warnings. 2008-03-22 05:20:56 +00:00
Eric S. Raymond
22c54522ad Back out SConstruct changes that broke the game build. 2008-03-22 05:08:09 +00:00
Gunter Labes
39a02dc942 also exit explicitely on SIGTERM
correct a couple more server messages
2008-03-22 04:55:46 +00:00
David White
0d984bf38e committed files that were meant to be committed before...
...but I missed them because I'm stupid. :(
2008-03-22 04:42:25 +00:00
David White
432a9c2d0c added extra assertions to detect error 2008-03-22 02:36:57 +00:00
David White
95702243c0 added extra assertions to track causes of crash 2008-03-22 02:13:51 +00:00
Bartek Waresiak
3c5acd98cf applied barbarianhero's 'def' keyword patch to formula system 2008-03-21 23:11:31 +00:00
Bartek Waresiak
1040df9492 Small fix to unit formulas,
...and making move_unit work correctly for formulas which attempt to
move unit to a place where it is already standing
2008-03-21 19:36:03 +00:00
Nils Kneuper
fe758a265a updated German translation (incl. patch #1015) 2008-03-21 17:25:00 +00:00
Eric S. Raymond
eb1c774825 Abstract out another library in scons. 2008-03-21 17:00:47 +00:00
Eric S. Raymond
1e468a721d Make the campaign server and tags file. 2008-03-21 15:28:19 +00:00
Eric S. Raymond
e695e9b08f wesnoth game builds in scons. 2008-03-21 12:13:33 +00:00
Eric S. Raymond
8f0abfc216 wesnoth_editor builds in scons. 2008-03-21 12:03:08 +00:00
Piotr Cychowski
74a91d9e1a Thinned down and revised game project file for compilation with gcc4. 2008-03-21 11:51:00 +00:00
Eric S. Raymond
771ac29eb2 Build libwesnoth and editor with scons (not quite working yet). 2008-03-21 11:46:48 +00:00
Eric S. Raymond
e31fc30521 Another step towards scons build. 2008-03-21 11:12:25 +00:00
Nils Kneuper
702a04fddd another wrong set textdomain,
...no harm since no translateable strings in the file.
2008-03-21 10:36:56 +00:00
Nils Kneuper
ed1ad7457b fixed textdomain declarations for tHoT untis, reported in bug #11279 2008-03-21 10:27:52 +00:00
Ali El Gariani
ad74ec7497 another forgotten commit 2008-03-21 10:19:17 +00:00
Ali El Gariani
074863cb8c ooops forget to commit a file 2008-03-21 10:17:38 +00:00
Eric S. Raymond
924d9ec0f9 Refactoring step. 2008-03-21 09:42:57 +00:00
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