Unit Usprite

Classes

Tgraph -
TGraphMng -
TNonValidPeriod -
Tsprite -

Functions

Types

TCompressed
Ttransparent

Constants

DontCare
ID_TIMER
TimerPeriod

Variables

Bs
HdcBgdRef
HdcScreen
hwdebug
hWindow
LastObj1
LastObj2
StartTickCount


Functions


Types


TCompressed=(NonCompressed,Compressed);

Ttransparent=(Opaque,Transparent);
peviously selected bitmap in hdc*) (***********************************************) (* Global variables and constants end here *) (

Constants

DontCare = 0

ID_TIMER = 1

************************************************) (* Global variables and constants for CardEng *) (

TimerPeriod = 1000 div 18


Variables

Bs : TBitmap

memory device with copy of bgd bitmap

HdcBgdRef : Thandle

memory device with copy of the screen

HdcScreen : Thandle

windows handle

hwdebug : HWnd

hWindow : HWnd

18 frames per second . limited by 55ms window timer resolution

LastObj1 : integer

Time when program starts

LastObj2 : integer

StartTickCount : longint

main bitmap structure