9 #ifndef DtForceManager_H_
10 #define DtForceManager_H_
19 #include <vlpi/disEnums.h>
21 #include <vlutil/vlMachineTypes.h>
22 #include <vlutil/vlString.h>
29 class DtSharedSettingsManager;
42 : R(r), G(g), B(b), A(a)
47 : R(0.f), G(0.f), B(0.f), A(0.f)
62 static std::string className();
66 virtual void addForce(DtForceType force,
const std::string& forceName,
68 bool includeInDialogs =
true);
71 virtual DtForceType nextAvailableId();
74 virtual void removeForce(DtForceType);
77 virtual int numForces()
const;
80 virtual DtForceType forceAt(
int iIndex)
const;
83 virtual RGBAColor colorForForce(DtForceType force,
84 bool usePrimaryColors=
false)
const;
87 virtual std::string nameForForce(DtForceType force)
const;
90 virtual DtForceType forceFromName(
const std::string& name)
const;
93 virtual bool includeInDialogs(DtForceType force)
const;
97 virtual void setHostility(DtU8 force, DtU8 targetForce,
bool hostile);
98 virtual bool hostile(DtU8 force, DtU8 targetForce);
102 virtual void clearForces();
116 virtual const ForceInfo& forceInformation(DtForceType force)
const;
117 virtual ForceInfo& forceInformation(DtForceType force);