Commit Graph

21345 Commits

Author SHA1 Message Date
Eric S. Raymond
c5f8c853ac Attempt to address bug #10476. 2007-12-09 01:09:05 +00:00
Nils Kneuper
40a08e2e7b updated Italian translation 2007-12-08 21:23:25 +00:00
Nils Kneuper
351be33f49 updated Finnish translation 2007-12-08 21:22:29 +00:00
Lari Nieminen
5563b7fa45 Shortened the house a bit. 2007-12-08 20:47:10 +00:00
Mark de Wever
a20027e829 Change the client to send gzipped data to the MP server now.
This works with older clients on the server as well.
New client directly with old client probably won't work (untested).
2007-12-08 19:47:43 +00:00
Lari Nieminen
36f2553963 Updated changelog(s). 2007-12-08 19:33:34 +00:00
Gunter Labes
bda53ea21d small improvements to the --g(un)zip usage help 2007-12-08 19:26:25 +00:00
Mark de Wever
5f027a1a72 Make sure all members are initialized in the constructor. 2007-12-08 19:13:50 +00:00
Mark de Wever
ac3bb5adbd Make sure all members are initialized in the constructor. 2007-12-08 18:52:15 +00:00
Lari Nieminen
8f99271a40 Implement the fullheal AMLA (fullheal with +25% max XP).
Now all max-level units have an {AMLA_DEFAULT}, which contains both
{AMLA_TOUGH 3} and {AMLA_FULLHEAL}. Necrophage gets the "feeding"
ability.
2007-12-08 18:51:47 +00:00
Mark de Wever
7ce81c12f4 Make sure all members are initialized in the constructor. 2007-12-08 18:05:23 +00:00
Mark de Wever
accdbb5c0f Removed the USE_GZIP ifdefs,...
...everything except the editor now needs the boost library. Since the
odds of only compiling the editor is slim so removed it.

The -DUSE_GZIP flag is thus no longer needed.
2007-12-08 18:01:05 +00:00
Mark de Wever
7b12cffb91 Updated the network code to handle gzipped data instead of binary wml.
Nobody sends it yet, but the server can receive it, once the server
has been restarted there will be another commit to make the clients
send gzipped data to the server.

There's a config variable to change the server to send gzipped data as
well. On the trunk server this switch can be set once everybody had
some time to update their clients.

Once 1.3.12 is no longer allowed on the server this can also be set on
the 1.3 server. Once it's no longer allowed there the server will be
modified to only send gzipped data and the switch removed.

(The campaign server won't be modified at this moment.)

NOTE *campaign server and server need to be included
serialization/binary_or_text.cpp*
2007-12-08 17:42:36 +00:00
Mark de Wever
e265e9f3a0 Bump boost dependency to 1.33, versions before aren't tested and may not work. 2007-12-08 17:37:12 +00:00
Elias Pschernig
a9c17ac59b Make the python WML parser skip comments inside strings without double quotes. 2007-12-08 16:08:12 +00:00
Dimitar Ilccov
67946ba2aa Update of the project files 2007-12-08 13:34:49 +00:00
Piotr Cychowski
db7eca1e63 Fixes #10418. Reduces the number of elves to be found in the desert by a third. 2007-12-08 10:17:22 +00:00
Ali El Gariani
1a85f2326d Optimization when moving big army into fog/shroud.
Avoid creating a little world with only a copy of the unit to make him
ignore the others (since copy each units of your army after each fog
refresh is bad) Instead simply add a "ignore_units" flag in the
pathfinding function
2007-12-08 03:43:49 +00:00
Ali El Gariani
fd4525fc7e Remove an indentation level and unused parameters
(not detected by compiler because of the recursive calls) Maybe will
adapt paths() later, but a lot of AI code to touch :/
2007-12-08 03:02:30 +00:00
Ali El Gariani
436ce54570 Various optimizations of the pathfinding (helps fog/shroud and AI moves)
The pathfinding part is now few times faster and it seems sensible for
big army
2007-12-08 02:40:08 +00:00
Ali El Gariani
90451b8e2c Optimization of pathfinding when clearing fog/shroud.
(bitwise operation don't do short-circuit evaluation, and the useless
call was the most expensive operation of this loop)

We can add this to the list:"Performance are often killed by
compilable 1-character typo" (in fact, I commit this change separately
just for that ;p ).
2007-12-08 02:36:13 +00:00
Lari Nieminen
5fd5c96505 Fixed a few typos. 2007-12-07 22:49:16 +00:00
Lari Nieminen
841e945f66 Added the .wav's of the bat and troll sounds. 2007-12-07 22:31:50 +00:00
Lari Nieminen
1cd73c0561 Converted bat hit and troll sounds to .ogg. 2007-12-07 22:30:40 +00:00
Lari Nieminen
27d002a989 Added the .wav's of the ogre sounds to the resources branch. 2007-12-07 21:51:52 +00:00
Benoît Timbert
3f24628e58 French translation update 2007-12-07 21:16:06 +00:00
Benoît Timbert
4519ca0ec8 French translation update 2007-12-07 20:53:12 +00:00
Benoît Timbert
410d1dafc1 Just another new french translator 2007-12-07 20:36:58 +00:00
Mark de Wever
180681cf0a Removed the wrapper function network::queue_data() with network::send_data()
and fixed all callers.
2007-12-07 19:25:12 +00:00
Mark de Wever
35d39a456d Remove some unneeded #includes. 2007-12-07 19:03:29 +00:00
Mark de Wever
d9d4be29e9 Make sure all members are initialized in the constructor. 2007-12-07 19:02:51 +00:00
Lari Nieminen
cf05731e14 New ogre sounds (by woodwizzle). 2007-12-07 19:00:23 +00:00
David Philippi
dfc1d6df40 danish translation update 2007-12-07 18:48:16 +00:00
Eric S. Raymond
631a33d170 Address bug #10419.
Having reviewed the way it's used, I don't believe using it will make Wesnoth a 
derivative work of boost.m4, so v3 terms will not propagate to the 
rest of the code.  (Obligatory note: I am not a lawyer.)

