Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   Compound Members   Related Pages  

OBJ_CLIENT Class Reference

List of all members.

Private Methods

GALOBJ GetPlayer ()
GALOBJ GetPlayerShip ()
void SetPlayerShip (GALOBJ ship)
void SetWarpSector (int secx, int secy)
int GetWarpSector ()
int GetCurrentSector ()
void WarpToSector (int fromsecx, int fromsecy, int secx, int secy, GALOBJ destgate)
void QuickWarp ()
int GetAge ()
GALOBJ GetDockingHangar ()

Private Attributes

GALOBJ cl_Player = 0
GALOBJ cl_Ship = 0
int cl_WarpSectorX
int cl_WarpSectorY
int cl_DockingHangar = NULL

Detailed Description

An instance of this class handles global player-logic like: entering/leaving a sector, warping, landing/starting of stations. Game code instantiates one global object of this class.


Member Function Documentation

int GetAge   [private]
 

returns OBJ_PLAYER::pl_GameTime

int GetCurrentSector   [private]
 

Returns OBJ_PLAYER::pl_SectorX in the higher 16-bit and OBJ_PLAYER::pl_SectorY in the lower 16 bit of the int-returnvalue.

GALOBJ GetDockingHangar   [private]
 

returns cl_DockingHangar

GALOBJ GetPlayer   [private]
 

returns cl_Player

GALOBJ GetPlayerShip   [private]
 

returns cl_Ship

int GetWarpSector   [private]
 

Returns cl_WarpSectorX in the higher 16-bit and cl_WarpSectorY in the lower 16 bit of the int-returnvalue.

void QuickWarp   [private]
 

player warps to sector specified in WarpSectorX and WarpSectorY without any animation

void SetPlayerShip GALOBJ    ship [private]
 

sets cl_Ship

void SetWarpSector int    secx,
int    secy
[private]
 

sets clWarpSectorX and clWarpSectorY

void WarpToSector int    fromsecx,
int    fromsecy,
int    secx,
int    secy,
GALOBJ    destgate
[private]
 

warp to other sector (secx and secy are the destination)


Member Data Documentation

int cl_DockingHangar = NULL [private]
 

handle to station if docking is clear otherwise NULL

GALOBJ cl_Player = 0 [private]
 

the player-object

GALOBJ cl_Ship = 0 [private]
 

the ship in which the player sits

int cl_WarpSectorX [private]
 

the destination sector X-coordinate for warping

int cl_WarpSectorY [private]
 

the destination sector X-coordinate for warping


Generated on Mon Aug 26 18:26:23 2002 for X² KC by doxygen1.2.17