Alexander van Gessel
32980eda73
Move the appending of '.png' to image paths...
...
...from C++ to the terrain BUILDER macros
2010-06-18 16:28:14 +01:00
Eric S. Raymond
5de886214b
Marking this "Wont Fix",
...
...as themes are scheduled to go away when GUI2 lands.
2010-04-16 13:12:52 +00:00
Fabian Müller
4a7e27d070
Reverted back to 42095.
2010-04-10 17:30:45 +00:00
Alexander van Gessel
183c40ba5b
Merge fendrin_editor branch
2010-04-10 16:00:09 +01:00
Jérémy Rosen
53105be56f
remove EXPERIMENTAL blocks in source
2010-02-22 20:08:38 +00:00
Fabian Müller
00c136aaab
EXPERIMENTAL only
...
Button defined for the editor label tool.
2010-02-21 17:09:44 +00:00
Eric S. Raymond
036d16c145
This fixes some WML that should never worked,
...
...only it's hard to even tell because GUI2 disables themes.
2010-02-14 22:31:36 +00:00
Ali El Gariani
baea5c89e3
remove new sidebar terrain def% from small-gui
2009-09-30 20:46:25 +00:00
Ali El Gariani
c39487ba04
Fix bug #14406 :
...
..."redraw glitches of weapon info when using small-gui (and probably
with tiny-gui too)"
2009-09-30 20:30:22 +00:00
Ali El Gariani
53dbc060e1
For tiny-gui, also use smaller font for the new terrain def% field
2009-09-27 00:59:42 +00:00
Ali El Gariani
a1991f3e53
Switch new terrain defense and moves in main sidebar,
...
(to place terrain def% next to weapons)
2009-09-10 00:01:00 +00:00
Gunter Labes
302705768e
fixed end turn button placement
2009-09-08 08:38:16 +00:00
Ali El Gariani
5f35868ff9
Uniformize MP info in sidebars from dialog and main screen
...
Now both uses the more compact "moves:"
2009-09-08 01:43:45 +00:00
Ali El Gariani
1a5cbd6cef
Add a "terrain def.: 60%" (with color) to the main sidebar
...
to give more visibility to this important stat and because the topbar
defense is really not nice.
2009-09-08 01:32:58 +00:00
Ali El Gariani
b0ff8a0e95
Move the new hardcoded indentation for race to themes.cfg...
...
(for main sidebar)
(but still hardcoded for dialogs as always with this stuff)
2009-09-08 00:12:52 +00:00
Tomasz Śniatowski
1a934ac94b
rename editor2 -> editor. Old editor is long dead, long live the new editor!
2009-08-08 12:14:58 +01:00
Eric S. Raymond
746646e802
wmllint cleanup.
2009-04-16 11:48:31 +00:00
Tomasz Śniatowski
83ea299518
Editor: Moved the clipboard actions to a context menu...
...
...available in paste mode. Added a terrain sampler feature --
ctrl+click when in paint or fill mode
2009-04-14 12:14:52 +01:00
Tomasz Śniatowski
b358e4611e
implement FR bug #13172...
...
...(output a WML-style list of selected tiles from the editor). Uses
the system clipboard.
2009-03-22 00:25:29 +01:00
Tomasz Śniatowski
80a3c91c2b
work around major issues of bug #12777...
...
...and editor's hotkey descriptions/tooltips in a way that does not
introduce new strings or mess with the code much
2009-02-28 23:09:57 +01:00
Ignacio R. Morelle
f331a66b31
Fix a regression from editor2: the map borders for the editor theme...
...
...should be less opaque than the regular in-game map borders.
2009-02-16 19:36:01 +00:00
Tomasz Śniatowski
b34fb365e0
slight editor2 display tweaks
2009-02-10 09:19:35 +01:00
Jörg Hinrichs
9c7884f6fb
Adding support for observers in multiplayer to pause...
...
...and continue the game at any time (special greetings to boucman ;-).
2009-02-08 22:15:06 +00:00
Tomasz Śniatowski
9dd79a1490
editor toolbar tweaks
2009-02-08 12:04:46 +01:00
Eric S. Raymond
4861e50155
Reindent mainline in preparation for 1.6.
2008-12-08 17:45:47 +00:00
Tomasz Śniatowski
1589d8713c
editor2 MDI feature - have more than one map open in the editor...
...
...with fast switching between them. Can be disabled in the editor
settings. Also changed:
* the display class now holds a pointer to the map instead of a
reference, a pointer can be changed which permits the entire MDI
behavior. Related bits were also changed in terrain_builder.
* mouse_handler_base no longer holds a reference to the map
* the map labels class does not hold a gamemap reference, as it can
use the display object to access the map. Also clearing all labels
was exposed as a public member function.
* used scoped_ptrs and forward declarations to avoid having to include
map_label.hpp and terrain_builder.hpp in display.hpp, this reduces
build dependencies quite a bit.
* made get_action_state use the menu index to allow a dynamic menu to
have checkboxes. This entire chunk of code needs a rewrite.
2008-11-21 15:42:34 +01:00
Eric S. Raymond
a3591151c2
Further extend spellchecking.
2008-11-05 03:38:10 +00:00
Eric S. Raymond
1d1e5343cc
Extend the range of WML attributes that get spellchecked,
...
...and fix a glitch that turned up.
2008-11-05 02:45:03 +00:00
Tomasz Śniatowski
39d377190f
editor2: add mask applying and creating to the editor.
...
possibly under-featured, needs testing
2008-10-13 20:05:30 +01:00
Eric S. Raymond
76abc35ca6
wmllint now does translation-mark and doublespace checks outside scenrio tags.
...
This diff fixes some glitches found that way and tells wmllint to ignore
various edge cases. A few cannot_use_message=NONE instances are removed,
as this simplifies the check and zookeeper says it's safe.
2008-10-09 17:46:10 +00:00
Tomasz Śniatowski
6022234caa
Remove the old editor.
...
This includes removing sources, cfg files, editor targets in build
systems (scons was done already), and removing old-editor only parts
from several other files under data/ and src/. There probably are some
remains of the old editor left.
2008-10-04 12:24:35 +01:00
Tomasz Śniatowski
a515cc1d6d
fix editor2 theme
2008-09-28 16:20:24 +01:00
Tomasz Śniatowski
803957f120
editor2: add tool overlays for select and starting position,
...
...remove the redundant tool menu, make the mouse overlay draw on
border tiles when in the editor
2008-09-26 15:38:27 +01:00
Alexander van Gessel
3530608851
Fixed spelling of keys in themeWML, caught by wmltest.
2008-09-24 11:51:46 +01:00
Alexander van Gessel
4c164ae045
Fix spelling of *W*idth in ThemeWML, caught by wmltest.
2008-09-24 01:36:26 +01:00
Alexander van Gessel
23697c7af7
Fixed spelling of ThemeWML keys, caught by wmltest.
2008-09-24 01:33:55 +01:00
Tomasz Śniatowski
6dbfc61efe
Editor2: remove map flipping...
...
... Add clipboard flipping. Also fix a map_fragment issue.
2008-09-23 19:14:39 +01:00
Tomasz Śniatowski
6dea6180f0
Editor 2: a feature to draw hex coordinates and/or terrain code on every hex.
...
Also a minor changelog backlog.
2008-09-23 00:16:18 +01:00
Tomasz Śniatowski
8b8556619e
editor2 editor settings hotkey definition
2008-09-17 16:40:15 +01:00
Lari Nieminen
9882014c8d
Ported the theme fixes to trunk.
2008-09-10 17:15:48 +00:00
Eric S. Raymond
318486ce4b
Reindent most of the data tree in preparation for making wmlindent smarter.
2008-08-28 17:57:00 +00:00
Tomasz Śniatowski
ebc01fba94
editor2: rotate clipboard 60 degrees cw/ccw feature, map_fragment doc comments
2008-08-20 10:33:51 +01:00
Tomasz Śniatowski
fc09ac19ad
editor2 hotkey tweaks
2008-08-17 14:17:19 +01:00
Tomasz Śniatowski
75a44d83fd
change editor2 theme's textdomain to wesnoth-editor
2008-08-17 12:34:41 +01:00
Tomasz Śniatowski
5c99f2ccb9
editor2: sidebar tweaks
2008-08-16 20:42:19 +01:00
Eric S. Raymond
f85135e255
Clean up some glitches detected by wmllint.
2008-08-13 23:19:51 +00:00
Tomasz Śniatowski
d826e56664
editor2: brush selector...
...
...(mostly reused code from the old editor, a solid candidate for a
rewrite in the future)
2008-08-13 18:32:51 +01:00
Tomasz Śniatowski
1e20cfe385
editor2: fill seelction feature
2008-08-12 23:22:51 +01:00
Tomasz Śniatowski
661ae31392
editor2: selection tool button
2008-08-12 20:14:16 +01:00
Tomasz Śniatowski
24784c4788
editor2: toolbar tooltips: buttons and terrain palette groups.
...
Old editor's toolbar glitch appears to be fixed though I'm not sure
what was the cause.
2008-08-12 12:39:34 +01:00