server/unit.h File Reference

#include <string>
#include <map>
#include <list>
#include "action_level.h"
#include "material.h"
#include "background_level.h"
#include "culture_part.h"
#include "skill_level.h"
#include "stat_amount.h"

Go to the source code of this file.

Classes

class  unit
class  unitRepository

Defines

#define loopUnitSpecials(r, v)   loopMapi((r)->listSpecials(),v,class action_level)
#define loopUnitWeapons(r, v)   loopSingle((r)->listWeapons(),v,class material,list)
#define loopUnitBackground(r, v)   loopSingle((r)->listBackground(),v,class background_level,list)
#define loopUnitCulture(r, v)   loopMap((r)->listCulture(),v,class culture_part)
#define loopUnitSkills(r, v)   loopMap((r)->listSkills(),v,class skill_level)
#define loopUnitStats(r, v)   loopMap((r)->listStats(),v,class stat_amount)
#define loopUnits(v)   loopMap(unit_repo.listUnit(),v,class unit)

Variables

unitRepository unit_repo


Define Documentation

#define loopUnitBackground ( r,
 )     loopSingle((r)->listBackground(),v,class background_level,list)

#define loopUnitCulture ( r,
 )     loopMap((r)->listCulture(),v,class culture_part)

#define loopUnits (  )     loopMap(unit_repo.listUnit(),v,class unit)

#define loopUnitSkills ( r,
 )     loopMap((r)->listSkills(),v,class skill_level)

#define loopUnitSpecials ( r,
 )     loopMapi((r)->listSpecials(),v,class action_level)

#define loopUnitStats ( r,
 )     loopMap((r)->listStats(),v,class stat_amount)

#define loopUnitWeapons ( r,
 )     loopSingle((r)->listWeapons(),v,class material,list)


Variable Documentation

unitRepository unit_repo



Generated on Tue Jan 1 17:30:01 2008 for server/unit.h File Reference by  doxygen   Visit the project page on SourceForge.net Logo