134 Commits

Author SHA1 Message Date
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
Alexander van Gessel
cdc48f25df Add some comments about 2008-12-27T13:07:37Z!ai0867@gmail.com. 2008-12-27 14:55:04 +01:00
Alexander van Gessel
611e541b44 Apply patch #1116 by dlr365 with a few modifications,
...this fixes bug #12747 (holding escape in a titlescreen dialog exits
the game)
2008-12-27 14:07:37 +01:00
Gunter Labes
02e2689794 renamed Editor to Map Editor in the titlescreen 2008-12-07 11:25:55 +00:00
David White
a7115785f5 fixed gcc warning 2008-11-11 16:00:03 +00:00
David White
ee8ee9c413 make the game upload stats by default 2008-11-11 06:08:47 +00:00
Tomasz Śniatowski
81c1110fdb add basic keyboard control in main menu, happens to be fr / bug #3835 2008-10-04 22:43:38 +01:00
Tomasz Śniatowski
d553c9d313 change #ifdef USE_EDITOR2 to #ifndef DISABLE_EDITOR2...
...and update buildsystems accordingly. This will force people using
custom builds (e.g. devcpp, codeblocks) to either add editor2 sources
or consciously disable it.
2008-09-05 14:32:24 +01:00
Mark de Wever
71a66eaf11 Fix the assumption the TITLE_RESULT starts at 0.
After committing 2008-08-24T12:28:35Z!koraq@xs4all.nl some other problems got noticed and fixed in
this commit.
2008-08-24 19:16:03 +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
4edf713f60 Fix the assumption the TITLE_RESULT starts at 0.
We now do the assumption TUTORIAL is the first item, but that's
documented. The change is needed as prerequisites to change the title
screen to the new widget code. Also change a C-style cast to
static_cast.
2008-08-24 12:28:35 +00:00
Pauli Nieminen
927ceb8610 Made titlescreen reload game configs when F5 is pressed
Fixed titlescreen loop tohave event::pump() at top
2008-06-28 21:20:40 +00:00
Ignacio R. Morelle
c6233bb1e5 Allow titlescreen startup effect to be disabled in adv. preferences 2008-06-17 20:15:05 +00:00
Tomasz Śniatowski
fd0d601740 change editor2 define to USE_EDITOR2 for consistency 2008-06-07 14:34:05 +01:00
Ali El Gariani
60aa8b662c Cleaner fix for the previous commit about refreshing titlescreen 2008-05-28 21:39:24 +00:00
Mark de Wever
a7f9b87644 Update doxygen comment style. 2008-05-23 19:05:31 +00:00
Ali El Gariani
2b3c59b5d3 Fix slow refresh of the titlescreen after closing simple dialogs.
(caused by the redraw + scaling of background when resolution is not
1024x768)

PS: still need to fix an useless redraw after the multiplayer dialogs
2008-05-22 00:43:18 +00:00
Tomasz Śniatowski
d17e98ea18 Some map editor project stubs.
Nothing usable, but contains a take on editor actions. Should not
affect other devs -- changes outside map_editor dir are surounded by
#ifdef MAP_EDITOR.
2008-05-08 22:00:39 +01: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
Ignacio R. Morelle
c95882b5df Added padding to the version text and its shade, as Ivanovic suggested 2008-04-28 21:47:00 +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
Ignacio R. Morelle
e34a2dd43d RFC - Version text more readable now? 2008-04-28 20:16:14 +00:00
Eric S. Raymond
03a5505e4e Eliminate wesconfig.h includes where they are no longer needed.
Fix a minor Windows porting bug due to a typo (WIN32 -> _WIN32).

Make game_config.o explicitly dependent on the verion stamp file in scons.
2008-03-26 10:41:50 +00:00
Bruno Wolff III
2811126476 Silence gcc 4.3 warning by removing const from const return type. 2008-03-19 17:46:27 +00:00
Eric S. Raymond
4b2f5eecc7 Clean up the way the game_config::svnrev string is computed...
...(now game_config::revsion).  As a result, user will never see
"unknown" when the SVN revision is not available.
2008-03-19 05:15:30 +00:00
Mark de Wever
d41120795d Changed the buildin SDL_ttf to a dependency on the library version >= 2.0.8. 2008-03-04 18:24:15 +00:00
Mark de Wever
001af46e6e Updated all headers to 2008. 2008-02-16 08:47:16 +00:00
Nils Kneuper
6ce621e79c revert the following revisions:
2008-01-27T00:49:02Z!soliton@wesnoth.org
2008-01-26T21:16:47Z!esr@thyrsus.com
2008-01-26T20:48:27Z!esr@thyrsus.com
2008-01-26T19:18:41Z!elias@pschernig.at
2008-01-26T18:57:31Z!esr@thyrsus.com
2008-01-26T18:42:21Z!esr@thyrsus.com
2008-01-26T18:41:21Z!esr@thyrsus.com
2008-01-26T17:52:29Z!esr@thyrsus.com
2008-01-26T17:22:42Z!esr@thyrsus.com
2008-01-26T17:17:44Z!esr@thyrsus.com
2008-01-26T14:01:48Z!esr@thyrsus.com
2008-01-26T13:32:14Z!esr@thyrsus.com

