EditorChunkIDs.h 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. /*
  2. ** Command & Conquer Renegade(tm)
  3. ** Copyright 2025 Electronic Arts Inc.
  4. **
  5. ** This program is free software: you can redistribute it and/or modify
  6. ** it under the terms of the GNU General Public License as published by
  7. ** the Free Software Foundation, either version 3 of the License, or
  8. ** (at your option) any later version.
  9. **
  10. ** This program is distributed in the hope that it will be useful,
  11. ** but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. ** GNU General Public License for more details.
  14. **
  15. ** You should have received a copy of the GNU General Public License
  16. ** along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. */
  18. /***********************************************************************************************
  19. *** C O N F I D E N T I A L --- W E S T W O O D S T U D I O S ***
  20. ***********************************************************************************************
  21. * *
  22. * Project Name : LevelEdit *
  23. * *
  24. * $Archive:: /Commando/Code/Tools/LevelEdit/EditorChunkIDs.h $*
  25. * *
  26. * Author:: Patrick Smith *
  27. * *
  28. * $Modtime:: 3/05/02 3:25p $*
  29. * *
  30. * $Revision:: 22 $*
  31. * *
  32. *---------------------------------------------------------------------------------------------*
  33. * Functions: *
  34. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
  35. #if defined(_MSC_VER)
  36. #pragma once
  37. #endif
  38. #ifndef __EDITOR_CHUNK_IDS_H
  39. #define __EDITOR_CHUNK_IDS_H
  40. #include "saveloadids.h"
  41. #include "definitionclassids.h"
  42. //////////////////////////////////////////////////////////////////////////////////
  43. //
  44. // These are the chunk IDs that serve as 'globally-unique' persist identifiers for
  45. // all persist objects inside the editor. These are used when building the
  46. // PersistFactoryClass's for definitions.
  47. //
  48. //////////////////////////////////////////////////////////////////////////////////
  49. enum
  50. {
  51. CHUNKID_TERRAIN_DEF = CHUNKID_COMMANDO_EDITOR_BEGIN,
  52. CHUNKID_TILE_DEF,
  53. CHUNKID_LIGHT_DEF,
  54. CHUNKID_WAYPATH_DEF,
  55. CHUNKID_EDITOR_ZONE_DEF,
  56. CHUNKID_TRANSITION_DEF,
  57. CHUNKID_EDITOR_PHYS,
  58. CHUNKID_PRESET,
  59. CHUNKID_PRESETMGR,
  60. CHUNKID_NODEMGR,
  61. CHUNKID_NODE_TERRAIN,
  62. CHUNKID_NODE_TILE,
  63. CHUNKID_NODE_OBJECTS,
  64. CHUNKID_NODE_LIGHT,
  65. CHUNKID_NODE_OLD_SOUND,
  66. CHUNKID_NODE_WAYPATH,
  67. CHUNKID_NODE_ZONE,
  68. CHUNKID_NODE_TRANSITION,
  69. CHUNKID_EDITOR_SAVELOAD,
  70. CHUNKID_XXX,
  71. CHUNKID_NODE_TERRAIN_SECTION,
  72. CHUNKID_NODE_VIS_POINT,
  73. CHUNKID_VIS_POINT_DEF,
  74. CHUNKID_NODE_PATHFIND_START,
  75. CHUNKID_PATHFIND_START_DEF,
  76. CHUNKID_DUMMY_OBJECT_DEF,
  77. CHUNKID_DUMMY_OBJECT,
  78. CHUNKID_NODE_WAYPOINT,
  79. CHUNKID_COVERSPOT_DEF,
  80. CHUNKID_NODE_COVER_ATTACK_POINT,
  81. CHUNKID_NODE_COVER_SPOT,
  82. CHUNKID_NODE_DAMAGE_ZONE,
  83. XXX_CHUNKID_NODE_BUILDING,
  84. CHUNKID_NODE_SPAWN_POINT,
  85. CHUNKID_NODE_SPAWNER,
  86. CHUNKID_NODE_BUILDING,
  87. CHUNKID_NODE_BUILDING_CHILD,
  88. CHUNKID_NODE_NEW_SOUND,
  89. CHUNKID_EDITOR_ONLY_OBJECTS_DEF,
  90. CHUNKID_EDITOR_ONLY_OBJECTS,
  91. CHUNKID_EDITOR_PATHFIND_IMPORTER_EXPORTER,
  92. CHUNKID_EDITOR_LIGHT_SOLVE_SAVELOAD,
  93. CHUNKID_HEIGHTFIELD_MGR
  94. };
  95. //////////////////////////////////////////////////////////////////////////////////
  96. //
  97. // These are the globally-unique class identifiers that the definition system
  98. // uses inside the editor.
  99. //
  100. //////////////////////////////////////////////////////////////////////////////////
  101. enum
  102. {
  103. CLASSID_EDITOR_START = CLASSID_EDITOR_OBJECTS + 1,
  104. CLASSID_VIS_POINT_DEF,
  105. CLASSID_PATHFIND_START_DEF,
  106. CLASSID_LIGHT_DEF,
  107. CLASSID_COVERSPOT,
  108. CLASSID_EDITOR_ONLY_OBJECTS
  109. };
  110. #endif //__EDITOR_CHUNK_IDS_H