26182 Commits

Author SHA1 Message Date
Mark de Wever
d914a39961 Initialize all members. 2008-07-13 12:45:34 +00:00
Nils Kneuper
122ad46af3 allow compiling the editor on systems with X11 2008-07-13 11:45:15 +00:00
Nils Kneuper
a1f1f50ff6 add (pkgconfig based) check for pangocairo 2008-07-13 10:46:56 +00:00
Sergey Popov
d4bae581b0 Added option to specify location of GTK SDK to scons.
Use env.ParseConfig in pango check instead of TryAction("pkg-config ...
2008-07-13 10:24:33 +00:00
Karol Nowak
90f8831665 Extracted initial argument parsing and locale init from play_game(). 2008-07-13 09:54:26 +00:00
Lari Nieminen
a78156f0ed Added the great horde to the final scenarios as well. 2008-07-13 09:28:59 +00:00
Lari Nieminen
6f579fde18 Cleaned up the epilogue and removed some obsolete macros. 2008-07-13 09:19:13 +00:00
Nils Kneuper
3b94ad6065 updated list of po files 2008-07-13 09:13:56 +00:00
Lari Nieminen
afc1287ea7 Forgot one scenario from 2008-07-13T08:47:57Z!lari.nieminen@iki.fi. 2008-07-13 08:59:54 +00:00
Lari Nieminen
d8906f8734 Made Jetto always be auto-recalled. 2008-07-13 08:47:57 +00:00
Lari Nieminen
4c354d5a1f Added back a role assignment. 2008-07-13 08:43:32 +00:00
Ali El Gariani
2230a944e2 fix a typo mixing names and description for special attacks topics in help 2008-07-13 02:50:36 +00:00
Tomasz Śniatowski
a30e9f1d88 add -e / --editor command line switch...
...to allow starting editor2 bypassing the title screen
2008-07-13 02:31:47 +01:00
Ali El Gariani
199eaabe9f In "Create Unit" dialog, pre-select the last created unit.
Allow to quickly create an army of clones.
2008-07-13 01:09:38 +00:00
Tomasz Śniatowski
480078e4fc enable grid toggling in editor2 2008-07-13 02:03:37 +01:00
Ali El Gariani
50ef79a58a Add a new debug command ":choose_level" or ":cn"...
...to open a simple menu with all scenario's id. Works better with
nice and clear id (using number).  Next scenario is pre-selected.
2008-07-13 00:24:26 +00:00
Tomasz Śniatowski
3c6f2b897e forgot to add brush.cpp to the build systems 2008-07-13 01:03:16 +01:00
Lari Nieminen
be74ffa0a2 Minor update of the shaman portrait. 2008-07-12 23:01:24 +00:00
Lari Nieminen
58d6cb091e Removed hardwired portrait. 2008-07-12 23:00:42 +00:00
Ali El Gariani
be450debea Update changelog and ":help next_level" about the new ":n scenario_id" 2008-07-12 23:00:38 +00:00
Lari Nieminen
5ac4218f1c Cleanups, tweaks and an experimental -1 upkeep for all units...
...when leading the great horde.
2008-07-12 22:58:55 +00:00
Ali El Gariani
1e8e4a5a0a New handy feature ":n A_Scenario_Id" and you go directly to this scenario.
Also allow go back to the first scenario of a campaign with your
recall list :) Since scenario id are often long to type, don't forget
that you can save alias.
2008-07-12 22:46:38 +00:00
Ali El Gariani
3dfe1b5ec5 Also clean name and image of the random faction 2008-07-12 22:31:33 +00:00
Ali El Gariani
56cc25d3ff remove a stupid tranlation of untranslation operation 2008-07-12 22:29:51 +00:00
Tomasz Śniatowski
1b96524ce6 add basic and partial brush support 2008-07-12 23:28:19 +01:00
Tomasz Śniatowski
8633ed93c4 make the no-longer-static function compile 2008-07-12 23:22:22 +01:00
Ali El Gariani
484f57e621 Small simplification of abilities and special attacks help topics generation 2008-07-12 22:17:55 +00:00
Tomasz Śniatowski
651e0ab047 make get_tiles_in_radius static in editor_map 2008-07-12 22:54:16 +01:00
Ali El Gariani
8943e6115b fix a typo causing missing ability description for teleport
Error caused by the huge (I assume automated) 2008-03-13T06:22:01Z!esr@thyrsus.com, if any
other description / id is weird maybe check that commit.
2008-07-12 21:53:20 +00:00
Ali El Gariani
c31f5640a9 Fix "unit descrition" action for unit with hide_help=yes
Was broken by 2008-03-27T21:52:43Z!joerg.hinrichs@alice-dsl.de (unit lazy loading avoiding an old topic
lazy loading)
2008-07-12 20:43:01 +00:00
Mark de Wever
fb19a306e1 Remove a no longer used test image. 2008-07-12 19:58:56 +00:00
Ali El Gariani
08b77e359e Remove obsolete code...
...preventing the generation of multiple special_attack(parameter)
topics in help. This also allow name like "Heals(+4)" The WML author
may still use (parameter) in the id key.
2008-07-12 19:23:17 +00:00
Ali El Gariani
6e29a0f57c remove unwanted debug output from the previous commit 2008-07-12 19:02:10 +00:00
Ali El Gariani
9e755e38d5 Fix broken hyperlinks to special attacks...
...in gameplay sections of the help for non-english languages.
2008-07-12 19:00:11 +00:00
Mark de Wever
470fe36bcb Initialize all members. 2008-07-12 18:52:08 +00:00
Mark de Wever
40075dc494 Make the code work for images at the right side as well.
It seemed the dialog was 2 pixels to wide for left and right side,
which has been fixed.

