32935 Commits

Author SHA1 Message Date
Mark de Wever
15dab392d6 Set the retval_ explicitly to NONE. 2009-04-30 20:56:25 +00:00
Mark de Wever
fae501d7c3 Add a new return value.
This value is not used, but will be implemented in the future.
2009-04-30 20:56:19 +00:00
Iurii Chernyi
54bbbc1022 Fixed crashes related with undo actions incorrectly treated...
...as dismissal undo actions (because of uninitialized member variable
in undo_action). Thanks to Reisiger for investigating that segfault.
2009-04-30 18:56:09 +00:00
Mark de Wever
9195d91b7f Fix a compiler warning. 2009-04-30 18:19:48 +00:00
Mark de Wever
ccd709fcd0 Fix a compiler warning. 2009-04-30 18:05:32 +00:00
Jörg Hinrichs
4809396dc2 Savegame reorganization Step 1: a simpler interface to saving and loading.
Further refactoring savegame.cpp and slightly simplifying the interface.
2009-04-30 18:04:23 +00:00
Iurii Chernyi
84fa740084 Improved ai/testing logging to log per-turn information about gold,
...villages, and units
2009-04-30 16:35:04 +00:00
Iurii Chernyi
b045dfeb0d New helper function team_unit_cost to calculate total cost of units owned by side 2009-04-30 16:34:44 +00:00
Gunter Labes
97582b31f8 Added the 'sub' key to [set_variable] to subtract from the variable. 2009-04-30 15:35:47 +00:00
Gunter Labes
59f2c43f62 Made the number of enemies to defeat depend on the difficulty. 2009-04-30 14:46:11 +00:00
Gunter Labes
5e3a688b41 fixed formatting 2009-04-30 14:46:02 +00:00
Lari Nieminen
1e8e8b1982 Fixed the name-revealing event not triggering...
...(at least in 1.6) because of the name= _ "?" filter.
2009-04-30 13:00:59 +00:00
Mark de Wever
4e4007658f Implement the width reduction for tgrid. 2009-04-30 12:14:58 +00:00
Mark de Wever
f15cad978c Fix indention. 2009-04-30 12:14:54 +00:00
Mark de Wever
f3e16556bc Add tscrollbar_container::NEW_request_reduce_width. 2009-04-30 12:14:50 +00:00
Mark de Wever
48d5a20b1a Forward all layout functions to the grid.
The container does nothing regarding resizing so forward everything.
2009-04-30 12:14:45 +00:00
Mark de Wever
395d79dafb Add NEW_request_reduce_width for tcontrol. 2009-04-30 12:14:41 +00:00
Mark de Wever
23aed788a3 Formatting fix. 2009-04-30 12:14:36 +00:00
Mark de Wever
0ffdd48253 Fix minor formatting issue. 2009-04-30 12:14:32 +00:00
Guillaume Melquiond
7a23892525 Added a pipe to prevent variable substitution from...
...creating an invalid UTF8 string. (Bug #13454)
2009-04-30 06:22:47 +00:00
Mark de Wever
f8473020e4 Move gui/widgets/window_builder* to gui/auxiliary. 2009-04-30 06:22:28 +00:00
Ignacio R. Morelle
28ecafc930 Get rid of the show_intro() stub procedure, replaced with show_storyscreen(). 2009-04-30 02:00:48 +00:00
Eric S. Raymond
709ea04e11 The previous attempt to keep from leaking generated journey macros...
...into the global macro namespace got a bit overzealous.
2009-04-29 20:59:48 +00:00
Jörg Hinrichs
9678bd35f1 Savegame refactoring: Removes some more references to dialogs.hpp. 2009-04-29 20:08:49 +00:00
Jörg Hinrichs
61e25db590 Fixes overwriting for automatic savegames. 2009-04-29 19:56:19 +00:00
Mark de Wever
970416c6f2 Move gui/widgets/formula.hpp to gui/auxiliary. 2009-04-29 19:20:00 +00:00
Mark de Wever
d46b98fb3f Better validate the map area size.
This fixes the result of bug #13420 (the cause still needs to be fixed).
2009-04-29 18:47:10 +00:00
Mark de Wever
48b7b8ee7c Move gui/canvas.* to auxiliary. 2009-04-29 18:02:56 +00:00
Nils Kneuper
11fcd030f6 alphabetical sorting for wesnoth-optipng help output 2009-04-29 17:38:44 +00:00
Nils Kneuper
6c4c3cd3a8 apply patch #1171 by Polarina...
...(Automatic CPU count detection for utils/wesnoth-optipng)
2009-04-29 17:36:46 +00:00
Nils Kneuper
6c0d7b4814 ran utils/wesnoth-optipng
Overall statistics (only for files with a smaller recompressed size):
  Original size: 3920 KiB on 59 files
 Optimized size: 3722 KiB
   Total saving: 197 KiB = 5% decrease
2009-04-29 17:30:53 +00:00
Gunter Labes
c14e80752c given a simple username use the IP instead...
...to search through the IP log and unify the output of some commands
2009-04-29 17:26:53 +00:00
Gunter Labes
596282f1b5 added the name of the player to an error message 2009-04-29 16:06:06 +00:00
Nils Kneuper
cdb9a12a48 add some svn ignores on new folders 2009-04-29 15:18:57 +00:00
George Birthisel
cb341f5312 Minor balance change to MP map 4p_Clash. Committed for jb. 2009-04-29 14:44:40 +00:00
Ignacio R. Morelle
2f2d758f0e Doxygen. 2009-04-29 13:33:16 +00:00
Nils Kneuper
5b227c5ac2 updated Icelandic translation 2009-04-29 11:06:04 +00:00
Iurii Chernyi
a3bef6ceda Added get_ai_info function fo ai/ai_manager to get global ai-game info 2009-04-29 01:28:16 +00:00
Iurii Chernyi
811ec926d5 AI testing: called testing hooks at scenario win and draw,
...and at start of each side turn
2009-04-29 01:28:11 +00:00
Iurii Chernyi
ab540dca15 New source file pair: ai/testing.[ch]pp...
Modified automake/cmake/scons/MSVC9 build configs.
2009-04-29 01:28:05 +00:00
Mark de Wever
6a1e8c474e Don't scale the energy bar for tiny-gui. 2009-04-28 21:15:21 +00:00
Mark de Wever
43f3991ad0 Fix a compiler warning. 2009-04-28 21:13:28 +00:00
Jörg Hinrichs
3e266d6741 Refactor savegame.cpp:
...Get rid of display references for the savegame class and move
messages to gui2.
2009-04-28 20:32:50 +00:00
Jörg Hinrichs
9dee31d3ed Moving the savefile overwrite dialog to gui2. 2009-04-28 20:12:39 +00:00
Nils Kneuper
4a27d6f04e updated Russian translation 2009-04-28 19:42:22 +00:00
Jörg Hinrichs
3e13357f4f Refactoring save_game_interactive in savegame.cpp. 2009-04-28 19:03:51 +00:00
Jörg Hinrichs
b0c5361877 Applies the patch for making dismissal of units undoable...
...and partly fixes bug #13268 (save corruption through undo/redo of
recalls. The bug will still be kept open as working with the index of
the recall list always leaves room for corruption. A final fix will
have to involve working with unit id's instead if indices.
2009-04-28 18:44:11 +00:00
Mark de Wever
139bbac9f7 Fix some compiler warnings.
Patch provided by Polarina.
2009-04-28 18:31:37 +00:00
Iurii Chernyi
b6cc8b1f6f Implement FR in Bug #13397:
...new fai function suitable_keep which takes a location on which a
unit is standing, and returns, in order of decreasing preference:
nearest (by pathfinding) empty keep reachable by that unit within 1
turn, nearest (by pathfinding) occupied keep reachable within 1 turn,
result of old nearest_keep() implementation, null location.
2009-04-28 18:01:21 +00:00
Eric S. Raymond
ae4ff983a9 Fix errors in trackplacer's overlap detector. 2009-04-28 17:56:17 +00:00