Commit Graph

17664 Commits

Author SHA1 Message Date
Nils Kneuper
797f06976e updated Czech and Polish translation 2007-07-02 16:52:42 +00:00
Mark de Wever
44372c8946 added some extra headers for the upcomming gcc 4.3 (debian bug #417764) 2007-07-02 16:48:24 +00:00
Eric S. Raymond
9f1fbfe419 Convert show_dialog() calls to basic_dialog object invocations. 2007-07-02 16:45:51 +00:00
Eric S. Raymond
5943b2e885 Separate reading of configurations from the map class. 2007-07-02 13:39:34 +00:00
Patrick Parker
a3418ac92a making the menu::hit_column() loop prettier again (-1 line) 2007-07-02 00:37:11 +00:00
Patrick Parker
2f0b518d80 minor correction to respect loop-scoping for other platforms 2007-07-02 00:27:35 +00:00
Patrick Parker
3226759214 tightening the loop; same logic, just looks better 2007-07-02 00:24:58 +00:00
Patrick Parker
91194b0f44 add a checkbox next to 'Delay transition updates' 2007-07-01 23:38:57 +00:00
Eric S. Raymond
6daa3f0a72 Get rid of an unused method that created an unnecessary class dependency. 2007-07-01 22:49:11 +00:00
Patrick Parker
04d108ddd6 the MSVC project files needed updating, due to some extensive refactoring 2007-07-01 22:35:54 +00:00
Patrick Parker
4aad597959 some implementations of std::make_pair cannot...
...specify explicit initializer for arrays such as const char
(&)[16]. Solution: use std::string instead.
2007-07-01 22:33:41 +00:00
Eric S. Raymond
cd952ca05a Fix the broken editor build. 2007-07-01 22:14:01 +00:00
Patrick Parker
5207c2abb6 fix glitch with highlighting the heading of lists
(like the server list or the list of add-ons) it highlights when you
are on the correct heights even if your pointer is way to the left of
the header; like the x coordinate is calculated wrong
2007-07-01 21:49:57 +00:00
Patrick Parker
e40715ee22 fix STL qualm about iterator type 2007-07-01 21:12:22 +00:00
Eric S. Raymond
df3268a6bc Break apart the reports module...
...so as not to force the editor to link a lot of code it has no need
for.
2007-07-01 21:07:18 +00:00
Patrick Parker
b77ba5ee3f don't remove global.hpp 2007-07-01 20:48:26 +00:00
Eric S. Raymond
40889aed55 Arrange for keyword expansion. 2007-07-01 18:59:56 +00:00
Eric S. Raymond
d085c30093 Refactoring map into a base and derived classes was a mistake.
The goal was to take out a bunch of type dependencies.  The real
problem is that two of the methods (terrain_matches_filter and
get_locations) were actually rendezvouses among several peer classes
and should not properly have been be methods at all.  This change
fixes that, pulling them int their own terrain_filter.cpp module.
2007-07-01 18:56:36 +00:00
David Philippi
f3f03c56ce updated font 2007-07-01 17:47:29 +00:00
Eric S. Raymond
10a97953f4 The Standard Terrain Filter belongs in its own module.
This is the first of two commits that will move it.
2007-07-01 16:56:41 +00:00
Nils Kneuper
f237441a02 moved loading of textdomains...
...dependend on if the maingame is loaded or the editor
2007-07-01 16:46:14 +00:00
Eric S. Raymond
f83e36e20f The "Everything should be a method" assumption has led us astray.
There's a better solution, it will be in my next commit.
2007-07-01 16:33:03 +00:00
Elias Pschernig
10232db2f7 Added the killer python AI by Michael Schmahl, under the name 'bruteforce.py' 2007-07-01 16:08:10 +00:00
Nils Kneuper
e325e04efc updated Greek translation
regarding the changelog:

please keep in mind that only 80 chars per line should be used
2007-07-01 12:44:35 +00:00
Eric S. Raymond
a87b19c15b Lift more code to use only the basemap fields and methods. 2007-07-01 07:01:07 +00:00
Eric S. Raymond
9feb3c2dcc Lift some code to use the basemap type rather than the derived gamemap type. 2007-07-01 06:49:31 +00:00
Eric S. Raymond
c73e8cc3f3 The gamemap class is now derived from a basemap class...
...that only knows about terrain, not filtering.  Soon the map editor
will use this.
2007-07-01 04:41:00 +00:00
Ali El Gariani
f3fe135a64 fix a typo in my last commit, thanks tuukkah 2007-07-01 00:33:34 +00:00
Ali El Gariani
f3e0958005 Abort all invalidate and drawing operations when the screen update is locked.
Because it seems to be the desired use of this lock.

Anyway, if the screen update is locked, any changes will be invisible,
so no need to do them.

Also restore a previously removed assert, because it is now again
valid (yes, you were right, Mordante)
2007-07-01 00:20:18 +00:00
Eric S. Raymond
9a924b7bbe Transform more show_dialog() calls into basic_dialog instantiations. 2007-06-30 23:50:24 +00:00
David White
111426c293 made adding games work in wesnothd.pl 2007-06-30 23:04:21 +00:00
Eric S. Raymond
7a9edcf333 Remove some unneeded includes. 2007-06-30 23:02:11 +00:00
Ali El Gariani
b25f763631 hum sorry, no need to add the include used for debug_highlight for everybody 2007-06-30 23:01:20 +00:00
David White
ce731e864f fixed crash in multiplayer lobby if game status text is empty 2007-06-30 23:01:19 +00:00
Ali El Gariani
043568951f Adapt unused code about debug_highlight. Anybody still use it? 2007-06-30 22:40:42 +00:00
Ali El Gariani
9dc304ab8c fix a namespace error in previous commit 2007-06-30 22:17:21 +00:00
Dimitar Ilccov
9e62d8bfde Disabled the "lava expansion" feature in "Scepter of Fire" scenario in HttT
...that could make the lava cover the scepter item and therefore make
the victory conditions impossible to complete. The WML for the "lava
expansion" has not been removed, just disabled, so if someone wants
and is capable to make it work properly, be my guest
2007-06-30 22:01:19 +00:00
Eric S. Raymond
365b802185 Replace all show_dialog calls with instantiations of the basic_dialog object. 2007-06-30 21:48:27 +00:00
Ali El Gariani
4c6cf77cbd add a function to clear haloes of a unit.
For simplify a little the code (same block used several times) and
because even when we don't call redraw_unit(), its haloes will still
be drawn.

So this function to control this too, all for the final goal to reduce
invisible drawing
2007-06-30 21:13:50 +00:00
Mark de Wever
5453bf6c5a some small cleanups 2007-06-30 17:20:43 +00:00
Thomas Baumhauer
0e83f52883 Fixing bug #9412: DiD: A Small Favor does not preserve non-undead units 2007-06-30 16:05:58 +00:00
Ali El Gariani
b3da5e7308 quick remove of an assert which was now inappropriate.
(thanks tuukkah for the report)

I probably will reorganize this code later
2007-06-30 15:25:53 +00:00
Mark de Wever
a7bdbfa2e3 added underscores to the special off map letters 2007-06-30 13:49:23 +00:00
Mark de Wever
e91a73d909 Added a new experimental transition between the map and the background.
Since I'm no artist the transition could use some cleaning up, also
there's no support yet for convex and concave transitions.

Also converted Hexcake to see how it looks on a hex shaped map.  Still
has quite some glitches partly caused by the alpha in the _off
terrains.

Also some terrains look odd on the background (eg trees).
2007-06-30 13:36:28 +00:00
Nils Kneuper
e352c624d7 made sure all languages in LINUGAS are progressed while running make update-po4a 2007-06-30 13:09:04 +00:00
Lari Nieminen
02fe8b6216 TC'ing of [move_unit_fake]s (SG and TB). Only SotBE and UtBS remain. 2007-06-30 13:08:48 +00:00
Lari Nieminen
f8aa9f21eb TC'ing of [move_unit_fake]s (TRoW). 2007-06-30 13:05:12 +00:00
Lari Nieminen
e9c698165c A few more minor facing= fixes. 2007-06-30 13:03:54 +00:00
Nils Kneuper
f4c8748582 updated German translation 2007-06-30 12:57:45 +00:00
Lari Nieminen
f6a7fdef5c TC'ing of [move_unit_fake]s (HttT, EI and SoF). 2007-06-30 12:44:54 +00:00