Commit Graph

17730 Commits

Author SHA1 Message Date
Nils Kneuper
58217e2ea3 pot-update 2007-07-06 09:32:36 +00:00
Nils Kneuper
2d1d062ff8 added new src files to POITFILES.in (i hope i added them correctly...) 2007-07-06 09:14:33 +00:00
Eric S. Raymond
ab807e0dc0 Attempted fix for a bug reported by Ivanovic. 2007-07-06 09:07:43 +00:00
Nils Kneuper
c19e3c2311 added a default textdomain definition to all .cfg files 2007-07-06 09:00:49 +00:00
Eric S. Raymond
91e7ee58c9 Change some dialogs that don't have help buttons...
...from using dialog to using basic_dialog.
2007-07-06 07:54:48 +00:00
Eric S. Raymond
dc15a17307 Replace another show_dialog() call, remove some unused headers. 2007-07-06 06:27:57 +00:00
Eric S. Raymond
e33efbce14 The -t option of this script is ready for Ivanovic to try. 2007-07-06 05:34:50 +00:00
Eric S. Raymond
b5a82e4ac8 Move some dialogs to a more appropriate namespace and module. 2007-07-06 01:57:13 +00:00
Eric S. Raymond
e5df2e4b3c Revised the future editor link list. 2007-07-06 01:09:36 +00:00
Ali El Gariani
b47e32cbeb group and do only if needed, postion evaluation and rendering of unit's image 2007-07-06 01:00:58 +00:00
Ali El Gariani
084d325806 evaluate ellipse positions only if we plan to display them 2007-07-06 00:53:45 +00:00
Eric S. Raymond
a5f5529954 Break pathfind apart into unit-aware and map-only pieces. 2007-07-06 00:46:32 +00:00
Ali El Gariani
c2a96c8cd4 use a reference to the current frame (since it's not a so small structure) 2007-07-06 00:29:25 +00:00
Ali El Gariani
4fa172c009 small cleaning of the height adjust code:
(don't use the same variable for scaled and unscaled values)
2007-07-06 00:14:01 +00:00
Ali El Gariani
1ab39e307c small cleaning of the ellipse position code...
...and use there the hex size instead of ellipse's image size because
it's simpler and ellipse images different from 72x72 will do funky
submerging anyway

Add also comment about the bad hard-coded half-shift of submerged ellipse
2007-07-06 00:04:35 +00:00
Eric S. Raymond
31c3111482 Document the link list we're trying to reduce the editor to,
and move some things around towards achieving that.
2007-07-05 23:29:41 +00:00
David Philippi
20a1162175 danish translation update 2007-07-05 22:09:47 +00:00
Eric S. Raymond
91eec5657b Framework code for Ivanobic's new tool. 2007-07-05 19:57:39 +00:00
Eric S. Raymond
e091d1fc47 Spelling and usage fixes. 2007-07-05 19:30:28 +00:00
Eric S. Raymond
0f4f6c2d0f Preferences module partitioned...
...so the editor can use a version that doesn't link in the entire
universe.  Most of the changes just replace inclusions of
"preferences.hpp" with a new "game_preferences.hpp".
2007-07-05 19:13:39 +00:00
Lari Nieminen
021c27ae40 Fixed a minor bug (a line of dialogue not appearing) with event ordering. 2007-07-05 17:08:40 +00:00
Taurus
1cc840b13c New Scenario and some Bug fixing 2007-07-05 14:48:58 +00:00
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