Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

resourcenet.h File Reference

Handling the connection of buildings by pipelines, powerlines etc. More...

#include "gamemap.h"

Include dependency graph for resourcenet.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void transfer_all_outstanding_tribute (Player &player)
bool compareMapResources (GameMap *currentMap, GameMap *replaymap, int player, ASCString *log)

Variables

SigC::Signal0< void > tributeTransferred


Detailed Description

Handling the connection of buildings by pipelines, powerlines etc.

Definition in file resourcenet.h.


Function Documentation

bool compareMapResources GameMap currentMap,
GameMap replaymap,
int  player,
ASCString log
 

Definition at line 670 of file resourcenet.cpp.

References GameMap::bi_resource, Player::buildingList, ContainerBase::damage, Research::developedTechnologies, ASCString::format(), GameMap::getContainer(), Building::getIdentification(), ContainerBase::getMap(), Vehicletype::getName(), Vehicle::getPosition(), Building::getPosition(), ContainerBase::getProduction(), Vehicle::getResource(), ContainerBase::getResource(), Building::getResource(), GameMap::getUnit(), maxint, Vehicle::networkid, GameMap::player, Research::progress, Player::research, Resources::resource(), resourceNames, MapNetwork::start(), Vehicle::typ, and Player::vehicleList.

Referenced by trunreplay::run().

void transfer_all_outstanding_tribute Player player  ) 
 

Definition at line 512 of file resourcenet.cpp.

References actmap, GameMap::ResourceTribute::avail, GameMap::bi_resource, Player::buildingList, Player::exist(), ASCString::format(), getmessage(), Player::getName(), Player::getParentMap(), Player::getPosition(), GameMap::isResourceGlobal(), GameMap::ResourceTribute::paid, GameMap::ResourceTribute::payStatusLastTurn, GameMap::player, PutTribute::puttribute(), Resources::resource(), Resources::toString(), GameMap::tribute, and tributeTransferred.

Referenced by trunreplay::execnextreplaymove(), and tributeTransfer().


Variable Documentation

SigC::Signal0<void> tributeTransferred
 

Definition at line 32 of file resourcenet.cpp.

Referenced by ResourceTribute::arm(), GetResource::checkbuilding(), and transfer_all_outstanding_tribute().


Generated on Tue Jun 24 02:07:20 2008 for Advanced Strategic Command by  doxygen 1.4.2