_________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          T H E   W A R   B E G I N S
                   Stratagus - A free fantasy real time strategy game engine

action_repair.cpp File Reference
#include "stratagus.h"
#include "action/action_repair.h"
#include "action/action_built.h"
#include "animation.h"
#include "iolib.h"
#include "map.h"
#include "pathfinder.h"
#include "player.h"
#include "script.h"
#include "sound.h"
#include "translate.h"
#include "unit.h"
#include "ui.h"
#include "unittype.h"
#include "video.h"

Functions

action_repair.cpp - The repair action.
bool SubRepairCosts (const CUnit &unit, CPlayer &player, CUnit &goal)
 
static void AnimateActionRepair (CUnit &unit)
 

Function Documentation

◆ AnimateActionRepair()

static void AnimateActionRepair ( CUnit unit)
static

Animate unit repair

Parameters
unitUnit, for that the repair animation is played.

◆ SubRepairCosts()

bool SubRepairCosts ( const CUnit unit,
CPlayer player,
CUnit goal 
)
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.