25693 Commits

Author SHA1 Message Date
Mark de Wever
d3091952d8 Update doxygen comment style. 2008-06-23 15:18:01 +00:00
Mark de Wever
964c85d351 Update doxygen comment style. 2008-06-23 15:15:33 +00:00
Mark de Wever
d5275eae25 Add Exuberant Ctags suppor to the TAGS build. Esr you might want to review it. 2008-06-23 15:10:54 +00:00
Greg Copeland
510048f1be Guard against another possible divide by zero. 2008-06-23 14:54:28 +00:00
Greg Copeland
000f696fbf Various changes to support gzip/zlib compression are now in place.
Some changes to core WML code is still required to make it properly
follow the new encoding/decoding escape sequences. Some results of
pylint have been applied. Includes minor portability enhancements.

Some code changed to be more OO+pythonic (e.g. threading). Some code
stubs are in place for future enhancements. Most reliable works
except for uploads.
2008-06-23 14:09:33 +00:00
Pauli Nieminen
b8222b7b7f Fixed cxxtool check work if not set 2008-06-23 13:01:26 +00:00
Greg Copeland
c13bf4d634 Fixed a ZeroDivisionError bug which is triggered on certain maps. 2008-06-23 12:54:08 +00:00
Pauli Nieminen
cad1105d5c Option to set c++ compiler for scons 2008-06-23 12:44:24 +00:00
Ali El Gariani
178ec282a7 document the new command line parameter "--smallgui" in "--help"
"allow to use screen resolutions down to 800x480 and resize few
interface elements.\n"
2008-06-23 10:14:56 +00:00
Ali El Gariani
4965ec95fa Allow to use the small-gui mode by starting wesnoth with --smallgui
The configure switch is still working, will remove it later
2008-06-23 10:01:23 +00:00
Sergey Popov
f4f82aa9dd Added option "fast" to scons recipe. 2008-06-23 09:20:53 +00:00
Piotr Cychowski
7d0c5a4a02 Fix an earlier bug causing all game names to show in red
Disable a check causing have_era attribute not not be set in most
cases making selection_is_joinable and selection_is_obsevable not to
function properly

Fix bug introduced in my previous commit causing all games getting
Unknown Era suffix regardless of need.
2008-06-23 08:25:45 +00:00
Piotr Cychowski
20b2d655bc Make names of MP games using era player doesn't have display in red...
...with (Unknown Era) suffix
2008-06-23 07:51:26 +00:00
Sergey Popov
6489c059c5 Refactored code for file-specific defines. 2008-06-23 06:58:31 +00:00
Patrick Parker
caa60dbd03 added file comments 2008-06-23 03:14:18 +00:00
Pauli Nieminen
3200d42e06 made some of compiler defines to be file specific to reduce recompilation
Improved wesnothd filename quessing a bit
2008-06-22 22:41:36 +00:00
Ali El Gariani
c68154130f Change cache size from 600 to 2000...
...because it really slowed loading and scrolling (on test-scenario
scrolling was always loading png files from disk)

A better solution will be to use different cache sizes but better wait to
polish the implementation before fine tuning these values.

PS: and in the mean time let's trunk be fast ;)
2008-06-22 22:37:58 +00:00
Ali El Gariani
6ed2269ff8 little cleaning of invalidations functions 2008-06-22 22:13:21 +00:00
Ali El Gariani
4ffcbf3281 Small simplifications 2008-06-22 21:43:25 +00:00
Ali El Gariani
fb6024750b Optimize scrolling, haloes and out-of-hex units:
by adding a more precise rectangle to hexes conversion (at the pixel
level, instead of padding with full hexes). This often halves the
invalidated hexes.

