Commit Graph

24605 Commits

Author SHA1 Message Date
Eric S. Raymond
cb59653465 Set Python mode for Emacs editing. 2008-04-22 18:50:49 +00:00
Ali El Gariani
aa9d423e0d stop recalcultating fog (pathfinding for vision etc..) for team not using fog
add some fixme for future cleaning about sighted events
2008-04-22 18:26:28 +00:00
Ignacio R. Morelle
48e687d844 [modify_side] can change shroud_data
this still doesn't work properly, see provided scenario-test.cfg event
2008-04-22 17:25:14 +00:00
Gunter Labes
5585c36028 typo fix 2008-04-22 16:54:53 +00:00
Eric S. Raymond
e0c04ecca0 Address bug #11518. 2008-04-22 13:51:02 +00:00
Nils Kneuper
4ae22df613 updated Czech translation 2008-04-22 12:49:58 +00:00
Gunter Labes
e8e92c09fb t_strings are annoying. 2008-04-22 11:21:55 +00:00
Gunter Labes
046b0dacc0 use IMG_TEXT_SEPARATOR instead of COLUMN_SEPARATOR...
...to seperate the icons from the username (fixes bug #11509, nick
list shows no nicks)
2008-04-22 11:17:44 +00:00
Patrick Parker
915acf1aed replace the evil space characters with lovely tabs 2008-04-22 03:25:15 +00:00
Patrick Parker
73a5b58d18 fixed a missing bit of code in the vconfig constructor
added a more advanced [insert_tag] usage to scenario-test.cfg

(right click on the Elvish Avenger to test it)
2008-04-22 03:13:28 +00:00
Tommy
caf3ee4a96 automatically use random variations for certain wall segments,
...if they are available
2008-04-22 02:04:57 +00:00
Ali El Gariani
562025a5f6 When skipping AI moves, stop showing the moving unit in sidebar
(it was always done but badly refreshed, so only randomly visible)
2008-04-21 22:30:18 +00:00
Ali El Gariani
78ea02f7d8 replace draw()+update_display() by a draw() forcing the update
(this spare a useless screen refresh)
2008-04-21 21:55:02 +00:00
Ali El Gariani
11130ef287 At the end of a fight, when one unit died, replace useless update_display()...
...which only refresh the screen without redrawing anything,

instead use a forced redraw (which also call update_display())

So maybe fix a one frame glitch there.
2008-04-21 21:48:32 +00:00
Ali El Gariani
95797d1958 "fog" and "shroud" debug commands now also update the minimap 2008-04-21 21:39:52 +00:00
Nils Kneuper
a574e44bb9 updated Czech, German and Lithuanian translation 2008-04-21 20:27:37 +00:00
Benoît Timbert
3159a1e6f2 French translation update 2008-04-21 19:32:16 +00:00
Gunter Labes
4b75873c1e removed map: Amohsad Caldera 2008-04-21 17:34:06 +00:00
Lari Nieminen
49be3fd36a Applied patch #1060. 2008-04-21 16:08:27 +00:00
Ignacio R. Morelle
a38e2b685e * Remove stray pixel 2008-04-21 14:55:21 +00:00
Ignacio R. Morelle
f52a04bbf8 Credit update 2008-04-21 14:53:50 +00:00
Ignacio R. Morelle
05b954b6a9 Fix referencees to inexistent new images (tsk, tsk) 2008-04-21 14:53:19 +00:00
Ignacio R. Morelle
8bcc9ab79d Update fortunes 2008-04-21 14:49:33 +00:00
Nils Kneuper
200ecc6e46 updated Turkish translation 2008-04-21 10:35:21 +00:00
Nils Kneuper
b7664e887d do *not* use " inside strings, this is *bad*... 2008-04-21 10:31:38 +00:00
Lari Nieminen
9b4355b3d2 Fixed capitalized race ids. 2008-04-21 10:20:30 +00:00
Gunter Labes
7d11cf65de added maps: Howling Ghost Badlands
revised maps: Sablestone Delta, Sullas Ruins, Silverhead Crossing, The
Freelands, The Manzivan Traps
2008-04-21 08:54:56 +00:00
Patrick Parker
07b5b732ef memorizing the hash of constant configs was a good idea 2008-04-21 07:01:27 +00:00
Patrick Parker
5dbc350bcc memorizing the hash of variable configs was a misguided optimization 2008-04-21 06:01:35 +00:00
Benoît Timbert
444c74528b French translation update 2008-04-20 20:26:55 +00:00
Chris Hopman
f15b38f500 prevent duplicate advances_from entries. 2008-04-20 19:29:00 +00:00
Ali El Gariani
6ccb8144b3 update changelog about hotkeys settings and sighted events with update shroud 2008-04-20 18:10:51 +00:00
Mark de Wever
29a5ce6c12 Added the wiki grabber tool, which will grab wiki info from .cpp files.
It's used in the new GUI library and is hardcoded to process those
files.  The format of the data needs to be in the wiki, hasn't been
done yet.
2008-04-20 18:01:14 +00:00
Mark de Wever
130613a2f5 Update the WIKI comments to a style the wiki_grabber can parse. 2008-04-20 16:59:20 +00:00
Ali El Gariani
efbfb9ea7b Fix #11286: "Sighted events not firing when turning off delay shroud updates"
Was an old bug, thus can possibly introduce unexpected sighted events
sequence for complex and unclean WML (all at the same time and sources
may be far).

