Commit graph

554 commits

Author SHA1 Message Date
Steven Panek
e3a8810756 Added an option in advanced preferences
that allows the twelve-hour clock format to be used.
2011-10-03 11:56:40 +00:00
Steven Panek
986310c93d Replaced hyphen-minus in gold counter with the Unicode minus. 2011-10-03 02:17:28 +00:00
Steven Panek
8e92598e1c Replaced hyphen-minus with the Unicode minus in the in-game income element. 2011-10-02 17:45:39 +00:00
Fabian Müller
1a2e1eab30 Widescreen theme useing the right weapons widget. 2011-10-01 23:10:10 +00:00
Fabian Müller
c64fd57a77 Fixed widescreen theme on low resolutions.
Added tod support on the left sidebar.
2011-09-23 20:29:13 +00:00
Fabian Müller
f711ff9682 Adds a theme for widescreen resolutions. 2011-09-23 18:43:05 +00:00
Fabian Müller
fa45bda62d Adds support for the 1024x600 resolution which is used by many netbooks. 2011-09-22 18:14:30 +00:00
Nils Kneuper
b2f79b2472 apply wmlindent on basically all of mainline 2011-05-04 10:04:57 +00:00
Gabriel Morin
df4ba3108c Patch #2640 by tschmitz
* Adds new Suppose Dead feature to the whiteboard, temporarily bound
  to 'i' key.

* Fixes wrong use of std::equals
2011-04-17 22:56:44 +00:00
Nils Kneuper
6f1bd4e90d commit WIP version (commented out!) of small res editor stuff 2011-03-11 17:19:03 +00:00
Nils Kneuper
131dbbb5a1 fixed the grey background in the right pane...
...so that it is the "correct" size for the buttons
2011-03-11 17:08:23 +00:00
Nils Kneuper
ea138d748f "tiny gui support"-removal part 4:
basic removal from config files (not from GUI2 specific stuff!)

TODO: remove tinygui from scons build system and consider if removing
"smaller res" support should be removed from GUI2 config files
2011-02-12 16:41:14 +00:00
Gabriel Morin
ef81324150 Whiteboard: add a new "Execute all actions" command,
...bound to ctrl+y by default, and added to the actions (not context)
menu. It executes actions in sequence until the first attack, or until
an action fails to execute. Fulfills the feature request of bug
#16807.

Simplified some return type in the process in side_actions: returning
iterators wasn't really useful for the execute functions.
2010-10-10 03:33:24 +00:00
Ali El Gariani
09b4fe022d Add "Save All Maps" in editor "File" menu and a new hotkey
(default: alt+s)

Quickly show all maps when saving, not wanted but provide some UI
feedback.
2010-09-17 17:19:58 +00:00
Gabriel Morin
1d0bb8c0b4 Added new Whiteboard toggle hotkey to default theme,
...reordered the other whiteboard actions in the menus.
2010-08-15 04:17:34 +00:00
Gabriel Morin
89f48b6daf Add whiteboard commands to the 'actions'...
...and context menu of the default theme.
2010-08-14 21:50:46 +00:00
Mark de Wever
a717cd92e6 Strip trailing spaces. 2010-07-31 08:15:15 +00:00
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