reasons:

1) they break building at least partially / change the way how
building works which is a no go in beta time

2) addition of a new feature (:version), we are in feature freeze, so
this is a no go, too
2008-01-27 11:59:04 +00:00
Gunter Labes
81ae1458d0 display the revision again as before 2008-01-27 00:49:02 +00:00
Karol Nowak
4371b82db0 Fix bug #6982
- titlescreen background not being resized when video mode changes
  while logo is fading in
2008-01-26 18:30:37 +00:00
Eric S. Raymond
8667a005ba Get rid of svnrev member. 2008-01-26 17:52:29 +00:00
Ali El Gariani
beacf600b8 Add a "encountered_units" key to filter tips-of-the-days.
This meet a frequent FR for displaying only simple tips for beginners
and later show more advanced ones. The key accept number (at least N
units) and list of id (at least one of them) and you can mix it
("Troll,30"), using a OR base.

This allow to show very specific tip (e.g. teleport) only after having
encountered units with this abilities. You can also use
campaign-specific units to detect if already played and so maybe make
reference about it.
2007-12-18 13:30:52 +00:00
Mark de Wever
97ec101021 Fixed some more possible utf-8 related terminations. 2007-11-24 12:36:19 +00:00
Ali El Gariani
bb1118204d Improve and clean tips of the days:
- Add a "Previous" button, and rename the "more" as "Next"

- Add fake attributions

- Fix the size. I think it look nicer and avoid moving the head of the text

- use a [tip] text=...source=... [/tip] structure, easy to add other keys

- shuffle only when starting the game, and keep the same order for the session

- show the next tip after each refresh
2007-11-17 17:32:03 +00:00
Gunter Labes
b2cc4e49f2 remove "singleplayer" from the Load tooltip 2007-10-20 16:10:40 +00:00
Gunter Labes
7b6da43a53 update the default multiplayer scenario
logging improvements
2007-10-18 13:56:18 +00:00
Nils Kneuper
8a1c57054d revert 2007-10-15T20:50:21Z!benoit.timbert@free.fr due to using the old map again for the mainmenu
(and only there) so that a shift in positioning the version number and
changing the color ain't needed anymore
2007-10-16 15:38:23 +00:00
Benoît Timbert
e84dff62bd Temporary workaround to make the version number more visible 2007-10-15 20:50:21 +00:00
Gunter Labes
ae9e10f260 codeclean run
set svn:eol-style to native where missing
2007-08-31 19:09:40 +00:00
uso
f9cee783f8 better try to set (and reset) the wait cursor locally...
...where the real delay arises and not set it in a place where the
code branches to a lot of destinations (fixes bug #9839)
2007-08-23 23:55:07 +00:00
Mark de Wever
42e31ed622 Remove no longer needed DO_DISPLAY_REVISION definition.
Remove some SVNREV ifdef's and replace them with C++ on an empty string.
2007-08-19 10:06:06 +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
Hans Joachim Gurt
d28f961207 Switch to wait-cursor after selecting a button from the main-menu.
Fixes part of bug #9680.
2007-08-14 01:38:48 +00:00
Hans Joachim Gurt
4954b52561 Comments formatted for doxygen 2007-08-13 01:05:12 +00:00
Mark de Wever
f3db0b75fd 'help' and 'more' button in the title screen now also have a tooltip
(bug #9618 patch #790)
2007-08-07 15:47:39 +00:00
Ali El Gariani
5898369e04 Use image::unscaled as the default for get_image(). Two reasons:
- it make more sense to scale only if we ask.

- only few "scaled" are used, but there is a lot more (40) of
  "unscaled" (this remove ~ 1KB of code)
2007-08-05 01:47:20 +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
2cb6058ac4 Remove the no longer required translation
...marker and avoid sending a c_str() to a function which expects a
std::string.
2007-07-20 16:55:36 +00:00
Eric S. Raymond
b4f63c1795 Fixes bug #8531. 2007-07-19 22:06:24 +00:00