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


Detailed Description

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

#include "engine/map.h"
#include "engine/game.h"
#include "engine/unit.h"
#include "engine/inputactions.h"
#include "engine/prototype.h"
#include "engine/player.h"
#include "engine/playermap.h"
#include "framework/sceneserver.h"
#include "framework/isoscene.h"
#include "framework/inputserver.h"
#include "framework/gfxserver.h"
#include "kernel/kernelserver.h"
#include "kernel/logserver.h"
#include "kernel/serializer.h"
#include "kernel/timeserver.h"

Defines

#define MAP_MAX_SIZE   240
 Maximal map width or height.
#define MAP_MAX_MOVE_SPEED   2000.0f
 Maximal moving speed.
#define MAP_MAX_ZOOM_SPEED   10.0f
 Maximal zoom speed.
#define MAP_MAX_ZOOM   5.0f
 Maximal zoom coeficient.
#define MAP_MIN_ZOOM   0.2f
 Minimal zoom coeficient.
#define MAP_MOVING_FRAME   3
 Width of frame around the window edge that is sensitive to map moving.
#define MAP_UNDERGROUND_TRANSPARENCY   0.5f
 Transparency used for drawing underground units in multiple segments.

Functions

 PrepareScriptClass (Map,"Preloaded", s_NewMap, s_InitMap, s_InitMap_cmds)


Define Documentation

#define MAP_MAX_MOVE_SPEED   2000.0f

Maximal moving speed.

#define MAP_MAX_SIZE   240

Maximal map width or height.

#define MAP_MAX_ZOOM   5.0f

Maximal zoom coeficient.

#define MAP_MAX_ZOOM_SPEED   10.0f

Maximal zoom speed.

#define MAP_MIN_ZOOM   0.2f

Minimal zoom coeficient.

#define MAP_MOVING_FRAME   3

Width of frame around the window edge that is sensitive to map moving.

#define MAP_UNDERGROUND_TRANSPARENCY   0.5f

Transparency used for drawing underground units in multiple segments.


Function Documentation

PrepareScriptClass ( Map  ,
"Preloaded"  ,
s_NewMap  ,
s_InitMap  ,
s_InitMap_cmds   
)


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