This is an issue we'll face again when and if autotools goes v3.
2007-12-07 16:28:11 +00:00
Mark de Wever
e23a962934 wassert -> assert 2007-12-07 16:16:17 +00:00
Lari Nieminen
82f6f2fbd8 Simplify the village capturing and counting WML of 'Peaceful Valley' a bit. 2007-12-07 12:44:59 +00:00
Eric S. Raymond
7919f2a1dd Removed extraneous leading bank lines on several maps. 2007-12-07 04:21:17 +00:00
Nils Kneuper
4ac76b8409 pot-update 2007-12-06 23:33:57 +00:00
Nils Kneuper
d2b06b4d9c correction proposed by Rhonda 2007-12-06 23:26:31 +00:00
Nils Kneuper
6c118a0020 updated Chinese translation 2007-12-06 16:57:08 +00:00
Mark de Wever
a290d1d49b Add a comment to avoid forgetting to update the manual...
...when changing the command line options.
2007-12-06 16:44:38 +00:00
Mark de Wever
ff09e1667a Added the new g(un)zip switches to the manual,
Ivanovic please review since my manpage hacking skills are
non-existant ;-)
2007-12-06 16:36:55 +00:00
Lari Nieminen
b0b48e7f17 Rewrote 'Hide and Seek', now having a wider map with randomly placed guards. 2007-12-06 16:05:13 +00:00
Lari Nieminen
acf126d2fc Removed the old HIT_MISS_SOUNDS macro in favour of the fancier new one. 2007-12-06 13:20:06 +00:00
Ali El Gariani
b1597b31fd revert my 2007-12-06T02:11:40Z!alinkmaze@gmail.com
the last configure.ac always set this flag for the game, mine was just
obsolete and I was confused by the different needs of wesnoth apps.
2007-12-06 11:06:42 +00:00
Ali El Gariani
41f04a013f Fix problem like bug #10458
(AI crash when facing unknown unit type from old savegame). Use a
WML_ASSERT as suggested by Mordante.  Display : "Unknown unit type :
Outlaw Ranger" + assert info.
2007-12-06 09:38:50 +00:00
Ali El Gariani
bac715c911 A small protection again multiple simultaneous selection clicks 2007-12-06 07:30:40 +00:00
Ali El Gariani
bc75afb216 add an ugly missing #ifdef USE_GZIP to allow compilation without the flag set
Mordante: it's just a quick fix to avoid annoying complains.
2007-12-06 02:11:40 +00:00
Ali El Gariani
4282052499 Use also the same previous STL insertion optimization for devived units
If we keep this, I will pull out these both uses in one little
function.  Also remove my previous useless check for "delete NULL"
(thanks Sapient)
2007-12-06 01:59:01 +00:00
Ali El Gariani
94c76d23d8 Remove unused (and not small) data members from the race class. 2007-12-06 00:48:24 +00:00