Ali El Gariani
02aea45e24
Quickfix to broken use of "../scenery/something.png" in terrain-wml rules
...
now any images in "scenery/" works too
2008-07-26 23:05:20 +00:00
Tomasz Śniatowski
98f6f6f9a7
rv accidental debug that was commited
2008-07-26 21:50:36 +01:00
Tomasz Śniatowski
7dbb80ec5c
editor2: display starting position labels
2008-07-26 21:48:51 +01:00
Tomasz Śniatowski
ba26373baf
editor2: context menu, starting location labels (defunct atm)
2008-07-26 21:05:57 +01:00
Tomasz Śniatowski
a5c09d3e19
Fix terrain rendering bug
...
remove operator overloading for clarity, reintroduce old location
adition as legacy_sum and similar functions, change new location
addition to vector_sum. The old functions are used where the old
operators were used.
2008-07-26 21:04:40 +01:00
Sergey Popov
ff29326614
Reverted "ar cru" change because that can cause linker errors sometimes.
2008-07-26 19:49:41 +00:00
Tomasz Śniatowski
2cdb0f1698
port 2008-07-26T18:53:17Z!shadowm@wesnoth.org to editor2
2008-07-26 19:57:59 +01:00
Ignacio R. Morelle
598336f9ce
Added hidden=yes to terrain archetypes.
2008-07-26 18:54:28 +00:00
Ignacio R. Morelle
85dc811c60
Make it possible to hide terrains from the editor palette...
...
...using the hidden=(boolean) attribute in [terrain] declarations.
2008-07-26 18:53:17 +00:00
Ignacio R. Morelle
c200fba830
Mention the changes of 2008-07-26T18:44:31Z!shadowm@wesnoth.org in the Release Notes, for UMC authors
...
(although this may be stupid, since the only add-ons that may be
affected by those changes are precisely *my* add-ons; hopefully
someone else can benefit from them...)
2008-07-26 18:52:12 +00:00
Ignacio R. Morelle
bf09f965de
Make UMC terrain graphics rules be prepended to the core rules in the game,
...
...just like they are in the editor.
2008-07-26 18:44:31 +00:00
Bartek Waresiak
44a611d50e
Some a bit more advanced and working recruitment AI
2008-07-26 17:28:40 +00:00
Bartek Waresiak
8f053fba8e
Improved unit_callable and unit_type_callable classes
2008-07-26 16:55:01 +00:00
Bartek Waresiak
c93f9374a7
Added get_ability_list function to unit_type class
2008-07-26 16:53:51 +00:00
Bartek Waresiak
fb2bfd8e63
Added get_ability_list and get_traits_list functions to unit class
2008-07-26 16:53:03 +00:00
Tomasz Śniatowski
03776f0317
editor2: selection tool
2008-07-26 14:23:06 +01:00
Sergey Popov
2b114bae00
Made scons pass cru when creating helper libraries.
2008-07-26 12:54:24 +00:00
Tomasz Śniatowski
a85fd24384
editor2: select actions (not bound yet), swap fg/bg hotkey,
...
...two mouse drag issues fixed
2008-07-26 13:07:30 +01:00
Mark de Wever
56b299a714
Initial version of the minimap widget.
...
* The C++ of the widget has the option to set border sizes, but this hasn't
been exposed to WML yet.
* Moved the menubar around to keep it in alphabetic order.
2008-07-26 09:45:18 +00:00
Mark de Wever
dc28e29855
Initialize all members and some minor code cleanups.
2008-07-26 08:43:06 +00:00
Tomasz Śniatowski
d9d876ce5c
rm stray debug messages
2008-07-26 00:34:33 +01:00
Tomasz Śniatowski
729c08880e
not yet used bit of editor palette rework
2008-07-26 00:15:08 +01:00
Bartek Waresiak
0949ad9539
Made variant_map use [] brackets instead of {} ones
2008-07-25 22:58:43 +00:00
Bartek Waresiak
33690f997c
Fixed attack_callable's specials member
2008-07-25 22:57:14 +00:00
Bartek Waresiak
eacf9d642b
New formula AI function: get_unit_type
2008-07-25 22:52:20 +00:00
Tomasz Śniatowski
11edc7de48
initialize an important member
2008-07-25 23:31:08 +01:00
Tomasz Śniatowski
6e7f6e4fd8
use binary_paths_manager in start_editor to fix path-related issues
2008-07-25 23:18:34 +01:00
Tomasz Śniatowski
b15da51364
make the old editor allow debug logging...
...
silly example of how copy-paste code gets out of sync
2008-07-25 23:16:59 +01:00
Tomasz Śniatowski
e0a05fa433
make campaign terrain defs work in editor2
2008-07-25 22:53:51 +01:00
Tomasz Śniatowski
4381208291
editor2: make editor2 use the palette, also what seems to fix one crash
2008-07-25 22:52:29 +01:00
Ignacio R. Morelle
3a0b701718
Made 1.5.2+svn entries be in alphabetical order...
...
...(except for the misc. and bugfixes section)
Moved the compilation bugfixes from the UI section to the correct
section (*tsk*).
2008-07-25 20:20:35 +00:00
Ignacio R. Morelle
394e5fe535
Remove a useless debug statement
2008-07-25 20:11:44 +00:00
Sergey Popov
14105448f3
Made scons use WhereIs to find distcc.
2008-07-25 20:09:16 +00:00
Greg Copeland
56516373d5
We now search the path to locate the ccache binary if it is enabled.
2008-07-25 20:07:08 +00:00
Greg Copeland
32ba674b92
User's path is now always forwarded, regardless of build platform.
...
Previously, user's path was only provided on Windows.
2008-07-25 20:05:52 +00:00
Mark de Wever
d42c3fce15
Add a callback when the selection in a listbox changes.
2008-07-25 19:10:49 +00:00
Tomasz Śniatowski
ffd25de2a4
make editor2 use the old editor's palette,
...
...only display the palette for now. crashes in some circumstances,
needs fixing.
2008-07-25 19:32:19 +01:00
Tomasz Śniatowski
2c9b2510b5
make editor2 painting more correct in line with old editor
2008-07-25 19:30:46 +01:00
Tomasz Śniatowski
083a6b5737
editor2 hotkey update
2008-07-25 19:28:11 +01:00
Mark de Wever
5fd8f17577
Initialize all members.
2008-07-25 17:57:49 +00:00
Mark de Wever
bd0d1c2173
Switch the editor dialog to the new field types.
2008-07-25 17:41:17 +00:00
Mark de Wever
05a66ebbf8
Add getter and setters without a window and make the type CT intead of T.
2008-07-25 17:38:14 +00:00
Mark de Wever
2632b2c571
Initialize all members.
2008-07-25 17:31:43 +00:00
Mark de Wever
f20059af34
Initialize all members and some minor code cleanups.
2008-07-25 17:28:37 +00:00
Mark de Wever
99c7c60005
Fix a bug where intializing a value without a callback failed.
2008-07-25 17:25:45 +00:00
Mark de Wever
a125396585
Add a new method to more automatically handle fields in a dialog.
...
Converted the tmp_connect dialog to use this new method.
2008-07-25 16:16:49 +00:00
Greg Copeland
05c70f200d
Added RCS keywords and GPL reference.
2008-07-25 15:19:32 +00:00
Patrick Parker
ddca21e0c4
a comment explaining vconfig::operator[]'s return type,
...
...as requested by Mordante
2008-07-25 15:13:03 +00:00
Mark de Wever
a30864b7a7
Add a state change callback to the selectable class...
...
...and rename the left click callback to the state change in the subclasses.
2008-07-25 10:13:57 +00:00
Mark de Wever
60a2b69eec
Initialize all members.
2008-07-24 18:51:40 +00:00