Just thought I would update you all on the file format ( yes its now
loading from disk, saving positions etc )

Castle Quest ( AticAtac ) ASCII format is just a collection of these
records for a given level ( so you can create your own right now! ;-) ):

ROOMID=[Integer]
NORTH.STYLE=[Integer - { 0=TheVoid, 1=Rock, 2=Castle, 3=Dungeon,
4=BallRoom, 5=Dining, 6=Tower, 7=Roof, 8=Garden, 9=Moat, 10=Forest } ]
NORTH.LOCK=[Integer - { 0=No lock, 1=RedKey, 2=GreenKey, 3=BlueKey,
4=YellowKey, 5=Wizard, 6=Serf, 7=Warrior, 8=SpaceHopper } ]
NORTH.EXITSTYLE= [ Integer - { 0=Door, 1=Cave, 2=Drawbridge,
3=MarbleDoor, 5=BookCase, 6=Barrel, 7=Clock, 8=Archway, 9=Portcullis,
10=Grass, 11=Trees } ]
NORTH.LINK=[ Integer - { the room id this links to when you go through }
]
EAST.STYLE=[ Integer - see north definition ]
EAST.LOCK=[ Integer - see north definition ]
EAST.EXITSTYLE=[ Integer - see north definition ]
EAST.LINK=[Integer - see north definition ]
WEST ; same as east
SOUTH ; same as east
CENTER ; same as east - but these are all top down images - doors are
trapdoors
ENDROOMID=[xxx]

Levels also have graphics collection files and these are loaded by byte
offset so you can change them easily ( same as the fast cache on the PC
) and completely change the graphics for each level.

Sprites are:
Main Characters
    Serf, Warrior, Wizard, 70sSpaceHopper
    Frames for directional movement, generation and death scenes
Energy sapping characters
    Witch, FuzzyThing, BitingThing, Pumpkin, BagOfNails
PuzzleCreatures
    Devil, FrinkEeenStain, DrakeCoola, NoelEdmoonds
HelpfulCharacters
    Lancelot ( helps Warrior ), OooKing ( librarian - helps Wizard ),
Nestor ( butler - helps Serf ), Hendricks ( helps 70sSpaceHopper )

Thats enough for now, lunch is up!

Dave

Reply via email to