Commit Graph

17708 Commits

Author SHA1 Message Date
Lari Nieminen
cf7224738a Updated changelogs. 2007-07-05 13:16:51 +00:00
Lari Nieminen
72b3915002 Fixed a scenario id typo (fixes bug #9447). 2007-07-05 09:46:39 +00:00
Lari Nieminen
7cffb86adb Fixed a portrait path bug. 2007-07-05 08:31:33 +00:00
Lari Nieminen
9c573594be Added an idle animation for the elvish scout. 2007-07-05 07:51:34 +00:00
Patrick Parker
989e6e0a5f put back in the change that 2007-07-03T07:18:32Z!esr@thyrsus.com backed out 2007-07-05 03:57:04 +00:00
Patrick Parker
32e97d0b33 this probably fixes the glitch with color names not updating...
...when changing languages

also a few minor formatting fixes
2007-07-05 03:13:03 +00:00
Ali El Gariani
a6f1c25b2a revert the revert of commit 2007-06-30T03:10:14Z!alinkmaze@gmail.com,
...because it was a good correction of a math error which was
compensating an other error about recentered little maps. Also fix
this last error.
2007-07-05 02:21:56 +00:00
Eric S. Raymond
857a13d5c5 Revert alink's commit 2007-06-30T03:10:14Z!alinkmaze@gmail.com, which introduced a visible bug.
To see it, buld the editor from a revision after 2007-06-30T02:41:40Z!alinkmaze@gmail.com up to
or including 2007-07-04T20:22:58Z!Tuukka.Hastrup@iki.fi.  Notice that the display is defective,
with hexes not drawn on the right side.  These hexes will appear if
you mouse over them.
2007-07-04 22:59:57 +00:00
Tuukka Hastrup
3925b76d99 Don't show full map for observers,
...since this's how Soliton explained it should be by default. Modest
start for the extended observer UI, hopefully.
2007-07-04 20:22:58 +00:00
Mark de Wever
17f791f0e9 Added the initial WIP version of the svn python library,
needed for the wescamp connection.

The library is based on the svn command.

Also added a test program to test the various library options.
2007-07-04 19:41:10 +00:00
Eric S. Raymond
301373feaa Use the existence of the variable_set base type...
...to move read_location back  into the map class as a method.
2007-07-04 12:32:57 +00:00
Eric S. Raymond
f62da2becf Factor a dependency on game_state out of map_labels.cpp. 2007-07-04 11:03:23 +00:00
Ali El Gariani
6b4a4ed246 When we just want to clear haloes,
...use the new clear_haloes() instead of redrawing unit at an invalid
location.

This is also to call redraw_unit() only in the main draw loop.  (some
other calls outside of it caused bugs. Use invalidate(hex) and
display->draw() to redraw a unit)
2007-07-04 01:42:15 +00:00
Tuukka Hastrup
c03c4ab064 Make replays to not reveal all information by default.
Include a menu for choosing the point of view: team 1, each team, full
map.

This design is per https://gna.org/bugs/index.php?6946 but doesn't yet 
implement the combo box or menu entries for teams other than number 1.
2007-07-04 00:00:06 +00:00
Tuukka Hastrup
631e21c8de Remove some long-since dead ellipse recoloring code. 2007-07-03 23:12:24 +00:00
Tuukka Hastrup
79d089d5b8 Replace yet another reference to "green" with "flag_green".
Comment color_palette in team-colors.cfg.
2007-07-03 23:01:06 +00:00
Eric S. Raymond
de2e1071a7 Retire TC until and unless we can find a way to do it "above the line"...
in the team-aware code.
2007-07-03 20:27:46 +00:00
Eric S. Raymond
3d4fdae72c A bit of cleanup after tuukah's patch.
Added comments, fixed a default setting in game_config.cpp, improved
the readability of the unit.cpp code some.
2007-07-03 19:33:33 +00:00
Jim
6966ec2397 fix bug #9379 (renaming a moved unit can cause OOS)
Rename commands are now sent in order with regular commands.  They are
removed when recruits/recalls are undone, and their locations are
repaired when moves are undone.
2007-07-03 18:33:02 +00:00
Ali El Gariani
4fb881071d fix bug #9398 (attacking units always above defending units) 2007-07-03 18:16:03 +00:00
David Philippi
01ce46d18c applied color fixing patch from tuukkah (completely this time) 2007-07-03 16:54:33 +00:00
David Philippi
7b8ba88f0b applied color fixing patch from tuukkah 2007-07-03 16:53:36 +00:00
David Philippi
d11da765a3 swedish translation update 2007-07-03 16:33:53 +00:00
Elias Pschernig
ccd42205cb Added Michael Schmahl to 'Contributors', for the new Python AI. 2007-07-03 16:08:52 +00:00
Lari Nieminen
3c6c8dcddc Fixed TEAM_COLOR_OVERRIDE. 2007-07-03 11:22:48 +00:00
Eric S. Raymond
fcdeaccd76 Get rid of the stupid pseudo-ANSI markup interpretation,
...permanently this time. Instead, the three places that used to use
it generate <r,g,b> highlights into the text after looking at the team
structures to figure out what the right color is.  The code for
interpreting those highlights was already in place.
2007-07-03 09:57:28 +00:00
Eric S. Raymond
69d402616b Explain a backwards-compatibility hack better. 2007-07-03 09:12:17 +00:00
Eric S. Raymond
3d64862819 Easiest way to avoid a regression...
...is to make both the symbolic and old-style numeric palette IDs
available.
2007-07-03 08:52:27 +00:00
Eric S. Raymond
c9bcc0e208 To my intense disgust,
...the code for interpreting pseudo-ANSI sequences in marked-up text
actually has a use.  Restore it in order to avoid a regression until
we can clean it up.
2007-07-03 08:04:50 +00:00
Eric S. Raymond
dfd6fc8e50 Back out a change that produced a crash bug. 2007-07-03 07:18:32 +00:00
Lari Nieminen
38f2846391 The halberdier unit id is actually "Halbardier",
...so changed all references to a "Halberdier" unit accordingly. Didn't
change the unit id (yet!) in order to not break UMC.
2007-07-02 23:43:03 +00:00
Lari Nieminen
d143083b31 A few more improvements to a couple of sharpshooter frames
(this is getting only slightly obsessive).
2007-07-02 23:00:10 +00:00
Eric S. Raymond
fe0456a3d6 I removed this because
(a) it was creating an an adhesion with the team class, (b) it's not
actually used anywhere, and (c) it was a design botch to begin with.
Using the *side index* as a color highlight?  Gaahh...
2007-07-02 22:26:30 +00:00
Eric S. Raymond
f78741dabf Switch from numeric to symbolic palette IDs everywhere.
The C++ doesn't care, it treated them as strings anyway.
2007-07-02 20:42:59 +00:00
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