Move the right side trigger closer to the left side test area in the test 
scenario.
2008-07-12 18:44:47 +00:00
Mark de Wever
a498796b5d Initialize all members. 2008-07-12 18:29:27 +00:00
Mark de Wever
6216ef1e58 Change some constants to show the grouping better. 2008-07-12 18:23:06 +00:00
Mark de Wever
e7581167b5 Add the mirror key to the portraits...
...and add the right side version of the portraits.
2008-07-12 18:15:04 +00:00
Mark de Wever
f5cc479a82 Fix the other bug unveiled by 2008-07-11T18:54:37Z!koraq@xs4all.nl.
The size of the widget isn't honoured which causes the widget to use
the best_size which might not fit in the dialog.  Loonycyborg spotted
the bug in the language dialog.
2008-07-12 18:07:15 +00:00
Mark de Wever
4b1b4a1f76 The bug fixed in 2008-07-11T18:54:37Z!koraq@xs4all.nl uncovered some other listbox related bugs.
This commit fixes the showing of the server list which died of an
assertion failure due to alignment flags missing. Also if set to grow
alignment for that direction is no longer needed.

The bug loonycyborg discovered with the language selection isn't fixed yet.
2008-07-12 16:54:13 +00:00
Tomasz Śniatowski
d3afa3eb49 Update editor2's can_execute_command 2008-07-12 16:25:54 +01:00
Tomasz Śniatowski
8c52b348f6 Remove debug output 2008-07-12 16:25:17 +01:00
Tomasz Śniatowski
466eaca211 Add some editor2 hotkey commands 2008-07-12 16:24:51 +01:00
Tomasz Śniatowski
3dedf9c25e typo in previous commit 2008-07-12 16:10:33 +01:00
Tomasz Śniatowski
a3c7db24a9 fix hotkey problem (scope system needs a redo, initial idea was most likely bad) 2008-07-12 16:09:25 +01:00
Tomasz Śniatowski
f6dcecf77f Editor2 theme file (very WIP) 2008-07-12 15:53:43 +01:00
Mark de Wever
8fda787631 Remove a no longer used test image. 2008-07-12 14:38:26 +00:00
Mark de Wever
ee140c0587 Add engine support for mirrored portraits. 2008-07-12 13:11:45 +00:00
Mark de Wever
ca7736178d Add the option to draw images mirrored on the canvas. 2008-07-12 12:46:18 +00:00