David Philippi
5cddc61d2c
danish translation update
2007-07-02 19:50:41 +00:00
Eric S. Raymond
be08f1032d
Change remaining mainline uses of TC to RC.
2007-07-02 19:43:29 +00:00
Eric S. Raymond
113e2c72fc
Change a number of instances of TC(1,magenta) to RC(magenta>red).
2007-07-02 19:02:34 +00:00
Jérémy Rosen
7c99083a89
apply the correct patch, this time
2007-07-02 18:53:16 +00:00
Jérémy Rosen
c82cdf5423
revert last commit, I accidentally applied two patches
2007-07-02 18:51:44 +00:00
Jérémy Rosen
1a3b86cc6b
fix crash on next scenario, thx to Rhuvaen
2007-07-02 18:49:43 +00:00
Elias Pschernig
28deba32c1
Added a team.targets() method to the Python AI, to query WML targets.
...
This allows writing e.g. an AI which just has all its units run
towards those targets and attack them.
2007-07-02 18:39:44 +00:00
Eric S. Raymond
63ec76d121
Remove another dependency on the old dialog code.
2007-07-02 17:51:49 +00:00
Mark de Wever
eedab46edf
another fix for GCC-3.3 which doesn't like show() is some cases.
2007-07-02 17:06:58 +00:00
Eric S. Raymond
50a7cf0510
Get rid of some unneeded includes.
2007-07-02 17:05:39 +00:00
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