____                _       __
    / __ )____  _____   | |     / /___ ___________
   / __  / __ \/ ___/   | | /| / / __ `/ ___/ ___/
  / /_/ / /_/ (__  )    | |/ |/ / /_/ / /  (__  )
 /_____/\____/____/     |__/|__/\__,_/_/  /____/

       A futuristic real-time strategy game.
          This file is part of Bos Wars.
(C) Copyright 2001-2007 by the Bos Wars and Stratagus Project. Distributed under the "GNU General Public License"

unit_manager.cpp File Reference

Unit manager. More...

#include "stratagus.h"
#include "unit_manager.h"
#include "unit.h"
#include "iolib.h"

Go to the source code of this file.

Variables

CUnitUnitSlots [MAX_UNIT_SLOTS]
 All possible units.
unsigned int UnitSlotFree
 First free unit slot.
CUnitManager UnitManager
 Unit manager.


Detailed Description

Unit manager.

Definition in file unit_manager.cpp.


Variable Documentation

Unit manager.

Definition at line 49 of file unit_manager.cpp.

Referenced by CclSlotUsage(), CleanUnits(), InitUnits(), main1(), MakeUnit(), CUnit::Release(), and SaveUnits().

unsigned int UnitSlotFree

CUnit* UnitSlots[MAX_UNIT_SLOTS]


Generated on Sat Feb 21 00:28:22 2009 for Bos Wars by  doxygen 1.5.6