D:/Projects/dark-oberon.svn/game/sources/engine/unit.cpp File Reference


Detailed Description

Author:
Peter Knut
Date:
2007
Version:
1.0 - Initial.

#include "engine/unit.h"
#include "engine/forceunit.h"
#include "engine/prototype.h"
#include "engine/player.h"
#include "engine/playermap.h"
#include "engine/game.h"
#include "engine/map.h"
#include "engine/level.h"
#include "engine/race.h"
#include "engine/selection.h"
#include "engine/selectionrenderer.h"
#include "engine/unitmessages.h"
#include "engine/pathserver.h"
#include "engine/onscreentext.h"
#include "kernel/kernelserver.h"
#include "kernel/logserver.h"
#include "kernel/serializer.h"
#include "framework/sceneserver.h"
#include "framework/remoteserver.h"
#include "framework/gfxserver.h"

Defines

#define UNIT_NEXT_STEP_WAITING   0.2
 How long will unit wait before next check of position engaged by another moving unit.
#define UNIT_NEXT_STEP_LIMIT   3
 Maximal number of next step iterations.
#define UNIT_MAX_MESSAGE_LENGTH   255
 Maximal length of message that can be printed to the OST as unit speach.

Functions

 PrepareClass (Unit,"Root", s_NewUnit, s_InitUnit)


Define Documentation

#define UNIT_MAX_MESSAGE_LENGTH   255

Maximal length of message that can be printed to the OST as unit speach.

#define UNIT_NEXT_STEP_LIMIT   3

Maximal number of next step iterations.

#define UNIT_NEXT_STEP_WAITING   0.2

How long will unit wait before next check of position engaged by another moving unit.


Function Documentation

PrepareClass ( Unit  ,
"Root"  ,
s_NewUnit  ,
s_InitUnit   
)


Generated on Sat Oct 20 14:47:29 2007 for Dark Oberon by  doxygen 1.5.3