--__________         __    __  .__           ___________
--\______   \_____ _/  |__/  |_|  |   ____   \_   _____/__________
-- |    |  _/\__  \\   __\   __\  | _/ __ \   |    __)/  _ \_  __ \
-- |    |   \ / __ \|  |  |  | |  |_\  ___/   |     \(  <_> )  | \/
-- |______  /(____  /__|  |__| |____/\___  >  \___  / \____/|__|
--        \/      \/                     \/       \/
--   _____                     .___.__
--  /     \ _____    ____    __| _/|__| ____  ___________
-- /  \ /  \\__  \  /    \  / __ | |  |/ ___\/  _ \_  __ \
--/    Y    \/ __ \|   |  \/ /_/ | |  \  \__(  <_> )  | \/
--\____|__  (____  /___|  /\____ | |__|\___  >____/|__|
--        \/     \/     \/      \/         \/

--      editor.lua - Editor buttons
--
--      (c) Copyright 2005 by Kimmo Merikivi
--
--      This program is free software; you can redistribute it and/or modify
--      it under the terms of the GNU General Public License as published by
--      the Free Software Foundation; either version 2 of the License, or
--      (at your option) any later version.
--  
--      This program is distributed in the hope that it will be useful,
--      but WITHOUT ANY WARRANTY; without even the implied warranty of
--      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
--      GNU General Public License for more details.
--  
--      You should have received a copy of the GNU General Public License
--      along with this program; if not, write to the Free Software
--      Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

---------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------


--	Set which icons to display
SetEditorSelectIcon("icon-stand")
SetEditorUnitsIcon("icon-dwarves-warrior")


--
--	editor-unit-types a sorted list of unit-types for the editor.
--	FIXME: this is only a temporary hack, for better sorted units.
--
DefineEditorUnitTypes(
   "unit-dwarves-start-location",
   "unit-dwarves-lord",
   "unit-dwarves-worker",
   "unit-dwarves-warrior",
   "unit-dwarves-warrior-hero",
   "unit-dwarves-scout",
   "unit-dwarves-scout-hero",
   "unit-raven",
   "unit-dwarves-bowman",
   "unit-dwarves-bowman-hero",
   "unit-hunter-captain",
   "unit-hunter",
   "unit-dwarves-swordman",
   "unit-dwarves-advanced-worker",
   "unit-dwarves-advanced-worker2",
   "unit-dwarves-advanced-warrior",
   "unit-dwarves-advanced-bowman",
   "unit-dwarves-crossbowman",
   "unit-dwarves-crossbowman-hero",
   "unit-dwarves-boat",
   "unit-dwarves-transporter",
   "unit-dwarves-ballista",
   "unit-dwarves-spearman",
   "unit-dwarves-spearman-hero",
   "unit-dwarves-healer",
   "unit-dwarves-healer-hero",
   "unit-hrimblid",
   "unit-kendago",
   "unit-dwarf-leader",
   "unit-dwarf",
   "unit-dwarves-town-center",
   "unit-dwarves-guard-tower",
   "unit-dwarves-cottage",
   "unit-dwarves-blacksmith",
   "unit-dwarves-lumber-mill",
   "unit-dwarves-market",
   "unit-dwarves-town-hall",
   "unit-dwarves-farm",
   "unit-dwarves-farm2",
   "unit-dwarves-barracks",
   "unit-dwarves-stone-wall",
   "unit-dwarves-shipyard",
   "unit-dwarves-bunker",
   "unit-dwarves-city-hall",
   "unit-dwarves-blacksmith2",
   "unit-dwarves-temple",
   "unit-dwarves-heros-guild",
   "unit-dwarves-mining-post",
   "unit-dwarves-mining-post2",

--- - - - - - - - - - - - - - - - - - -

   "unit-darkness-start-location",
   "unit-darkness-worker",
   "unit-repairman",
   "unit-darkness-warrior",
   "unit-darkness-bowman",
   "unit-tower-guard",
   "unit-bowman-hero",
   "unit-darkness-spearman",
   "unit-wolf",
   "unit-big-goblin",
   "unit-darkness-big-goblin",
   "unit-well-trained-goblin",
   "unit-nasty-wolf",
   "unit-nasty-goblin",
   "unit-goblin-guard",
   "unit-goblin-bowman-guard",
   "unit-goblin-spearman-guard",
   "unit-darkness-camp",
   "unit-darkness-farm",
   "unit-darkness-garrison",
   "unit-darkness-blacksmith",
   "unit-darkness-lumber-storage",
   "unit-darkness-catapult",
   "unit-guard",
   "unit-ozug-guard",
   "unit-ozug",

--- - - - - - - - - - - - - - - - - - -
--- - - - - - - - - - - - - - - - - - -


   "unit-titanium-dwarf",
   "unit-tux",
   "unit-wizard-of-yendor",
   "unit-demogorgon",
   "unit-trap",
   "unit-fortress",
   "unit-gold-mine",
   "unit-iron-mine",
   "unit-stone-mine",
   "unit-titanium-mine",
   "unit-oil-patch",
   "unit-young-dragon",
   "unit-dragon",
   "unit-flying-dragon",
   "unit-biting-dragon",
   "unit-kimmo",
   "unit-mikko",
   "unit-sardor",
   "unit-grumbuduts",
   "unit-whirl",
   "unit-1xstone",
   "unit-2xstone",
   "unit-tree1",
   "unit-tree2",
   "unit-tree3",
   "unit-mountain1"
  )
