Unit camera

Classes, Interfaces, Objects and Records
Types

Description

Camera unit follows the player around and displays the surrounding game map

Uses

Overview

Functions and Procedures

function getX(Xcoord: smallint): smallint;
function getY(Ycoord: smallint): smallint;
procedure drawMap;
procedure drawPlayer;
function getXOW(Xcoord: smallint): smallint;
function getYOW(Ycoord: smallint): smallint;
procedure drawOWMap;
procedure drawOWPlayer;

Constants

camHeight = 19;

Variables

c: smallint;
camWidth: smallint;
r: smallint;

Description

Functions and Procedures

function getX(Xcoord: smallint): smallint;

Underground camera

function getY(Ycoord: smallint): smallint;
 
procedure drawMap;
 
procedure drawPlayer;
 
function getXOW(Xcoord: smallint): smallint;

Overground camera

function getYOW(Ycoord: smallint): smallint;
 
procedure drawOWMap;
 
procedure drawOWPlayer;
 

Constants

camHeight = 19;
 

Variables

c: smallint;
 
camWidth: smallint;
 
r: smallint;
 

Generated by PasDoc 0.16.0.