VR-Forces 5.0.3 Developer's Guide
 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) 2021 MAK Technologies, Inc.
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #if !defined(Q_MOC_RUN)
16 #endif
17 
19 
23 {
24 public:
25 
28 
30  virtual ~DtDiGuyInformation();
31 
34 
35  DtDiGuyInformation& operator = ( const DtDiGuyInformation& );
36 
37  bool operator == ( const DtDiGuyInformation& ) const;
38  bool operator != ( const DtDiGuyInformation& rhs ) { return !(*this == rhs); };
39 
41  virtual void readFromEnvironment( const DtRwVariableBindings* );
42 
44  virtual void writeToEnvironment( DtRwVariableBindings* ) const;
45 
46  void setCharacterType( const std::string& s );
47  const std::string& characterType() const;
48 
49  void setCharacterAppearance( const std::string& s );
50  const std::string& characterAppearance() const;
51 
52  void setCharacterHandItem( const std::string& s );
53  const std::string& characterHandItem() const;
54 
55  void setCharacterHead( const std::string& s );
56  const std::string& characterHead() const;
57 
58  void setCharacterAnimation( const std::string& s );
59  const std::string& characterAnimation() const;
60  void setCharacterTaskableAnimations( const AlternateNamesList& list );
61  const AlternateNamesList& characterTaskableAnimations() const;
62 
63  void setUseRandomAppearanceUponCreation( bool b );
64  bool useRandomAppearanceUponCreation() const;
65  void setRandomAppearances( const DtRwNLengthStringVector& apps );
66  const DtRwNLengthStringVector& randomAppearances() const;
67 
68  void setUseRandomHandItemUponCreation( bool b );
69  bool useRandomHandItemUponCreation() const;
70  void setRandomHandItems( const DtRwNLengthStringVector& items );
71  const DtRwNLengthStringVector& randomHandItems() const;
72 
73  void setUseRandomHeadUponCreation( bool b );
74  bool useRandomHeadUponCreation() const;
75  void setRandomHeads( const DtRwNLengthStringVector& items );
76  const DtRwNLengthStringVector& randomHeads() const;
77 
78  void setDiGuyEnabled( bool b );
79  bool diGuyEnabled() const;
80 
81 protected:
82 
83  std::string myCharacterType;
84  std::string myCharacterAppearance;
85  std::string myCharacterHandItem;
86  std::string myCharacterHead;
87  std::string myCharacterAnimation;
88 
89  //Just the taskable animations
98 
99 };
bool myUseRandomHandItemUponCreation
Definition: diGuyInformation.h:93
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:90
std::vector< AlternateNamesPair > AlternateNamesList
Definition: diGuyCharacterData.h:29
bool myDiGuyEnabled
Definition: diGuyInformation.h:97
Contains the DtDiGuyCharacterData class declaration.
std::string myCharacterHead
Definition: diGuyInformation.h:86
DtRwNLengthStringVector myRandomHandItems
Definition: diGuyInformation.h:94
ReaderWriter object that maintains a list of reader-writer variable bindings. It keeps a list of name...
Definition: rwVariableBindings.h:27
std::string myCharacterType
Definition: diGuyInformation.h:83
std::string myCharacterAnimation
Definition: diGuyInformation.h:87
DtRwNLengthStringVector myRandomAppearances
Definition: diGuyInformation.h:92
bool myUseRandomAppearanceUponCreation
Definition: diGuyInformation.h:91
bool myUseRandomHeadUponCreation
Definition: diGuyInformation.h:95
DtRwNLengthStringVector myRandomHeads
Definition: diGuyInformation.h:96
DT_DLL_terrainCS bool operator!=(const DtDegMinSec &lhs, const DtDegMinSec &rhs)
Contains information about the current DI-Guy character instance and some of its available options...
Definition: diGuyInformation.h:22
std::string myCharacterHandItem
Definition: diGuyInformation.h:85
std::string myCharacterAppearance
Definition: diGuyInformation.h:84
#define DT_DLL_simulationObjectEditorimpl
This file is used to determine how to build.
Definition: simulationObjectEditorImplDefines.h:33

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)