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

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
CMapInfo Class Reference

#include <map.h>

Public Member Functions

bool IsPointOnMap (int x, int y) const
 
bool IsPointOnMap (const Vec2i &pos) const
 
map.cpp - The map.
void Clear ()
 

Public Attributes

std::string Description
 
std::string Filename
 Map description. More...
 
int MapWidth
 Map filename. More...
 
int MapHeight
 Map width. More...
 
int PlayerType [PlayerMax]
 Map height. More...
 
int PlayerSide [PlayerMax]
 Same player->Type. More...
 
unsigned int MapUID
 Same player->Side. More...
 

Detailed Description

Get info about a map.

Member Function Documentation

void CMapInfo::Clear ( )

Clear CMapInfo.

bool CMapInfo::IsPointOnMap ( int  x,
int  y 
) const
inline
bool CMapInfo::IsPointOnMap ( const Vec2i pos) const
inline

Member Data Documentation

std::string CMapInfo::Description
std::string CMapInfo::Filename

Map description.

int CMapInfo::MapHeight

Map width.

unsigned int CMapInfo::MapUID

Same player->Side.

int CMapInfo::MapWidth

Map filename.

int CMapInfo::PlayerSide[PlayerMax]

Same player->Type.

int CMapInfo::PlayerType[PlayerMax]

Map height.


The documentation for this class was generated from the following files:
(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.