hkPatches.cxx
上传用户:yisoukefu
上传日期:2020-08-09
资源大小:39506k
文件大小:13k
源码类别:

其他游戏

开发平台:

Visual C++

  1. /* 
  2.  * 
  3.  * Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's
  4.  * prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok.
  5.  * Level 2 and Level 3 source code contains trade secrets of Havok. Havok Software (C) Copyright 1999-2009 Telekinesys Research Limited t/a Havok. All Rights Reserved. Use of this software is subject to the terms of an end user license agreement.
  6.  * 
  7.  */
  8. //=======
  9. // 650b1
  10. //=======
  11. HK_PATCH_BEGIN(HK_NULL, HK_CLASS_ADDED, "hkLocalFrameGroup", 0)
  12. HK_PATCH_PARENT_SET(HK_NULL, "hkReferencedObject")
  13. HK_PATCH_MEMBER_ADDED("name", TYPE_CSTRING, HK_NULL, 0)
  14. HK_PATCH_DEPENDS("hkBaseObject", 0)
  15. HK_PATCH_DEPENDS("hkReferencedObject", 0)
  16. HK_PATCH_END()
  17. HK_PATCH_BEGIN(HK_NULL, HK_CLASS_ADDED, "hkSemanticsAttribute", 0)
  18. HK_PATCH_MEMBER_ADDED("type", TYPE_INT, HK_NULL, 0)
  19. HK_PATCH_END()
  20. HK_PATCH_BEGIN(HK_NULL, HK_CLASS_ADDED, "hkRangeInt32Attribute", 0)
  21. HK_PATCH_MEMBER_ADDED("absmin", TYPE_INT, HK_NULL, 0)
  22. HK_PATCH_MEMBER_ADDED("absmax", TYPE_INT, HK_NULL, 0)
  23. HK_PATCH_MEMBER_ADDED("softmin", TYPE_INT, HK_NULL, 0)
  24. HK_PATCH_MEMBER_ADDED("softmax", TYPE_INT, HK_NULL, 0)
  25. HK_PATCH_END()
  26. HK_PATCH_BEGIN(HK_NULL, HK_CLASS_ADDED, "hkMeshVertexBuffer", 0)
  27. HK_PATCH_PARENT_SET(HK_NULL, "hkReferencedObject")
  28. HK_PATCH_DEPENDS("hkBaseObject", 0)
  29. HK_PATCH_DEPENDS("hkReferencedObject", 0)
  30. HK_PATCH_END()
  31. HK_PATCH_BEGIN(HK_NULL, HK_CLASS_ADDED, "hkArrayTypeAttribute", 0)
  32. HK_PATCH_MEMBER_ADDED("type", TYPE_INT, HK_NULL, 0)
  33. HK_PATCH_END()
  34. HK_PATCH_BEGIN(HK_NULL, HK_CLASS_ADDED, "hkDemoReplayUtilityFrame", 0)
  35. HK_PATCH_MEMBER_ADDED("keysDown", TYPE_STRUCT, "hkBitField", 0)
  36. HK_PATCH_MEMBER_ADDED("camera", TYPE_STRUCT, "hkDemoReplayUtilityCamera", 0)
  37. HK_PATCH_MEMBER_ADDED("mouseX", TYPE_INT, HK_NULL, 0)
  38. HK_PATCH_MEMBER_ADDED("mouseY", TYPE_INT, HK_NULL, 0)
  39. HK_PATCH_MEMBER_ADDED("padButtons", TYPE_INT, HK_NULL, 0)
  40. HK_PATCH_MEMBER_ADDED("mouseButtons", TYPE_INT, HK_NULL, 0)
  41. HK_PATCH_MEMBER_ADDED("sticks", TYPE_TUPLE_REAL, HK_NULL, 4)
  42. HK_PATCH_DEPENDS("hkBitField", 0)
  43. HK_PATCH_DEPENDS("hkDemoReplayUtilityCamera", 0)
  44. HK_PATCH_END()
  45. HK_PATCH_BEGIN(HK_NULL, HK_CLASS_ADDED, "hkRangeRealAttribute", 0)
  46. HK_PATCH_MEMBER_ADDED("absmin", TYPE_REAL, HK_NULL, 0)
  47. HK_PATCH_MEMBER_ADDED("absmax", TYPE_REAL, HK_NULL, 0)
  48. HK_PATCH_MEMBER_ADDED("softmin", TYPE_REAL, HK_NULL, 0)
  49. HK_PATCH_MEMBER_ADDED("softmax", TYPE_REAL, HK_NULL, 0)
  50. HK_PATCH_END()
  51. HK_PATCH_BEGIN(HK_NULL, HK_CLASS_ADDED, "hkDataObjectTypeAttribute", 0)
  52. HK_PATCH_MEMBER_ADDED("typeName", TYPE_CSTRING, HK_NULL, 0)
  53. HK_PATCH_END()
  54. HK_PATCH_BEGIN(HK_NULL, HK_CLASS_ADDED, "hkDemoReplayUtilityMouseCallbacks", 0)
  55. HK_PATCH_MEMBER_ADDED("mouseMoveFunc", TYPE_INT, HK_NULL, 0)
  56. HK_PATCH_MEMBER_ADDED("mouseWheelFunc", TYPE_INT, HK_NULL, 0)
  57. HK_PATCH_MEMBER_ADDED("mouseButtonFunc", TYPE_INT, HK_NULL, 0)
  58. HK_PATCH_END()
  59. HK_PATCH_BEGIN(HK_NULL, HK_CLASS_ADDED, "hkDemoReplayUtilityReplayData", 0)
  60. HK_PATCH_PARENT_SET(HK_NULL, "hkReferencedObject")
  61. HK_PATCH_MEMBER_ADDED("framesWereAllocatedExternally", TYPE_BYTE, HK_NULL, 0)
  62. HK_PATCH_MEMBER_ADDED("frames", TYPE_ARRAY_OBJECT, "hkDemoReplayUtilityFrame", 0)
  63. HK_PATCH_MEMBER_ADDED("initialMouseX", TYPE_INT, HK_NULL, 0)
  64. HK_PATCH_MEMBER_ADDED("initialMouseY", TYPE_INT, HK_NULL, 0)
  65. HK_PATCH_DEPENDS("hkBaseObject", 0)
  66. HK_PATCH_DEPENDS("hkReferencedObject", 0)
  67. HK_PATCH_DEPENDS("hkDemoReplayUtilityFrame", 0)
  68. HK_PATCH_END()
  69. HK_PATCH_BEGIN(HK_NULL, HK_CLASS_ADDED, "hkLinkAttribute", 0)
  70. HK_PATCH_MEMBER_ADDED("type", TYPE_INT, HK_NULL, 0)
  71. HK_PATCH_END()
  72. HK_PATCH_BEGIN(HK_NULL, HK_CLASS_ADDED, "hkDemoReplayUtility", 0)
  73. HK_PATCH_MEMBER_ADDED("replayData", TYPE_OBJECT, "hkDemoReplayUtilityReplayData", 0)
  74. HK_PATCH_MEMBER_ADDED("currentFrame", TYPE_INT, HK_NULL, 0)
  75. HK_PATCH_DEPENDS("hkDemoReplayUtilityReplayData", 0)
  76. HK_PATCH_DEPENDS("hkBaseObject", 0)
  77. HK_PATCH_DEPENDS("hkReferencedObject", 0)
  78. HK_PATCH_END()
  79. HK_PATCH_BEGIN(HK_NULL, HK_CLASS_ADDED, "hkDescriptionAttribute", 0)
  80. HK_PATCH_MEMBER_ADDED("string", TYPE_CSTRING, HK_NULL, 0)
  81. HK_PATCH_END()
  82. HK_PATCH_BEGIN(HK_NULL, HK_CLASS_ADDED, "hkMeshShape", 0)
  83. HK_PATCH_PARENT_SET(HK_NULL, "hkReferencedObject")
  84. HK_PATCH_DEPENDS("hkBaseObject", 0)
  85. HK_PATCH_DEPENDS("hkReferencedObject", 0)
  86. HK_PATCH_END()
  87. HK_PATCH_BEGIN(HK_NULL, HK_CLASS_ADDED, "hkGizmoAttribute", 0)
  88. HK_PATCH_MEMBER_ADDED("visible", TYPE_BYTE, HK_NULL, 0)
  89. HK_PATCH_MEMBER_ADDED("label", TYPE_CSTRING, HK_NULL, 0)
  90. HK_PATCH_MEMBER_ADDED("type", TYPE_INT, HK_NULL, 0)
  91. HK_PATCH_END()
  92. HK_PATCH_BEGIN(HK_NULL, HK_CLASS_ADDED, "hkMeshSectionCinfo", 0)
  93. HK_PATCH_MEMBER_ADDED("vertexBuffer", TYPE_OBJECT, "hkMeshVertexBuffer", 0)
  94. HK_PATCH_MEMBER_ADDED("material", TYPE_OBJECT, "hkMeshMaterial", 0)
  95. HK_PATCH_MEMBER_ADDED("primitiveType", TYPE_BYTE, HK_NULL, 0)
  96. HK_PATCH_MEMBER_ADDED("numPrimitives", TYPE_INT, HK_NULL, 0)
  97. HK_PATCH_MEMBER_ADDED("indexType", TYPE_BYTE, HK_NULL, 0)
  98. HK_PATCH_MEMBER_ADDED("indices", TYPE_OBJECT, HK_NULL, 0)
  99. HK_PATCH_MEMBER_ADDED("vertexStartIndex", TYPE_INT, HK_NULL, 0)
  100. HK_PATCH_MEMBER_ADDED("transformIndex", TYPE_INT, HK_NULL, 0)
  101. HK_PATCH_DEPENDS("hkBaseObject", 0)
  102. HK_PATCH_DEPENDS("hkMeshVertexBuffer", 0)
  103. HK_PATCH_DEPENDS("hkMeshMaterial", 0)
  104. HK_PATCH_DEPENDS("hkReferencedObject", 0)
  105. HK_PATCH_END()
  106. HK_PATCH_BEGIN(HK_NULL, HK_CLASS_ADDED, "hkUiAttribute", 0)
  107. HK_PATCH_MEMBER_ADDED("visible", TYPE_BYTE, HK_NULL, 0)
  108. HK_PATCH_MEMBER_ADDED("hideInModeler", TYPE_INT, HK_NULL, 0)
  109. HK_PATCH_MEMBER_ADDED("label", TYPE_CSTRING, HK_NULL, 0)
  110. HK_PATCH_MEMBER_ADDED("group", TYPE_CSTRING, HK_NULL, 0)
  111. HK_PATCH_MEMBER_ADDED("endGroup", TYPE_BYTE, HK_NULL, 0)
  112. HK_PATCH_MEMBER_ADDED("advanced", TYPE_BYTE, HK_NULL, 0)
  113. HK_PATCH_END()
  114. HK_PATCH_BEGIN(HK_NULL, HK_CLASS_ADDED, "hkDocumentationAttribute", 0)
  115. HK_PATCH_MEMBER_ADDED("docsSectionTag", TYPE_CSTRING, HK_NULL, 0)
  116. HK_PATCH_END()
  117. HK_PATCH_BEGIN(HK_NULL, HK_CLASS_ADDED, "hkMemoryMeshShape", 0)
  118. HK_PATCH_PARENT_SET(HK_NULL, "hkMeshShape")
  119. HK_PATCH_MEMBER_ADDED("sections", TYPE_ARRAY_STRUCT, "hkMeshSectionCinfo", 0)
  120. HK_PATCH_MEMBER_ADDED("indices16", TYPE_ARRAY_INT, HK_NULL, 0)
  121. HK_PATCH_MEMBER_ADDED("indices32", TYPE_ARRAY_INT, HK_NULL, 0)
  122. HK_PATCH_MEMBER_ADDED("name", TYPE_CSTRING, HK_NULL, 0)
  123. HK_PATCH_DEPENDS("hkMeshShape", 0)
  124. HK_PATCH_DEPENDS("hkBaseObject", 0)
  125. HK_PATCH_DEPENDS("hkReferencedObject", 0)
  126. HK_PATCH_DEPENDS("hkMeshSectionCinfo", 0)
  127. HK_PATCH_END()
  128. HK_PATCH_BEGIN(HK_NULL, HK_CLASS_ADDED, "hkMeshMaterial", 0)
  129. HK_PATCH_PARENT_SET(HK_NULL, "hkReferencedObject")
  130. HK_PATCH_DEPENDS("hkBaseObject", 0)
  131. HK_PATCH_DEPENDS("hkReferencedObject", 0)
  132. HK_PATCH_END()
  133. HK_PATCH_BEGIN(HK_NULL, HK_CLASS_ADDED, "hkMeshSection", 0)
  134. HK_PATCH_MEMBER_ADDED("primitiveType", TYPE_BYTE, HK_NULL, 0)
  135. HK_PATCH_MEMBER_ADDED("numPrimitives", TYPE_INT, HK_NULL, 0)
  136. HK_PATCH_MEMBER_ADDED("numIndices", TYPE_INT, HK_NULL, 0)
  137. HK_PATCH_MEMBER_ADDED("vertexStartIndex", TYPE_INT, HK_NULL, 0)
  138. HK_PATCH_MEMBER_ADDED("transformIndex", TYPE_INT, HK_NULL, 0)
  139. HK_PATCH_MEMBER_ADDED("indexType", TYPE_BYTE, HK_NULL, 0)
  140. HK_PATCH_MEMBER_ADDED("indices", TYPE_OBJECT, HK_NULL, 0)
  141. HK_PATCH_MEMBER_ADDED("vertexBuffer", TYPE_OBJECT, "hkMeshVertexBuffer", 0)
  142. HK_PATCH_MEMBER_ADDED("material", TYPE_OBJECT, "hkMeshMaterial", 0)
  143. HK_PATCH_MEMBER_ADDED("sectionIndex", TYPE_INT, HK_NULL, 0)
  144. HK_PATCH_DEPENDS("hkBaseObject", 0)
  145. HK_PATCH_DEPENDS("hkMeshVertexBuffer", 0)
  146. HK_PATCH_DEPENDS("hkMeshMaterial", 0)
  147. HK_PATCH_DEPENDS("hkReferencedObject", 0)
  148. HK_PATCH_END()
  149. HK_PATCH_BEGIN(HK_NULL, HK_CLASS_ADDED, "hkModelerNodeTypeAttribute", 0)
  150. HK_PATCH_MEMBER_ADDED("type", TYPE_INT, HK_NULL, 0)
  151. HK_PATCH_END()
  152. HK_PATCH_BEGIN(HK_NULL, HK_CLASS_ADDED, "hkHalf", 0)
  153. HK_PATCH_MEMBER_ADDED("value", TYPE_INT, HK_NULL, 0)
  154. HK_PATCH_END()
  155. HK_PATCH_BEGIN(HK_NULL, HK_CLASS_ADDED, "hkDemoReplayUtilityCamera", 0)
  156. HK_PATCH_MEMBER_ADDED("from", TYPE_TUPLE_REAL, HK_NULL, 3)
  157. HK_PATCH_MEMBER_ADDED("to", TYPE_TUPLE_REAL, HK_NULL, 3)
  158. HK_PATCH_MEMBER_ADDED("up", TYPE_TUPLE_REAL, HK_NULL, 3)
  159. HK_PATCH_END()
  160. HK_PATCH_BEGIN("hkSimpleLocalFrame", 0, "hkSimpleLocalFrame", 1)
  161. HK_PATCH_MEMBER_ADDED("group", TYPE_OBJECT, "hkLocalFrameGroup", 0)
  162. HK_PATCH_DEPENDS("hkLocalFrameGroup", 0)
  163. HK_PATCH_END()
  164. HK_PATCH_BEGIN(HK_NULL, HK_CLASS_ADDED, "hkAlignSceneToNodeOptions", 0)
  165. HK_PATCH_MEMBER_ADDED("invert", TYPE_BYTE, HK_NULL, 0)
  166. HK_PATCH_MEMBER_ADDED("transformPositionX", TYPE_BYTE, HK_NULL, 0)
  167. HK_PATCH_MEMBER_ADDED("transformPositionY", TYPE_BYTE, HK_NULL, 0)
  168. HK_PATCH_MEMBER_ADDED("transformPositionZ", TYPE_BYTE, HK_NULL, 0)
  169. HK_PATCH_MEMBER_ADDED("transformRotation", TYPE_BYTE, HK_NULL, 0)
  170. HK_PATCH_MEMBER_ADDED("transformScale", TYPE_BYTE, HK_NULL, 0)
  171. HK_PATCH_MEMBER_ADDED("transformSkew", TYPE_BYTE, HK_NULL, 0)
  172. HK_PATCH_MEMBER_ADDED("keyframe", TYPE_INT, HK_NULL, 0)
  173. HK_PATCH_MEMBER_ADDED("nodeName", TYPE_ARRAY_INT, HK_NULL, 0)
  174. HK_PATCH_END()
  175. HK_PATCH_BEGIN("hkxVertexP4N4C1T10", 0, "hkxVertexP4N4C1T10", 1) 
  176. HK_PATCH_MEMBER_RENAMED("diffuse", "diffuseA")
  177. HK_PATCH_MEMBER_REMOVED("padding", TYPE_REAL, HK_NULL, 0)
  178. HK_PATCH_MEMBER_ADDED("diffuseB", TYPE_INT, HK_NULL, 0)
  179. HK_PATCH_END()
  180. HK_PATCH_BEGIN("hkxVertexP4N4T4B4W4I4C1T12", 0, "hkxVertexP4N4T4B4W4I4C1T12", 1) 
  181. HK_PATCH_MEMBER_RENAMED("diffuse", "diffuseA")
  182. HK_PATCH_MEMBER_REMOVED("padding", TYPE_REAL, HK_NULL, 0)
  183. HK_PATCH_MEMBER_ADDED("diffuseB", TYPE_INT, HK_NULL, 0)
  184. HK_PATCH_END()
  185. HK_PATCH_BEGIN("hkxVertexP4N4C1T2", 0, "hkxVertexP4N4C1T2", 1) 
  186. HK_PATCH_MEMBER_RENAMED("diffuse", "diffuseA")
  187. HK_PATCH_MEMBER_REMOVED("padding", TYPE_REAL, HK_NULL, 0)
  188. HK_PATCH_MEMBER_ADDED("diffuseB", TYPE_INT, HK_NULL, 0)
  189. HK_PATCH_END()
  190. HK_PATCH_BEGIN("hkxVertexP4N4C1T6", 0, "hkxVertexP4N4C1T6", 1) 
  191. HK_PATCH_MEMBER_RENAMED("diffuse", "diffuseA")
  192. HK_PATCH_MEMBER_REMOVED("padding", TYPE_REAL, HK_NULL, 0)
  193. HK_PATCH_MEMBER_ADDED("diffuseB", TYPE_INT, HK_NULL, 0)
  194. HK_PATCH_END()
  195. HK_PATCH_BEGIN("hkxVertexP4N4T4B4C1T2", 0, "hkxVertexP4N4T4B4C1T2", 1) 
  196. HK_PATCH_MEMBER_RENAMED("diffuse", "diffuseA")
  197. HK_PATCH_MEMBER_REMOVED("padding", TYPE_REAL, HK_NULL, 0)
  198. HK_PATCH_MEMBER_ADDED("diffuseB", TYPE_INT, HK_NULL, 0)
  199. HK_PATCH_END()
  200. HK_PATCH_BEGIN("hkxVertexP4N4T4B4C1T6", 0, "hkxVertexP4N4T4B4C1T6", 1) 
  201. HK_PATCH_MEMBER_RENAMED("diffuse", "diffuseA")
  202. HK_PATCH_MEMBER_REMOVED("padding", TYPE_REAL, HK_NULL, 0)
  203. HK_PATCH_MEMBER_ADDED("diffuseB", TYPE_INT, HK_NULL, 0)
  204. HK_PATCH_END()
  205. HK_PATCH_BEGIN("hkxVertexP4N4T4B4C1T10", 0, "hkxVertexP4N4T4B4C1T10", 1) 
  206. HK_PATCH_MEMBER_RENAMED("diffuse", "diffuseA")
  207. HK_PATCH_MEMBER_REMOVED("padding", TYPE_REAL, HK_NULL, 0)
  208. HK_PATCH_MEMBER_ADDED("diffuseB", TYPE_INT, HK_NULL, 0)
  209. HK_PATCH_END()
  210. HK_PATCH_BEGIN("hkxVertexP4N4T4B4W4I4C1T4", 0, "hkxVertexP4N4T4B4W4I4C1T4", 1) 
  211. HK_PATCH_MEMBER_RENAMED("diffuse", "diffuseA")
  212. HK_PATCH_MEMBER_REMOVED("padding", TYPE_REAL, HK_NULL, 0)
  213. HK_PATCH_MEMBER_ADDED("diffuseB", TYPE_INT, HK_NULL, 0)
  214. HK_PATCH_END()
  215. HK_PATCH_BEGIN("hkxVertexP4N4T4B4W4I4C1T8", 0, "hkxVertexP4N4T4B4W4I4C1T8", 1) 
  216. HK_PATCH_MEMBER_RENAMED("diffuse", "diffuseA")
  217. HK_PATCH_MEMBER_REMOVED("padding", TYPE_REAL, HK_NULL, 0)
  218. HK_PATCH_MEMBER_ADDED("diffuseB", TYPE_INT, HK_NULL, 0)
  219. HK_PATCH_END()
  220. HK_PATCH_BEGIN("hkxVertexP4N4W4I4C1T4", 0, "hkxVertexP4N4W4I4C1T4", 1)
  221. HK_PATCH_MEMBER_RENAMED("diffuse", "diffuseA")
  222. HK_PATCH_MEMBER_REMOVED("padding", TYPE_REAL, HK_NULL, 0)
  223. HK_PATCH_MEMBER_ADDED("diffuseB", TYPE_INT, HK_NULL, 0)
  224. HK_PATCH_END()
  225. HK_PATCH_BEGIN("hkxVertexP4N4W4I4C1T8", 0, "hkxVertexP4N4W4I4C1T8", 1)
  226. HK_PATCH_MEMBER_RENAMED("diffuse", "diffuseA")
  227. HK_PATCH_MEMBER_REMOVED("padding", TYPE_REAL, HK_NULL, 0)
  228. HK_PATCH_MEMBER_ADDED("diffuseB", TYPE_INT, HK_NULL, 0)
  229. HK_PATCH_END()
  230. HK_PATCH_BEGIN("hkxVertexP4N4W4I4C1T12", 0, "hkxVertexP4N4W4I4C1T12", 1)
  231. HK_PATCH_MEMBER_RENAMED("diffuse", "diffuseA")
  232. HK_PATCH_MEMBER_REMOVED("padding", TYPE_REAL, HK_NULL, 0)
  233. HK_PATCH_MEMBER_ADDED("diffuseB", TYPE_INT, HK_NULL, 0)
  234. HK_PATCH_END()
  235. HK_PATCH_BEGIN("hkUiAttribute", 0, "hkUiAttribute", 1)
  236. HK_PATCH_MEMBER_ADDED("endGroup2", TYPE_BYTE, HK_NULL, 0)
  237. HK_PATCH_END()
  238. /*
  239. * Havok SDK - NO SOURCE PC DOWNLOAD, BUILD(#20090216)
  240. * Confidential Information of Havok.  (C) Copyright 1999-2009
  241. * Telekinesys Research Limited t/a Havok. All Rights Reserved. The Havok
  242. * Logo, and the Havok buzzsaw logo are trademarks of Havok.  Title, ownership
  243. * rights, and intellectual property rights in the Havok software remain in
  244. * Havok and/or its suppliers.
  245. * Use of this software for evaluation purposes is subject to and indicates
  246. * acceptance of the End User licence Agreement for this product. A copy of
  247. * the license is included with this software and is also available at www.havok.com/tryhavok.
  248. */