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
Moritz Göbelbecker
c8b33c083e
Fix blending of base and overlay terrains in the minimap.
2008-04-28 17:07:38 +00:00
Moritz Göbelbecker
1f9b17b954
Add support for centering multihex terrain images...
...
...using the center=(x,y) attribute.
2008-04-28 16:54:29 +00:00
Moritz Göbelbecker
cf9eac3aa1
Add support for arbitrary source rects to blit_surface and cut_surface
2008-04-28 16:39:05 +00:00
Ali El Gariani
b9ff50c5cc
Fix some bugs with the undocumented location-specific terrain rules:
...
- x and y values were shifted by 1
- other [tile] requirements were ignored
2008-04-28 16:25:23 +00:00
Mark de Wever
0642efcaf5
Remove the dummy text_font_size since it's no longer mandatory.
2008-04-28 16:11:25 +00:00
Mark de Wever
61f7ff6168
Make the window defintion also more general.
...
Make text_font_size no longer mandatory.
2008-04-28 16:10:27 +00:00
Mark de Wever
9d8935aa5e
Change the calling converion of blit_surface...
...
...so it can use the normal locker class.
2008-04-28 15:58:29 +00:00
Nils Kneuper
8d7dc96679
updated Chinese translation
2008-04-28 15:48:05 +00:00
Sergey Popov
450b36c0b2
Made "destdir" affect installation of manual and manpages.
2008-04-28 15:23:42 +00:00
Elias Pschernig
cf449290cb
Python's stderr is redirected to a file pyerr.txt...
...
...made the python script execute even if pyerr.txt cannot be written to.
2008-04-28 14:53:26 +00:00
Sergey Popov
1f5f895571
Added "destdir" option to scons recipe.
2008-04-28 14:39:07 +00:00
Richard Kettering
730c01137e
Replaced my old hack with kestenvarn's newest HttT map,
...
...faded slightly for readability on the main screen.
2008-04-28 03:37:45 +00:00
Gunter Labes
04518278ba
now really use the current dir for translations
...
comment the funny pop_to_top() call out since it doesn't work on
units.wesnoth.org
remove trailing spaces
2008-04-27 23:41:31 +00:00
Gunter Labes
90c7d5c289
default to the current directory for translations rather than cwd + /data
2008-04-27 22:47:18 +00:00