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

CMapInfo Class Reference

#include <map.h>

List of all members.


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.
int MapWidth
 Map filename.
int MapHeight
 Map width.
int PlayerType [PlayerMax]
 Map height.
int PlayerSide [PlayerMax]
 Same player->Type.
unsigned int MapUID
 Same player->Side.

Detailed Description

Get info about a map.

Member Function Documentation

bool CMapInfo::IsPointOnMap ( int  x,
int  y 
) const [inline]

bool CMapInfo::IsPointOnMap ( const Vec2i pos  )  const [inline]

void CMapInfo::Clear (  ) 

Clear CMapInfo.


Member Data Documentation

std::string CMapInfo::Description

std::string CMapInfo::Filename

Map description.

Map filename.

Map width.

int CMapInfo::PlayerType[PlayerMax]

Map height.

int CMapInfo::PlayerSide[PlayerMax]

Same player->Type.

unsigned int CMapInfo::MapUID

Same player->Side.


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.