VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
diGuyCharacterAnimationsTable.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2022 MAK Technologies, Inc.
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
13 #include "vrfutil/vrfutilDefines.h"
14 #include <readerWriter/rwList.h>
15 #include <list>
16 
19 
25 {
26 public:
27 
30 
33  DtDiGuyCharacterAnimationsTable( const DtString& name, DtReaderWriterRegistry* parentRegistry = NULL );
34  DtDiGuyCharacterAnimationsTable( const DtSymbolString& name, DtReaderWriterRegistry* parentRegistry = NULL );
35 
38  DtReaderWriterRegistry* parentRegistry = NULL );
40  DtReaderWriterRegistry* parentRegistry = NULL );
41 
44 
47 
50 
51  virtual DtDiGuyCharacterAnimationsTable* clone( const DtString& name,
52  DtReaderWriterRegistry* parentRegistry = NULL ) const;
53  virtual DtDiGuyCharacterAnimationsTable* clone( const DtSymbolString& name,
54  DtReaderWriterRegistry* parentRegistry = NULL ) const;
55 
57 
59  virtual AlternateNamesList* availableCharacters();
60 
63  virtual void addCharacterAnimationsEntry( const DtDiGuyCharacterAnimationsEntry& selectEntry );
64 
65  virtual DtDiGuyCharacterAnimationsEntry* lookupEntryByName( const DtString& characterName );
66 
68  virtual DtString displayNameForAnimation( const DtString& kw ) const;
69 
70 protected:
71 
73  virtual DtlObjPtr getData( DtlObjPtr args, const DtReaderWriter::SearchPaths& searchPaths,
74  const DtVariableBindingsList& variableBindings );
75 
76  virtual void emptyList();
77  virtual void copyList( const DtDiGuyCharacterAnimationsTable& orig );
78 
79  virtual void addCharacterEntry( DtDiGuyCharacterAnimationsEntry* selectEntry );
80 
81 protected:
82 
84  std::map<DtString,DtString> myAnimationNames;
85 
86 };
AlternateNamesList myAvailableCharacters
Definition: diGuyCharacterAnimationsTable.h:83
Readable/writable class that holds list of animations for particular character type. Populated from character_animations_table.mtl (as are contained objects).
Definition: diGuyCharacterAnimationsEntry.h:21
Definition: symbolString.h:20
A Readable, Writable version of DtList. This class cannot be used directly, but must be inherited to ...
Definition: rwList.h:26
virtual DtlObjPtr getData(DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths, const DtVariableBindingsList &variableBindings)=0
This method must be overridden by a subclass. Within this method, new instances of the DtReaderWriter...
Definition: readerWriterRegistry.h:39
std::vector< AlternateNamesPair > AlternateNamesList
Definition: diGuyCharacterData.h:29
Contains the DtDiGuyCharacterData class declaration.
std::list< const DtRwVariableBindings * > DtVariableBindingsList
Definition: readerWriterRegistry.h:29
std::vector< DtFilename > SearchPaths
Definition: readerWriter.h:92
Readable/writable class that holds list of DtDiGuyCharacterAnimationsEntry objects. Each entry represents a particular character type. The whole thing is populated by reading in character_animations_table.mtl. Eventually passed to DtDiGuyCharacterData, which reads in the data it contains.
Definition: diGuyCharacterAnimationsTable.h:24
const DtRwList & operator=(const DtRwList &orig)
Calls down to DtReaderWriter::operator=(). List elements are not copied.
#define DT_DLL_vrfDiGuy
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition: vrfDiGuyDefines.h:34
std::map< DtString, DtString > myAnimationNames
Definition: diGuyCharacterAnimationsTable.h:84
class DtRwDIGuyAnimationsList:
Definition: rwDIGuyAnimationsList.h:28

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)