Vegastrike 0.5.1 rc1  1.0
Original sources for Vegastrike Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Faction::faction_stuff Struct Reference

#include <faction_generic.h>

Classes

union  faction_name
 for internal purposes only. More...
 

Public Member Functions

 faction_stuff ()
 

Public Attributes

union
Faction::faction_stuff::faction_name 
stats
 
float relationship
 A value between 0 and 1 indicating my attitude towards index. More...
 
boost::shared_ptr< FSMconversation
 

Detailed Description

Faction_stuff holds the index and relationship of each and every Other faction. After it has been properly processed when calling LoadXML, it will hold an ordered list containing all factions. myfaction.faction[theirfaction].relationship will contain my attitude to their faction

Definition at line 26 of file faction_generic.h.

Constructor & Destructor Documentation

Faction::faction_stuff::faction_stuff ( )
inline

Definition at line 38 of file faction_generic.h.

38 : relationship(0.0) {}

Member Data Documentation

boost::shared_ptr<FSM> Faction::faction_stuff::conversation

Definition at line 37 of file faction_generic.h.

float Faction::faction_stuff::relationship

A value between 0 and 1 indicating my attitude towards index.

Definition at line 36 of file faction_generic.h.

union Faction::faction_stuff::faction_name Faction::faction_stuff::stats

The documentation for this struct was generated from the following file: