55395 Commits

Author SHA1 Message Date
Ignacio R. Morelle
047834e0cf scons: Pass -Wno-parentheses-equality to clang for src/lua/ library objects
Step 2/2 in making it possible to build in strict mode with clang 3.3
and scons here.
2014-01-25 23:51:31 -03:00
Ignacio R. Morelle
0742f1c970 scons: Pass -Qunused-arguments to clang to skip warnings about unused -I paths
Step 1/2 in making it possible to build in strict mode with clang 3.3
and scons here.
2014-01-25 23:51:24 -03:00
mattsc
03777e745b SotBE S10: adjust player's starting gold 2014-01-24 09:18:26 -08:00
mattsc
e989d7e2a6 SotBE S10: don't give huge unannounced gold bonus to AIs at turn 8
Instead, give AIs all the gold from the beginning, but stop recruiting
after a little less than half of it is spent.  At turn 8, start
recruiting again with the remaining gold.
2014-01-24 09:18:26 -08:00
mattsc
f862650352 SotBE S10: decrease value of villages for AI sides 2014-01-24 09:18:25 -08:00
mattsc
0166f6e9ac SotBE S10: have AIs target only Inarix, not all saurians
Also set target value for Inarix equal to that of Kapou’e.  Otherwise
it is pretty much impossible to save Inarix.
2014-01-24 09:18:25 -08:00
mattsc
04875b9104 SotBE S10: slight change to a message
The original version only makes sense if the AIs are winning at the
time.  The new version works either way.
2014-01-24 09:18:25 -08:00
ln-zookeeper
84908f41f6 Added flat english map labels to aid localization. 2014-01-24 12:23:39 +02:00
Groggy Dice
179165eb4d campaigns: purge unnecessary "recognize" magic comments 2014-01-23 05:53:05 -05:00
mattsc
cb482ecdea Xcode project: enable strict compilation 2014-01-22 09:23:01 -08:00
mattsc
73074e4d03 Xcode project: set gcc version to Xcode default for wesnothd
This was already done and accidentally committed together with
d9659f69b4a7d5b2d8a2b1ef9acab08d291c885f for Wesnoth
2014-01-22 09:22:00 -08:00
mattsc
70498596d8 Xcode project: set architecture to i386
This is required for the included libs (pango, cairo, etc.).  The
libraries should be updated at some point, but until that happens this
is what needs to be used.
2014-01-22 09:19:57 -08:00
mattsc
aaf0922da1 SotBE S1: enable AI gold saving
The scenario is both harder and more interesting this way and was
rebalanced with gold saving on before the AI default was changed.
2014-01-22 07:57:52 -08:00
mattsc
873b38f093 SotBE S2 & S9: remove code that turns off gold saving
This is now the AI default again.
2014-01-22 07:47:40 -08:00
mattsc
61905ba0c7 Update release notes and changelogs with gold saving default change 2014-01-22 07:05:26 -08:00
mattsc
62273f51b3 RCA AI: revert gold saving default back to 'off'
This was discussed both on the wesnoth-dev mailing list and on the
forums and the overall consensus was that it should be off, although
some scenarios will benefit from it.  It should be enabled specifically
in such scenarios as they are identified.
Reference:
https://mail.gna.org/public/wesnoth-dev/2014-01/msg00001.html
and links therein
2014-01-22 06:51:19 -08:00
mattsc
1012bd0aff Xcode project: don't show warnings for third-party code (release build)
This was already done for the debug build in commit
8567a0d616d323cc74c61fd5d8ef83e025f22c42, added for the release build
as well here.
2014-01-22 06:28:02 -08:00
mattsc
d9659f69b4 Xcode project: remove Wesnoth_Prefix.pch from 'Prefix Header' setting
Apparently it is not needed any more and this removes the last compiler
warning.
2014-01-22 06:28:02 -08:00
Ignacio R. Morelle
65aab693b8 Remove a wmllint spelling exception that doesn't belong
See commit 53d7c53df04a53e7bac87e3794b56dad28db140f.
2014-01-21 22:09:41 -03:00
mattsc
36c2fa313f Xcode project: add FIFODIR to preprocessor macros
… in order to avoid a compiler warning.
2014-01-21 14:31:49 -08:00
Alexander van Gessel
e9f4fd8766 Merge branch 'master' of github.com:wesnoth/wesnoth-old 2014-01-21 21:45:14 +01:00
Alexander van Gessel
d9aa29a2f2 Make handle_external_event's declaration unconditional
The function is always implemented, so it should always be declared.
2014-01-21 21:41:58 +01:00
Allefant
a83ae0ab08 [wmlunits] Filter out eras from dependencies 2014-01-21 02:07:23 +01:00
mattsc
48cff503a3 SotBE S10: fix AI target filters
These are SUFs, so type=Saurian does not match anything.
2014-01-20 12:26:37 -08:00
mattsc
98ed48fa32 SotBE S9: more starting gold for player
The player used to start this scenario with a lot of carry-over gold,
while now there is almost none.
2014-01-20 07:43:43 -08:00
mattsc
0b68f07655 SotBE S9: slight adjustment of initial village ownerships
Give Shan Taum all villages except those very close to Kapou’e’s keep.
2014-01-20 07:43:43 -08:00
mattsc
e9150feebf SotBE S9: turn off gold saving for AI side
We want Shan Taum to throw all his forces at the player at once.
This can likely be reverted in a few days when/if the AI default is
changed, but for now it is still necessary.
2014-01-20 07:43:43 -08:00
mattsc
48633165a3 SotBE S9: force AI to attack enemies 1 XP from leveling
.. so that it is not possible to block key positions with such units.
2014-01-20 07:43:43 -08:00
mattsc
6de138bebf SotBE S9: make river edge terrain slightly less favorable for player 2014-01-20 07:43:43 -08:00
Groggy Dice
3f79e418a5 wmllint: report stored units never unstored or cleared
Keys from the dictionary of stored units are removed as the unit is
unstored or its variable cleared. However, I found that one character in
Legend of Wesmere, Urudin, is stored but apparently never unstored/cleared.
I figure it's best to report such cases.