Added a new structure+iterator for simplifying this frequent
operation.  Remove various now unneeded functions.
2008-06-22 21:26:17 +00:00
Nils Kneuper
b14bc07702 post release announcement (1.5.1) cleanup of RELEASE_NOTES 2008-06-22 20:39:42 +00:00
Jérémy Rosen
6a1f223f5e made the image cache LRU with a size of 600 images. 2008-06-22 18:39:10 +00:00
Mark de Wever
dc4ed7241b Forgot to document a new function,
...added documentation renamed it and did some minor cleanups.
2008-06-22 18:08:30 +00:00
Mark de Wever
f2f84a592a Undefine a macro when no longer needed. 2008-06-22 17:59:22 +00:00
Mark de Wever
2cbe565950 Add new proof-of-concept toggle panel.
Drawing on the panel still has glitches.

Events are send to the panel not to the widget.

Sapient sorry for breaking the coding standard too lazy do convert the
0's ;-).
2008-06-22 17:49:58 +00:00
Patrick Parker
74eae8dc3d by convention, avoid using literal zero in a non-numeric context 2008-06-22 17:32:53 +00:00
Sergey Popov
65463b2a0d Fixed compile warning. 2008-06-22 15:39:35 +00:00
Pauli Nieminen
fa10eb8587 Fixed formula constructor to initialize variables 2008-06-22 14:16:00 +00:00
Nils Kneuper
864f070d43 updated Lithuanian translation 2008-06-22 13:24:15 +00:00
Mark de Wever
d1bc3d854d Added constructor to initialize all members. 2008-06-22 12:32:57 +00:00
Mark de Wever
c5d41ca932 Added constructor to initialize all members. 2008-06-22 12:19:43 +00:00
Mark de Wever
43241b8d02 Added constructor to initialize all members. 2008-06-22 12:15:27 +00:00
Mark de Wever
2af8aafd54 Added constructor to initialize all members. 2008-06-22 12:09:37 +00:00
Mark de Wever
f8c722a765 Added constructor to initialize all members. 2008-06-22 11:55:33 +00:00
Mark de Wever
88f6d24e30 Initialize all members. 2008-06-22 11:50:23 +00:00
Mark de Wever
cc012f7ff8 Added constructor to initialize all members and initialize all members. 2008-06-22 11:40:38 +00:00
Mark de Wever
98b8a23afe Only declare the default contructor, kills a few uninitialized member warnings. 2008-06-22 11:33:41 +00:00
Mark de Wever
5b5d149057 Added constructor to initialize all members. 2008-06-22 11:25:02 +00:00
Mark de Wever
c37806cbcd Initialize all members. 2008-06-22 11:20:47 +00:00
Mark de Wever
5b30fad218 Added constructor to initialize all members. 2008-06-22 11:08:12 +00:00
Mark de Wever
789f45df26 Zookeeper discovered wesnoth no longer starts...
...if the binary has the name wesnoth in it. This was caused by the
automatic server start code. The bug has been fixed, but the server
start code still looks fragile.
2008-06-22 10:59:51 +00:00
Piotr Cychowski
9750bc72fe Revert replacing putenv() with SetEnviromentVariable()...
...since the latter fails to work properly. Use ISO C++ conformant
_putenv() instead.

Comment out some WIN32 only code introduced earlier that doesn't do
anything on its own yet.
2008-06-22 10:42:37 +00:00
Mark de Wever
c22a395b28 Added constructor to initialize all members. 2008-06-22 10:33:28 +00:00
Mark de Wever
59083a5b4d Remove not needed private default constructor. 2008-06-22 10:12:23 +00:00
Mark de Wever
19bea5da7d Added constructor to initialize all members. 2008-06-22 10:08:42 +00:00
Nils Kneuper
d89a83ca95 updated Finnish translation 2008-06-22 10:06:30 +00:00
Mark de Wever
739ec0bd38 Initialize all members. 2008-06-22 10:03:57 +00:00
Mark de Wever
c7089e2162 Initialize all members and replaced NULL with 0. 2008-06-22 09:48:49 +00:00
Mark de Wever
879dd99349 Added constructor to initialize all members.
Initialized all members in the main class.

Removed the C style struct typedef.
2008-06-22 09:29:36 +00:00
Mark de Wever
767a7dbe89 Initialize all members. 2008-06-22 08:39:00 +00:00