268 Commits

Author SHA1 Message Date
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
Tomasz Śniatowski
c9bd6576c2 editor2 theme update: tool butons 2008-08-10 17:30:30 +01:00
Tomasz Śniatowski
a9362872b3 editor2: random map generate dialog stub, refresh image cache option 2008-08-04 13:36:59 +01:00
Tomasz Śniatowski
57f08d0eb3 editor2 theme update 2008-07-31 16:42:18 +01:00
Tomasz Śniatowski
7389e04b24 editor2 theme update 2008-07-31 10:59:43 +01:00
Tomasz Śniatowski
6d34944ad7 editor2: select all, invert selection, everything_changed member in map_context 2008-07-30 23:58:00 +01:00
Tomasz Śniatowski
e68301c3f7 editor2: wire in flip actions, smarter after-action refreshing,
...mouse action tweaks (do less work on mouse move within same
hex). Not guaranteed to be 100% stable at the moment, editor_map needs
a slight overhaul.
2008-07-30 00:21:57 +01:00
Tomasz Śniatowski
ba26373baf editor2: context menu, starting location labels (defunct atm) 2008-07-26 21:05:57 +01:00
Benoît Timbert
3e6738bbfc Update/fix a few SVN properties 2008-07-19 23:40:12 +00:00
Tomasz Śniatowski
32bc25963b Editor2 quit and quit do desktop features,
...confirm quit message different if map was modified
2008-07-15 23:25:29 +01:00
Tomasz Śniatowski
7baeeaafd2 wire in undo/redo.
Note that there's an issue with mouseup doing actions twice, and undo
fill is broken.
2008-07-13 22:12:58 +01:00
Tomasz Śniatowski
e2f894b844 editor2 theme update 2008-07-13 17:07:20 +01:00
Tomasz Śniatowski
f6dcecf77f Editor2 theme file (very WIP) 2008-07-12 15:53:43 +01:00
Lari Nieminen
fb9df57ef5 Gave the upkeep panel a bit more space so that two-digit numbers fit nicely. 2008-05-10 10:55:09 +00:00
Nils Kneuper
e4481709ff comment out addition of side indicator (2008-03-17T21:54:07Z!benoit.timbert@free.fr by noyga)
please find a better place for it, the current place can not be used
for it someone else please check if problems with the dfool theme
exist, too
2008-04-26 12:28:00 +00:00
Gunter Labes
8b9f08da2a use fixed xanchor values instead of proportional 2008-04-13 23:18:39 +00:00
Lari Nieminen
d755612b8f Fixed a top panel glitch in the dfool theme. 2008-04-13 15:59:08 +00:00
Benoît Timbert
d0018fdec7 Wire in the unit side indicator...
...(probably not at the best place, but well, i'm not a ThemeWML guru)
2008-03-17 21:54:07 +00:00
Benoît Timbert
28983b04ad ThemeWML: [unit_description] -> [unit_name]
NOTE: the backward compatibility code is broken, i'll try to find
after diner why
2008-03-16 18:45:59 +00:00
Lari Nieminen
f0dbcd7825 Removed empty space from the top panel...
...to give space for the terrain description and generally reworked
the placement. The top panel in the 800x600 theme should now look much
better too.
2008-03-15 12:31:06 +00:00