This message does not include helpful information like the filename,
because that data was never stored in the dictionary. The dictionary was
designed on the presumption that all entries would have a matching unstore/
clear event, and I didn't think of this warning until I saw there was an
anomalous case. Those who get this error will just have to use grep!
2014-01-20 04:19:52 -05:00
Alexander van Gessel
2aa6c2477c Merge branch 'master' of github.com:wesnoth/wesnoth-old 2014-01-20 04:47:14 +01:00
Alexander van Gessel
38df70d25f Try windowed mode if fullscreen doesn't work (bug #20193) 2014-01-20 04:42:34 +01:00
Allefant
754229ff22 [wmlunit] fix help 2014-01-19 21:34:26 +01:00
Allefant
7a653b1c12 [wmlunits] Also take dependencies into account for second pass. 2014-01-19 21:34:26 +01:00
Allefant
db98a2af1c [wmlunits] Don't store translations which are the same. 2014-01-19 21:34:26 +01:00
mattsc
ed4fe91b44 Wolves MAI: add optional parameter attack_only_prey=
By default, the wolves attack any enemy unit they can reach.  If this
key is set, only prey units are attacked.
2014-01-19 12:06:20 -08:00
ln-zookeeper
a5a451834b Updated changelogs. 2014-01-19 14:49:41 +02:00
Alexander van Gessel
6d8c280f7c Merge branch 'master' of github.com:wesnoth/wesnoth-old 2014-01-19 03:30:05 +01:00
Alexander van Gessel
7f61c6e909 Don't draw paths to off-map hexes (bug #21351) 2014-01-19 03:29:38 +01:00
Alexander van Gessel
ce6a2e89fe Update changelog 2014-01-19 03:14:15 +01:00
mattsc
a2727d27a0 SotBE S8: remove unnecessary condition in SLF
Now that bug #21488 is fixed, this is not needed any more.
2014-01-18 16:38:41 -08:00
Alexander van Gessel
ae71df2b34 Merge branch 'master' of github.com:wesnoth/wesnoth-old 2014-01-19 01:23:09 +01:00
Alexander van Gessel
ab965f03ce Add testcase for bug #21488 2014-01-19 01:22:47 +01:00
Alexander van Gessel
ec66b700e0 Fix SLF when x XOR y is specified (bug #21488)
f979609ccfa5 assumed that x and y always occur together
2014-01-19 01:19:32 +01:00
mattsc
134fdae964 AI_FORCE_ATTACK_HIGH_XP_UNITS macro: fix event name
The Lua function needs to go into a preload event, the [micro_ai] tag
does not.
2014-01-18 16:09:50 -08:00
mattsc
1f1ae18749 SotBE S4: force AI to attack enemies 1 XP from leveling
.. so that it is not possible to block key positions with such units.
2014-01-18 16:02:10 -08:00
Alexander van Gessel
7a1e639ca2 Make the clang test actually work 2014-01-19 00:28:38 +01:00
Alexander van Gessel
eb86ebabfc Don't error out clang with unknown warning options 2014-01-18 23:52:28 +01:00
Alexander van Gessel
b49baa68dd Enable strict compilation on travis 2014-01-18 23:16:08 +01:00
Mark de Wever
c8d95a0a92 Disable -Woverloaded-virtual for clang.
Clang 3.4 compiles cleanly with this warning enabled, but Clang 3.2
fails. (Clang 3.3 hasn't been tested.)

This reverts 5fb8dc8a3356b284b8890481df62cfb087a2c300
2014-01-18 22:30:11 +01:00