VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
diGuyInformation.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 #pragma once
9 
10 #if !defined(Q_MOC_RUN)
14 #endif
15 
17 
21 {
22 
23 public:
26 
28  virtual ~DtDiGuyInformation();
29 
32 
33  DtDiGuyInformation& operator=(const DtDiGuyInformation&);
34 
35  bool operator==(const DtDiGuyInformation&) const;
36  bool operator!=(const DtDiGuyInformation& rhs) { return !(*this == rhs); };
37 
39  virtual void readFromEnvironment(const DtRwVariableBindings*);
40 
42  virtual void writeToEnvironment(DtRwVariableBindings*) const;
43 
44  void setCharacterType(const std::string& s);
45  const std::string& characterType() const;
46 
47  void setCharacterAppearance(const std::string& s);
48  const std::string& characterAppearance() const;
49 
50  void setCharacterHandItem(const std::string& s);
51  const std::string& characterHandItem() const;
52 
53  void setCharacterHead(const std::string& s);
54  const std::string& characterHead() const;
55 
56  void setCharacterAnimation(const std::string& s);
57  const std::string& characterAnimation() const;
58  void setCharacterTaskableAnimations(const AlternateNamesList& list);
59  const AlternateNamesList& characterTaskableAnimations() const;
60 
61  void setUseRandomAppearanceUponCreation(bool b);
62  bool useRandomAppearanceUponCreation() const;
63  void setRandomAppearances(const DtRwNLengthStringVector& apps);
64  const DtRwNLengthStringVector& randomAppearances() const;
65 
66  void setUseRandomHandItemUponCreation(bool b);
67  bool useRandomHandItemUponCreation() const;
68  void setRandomHandItems(const DtRwNLengthStringVector& items);
69  const DtRwNLengthStringVector& randomHandItems() const;
70 
71  void setUseRandomHeadUponCreation(bool b);
72  bool useRandomHeadUponCreation() const;
73  void setRandomHeads(const DtRwNLengthStringVector& items);
74  const DtRwNLengthStringVector& randomHeads() const;
75 
76  void setDiGuyEnabled(bool b);
77  bool diGuyEnabled() const;
78 
79 protected:
80  std::string myCharacterType;
81  std::string myCharacterAppearance;
82  std::string myCharacterHandItem;
83  std::string myCharacterHead;
84  std::string myCharacterAnimation;
85 
86  //Just the taskable animations
95 };
bool myUseRandomHandItemUponCreation
Definition: diGuyInformation.h:90
DtRwNLengthStringVector is a named, readable/writable vector of strings of arbitrary length...
Definition: rwNLengthStringVector.h:28
DT_DLL_terrainCS bool operator==(const DtDegMinSec &lhs, const DtDegMinSec &rhs)
AlternateNamesList myTaskableAnimationsList
Definition: diGuyInformation.h:87
std::vector< AlternateNamesPair > AlternateNamesList
Definition: diGuyCharacterData.h:26
bool myDiGuyEnabled
Definition: diGuyInformation.h:94
bool operator!=(const DtDiGuyInformation &rhs)
Definition: diGuyInformation.h:36
std::string myCharacterHead
Definition: diGuyInformation.h:83
DtRwNLengthStringVector myRandomHandItems
Definition: diGuyInformation.h:91
ReaderWriter object that maintains a list of reader-writer variable bindings.
Definition: rwVariableBindings.h:27
std::string myCharacterType
Definition: diGuyInformation.h:80
std::string myCharacterAnimation
Definition: diGuyInformation.h:84
DtRwNLengthStringVector myRandomAppearances
Definition: diGuyInformation.h:89
bool myUseRandomAppearanceUponCreation
Definition: diGuyInformation.h:88
bool myUseRandomHeadUponCreation
Definition: diGuyInformation.h:92
DtRwNLengthStringVector myRandomHeads
Definition: diGuyInformation.h:93
Contains information about the current DI-Guy character instance and some of its available options...
Definition: diGuyInformation.h:20
std::string myCharacterHandItem
Definition: diGuyInformation.h:82
std::string myCharacterAppearance
Definition: diGuyInformation.h:81
#define DT_DLL_simulationObjectEditorimpl
This file is used to determine how to build.
Definition: simulationObjectEditorImplDefines.h:32

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)