// Mapster32 tile grouping configuration file
// Press T on the tile selection screen to access the tileset selection menu

#include "names.h"

tilegroup "Player"
{
    hotkey "P"
    
    // Colors are the colors for Blocking OFF and Blocking ON.
    colors 2 2
    
    tiles
    {
        APLAYER
    }
}

tilegroup "Actors"
{
    hotkey "A"
    
    colors 31 31

    tiles 
    {
    	LIZTROOP LIZTROOPSTAYPUT  
    	PIGCOP PIGCOPSTAYPUT
    	LIZMAN LIZMANSTAYPUT
    	DEMON DEMONSTAYPUT
    	GOLEM GOLEMSTAYPUT
    	ETTIN ETTINSTAYPUT
    	WRAITH WRAITHSTAYPUT
    	SKELKNIGHT SKELKNIGHTSTAYPUT SKELKNIGHTBONES
    	DETHNITE DETHNITESTAYPUT DETHNITEBONES
    	WIZARD
    	DRAGON
    	EVILDUKE EVILDUKESTAYPUT
	    DRONE
    	EGG
    	
    	// Lil' critters
    	MONSOUL
    	GHOST
    	SPIDER2 EGGSACK
    	HORNET
    	BADFISH
    	PIGGY
    	FLIES
    	// BOSSES
    	CYBERDEMON CYBERDEMONSTAYPUT
    	CYBERFLOAT CYBERFLOATPUT
    	KORAX
    	// GOOD GUYS
    	AXON
    	HERO
    	BARBNPC
    }
}

tilegroup "Doors"
{
    hotkey "D"

    tiles
    {
    	DOORTILE1 DOORTILE2 DOORTILE3 DOORTILE4 DOORTILE5
    	DOORTILE6 DOORTILE7 DOORTILE8 DOORTILE9 DOORTILE10
    	735 
 
    	DOORTILE15 DOORTILE21
    	1173
    	DOORTILE11 DOORTILE12
    	// Related items
    	DOORSHOCK
    }
}

tilegroup "WGR2 Effects"
{
    hotkey "E"
    
    tilerange 1 10
    colors 15 15
    tiles
    {
	    SOULDOOR
	    TCHEST
	    POWERPOD
	    POWPODPLACED
	    PLATUPSPAWNER
	    SHRINKSHROOM
	    GROWSHROOM
	    CHECKPOINT
	    WAYPOINT
	    MUSICSWITCH
	    NOISESPRITE
	    TEXTURIZER
	    WEAPONS
    }
}

tilegroup "DECORATIVE SPRITES"
{
    hotkey "O"
     tilerange 3584 3648
     tilerange 3663 3674
     tilerange 3815 3820
     tilerange 5086 5093
     tilerange 6231 6345
    tiles
    {
	    908 909 910 911 921
	    954 955 956 957 974 975 1012 1013 1014
	    1020 1022 1023 1160 1161 1162 1163 1164 1165 1166 1167
	    1347 1352 1353 1354 1355 1390
		1722 2308 2457 2502 3373 3374 3429 3509
		3542 3543 3544 3565 3752 3757 3759 3760 3761
		3788 3785 3786 3787 3789 3828 3829 3830 3835
		3839 3840 3843 3846 3849 3863 3867 3871 3875
		3878 3881 3888 3889 3900 3901 4012 4022 4023
		4028 4029 4030 4031 4032 4036 4037 4041 4043
		4066 4067 4078 4079 4080 4081 4091 4118
    }
}

tilegroup "Switches"
{
    hotkey "S"
    
    tiles
    {
    	ACCESSSWITCH ACCESSSWITCH2 ACCESSCARD SLOTDOOR  LIGHTSWITCH  SPACEDOORSWITCH  SPACELIGHTSWITCH 
    	FRANKENSTINESWITCH  MULTISWITCH 
    	DIPSWITCH  DIPSWITCH2  DIPSWITCH3  TECHSWITCH 
    	POWERSWITCH1  LOCKSWITCH1  POWERSWITCH2  HANDSWITCH  PULLSWITCH 
    	ALIENSWITCH  HANDPRINTSWITCH 
    }
}

