Main Page | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals

parameters.cpp File Reference

#include "borqueror.h"

Include dependency graph for parameters.cpp:

Include dependency graph

Go to the source code of this file.

Functions

const bool cmpByAge (const StarInfo *si0, const StarInfo *si1)
const bool cmpPlanetByAge (const PlanetInfo *pl0, const PlanetInfo *pl1)

Variables

int cntplanet [20] = { 0 } cntsun[10] = { 0 }


Function Documentation

const bool cmpByAge const StarInfo si0,
const StarInfo si1
 

Definition at line 526 of file parameters.cpp.

References StarInfo::age.

Referenced by Parameters::SetupStarInfo().

00526 {       return si0->age < si1->age;     }

const bool cmpPlanetByAge const PlanetInfo pl0,
const PlanetInfo pl1
 

Definition at line 649 of file parameters.cpp.

References PlanetInfo::ageMin.

Referenced by Parameters::RestrictWithAge(), and Parameters::SetupPlanetInfo().

00649 {       return pl0->ageMin < pl1->ageMin;       }


Variable Documentation

int cntplanet[20] = { 0 } cntsun[10] = { 0 }
 

Definition at line 41 of file parameters.cpp.

Referenced by Parameters::CreateGalaxy().


Generated on Fri Dec 5 04:06:07 2003 for Borqueror by doxygen 1.3.3