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

BestRangeTargetFinder::FillBadGood Struct Reference

List of all members.


Public Member Functions

 FillBadGood (const CUnit &a, int r, int *g, int *b)
void operator() (CUnit *const dest)
int Fill (CUnit *table[], const int table_size)
int Fill (CUnitCache &cache)

Public Attributes

const CUnitattacker
const int range
int enemy_count
int * good
int * bad

Constructor & Destructor Documentation

BestRangeTargetFinder::FillBadGood::FillBadGood ( const CUnit a,
int  r,
int *  g,
int *  b 
) [inline]


Member Function Documentation

void BestRangeTargetFinder::FillBadGood::operator() ( CUnit *const   dest  )  [inline]

int BestRangeTargetFinder::FillBadGood::Fill ( CUnit table[],
const int  table_size 
) [inline]

int BestRangeTargetFinder::FillBadGood::Fill ( CUnitCache cache  )  [inline]


Member Data Documentation


The documentation for this struct was generated from the following file:
(C) Copyright 1998-2011 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.