###############################################################################
#                                                                             #
#                         CORRIDOR 92 DEMO Ver 2.1b                           #
#                                                                             #
#                             By Jeff Wilcox                                  #
#                                                                             #
#                        An Iron Cactus Production                            #
#                                                                             #
#                            Demo Version 2.1 (Final)                         #
#                                                                             #
#                         http://corridor.has.it                              #
###############################################################################


For the Ti92+ and Ti89


################################################################################
Corridor 92 Background
################################################################################
Early January of '02 I decided to start reading some of the message board posts
at http://tict.ticalc.org and noticed that work on the FAT 3D engine coded by
Tom Nussbaumer seemed to be stalled because no one was using it. After toying
with the FAT demos for a while, I downloaded the TIGCC compiler and the source
for the FAT engine and began learning how to use it. I began planning out an
RPG to be called Shadow Scape, but then decided to start with something
smaller. A 3D shooter, similar to the Gameboy game FACEBALL 2000, came to mind.
Thus, Corridor 92 began...

################################################################################
Corridor 92 Installation
################################################################################
Basically, you link all files into one folder, this can be the MAIN folder, but
for organizational purposes, you should name it corridor or something. Then
you need to ARCHIVE every file on your calculator! This game eats up RAM like 
WIN98 on crack, so if you try to run the game without all files on your
calculator archived you will likely crash the game, and then crash your calc.
Due to some technical problems (I don't know how yet) C92 can't check to see
if you have enough RAM, so just take my advice and archive everything.
Then run CORRIDOR to start the game. Have fun and kill stuff.

################################################################################
Corridor 92 Compatibility
################################################################################

It should run on the following systems:
Ti92+ HW2.00   with  AMS 2.03  or  AMS 2.05
Ti92+ HW1.00   Unknown (somebody tell me if this works please)
Ti92 V200      with  AMS 2.06
Ti89 HW2.00    with  AMS 2.03  or  AMS 2.05
Ti89 HW1.00    with  AMS 2.03  or  AMS 2.05


################################################################################
Corridor 92 Story
################################################################################
The Story:

<Revised version coming soon...>



################################################################################
OBJECTIVES
################################################################################
The basic goal of the game is to advance to the next floor. There are five
floors in the Demo. To advance you require a keycard to activate the elevators
installed on each floor. These keycards are usually the last item you pick up
and you usually have to fight your way to get to them. Many doors in the
Corridor 92 world are locked and require a key. Keys, like keycards, are usually
defended. Enemies may drop keys when killed, as well as other items such as
clips, shells and rockets. Enemies have several attack patterns and can vary
their routines based on the conditions of the battle. Just because a robot runs
away doesn't mean it doesn't want to fight! It'll come back when you least expect
it and perhaps bring friends. Weapons are scattered around all five levels and
are up to you to find. Secret switches and doors can be accessed like regular 
secrets and doors, you just can't see them. Your health and armor is displayed 
on the left side of the Heads Up Display (HUD). Armor helps absorb impact, and
health keeps you alive. If you run out of health, you die. If you run out of
lives the game is over. That's basically it.


################################################################################
KEY LIST - TI-92+
################################################################################

Manipulation:

	APPS -- Open Doors / Activate Switches / Board elevator / Use Computer Terminal
	Lock -- Fire Selected Weapon
	F5   -- Cycle Weapon Forward
	F6   -- Cycle Weapon Back

Movement:

	Up   -- Go Forward
	Down -- Go Backward
	Right-- Turn Right
	Left -- Turn Left
	F1   -- Strafe
	F2   -- Run
	F3   -- Lean Left (not working)
	F7   -- Lean Right (not working)

Game Keys:

	Enter-- Pause Game / Leave Computer Terminal
	2nd  -- Boss Key
	Esc  -- Quit


################################################################################
KEY LIST - TI-89+
################################################################################

Manipulation:

	APPS -- Open Doors / Activate Switches / Board elevator / Use Computer Terminal
	2ND  -- Fire Selected Weapon
	F4   -- Cycle Weapon Forward
	F5   -- Cycle Weapon Back

Movement:

	Up   -- Go Forward
	Down -- Go Backward
	Right-- Turn Right
	Left -- Turn Left
	Diamd-- Run
	Alpha-- Strafe
	Home -- Lean Left (not working)
	Mode -- Lean Right (not working)

Game Keys:

	Enter-- Pause Game / Leave Computer Terminal
	Clear-- Boss Key
	Esc  -- Quit


################################################################################
To Do List
################################################################################


Fix 89 bug where you can't exit unless you hit ON and Enter simultaeously
Add intermissions
Add Save/Load (via Computer Terminal)
Add Computer Briefings
Add End Game
Add contrast control while in game (+/- keys)




################################################################################
Known Bugs
################################################################################


*Sometimes if you are close to a corner, bullets won't hit the bad guys even
 though they are plainly in view.

*Although Corridor92 Demo hasn't crashed on my Ti92+ recently, I will not say
 it won't crash on your system. If it does, let me know what the circumstances
 were.

Any bug reports are welcome, please send email to Kimbett@hotmail.com
Look for updates or news at http://corridor.has.it
Feel free to join the discussions at http://tict.ticalc.org 's message board.




################################################################################
Distribution
################################################################################

Feel free to distribute this program as long as this README.TXT accompanies it.
I am in no way whatsoever responsible for what this does to your calculator or
your personal life. In short... USE AT YOUR OWN RISK! I make no promises.





################################################################################
Credits
################################################################################


Corridor 92 					Jeff Wilcox
						Iron Cactus

Inspiration
TIGCC Tools Suite
The FAT 3-D Engine 				Tom Nussbaumer 
						Ti-Chess Team 
						(http://tict.ticalc.org)

Nifty ActiveContrastAddr(void) routine		KronicDeth 

Faster Arctan math
Much simpler/Faster 8dir Sprite Math
Outstanding speed boosts to FAT			Scott Noveck

Original TI89 Console BMP                       Cody Cutrer

bETA tESTING/Moral Support			Bill Zeller

Web Page Setup					Malcolm Smith



################################################################################
Revision History
################################################################################

1/12/02 	Project started
1/18/02 	Web Page goes up :)
1/24/02		Map editor built, many maps created
1/30/02		Corridor 92 DEMO 1.0 completed
3/30/02		Corridor 92 DEMO 1.2 completed
			*Sprite support added. Ceiling lights, fans added. Healthpacks ammo added.
			*Began modularizing data sets in preparation for moving to external files.
4/06/02		Corridor 92 DEMO 1.5 completed
			*All items getable. Items include: medkit, clip, shells, rocket, black key,
			white key, gray key, keycard, medpack, flak jacket, body armor, full map, 
			shotgun, gatling, plasma gun, rocket launcher, box of ammo, IR goggles,
			extra life, and a backpack.
			*Hud weapons added. Animation synced up with firing sequencer.
			*New files: ITM_PAK, HUD_PAK
4/16/02		Corridor 92 DEMO 1.9 completed
			*Added dynamic loading of enemy sprites. Ran out of memory several times
			forcing me to remove all encoded graphics from program body except
			projectiles. 
			*Compressed maps 10% more.
			*Completed basic AI for enemies. Supported modes: Sentry Mode, Sleep Mode,
			Watch Mode, Patrol Mode, Wander Mode, Engage Mode.
			*Removed all strings and placed them uncompressed in their own file.
			*Added objects: Pillars, barrels, open barrels and posts. More to come.
			*Added new enemies: "Chariot" Scout, "Hedgehog" Rocket Scout,
			 "Sentinel" Tripod, "Nebula" Plasma Tripod, "Kamakazi" Tripod Mine.
			*New files: STR_PAK, NME_PAK, OBJ_PAK
4/23/02		Corridor 92 DEMO 2.0 completed
			*Upgraded to FAT 1.00
			*Added Icon file, removed encoded icons
			*Removed stale code in AI
			*Fixed major crash bug in MAP_LOAD
			*Fixed major graphics glitch in enemy animation.
			*Added ability to die and run out of lives.
			*Game status: Fully Playable
			*New files: ICO_PAK
4/29/02		Corridor 92 DEMO 2.1 completed
			*TI89 support added
			*Streamlined _main() loops
			*Fixed and optimized keyboard handling
			*Fixed buggy LOS() function (less enemy blindspots)
			*Made demo easier by adding more health packs
			*Added small menu when hitting ESC
			*New files: All proper TI89 files added
4/30/02		Corridor 92 DEMO 2.1a released
			*Several graphical fixes
			*V200 support added
		Corridor 92 DEMO 2.1b released
			*Finally fixed shotgun bug!
			*Fixed score graphics glitch for Ti89
                        *Fixed Ti89 HW1 bug
                        *Improved Ti89 HUD