tilegroup "Items"
{
    hotkey "I"
    
    colors 24 24

    tiles
    {
    	// Ammo
    	AMMO SHOTGUNAMMO BATTERYAMMO GRENADEAMMO RPGAMMO HEAVYHBOMB 
    	PLASMAAMMO SMGAMMO BFGAMMO FLAMEAMMO HBOMBAMMO
    	SWORDAMMO HAMMERAMMO AXEAMMO QUIVERSPRITE ARMSWORDAMMO
    	
    	// Items (healthetc)
    	SMALLPOTION MEDIUMPOTION APPLE COLA SIXPAK FIRSTAID ATOMICHEALTH
    	ARMORSHARD SHIELD ARMOR1 ARMOR2 ARMOR3 
    	STEROIDS JETPACK HEATSENSOR ACCESSCARD
    	BOOTS HOLODUKE KRYSTAL TIMERUNE QUADDAMAGE AMMOPACK
    	SMALLGOLD MEDIUMGOLD BIGGOLD
    	
    	// Weapons
    	CHAINSAWSPRITE
    	FIRSTGUNSPRITE CHAINGUNSPRITE RPGSPRITE PLASMASPRITE BFGSPRITE 
    	TRIPBOMBSPRITE SHOTGUNSPRITE FLAMETHROWERSPRITE
    	NECROSWORD HAMMERSPRITE AXESPRITE SWORDSPRITE BOWSPRITE
    }
}

tilegroup "Environmental Effects"
{
    hotkey "R"

    tiles
    {
    	WATERDRIP RAINMAKER SNOWMAKER FALLINGLEAF
    	LIGHTBUG FLIES BAT
    	MEDIUMGEYSER BIGGEYSER
    	WATERFALL LAVASPAWNER
    	STALAGMITE1 STALAGMITE2 STALAGMITE3 SPIKE1 SPIKE2 FULLSPIKE
    }
}

tilegroup "Breakable Barriers"
{
    hotkey "B"

    tiles
    {
    	ICEWALL1 ICEWALL2
    	PLANK1 PLANK2 PLANK3 PLANK4
    	VINEWALL1 VINEWALL2 VINEWALL3
    	STATICWEB1 STATICWEB2 STATICWEB3 STATICWEB4 STATICWEB5
    	STAINEDGLASS1 STAINEDGLASS2 STAINEDGLASS3 STAINEDGLASS4 STAINEDGLASS5
    	STAINEDGLASS6 STAINEDGLASS7 STAINEDGLASS8 STAINEDGLASS9 STAINEDGLASS10
    	STAINEDGLASS11 STAINEDGLASS12 STAINEDGLASS13 STAINEDGLASS14 STAINEDGLASS15
    	STAINEDGLASS16 STAINEDGLASS17 STAINEDGLASS18
    }
}

tilegroup "Exploding stuff"
{
    hotkey "X"

    tiles
    {
    	CRACK1 CRACK2 CRACK3 CRACK4
    	FIREEXT SEENINE OOZFILTER
    	EXPLODINGBARREL EXPLODINGBARREL2 FIREBARREL GUNPOWDERBARREL
    	REACTOR2SPARK BOLT1 NATURALLIGHTNING
    	CEILINGSTEAM
    	FIREVASE 2066 BURNING FIRE BURNING2 FIRE2
    }
}

tilegroup "Letters and numbers"
{
    hotkey "L"
    
    tilerange 2822 2915
    tilerange 2929 3022
    tilerange 3072 3135
    tilerange 3162 3165
    tilerange 640 649
    tilerange 2472 2481
}


// Alphabet configuration for text entry tool in 3D mode
// (press Ctrl-T on a wall-aligned letter)
// 32 alphabets max.

alphabet  // blue font
{
	maprange 33 126 STARTALPHANUM

	offseta "^" 0 2
	offseta "qQ;" 0 -1
}

alphabet
{
	maprange 33 126 MINIFONT
	maprangea "a" "z" 3104

//	offset "\\" 0 3 doesn't work
	offset 92 0 3
	offseta "qQ" 0 -1
	offseta ":" 0 1
	offseta "\"" 0 3
}

alphabet  // red font
{
	maprangea "0" "9" 2930
	maprangea "A" "Z" BIGALPHANUM
	maprangea "a" "z" BIGALPHANUM
	mapa "-" 2929
	mapa ".,!?;:/%" 3002
	mapa "'" 3022
}

alphabet  // silver font
{
	maprangea "0" "9" 2992
	maprangea "A" "Z" 2966
	maprangea "a" "z" 2966
}

alphabet  // yellow numbers 3x5
{
	maprangea "0" "9" THREEBYFIVE
	mapa ":/" 3020
	offseta ":" 0 1
}

alphabet  // silver numbers
{
	maprangea "1" "9" W_NUMBERS
	mapa "0" 649
}

alphabet
{
	maprangea "0" "9" DIGITALNUM			
}
