;;   ___________		     _________		      _____  __
;;   \_	  _____/______   ____   ____ \_   ___ \____________ _/ ____\/  |_
;;    |    __) \_  __ \_/ __ \_/ __ \/    \  \/\_  __ \__  \\  ___\\   __|
;;    |     \   |  | \/\  ___/\  ___/\     \____|  | \// __ \|  |   |  |
;;    \___  /   |__|    \___  >\___  >\______  /|__|  (____  /__|   |__|
;;	  \/		    \/	   \/	     \/		   \/
;;  ______________________                           ______________________
;;			  T H E   W A R   B E G I N S
;;	   FreeCraft - A free fantasy real time strategy game engine
;;
;;	wc2.ccl		-	WC2 compatibility level
;;
;;	(c) Copyright 2001,2002 by Lutz Sammer
;;
;;	FreeCraft 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; only version 2 of the License.
;;
;;	FreeCraft 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.
;;
;;	$Id: wc2.ccl,v 1.18 2002/12/17 06:58:19 nehalmistry Exp $

;;=============================================================================
;;	Define race mapping from original number to internal symbol
;;
;;	(define-race-wc-names 'human 'orc 'neutral )
(define-race-wc-names
  'alliance 'mythical 'neutral)

;;=============================================================================
;;	Define tileset mapping from original number to internal symbol
;;
;;	(define-tileset-wc-names summer winter wasteland swamp)

(define-tileset-wc-names
  'tileset-summer 'tileset-winter 'tileset-wasteland 'tileset-swamp)

;;=============================================================================
;;	Define construction mapping from original number to internal symbol
;;
;;	(define-construction-wc-names human-shipyard orc-shipyard ... )

(define-construction-wc-names
  'construction-none 'construction-none 'construction-none 'construction-none
  'construction-none 'construction-none 'construction-land
  'construction-alliance-shipyard 'construction-mythical-shipyard
  'construction-alliance-oil-well 'construction-mythical-oil-well
  'construction-alliance-refinery 'construction-mythical-refinery
  'construction-alliance-foundry 'construction-mythical-foundry 'construction-wall)

;;=============================================================================
;;	Define unit-type mapping from original number to internal symbol
;;
;;	(define-unittype-wc-names footman grunt ... )

(define-unittype-wc-names
    'unit-footman 'unit-grunt 'unit-peasant 'unit-peon 'unit-ballista
    'unit-catapult 'unit-knight 'unit-ogre 'unit-archer 'unit-axethrower
    'unit-mage 'unit-death-knight 'unit-paladin 'unit-ogre-mage
    'unit-dwarves 'unit-goblin-sappers 'unit-attack-peasant
    'unit-attack-peon 'unit-ranger 'unit-berserker 'unit-female-hero
    'unit-evil-knight 'unit-flying-angle 'unit-fad-man
    'unit-white-mage 'unit-beast-cry 'unit-human-oil-tanker
    'unit-orc-oil-tanker 'unit-alliance-transport 'unit-mythical-transport
    'unit-alliance-destroyer 'unit-mythical-destroyer 'unit-battleship
    'unit-ogre-juggernaught 'unit-nothing-22 'unit-fire-breeze
    'unit-nothing-24 'unit-nothing-25 'unit-alliance-submarine
    'unit-mythical-submarine 'unit-balloon 'unit-zeppelin
    'unit-gryphon-rider 'unit-dragon 'unit-knight-rider 'unit-eye-of-vision
    'unit-arthor-literios 'unit-quick-blade 'unit-nothing-30 'unit-double-head
    'unit-wise-man 'unit-ice-bringer 'unit-man-of-light 'unit-sharp-axe
    'unit-nothing-36 'unit-skeleton 'unit-daemon 'unit-critter
    'unit-farm 'unit-pig-farm 'unit-alliance-barracks 'unit-mythical-barracks
    'unit-church 'unit-altar-of-storms 'unit-alliance-watch-tower
    'unit-mythical-watch-tower 'unit-stables 'unit-ogre-mound
    'unit-inventor 'unit-alchemist 'unit-gryphon-aviary
    'unit-dragon-roost 'unit-alliance-shipyard 'unit-mythical-shipyard
    'unit-town-hall 'unit-great-hall 'unit-elven-lumber-mill
    'unit-troll-lumber-mill 'unit-alliance-foundry 'unit-mythical-foundry
    'unit-mage-tower 'unit-temple-of-the-damned 'unit-alliance-blacksmith
    'unit-mythical-blacksmith 'unit-human-refinery 'unit-orc-refinery
    'unit-alliance-oil-platform 'unit-mythical-oil-platform 'unit-keep
    'unit-stronghold 'unit-castle 'unit-fortress 'unit-gold-mine
    'unit-oil-patch 'unit-alliance-start-location 'unit-mythical-start-location
    'unit-alliance-guard-tower 'unit-mythical-guard-tower 'unit-alliance-cannon-tower
    'unit-mythical-cannon-tower 'unit-circle-of-power 'unit-dark-portal
    'unit-runestone 'unit-human-wall 'unit-orc-wall 'unit-dead-body
    'unit-destroyed-1x1-place 'unit-destroyed-2x2-place
    'unit-destroyed-3x3-place 'unit-destroyed-4x4-place
    'unit-peasant-with-gold 'unit-peon-with-gold 'unit-peasant-with-wood
    'unit-peon-with-wood 'unit-human-oil-tanker-full
    'unit-orc-oil-tanker-full)

;;=============================================================================
;;	Define missiletype mapping from original number to internal symbol
;;
;;	(define-missiletype-wc-names lightning griffon-hammer ... )
(define-missiletype-wc-names
    'missile-lightning 'missile-griffon-hammer 'missile-dragon-breath
    'missile-fireball 'missile-flame-shield 'missile-blizzard
    'missile-death-and-decay 'missile-big-cannon 'missile-exorcism
    'missile-heal-effect 'missile-touch-of-death 'missile-rune
    'missile-whirlwind 'missile-catapult-rock 'missile-ballista-bolt
    'missile-arrow 'missile-axe 'missile-submarine-missile
    'missile-turtle-missile 'missile-small-fire 'missile-big-fire
    'missile-impact 'missile-normal-spell 'missile-explosion
    'missile-small-cannon 'missile-cannon-explosion
    'missile-cannon-tower-explosion 'missile-daemon-fire
    'missile-green-cross 'missile-none 'missile-blizzard-hit
    'missile-death-coil 'missile-none)

;;=============================================================================
;;	Define icon mapping from original number to internal symbol
;;
;;	(define-icon-wc-names peasant peon ... )

(define-icon-wc-names
    'icon-peasant 'icon-peon 'icon-footman 'icon-grunt 'icon-archer
    'icon-axethrower 'icon-ranger 'icon-berserker 'icon-knight 'icon-ogre
    'icon-paladin 'icon-ogre-mage 'icon-dwarves 'icon-goblin-sappers 'icon-mage
    'icon-death-knight 'icon-ballista 'icon-catapult 'icon-alliance-oil-tanker
    'icon-mythical-oil-tanker 'icon-alliance-transport 'icon-mythical-transport
    'icon-alliance-destroyer 'icon-mythical-destroyer 'icon-battleship
    'icon-ogre-juggernaught 'icon-gnomish-submarine 'icon-giant-turtle
    'icon-gnomish-flying-machine 'icon-zeppelin 'icon-gryphon-rider
    'icon-dragon 'icon-wise-man 'icon-ice-bringer 'icon-man-of-light
    'icon-sharp-axe 'icon-double-head 'icon-daemon 'icon-farm 'icon-pig-farm
    'icon-town-hall 'icon-great-hall 'icon-alliance-barracks 'icon-mythical-barracks
    'icon-elven-lumber-mill 'icon-troll-lumber-mill 'icon-alliance-blacksmith
    'icon-mythical-blacksmith 'icon-alliance-shipyard 'icon-mythical-shipyard
    'icon-alliance-refinery 'icon-mythical-refinery 'icon-alliance-foundry
    'icon-mythical-foundry 'icon-alliance-oil-platform 'icon-mythical-oil-platform
    'icon-stables 'icon-ogre-mound 'icon-gnomish-inventor 'icon-alchemist
    'icon-alliance-watch-tower 'icon-mythical-watch-tower 'icon-church
    'icon-altar-of-storms 'icon-mage-tower 'icon-temple-of-the-damned 'icon-keep
    'icon-stronghold 'icon-castle-upgrade 'icon-fortress-upgrade 'icon-castle
    'icon-fortress 'icon-gryphon-aviary 'icon-dragon-roost 'icon-gold-mine
    'icon-alliance-guard-tower 'icon-alliance-cannon-tower 'icon-mythical-guard-tower
    'icon-mythical-cannon-tower 'icon-oil-patch 'icon-dark-portal
    'icon-circle-of-power 'icon-runestone 'icon-move-peasant 'icon-move-peon
    'icon-repair 'icon-harvest 'icon-build-basic 'icon-build-advanced
    'icon-return-goods-peasant 'icon-return-goods-peon 'icon-cancel
    'icon-alliance-wall 'icon-mythical-wall 'icon-slow 'icon-invisibility 'icon-haste
    'icon-runes 'icon-unholy-armor 'icon-lightning 'icon-flame-shield
    'icon-fireball 'icon-touch-of-darkness 'icon-death-coil 'icon-whirlwind
    'icon-blizzard 'icon-holy-vision 'icon-heal 'icon-death-and-decay 'icon-109
    'icon-exorcism 'icon-eye-of-kilrogg 'icon-bloodlust 'icon-unknown113
    'icon-skeleton 'icon-critter 'icon-sword1 'icon-sword2 'icon-sword3
    'icon-battle-axe1 'icon-battle-axe2 'icon-battle-axe3 'icon-122
    'icon-123 'icon-arrow1 'icon-arrow2 'icon-arrow3 'icon-throwing-axe1
    'icon-throwing-axe2 'icon-throwing-axe3 'icon-horse1 'icon-horse2
    'icon-longbow 'icon-ranger-scouting 'icon-ranger-marksmanship
    'icon-light-axes 'icon-berserker-scouting 'icon-berserker-regeneration
    'icon-catapult1 'icon-catapult2 'icon-ballista1 'icon-ballista2
    'icon-alliance-demolish 'icon-mythical-demolish 'icon-alliance-ship-cannon1
    'icon-alliance-ship-cannon2 'icon-alliance-ship-cannon3 'icon-mythical-ship-cannon1
    'icon-mythical-ship-cannon2 'icon-mythical-ship-cannon3 'icon-mythical-ship-armor1
    'icon-mythical-ship-armor2 'icon-mythical-ship-armor3 'icon-alliance-ship-armor1
    'icon-alliance-ship-armor2 'icon-alliance-ship-armor3 'icon-mythical-ship-move
    'icon-alliance-ship-move 'icon-mythical-ship-return-oil 'icon-alliance-ship-return-oil
    'icon-mythical-ship-haul-oil 'icon-alliance-ship-haul-oil 'icon-alliance-unload
    'icon-mythical-unload 'icon-alliance-shield1 'icon-alliance-shield2 'icon-alliance-shield3
    'icon-mythical-shield1 'icon-mythical-shield2 'icon-mythical-shield3 'icon-170 'icon-171
    'icon-172 'icon-173 'icon-174 'icon-175 'icon-176 'icon-177
    'icon-alliance-patrol-land 'icon-mythical-patrol-land 'icon-alliance-stand-ground
    'icon-mythical-stand-ground 'icon-alliance-attack-ground 'icon-mythical-attack-ground
    'icon-alliance-patrol-naval 'icon-mythical-patrol-naval 'icon-quick-blade
    'icon-female-hero 'icon-ugly-guy 'icon-evil-knight 'icon-beast-cry
    'icon-flying-angle 'icon-fire-breeze 'icon-white-mage 'icon-fad-man
    'icon-knight-rider)

;;=============================================================================
;;	Define upgrade mapping from original number to internal symbol
;;
;;	(define-upgrade-wc-names sword1 sword2 ... )

(define-upgrade-wc-names
  'upgrade-sword1 'upgrade-sword2 'upgrade-battle-axe1 'upgrade-battle-axe2
  'upgrade-arrow1 'upgrade-arrow2 'upgrade-throwing-axe1
  'upgrade-throwing-axe2 'upgrade-human-shield1 'upgrade-human-shield2
  'upgrade-orc-shield1 'upgrade-orc-shield2 'upgrade-human-ship-cannon1
  'upgrade-human-ship-cannon2 'upgrade-orc-ship-cannon1
  'upgrade-orc-ship-cannon2 'upgrade-human-ship-armor1
  'upgrade-human-ship-armor2 'upgrade-orc-ship-armor1 'upgrade-orc-ship-armor2
  'upgrade-catapult1 'upgrade-catapult2 'upgrade-ballista1 'upgrade-ballista2
  'upgrade-ranger 'upgrade-longbow 'upgrade-ranger-scouting
  'upgrade-ranger-marksmanship 'upgrade-berserker 'upgrade-light-axes
  'upgrade-berserker-scouting 'upgrade-berserker-regeneration
  'upgrade-ogre-mage 'upgrade-paladin 'upgrade-holy-vision 'upgrade-healing
  'upgrade-exorcism 'upgrade-flame-shield 'upgrade-fireball 'upgrade-slow
  'upgrade-invisibility 'upgrade-polymorph 'upgrade-blizzard
  'upgrade-eye-of-kilrogg 'upgrade-bloodlust 'upgrade-raise-dead
  'upgrade-death-coil 'upgrade-whirlwind 'upgrade-haste 'upgrade-unholy-armor
  'upgrade-runes 'upgrade-death-and-decay)

;;=============================================================================
;;	Define AI mapping from original number to internal symbol
;;
;;	(define-ai-wc-names 'land-attack 'passive ... )
(define-ai-wc-names
  'land-attack 'passive 'orc-03 'hum-04 'orc-04 'hum-05 'orc-05
  'hum-06 'orc-06 'hum-07 'orc-07 'hum-08 'orc-08 'hum-09 'orc-09
  'hum-10 'orc-10 'hum-11 'orc-11 'hum-12 'orc-12 'hum-13 'orc-13
  'hum-14-orange 'orc-14-blue 'sea-attack 'air-attack 'hum-14-red
  'hum-14-white 'hum-14-black 'orc-14-green 'orc-14-white 'orc-exp-04
  'orc-exp-05 'orc-exp-07a 'orc-exp-09 'orc-exp-10 'orc-exp-12 'orc-exp-06a
  'orc-exp-06b 'orc-exp-11a 'orc-exp-11b 'hum-exp-02a-red 'hum-exp-02b-black
  'hum-exp-02c-yellow 'hum-exp-03a-orange 'hum-exp-03b-red 'hum-exp-03c-violet
  'hum-exp-04a-black 'hum-exp-04b-red 'hum-exp-04c-white 'hum-exp-05a-green
  'hum-exp-05b-orange 'hum-exp-05c-violet 'hum-exp-05d-yellow 'hum-exp-06a-green
  'hum-exp-06b-black 'hum-exp-06c-orange 'hum-exp-06d-red 'hum-exp-08a-white
  'hum-exp-08b-yellow 'hum-exp-08c-violet 'hum-exp-09a-black 'hum-exp-09b-red
  'hum-exp-09c-green 'hum-exp-09d-white 'hum-exp-10a-violet 'hum-exp-10b-green
  'hum-exp-10c-black 'hum-exp-11a 'hum-exp-11b 'hum-exp-12a 'orc-exp-05b
  'hum-exp-07a 'hum-exp-07b 'hum-exp-07c 'orc-exp-12a 'orc-exp-12b 'orc-exp-12c
  'orc-exp-12d 'orc-exp-02 'orc-exp-07b 'orc-exp-03
; Some additionals scripts
  'gruntrush 'goldfever
; 85
  'fca-02 'fca-03 'fca-04-red 'fca-04-green
  'fca-05 'fca-06 'fca-07 'fca-08 'fca-09
  'fca-10 'fca-11 'fca-12 'fca-13 'fca-14 'fca-15 'fca-16 'fca-17 'fca-18
  'fcm-01 'fcm-02 'fcm-03 'fcm-04 'fcm-05 'fcm-06 'fcm-07 'fcm-08 'fcm-09
  'fcm-10 'fcm-11 'fcm-12 'fcm-13 'fcm-14 'fcm-15 'fcm-16 'fcm-17 'fcm-18 )
