// A note about doom89's map system. The output from tilestudio is incorrect.     //
// so to fix this I first run a find and replace with notepad finding " 0,"       //
// and replacing that with "," (the quotation marks are only there to show you    //
// exactly what I am finding/replacing) then a find and replace of " 0-" with "-" //
// then "-127" with "127" then "-126" with "126" and finally "-125" with "125"    //
// the reason for this is that you can't have two pieces of data of char type in  //
// one spot in an array, and the 127,126,125 are special door codes which         //
// tilestudio does not handle correctly. Hence the need for the find and replace. //
// Tilestudio was set to output the maps in the maps.txt file                     //


//==============================//
//=====MAP CODES FOR DOOM89=====//
//==============================//

1: CPos. (small cyborg with minigun)
2: Cyborg. (large cyborg with minigun)
3: Zombie. 
4: Radioactive Waste Barrel.
5: Shotgun Item.
6: Railgun Item.
7: Large Health.
8: Small Health.
9: Ammo Box. (bullets)
10: Shotgun Shells.
11: Imp.
12: Torch.
13: Yellow Key.
14: Blue Key.
15: Column (tall floor to ceiling post)
16: Power Turbine.
17: End Game Boss.
18: Skull Box. (bomb parts)
19: Axe Pendulum (swinging axe pendulum trap)
20: Ground Fire. (hell fire trap)
21: Spikes. (ground spikes trap)
22: Ceiling Vines #1.
23: Ceiling Vines #2.
24: Ceiling Vines #3.
25: (EMPTY) // MUST STAY EMPTY // 
26: Hostage Character.
27: Nav Indicator Arrows.
28: Plasma Gun Ammo.
29: Rocket Launcher Ammo.
30: Rocket Launcher Item.
31: Plasma Gun Item.
32: Explosion Effect. (static sprite 17)
33: Camera Track Tile. 
34: Doomguy Forward. (static sprite 18)
35: Doomguy Backward. (static sprite 19)
36: Doomguy Track Tile.

//=========================================//
//=====DOOR AND OTHER CODES FOR DOOM89=====//
//=========================================//

-128: Player Spawn Point.
127: Unlocked Closed Door.
-127: Unlocked Open Door.
126: Locked Yellow Key Door.
125: Locked Blue Key Door.
-124: Hidden Door #1. (fork switch door)
-123: Hidden Door #2. (cobblestone wall button door)
-122: Darkness Tile. (turns off the lights in a level if stepped on)
-121: Portal #1.
-120: Portal #1 Destination.
-119: Portal #2.
-118: Portal #2 Destination.
-117: Portal #3.
-116: Portal #3 Destination.
-115: Portal #4.
-114: Portal #4 Destination.
-113: Window. 
