BVB Source Codes

CRYENGINE Show ProceduralClipConversion.h Source code

Return Download CRYENGINE: download ProceduralClipConversion.h Source code - Download CRYENGINE Source code - Type:.h
  1. // Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved.
  2.  
  3. #ifndef __PROCEDURAL_CLIP_CONVERSION__H__
  4. #define __PROCEDURAL_CLIP_CONVERSION__H__
  5. #pragma once
  6.  
  7. #include <vector>
  8. #include <map>
  9.  
  10. struct SProcClipConversionEntry
  11. {
  12.         typedef std::vector<string> ParamConversionStringList;
  13.  
  14.         XmlNodeRef Convert(const XmlNodeRef& pOldNode) const;
  15.  
  16.         XmlNodeRef CreateNodeStructure(XmlNodeRef pNewNode, const ParamConversionStringList& paramList) const;
  17.  
  18.         void       CreateAttribute(XmlNodeRef pNewNode, const ParamConversionStringList& newAttributeName, const char* const newAttributeValue) const;
  19.         void       ConvertAttribute(const XmlNodeRef& pOldNode, XmlNodeRef pNewNode, const char* const oldAttributeName, const ParamConversionStringList& newAttributeName) const;
  20.  
  21.         ParamConversionStringList animRef;
  22.         ParamConversionStringList crcString;
  23.         ParamConversionStringList dataString;
  24.  
  25.         typedef std::vector<ParamConversionStringList> ParameterConversionVector;
  26.         ParameterConversionVector parameters;
  27. };
  28.  
  29. class CProcClipConversionHelper
  30. {
  31. public:
  32.         CProcClipConversionHelper();
  33.         XmlNodeRef Convert(const XmlNodeRef& pOldXmlNode);
  34.  
  35. private:
  36.         void LoadEntry(const XmlNodeRef& pXmlEntryNode);
  37.  
  38.         typedef std::map<string, SProcClipConversionEntry> ConversionEntryMap;
  39.         ConversionEntryMap conversionMap;
  40. };
  41.  
  42. #endif
  43.  
downloadProceduralClipConversion.h Source code - Download CRYENGINE Source code
Related Source Codes/Software:
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top