58 Commits

Author SHA1 Message Date
Steven Panek
a7841baee0 'Re-initialization' -> 'Reinitialization'. 2011-02-24 01:04:16 +00:00
Mark de Wever
ecbabea838 New year copyright update. 2011-01-01 15:57:50 +00:00
Ignacio R. Morelle
d6a3de1938 Apply patch #2213 by stikonas, using file #11274 2010-11-21 01:56:29 +00:00
Guillaume Melquiond
6762f34a3a Updated progress bar data. 2010-11-07 20:30:33 +00:00
Ali El Gariani
c63a7d97ae Improving constness of surface: forbid to blit on a const surface. 2010-10-01 01:43:16 +00:00
Ali El Gariani
c4686dfb8b Make loadscreen use standard screen update.
(instead of being the only code calling low-level SDL functions)
2010-09-27 15:05:54 +00:00
Ali El Gariani
bd7deaf318 Fix rare cases breaking encapsulation of SDL_Surface by surface 2010-09-25 17:24:27 +00:00
Ali El Gariani
3a085f75b6 Move all calls to SDL_FillRect into one place (sdl_fill_rect) 2010-09-24 18:45:19 +00:00
Ali El Gariani
d0bb4ad22f Move all calls of SDL_BlitSurface into one place (sdl_blit) 2010-09-24 18:45:02 +00:00
Guillaume Melquiond
eeb047de55 Fixed file headers so that they match the content of the COPYING file. 2010-09-01 21:12:38 +00:00
Guillaume Melquiond
49c0dbb3d2 Made progress for unit type building a bit more regular. 2010-08-10 12:40:08 +00:00
Guillaume Melquiond
b8d6286dbd Factorized and generalized the loadscreen progress counter.
The bar should now accurately reflect the loading time, and therefore
regularly progress.

