servicing.cpp File Reference

#include <sigc++/sigc++.h>
#include "servicing.h"
#include "../vehicle.h"
#include "../spfst.h"
#include "../containercontrols.h"
#include "../gameoptions.h"
#include "consumeresource.h"
#include "consumeammo.h"
#include "context.h"

Include dependency graph for servicing.cpp:

Go to the source code of this file.

Classes

class  AmmoTransferrable
class  ResourceTransferrable

Enumerations

enum  TransferLimitation { NONE, GET, ALL }

Functions

TransferLimitation getTransferLimitation (const ContainerBase *target)


Enumeration Type Documentation

enum TransferLimitation

Enumerator:
NONE 
GET 
ALL 

Definition at line 35 of file servicing.cpp.


Function Documentation

TransferLimitation getTransferLimitation ( const ContainerBase target  ) 

Definition at line 37 of file servicing.cpp.

References GameMap::actplayer, ALL, Player::diplomacy, GET, ContainerBase::getMap(), ContainerBase::getOwner(), DiplomaticStateVector::getState(), DiplomaticStateVector::isAllied(), NONE, PEACE, and GameMap::player.

Referenced by ResourceWatch::avail(), ServiceChecker::check(), and ResourceWatch::limit().


Generated on Mon May 21 01:42:22 2012 for Advanced Strategic Command by  doxygen 1.5.1