Commit graph

63 commits

Author SHA1 Message Date
Kristoffer Erlandsson
c1f671a53a Added a preferences dialog to the editor.
It is now possible to change resolution and toggle fullscreen in the editor.

Refactoring:

The palettes now inherit from the widget class.

The events are handled by the palettes themselves.

The terrain palette controls the scroll buttons by itself.
2004-05-09 11:11:15 +00:00
Kristoffer Erlandsson
afd5c4ad07 Fixed a CVS-only problem with buttons that disappeared in the editor.
Made the new map dialog a bit faster and fixed a CVS-only problem
where its buttons disappeared.
2004-05-08 10:42:21 +00:00
Kristoffer Erlandsson
bda20ac65f Revert from disk functionality added. 2004-05-04 20:48:30 +00:00
Kristoffer Erlandsson
451757d32e Editor: The name of the currently selected terrain is now displayed. 2004-05-04 19:46:52 +00:00
Kristoffer Erlandsson
2fa19dc876 Cut and paste functionality added in the editor 2004-05-02 14:20:16 +00:00
Kristoffer Erlandsson
d452ce1281 Added the ability to mark tiles in the editor.
The marked tiles may be filled with the selected terrain.
Added templates for cut and paste functionality.
2004-05-01 23:31:40 +00:00
Kristoffer Erlandsson
d1ec0bff43 Flood fill added. 2004-04-28 00:05:28 +00:00
Kristoffer Erlandsson
0a1d6d33a8 Fixed a problem where the hotkeys intended for the game ...
...would overwrite those for the editor.

Changed the current keybindings into more intuitive ones.
2004-04-27 21:16:56 +00:00
Kristoffer Erlandsson
ed55b59702 Refactoring: the terrain palette now is a separate class.
Major speed enhancement: the palette is only redrawn when needed.
The coordinates and terrain type of the hex the mouse is over are shown.
2004-04-26 19:57:36 +00:00
Kristoffer Erlandsson
258bf33052 load map and new map menu items and hotkeys added 2004-04-25 15:03:18 +00:00
Kristoffer Erlandsson
34b66cf654 Save as functionality added. 2004-04-25 13:36:00 +00:00
Kristoffer Erlandsson
84b148ae76 Hotkeys, panels and context menu added. Menus extended. 2004-04-24 15:28:37 +00:00
Dave White
4fd5afc631 [[Editor and AI improvements]]
- some editor improvements

- made AI not recruit units that don't have a suitable movement type for the map
2004-04-23 15:48:24 +00:00