PS: I wait to validate the core idea before trying more optimization/cleaning
2008-04-20 16:34:18 +00:00
Benoît Timbert
2cd6577f95 French translation update 2008-04-20 16:14:38 +00:00
Mark de Wever
6a59e46fca Added a help switch for the new toolkit upon Ivanvics request. 2008-04-20 13:20:07 +00:00
Jérémy Rosen
fe4445d4dc reimplement parameter passing between the different layers of animation.
as a side efffect fix bug #10820 (poisoned unit don't display select
anim) and fix bug #10890 (projectiles don't follow unit_height_adjust)
2008-04-20 12:44:53 +00:00
Jörg Hinrichs
7de759aff4 Provides a better use of the dummy unit_type,
...separating it from the main unit_type list (this also replaces
alink's fix a short while ago). The dummy unit_type is necessary if we
face units that don't belong to the currently loaded era (like for
example while in the savegame load dialog).
2008-04-20 11:48:03 +00:00
Mark de Wever
32baa4289f Let doxygen also create documentation for the new widget library. 2008-04-20 11:29:02 +00:00
Mark de Wever
753dc75756 Make copy paste also work on MACs. 2008-04-20 11:27:51 +00:00
Nils Kneuper
809249a5e8 trunk pot-update
fixed problem with one '<' too much in the french version of the
manpages (breaks creation of manpages)
2008-04-20 11:24:51 +00:00
Lari Nieminen
6fb77ea4f9 Removed a bogus unit from a recruit list. 2008-04-20 11:14:54 +00:00
Mark de Wever
3db4fddac8 [[Mouse and select improvememts]]
* Added code allow the mouse the click in a text and set the cursor at the 
  proper location.

* Added the selection indication.

* Added mouse dragging to select a range.

* Mouse double click selects all (doesn't work due to bug in event code).

* ctrl-C, ctrl-X and ctrl-P do copy paste (doesn't work yet on Mac).

* On UNIX based sytsems select does copy (middle mouse paste doesn't work yet).

* Fixed some minor bugs.
2008-04-20 11:08:34 +00:00
Ali El Gariani
a98d996b5c fix a bug similar to bug #11402:
...after reloading a game, "Create Unit" crashes

To reproduce it: start test-scenario, save, reload, create unit, then
crash at dialogs.cpp:995 because the first selected unit is not build.

So I remove the "dummy_unit" from the create unit list.

YogiHH, please review this because I don't know why this "dummy_unit"
is created by reloading game (be we certainly must remove it from this
list)
2008-04-20 02:44:44 +00:00
Jörg Hinrichs
d28e67a1dc Fixes missing unit_type information for the AI recruitment evaluation.
Also fixes a misleading logging information for AI recruiting.
2008-04-19 22:43:54 +00:00
Jörg Hinrichs
0a3e746a2f Hopefully fixes bug #11486 (assert in unit_types.cpp line 1004).
Special thanks to Chris for spotting very precisely where this bug is
coming from (can you please test this again since you probably can
reproduce best?).
2008-04-19 21:24:28 +00:00
Ali El Gariani
19f36f04c5 Fix a little UI flaw spotted by Irrevenant in the forum:
Try to quit a new map with unsaved changes, click "yes I want to
save", then cancel the save dialog (to check or change something
before save/quit)

This causes an exit with the loss of your last changes.  Now the
cancel abort the whole exit operation. This is a rare case, so better
ask to quit again than lose work. Also seems to be how other editor
works.
2008-04-19 18:22:26 +00:00
Chris Hopman
1cdbbcf801 fix for bug 11522 2008-04-19 17:59:18 +00:00
Benoît Timbert
9d301d71ce French translation update 2008-04-19 17:38:11 +00:00