Advanced Strategic Command
Functions
controls.cpp File Reference
#include <stdio.h>
#include <cstring>
#include <math.h>
#include <stdarg.h>
#include <ctime>
#include "buildingtype.h"
#include "vehicletype.h"
#include "typen.h"
#include "spfst.h"
#include "loaders.h"
#include "controls.h"
#include "attack.h"
#include "gameoptions.h"
#include "errors.h"
#include "viewcalculation.h"
#include "replay.h"
#include "resourcenet.h"
#include "stack.h"
Include dependency graph for controls.cpp:

Go to the source code of this file.

Functions

bool checkUnitsForCrash (Player &player, ASCString &text)
 
pair< int, int > calcMoveMalus (const MapCoordinate3D &start, const MapCoordinate3D &dest, const Vehicle *vehicle, WindMovement *wm, bool *inhibitAttack, bool container2container)
 

Detailed Description

Controlling units (which is graudally moved to vehicletype.cpp and unitctrl.cpp ); Things that are run when starting and ending someones turn

Definition in file controls.cpp.

Function Documentation

pair<int,int> calcMoveMalus ( const MapCoordinate3D start,
const MapCoordinate3D dest,
const Vehicle vehicle,
WindMovement wm = NULL,
bool *  inhibitAttack = NULL,
bool  container2container = false 
)
bool checkUnitsForCrash ( Player player,
ASCString text 
)