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

Public Types | Public Attributes | List of all members
PathFinderOutput Class Reference

#include <pathfinder.h>

Public Types

enum  { MAX_PATH_LENGTH = 28 }
 

Public Member Functions

pathfinder.cpp - The path finder routines.
 PathFinderOutput ()
 max length of precalculated path More...
 
unit_save.cpp - Save unit.
void Save (CFile &file) const
 
script_unit.cpp - The unit ccl functions.
void Load (lua_State *l)
 

Public Attributes

unsigned short int Cycles
 
char Fast
 how much Cycles we move. More...
 
char Length
 Flag fast move (one step) More...
 
char Path [MAX_PATH_LENGTH]
 stored path length More...
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
MAX_PATH_LENGTH 

Constructor & Destructor Documentation

◆ PathFinderOutput()

PathFinderOutput::PathFinderOutput ( )

max length of precalculated path

Member Function Documentation

◆ Load()

void PathFinderOutput::Load ( lua_State *  l)

◆ Save()

void PathFinderOutput::Save ( CFile file) const

Member Data Documentation

◆ Cycles

unsigned short int PathFinderOutput::Cycles

◆ Fast

char PathFinderOutput::Fast

how much Cycles we move.

◆ Length

char PathFinderOutput::Length

Flag fast move (one step)

◆ Path

char PathFinderOutput::Path[MAX_PATH_LENGTH]

stored path length


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.