25710 Commits

Author SHA1 Message Date
Sergey Popov
d41f1064ce SCons recipe: added cross-compile support. 2008-06-23 19:52:02 +00:00
Mark de Wever
19b452540b Update doxygen comment style. 2008-06-23 19:48:12 +00:00
Mark de Wever
8268e382de Add the keyboard event chaining.
The mp selection dialog is the only dialog which can benefit from it
so the only dialog which chains the keyboard events. (The window
itself is always chained eventhough there's no hotkey support yet.)

When the listbox has the focus and ends at the top item the next up
arrow is send to the textbox which selects from the history there. Not
sure whether this is great behaviour, but it can be changed by letting
the listbox always handle the up arrow.
2008-06-23 19:34:16 +00:00
Mark de Wever
1e79743e6f Update doxygen comment style. 2008-06-23 19:29:19 +00:00
Mark de Wever
4e0b403c4c Update doxygen comment style. 2008-06-23 19:18:03 +00:00
Mark de Wever
1b6e3460b2 Update doxygen comment style. 2008-06-23 19:13:26 +00:00
Mark de Wever
74481433fd Update doxygen comment style. 2008-06-23 19:07:30 +00:00
Mark de Wever
f15741fdd4 Fix some debug output to show the proper class. 2008-06-23 19:02:38 +00:00
Mark de Wever
8cef3b53de Let ttext_box::mouse_left_button_down inherit from ttext_...
...so it can grab the keyboard focus.
2008-06-23 18:59:05 +00:00
Mark de Wever
ac10e09562 Added proof-of-conecpt hack to let the listbox do something...
...when the arrow keys are used and it has the keyboard focus.
2008-06-23 18:23:30 +00:00
George Birthisel
ccae3338d4 clarified special notes for plague 2008-06-23 18:14:01 +00:00
Mark de Wever
e1877a4279 Update doxygen comment style. 2008-06-23 16:59:39 +00:00
Ali El Gariani
9e944185f1 Fix bad savegame delete button,
...caused by bad copy/paste in my 2008-06-23T10:01:23Z!alinkmaze@gmail.com
2008-06-23 16:58:42 +00:00
Mark de Wever
e2cd745d96 Remove some comment which is no longer valid with the new LRU cache. 2008-06-23 16:33:04 +00:00
Pauli Nieminen
b6141d7dd1 Fixed campaignd not exiting after fatal network error 2008-06-23 16:32:38 +00:00
Mark de Wever
e8b1280a7b [[drawing code fixes]]
* Rewrote the drawing code to be able to force a redraw and to invalidate the
  background. This fixes the ttoggle_panel redraw problems.

* Removed the no_redraw label hack

* Updated the WIKI comment blocks to fix some typos and add some forgotten info.
2008-06-23 16:32:37 +00:00
Mark de Wever
fd802000dd Update doxygen comment style. 2008-06-23 16:24:55 +00:00
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