The magic values are automatically generated in the 'loadscreen' log
domain and can be copy-pasted in the code if the current ones become
off.
2010-08-10 12:08:24 +00:00
Mark de Wever
a99c78e0d8 Update doxygen comment.
The filename after the @file comment is optional (spotted by alink).
2010-07-26 21:32:18 +00:00
Mark de Wever
2116c59b2c Make Wesnoth more compatible with C++0x (g++-4.5). 2010-06-12 16:02:38 +00:00
Ali El Gariani
f6fab3788f Rename all SDL_Color font::FOO_COLOUR as font::FOO_COLOR 2010-06-02 22:14:44 +00:00
Mark de Wever
92f5f92ce5 New year copyright update. 2010-01-01 13:16:49 +00:00
Mark de Wever
a7900f92a5 Limit variable scope.
Issue found by cppcheck.
2009-10-02 19:27:10 +00:00
Karol Nowak
2b51e68e4e fix bug #13758 - logo not being redrawn on the loading screen 2009-06-23 22:17:55 +00:00
Mark de Wever
053ac56abb Initialize all members. 2009-05-01 15:10:27 +00:00
Guillaume Melquiond
789736ac91 Removed specialized domains from log.hpp,
...so that adding a new domain no longer forces to recompile the whole
game.
2009-04-24 23:18:31 +00:00
Guillaume Melquiond
f34fddaa7f Converted loadscreen to use the generic image loading system.
(Patch #1154 from Chusslove.)
2009-04-14 20:32:22 +00:00
Mark de Wever
e2ce47ce42 Remove unneeded includes. 2009-04-10 19:20:17 +00:00
Ignacio R. Morelle
df3308b7be Formatting of code comments. 2009-03-25 13:14:40 +00:00
Ignacio R. Morelle
87f8859113 Normalize usage of punctuation signs...
...in loadscreen.cpp's translatable messages.
2009-03-25 13:14:25 +00:00
Gunter Labes
bda19f115f Removed last binaryWML references by making the save_index gzip compressed.
(We can still receive binaryWML via the network.)
2009-02-27 16:32:20 +00:00
Mark de Wever
973a0a7d5c Remove trailing whitespace. 2009-01-01 10:28:26 +00:00
Mark de Wever
a5d1d2e969 New year copyright update. 2009-01-01 10:27:41 +00:00
Ignacio R. Morelle
efe87cef71 Removed some trailing dots in translatable strings. 2008-12-06 20:56:19 +00:00
Eric S. Raymond
9223460daa Remove unused headers. 2008-11-09 04:35:13 +00:00
Mark de Wever
c93931a43f Update doxygen comment style. 2008-10-30 16:36:58 +00:00
Mark de Wever
81c6a850ab MSVC 6 cleanup.
Now that MSVC 6 is no longer supported start to remove some helper code
to work around problems in that compiler. The first step is to comment
out the code and replace it with new helper code that uses the standard.
The second step is to remove the helper code and fix all callers.

Patch 2/3 for step 2: Remove minimum and maximum and fix all callers.
2008-08-24 16:12:13 +00:00
Mark de Wever
8ff44520f1 Initialize all members. 2008-07-18 18:49:41 +00:00
Ignacio R. Morelle
2478a1c807 Made progress counter output on stderr be done via the display logdomain...
...(level = info/error)
2008-06-13 22:38:45 +00:00
Pauli Nieminen
3a3ae733fe Fixed valgrind warning about unitialized varaibles in image.cpp
Fixed loadscreen memory leak
2008-06-12 10:34:38 +00:00
Sergey Popov
373df8a438 Moved #include <SDL_image.h> from loadscreen.hpp to loadscreen.cpp...
...so wesnothd no longer depends on SDL_image.
2008-05-25 15:26:37 +00:00
Ali El Gariani
fb49b8a6ed Subtle 3D effect on the loading bar (nothing fancy)
for low-PC users who watch this bar too often.
2008-03-20 19:03:51 +00:00
Mark de Wever
001af46e6e Updated all headers to 2008. 2008-02-16 08:47:16 +00:00
David White
27a8fac3b5 made it so the loading screen/progress bar appears...
...whenever starting or loading a game
2007-12-26 03:18:18 +00:00
Gunter Labes
ae9e10f260 codeclean run
set svn:eol-style to native where missing
2007-08-31 19:09:40 +00:00
Hans Joachim Gurt
8121cce518 doxygen, comments 2007-08-17 19:08:11 +00:00
Mark de Wever
080eb69f60 Updated the headers to state GPL 2+ and a few changelog cleanups. 2007-08-15 13:41:56 +00:00
Mark de Wever
bb01934b85 A rather large update which updates the copyright info
* Wesnoth is distributed under the terms of the GPL version 2, made
  that more explicit

* updated the copyright range to 2007

* updated Dave's email adress
2007-07-21 07:28:04 +00:00
Mark de Wever
7c5c3d3ae4 set svn:keywords to 'Author Date Id Revision'
added /* $Id$ */ to files which didn't have that
2007-06-04 20:48:38 +00:00
Ali El Gariani
b7534cfa9a simpler way to use wait cursor during loading screen 2007-04-22 18:19:26 +00:00
Ali El Gariani
2181d521c7 Use a waiting cursor when loading the game. 2007-04-22 15:45:08 +00:00
Karol Nowak
680e0e719c Reduce redrawing on the loadscreen.
SDL_Flip() redraws the whole screen if it's not double buffered - we
don't want that.
2006-08-04 13:11:50 +00:00
Gunter Labes
23ca57f01e ran codeclean over all files and set them all to svn:eol-style 'native' 2006-06-05 20:02:25 +00:00
Patrick Parker
1cdcd04700 MP lobby gameslist now uses bluebg_style,
...also fixed an error with menu headings, loadgame dialog now uses
bluebg_style, MP lobby userlist now uses slateborder_style,
progressbars changed to blue.
2006-06-01 01:25:17 +00:00
Patrick Parker
5737e57800 fixing path resolution for logo during loadscreen 2006-05-19 21:51:45 +00:00
Dominic Bolin
8d295749f9 "apply" patch #541 2006-05-08 18:40:00 +00:00