24722 Commits

Author SHA1 Message Date
Mark de Wever
f41cce333b Now calculate the best sizes for grids and panels. 2008-05-01 06:32:54 +00:00
Ignacio R. Morelle
abeb6fe7f9 New, less-confusing offmap tile icon for editor 2008-05-01 02:25:59 +00:00
Ignacio R. Morelle
8680abbe1c Make titlescreen frames...
...(i.e. tips of the day, buttons panel) have a very slight blur
(radius = 1)
2008-05-01 01:04:07 +00:00
Elias Pschernig
2293806e2c wmlunits: Fixed abilities and attacks display. 2008-04-30 22:43:38 +00:00
Mark de Wever
de5a5dc3dd More cleanups. 2008-04-30 18:39:59 +00:00
Mark de Wever
2c3d8719f2 Some small cleanups. 2008-04-30 18:28:09 +00:00
Mark de Wever
06b32747ae Add the option to have multiple title screens...
...and load one at random (patch #1061).
2008-04-30 16:59:27 +00:00
Sergey Popov
3fa0b367bf Made datadirname affect datadir instead of docdir(Oops!). 2008-04-30 16:48:39 +00:00
Elias Pschernig
ff1229fadc Pierre Bourdon (delroth) added gold_per_village and is_border to the Python AI. 2008-04-30 16:47:15 +00:00
Mark de Wever
d1be9ba41a Rename the badly named scale to grow_factor. 2008-04-30 16:36:19 +00:00
Sergey Popov
ce40c7c6ee Added autotools-style "datarootdir" and "datadirname" options to scons recipe. 2008-04-30 16:09:33 +00:00
Moritz Göbelbecker
7819881877 Fix z-layering of overlays 2008-04-30 15:34:49 +00:00
Moritz Göbelbecker
ff1761aabf New ford graphics from Syntax_Error 2008-04-30 15:32:55 +00:00
Mark de Wever
c36950c0ea Added wiki documentation. 2008-04-30 14:32:57 +00:00
Mark de Wever
7c3c8ee00f Move the drawing in its own function,
...since get_rect() returns the screen coordinates we can't inherit
the panel function.
2008-04-30 13:38:03 +00:00
Mark de Wever
2e7b554e10 Only allow set_size() to modify the size of a widget. 2008-04-30 12:31:51 +00:00
Sergey Popov
055dc5b54c Reimplemented "uninstall" target. 2008-04-30 11:20:20 +00:00
Mark de Wever
35e48eba8a More refactoring, the window definition now inherits from the panel definition.
The window now uses the canvasses as defined in the control.
2008-04-30 10:16:55 +00:00
Mark de Wever
a8fb9e9d9a tpanel now has its own defintion and part of twindow moved to tpanel.
More refactoring still required.
2008-04-30 09:43:54 +00:00
Mark de Wever
99e7c9bbef Forgot some files when reverting patch 1034. 2008-04-30 09:31:04 +00:00
Mark de Wever
7960ef214f Rename all definitions to include their id in their name. 2008-04-30 09:13:20 +00:00
Mark de Wever
e7839ba088 Add the panel defintion. 2008-04-30 09:11:49 +00:00
Sergey Popov
f801db8050 Implemented "program_suffix" option in scons recipe. 2008-04-30 07:50:10 +00:00
Eric S. Raymond
15653127ea Reindent some WML for readability. 2008-04-30 07:48:36 +00:00
Ali El Gariani
956d928659 Improve the previous custom command feature:
...allow sequence of commands like : custom Thief ; unit gender female
; unit hitpoints 100 ; unit name Wonderwoman

Then the hotkey will always create this special unit.

Not very useful with the current set of commands but was easy to
implement.

The main use is probably custom Thief ; unit moves 10
2008-04-30 04:01:23 +00:00
Ali El Gariani
840d1d0642 oops forget one file in previous commit 2008-04-30 03:57:31 +00:00
Ali El Gariani
8a027095cf New hotkey for debugging: "Custom command" which execute a saved command.
With a new command: "custom <command>" to assign a command to this hotkey.

examples: "custom refresh" or "custom create Troll" etc...

This custom command is saved in preferences.
2008-04-30 03:52:10 +00:00
Jörg Hinrichs
13864afd81 Updating the packaging scripts for 1.5.0...
...and adding release project files for CodeBlocks.
2008-04-29 20:25:18 +00:00
Mark de Wever
ab422521fc Add wiki some comments. 2008-04-29 19:50:29 +00:00
Mark de Wever
2c1c222021 Let the image class of the canvas use not optimized images. 2008-04-29 19:47:38 +00:00
Mark de Wever
8455eec72a Convert stretch_surface_*() also to have an optimize flag. 2008-04-29 19:46:55 +00:00
Eric S. Raymond
b3ba10c675 Address bug #11553. 2008-04-29 19:34:58 +00:00
Nils Kneuper
ef9b4faf63 updated Turkish translation 2008-04-29 19:27:47 +00:00
Ali El Gariani
5a41e46a18 Generalize optional RLE-optimization in sdl_utils calls...
...and stop using it where not needed.

(rle-optmization is still the default)
2008-04-29 18:48:23 +00:00
Mark de Wever
07df021d5b load_config() should be called in the constructor. 2008-04-29 17:18:33 +00:00
Elias Pschernig
f768001345 wmlunits: Added id also to unit info page. 2008-04-29 16:49:38 +00:00
Elias Pschernig
7e93462d43 wmlunits: increased font size of unit level indicator,
...added faction-leader indicator, added info link, added abilities,
added id
2008-04-29 16:38:45 +00:00
Sergey Popov
75f986ad52 Added custom check for python. 2008-04-29 16:28:31 +00:00
Sergey Popov
709cf9c94a Made C++ check enforce version requirements. 2008-04-29 10:59:33 +00:00
Moritz Göbelbecker
547d5d2615 Use the new center feature in the terrain macros to center all overlays.
Crop and/or expand existing images to fit the new behaviour
2008-04-29 10:52:05 +00:00
Sergey Popov
8dc36b1622 Added check for C++ compiler to scons recipe. 2008-04-29 09:34:09 +00:00
Ali El Gariani
b4d40ef6b0 Skip transparent pixels when possible in most of rendering functions,
because they often work on "sparse" sprites or hex (25% transparent)
2008-04-29 03:14:19 +00:00
Ali El Gariani
a099348bd2 Finish replacing all the remaining slow SDL_*RGBA calls...
...by faster bitwise operations.
2008-04-29 02:50:15 +00:00
Ali El Gariani
8151c03c08 Fix a weird old stupid typo making all dark terrains slightly more red...
...because the ToD coloring used 8 as minimum (instead of 0) for the
red channel.
2008-04-29 02:26:04 +00:00
Ignacio R. Morelle
c95882b5df Added padding to the version text and its shade, as Ivanovic suggested 2008-04-28 21:47:00 +00:00
Sergey Popov
3cf71a7fff Added docdir and mandir options to scons recipe. 2008-04-28 20:50:18 +00:00
Ignacio R. Morelle
1e974801f9 RFC - placing a 75% opaque shade below version text...
...seems to be better than 50% on 2008-04-28T20:16:14Z!shadowm@wesnoth.org
2008-04-28 20:22:56 +00:00
Sergey Popov
dc0ac76875 Combined tinygui and smallgui into one option. 2008-04-28 20:16:28 +00:00
Ignacio R. Morelle
e34a2dd43d RFC - Version text more readable now? 2008-04-28 20:16:14 +00:00
Eric S. Raymond
69bf0f2632 Explain how to translate from autotools-speak to scons-speak. 2008-04-28 19:38:17 +00:00