1
0

inheritance.hpp 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. class Car;
  2. class Car_F: Car
  3. {
  4. class turrets;
  5. };
  6. class Tank;
  7. class Tank_F: Tank
  8. {
  9. class turrets;
  10. };
  11. class MBT_02_base_F: Tank_F
  12. {
  13. class turrets : turrets
  14. {
  15. class MainTurret;
  16. };
  17. };
  18. class O_MBT_02_base_F: MBT_02_base_F
  19. {
  20. class turrets : turrets
  21. {
  22. class MainTurret : Mainturret
  23. {
  24. class Turrets;
  25. };
  26. };
  27. };
  28. class O_MBT_02_Cannon_F: O_MBT_02_base_F
  29. {
  30. class turrets : turrets
  31. {
  32. class MainTurret : Mainturret
  33. {
  34. class Turrets : Turrets
  35. {
  36. class CommanderOptics;
  37. };
  38. };
  39. };
  40. };
  41. ////////////////////////////////////////////////////////////////////////////////////////
  42. class MBT_01_base_F: Tank_F
  43. {
  44. class turrets : turrets
  45. {
  46. class MainTurret;
  47. };
  48. };
  49. class B_MBT_01_base_F: MBT_01_base_F
  50. {
  51. class turrets : turrets
  52. {
  53. class MainTurret : Mainturret
  54. {
  55. class Turrets;
  56. };
  57. };
  58. };
  59. class B_MBT_01_cannon_F: B_MBT_01_base_F
  60. {
  61. class turrets : turrets
  62. {
  63. class MainTurret : Mainturret
  64. {
  65. class Turrets;
  66. };
  67. };
  68. };
  69. class B_MBT_01_TUSK_F: B_MBT_01_cannon_F
  70. {
  71. class turrets : turrets
  72. {
  73. class MainTurret : Mainturret
  74. {
  75. class Turrets : Turrets
  76. {
  77. class CommanderOptics;
  78. };
  79. };
  80. };
  81. };
  82. ////////////////////////////////////////////////////////////////////////////////////////
  83. class MBT_03_base_F: Tank_F
  84. {
  85. class turrets : turrets
  86. {
  87. class MainTurret;
  88. };
  89. };
  90. class I_MBT_03_base_F: MBT_03_base_F
  91. {
  92. class turrets : turrets
  93. {
  94. class MainTurret : Mainturret
  95. {
  96. class Turrets;
  97. };
  98. };
  99. };
  100. class I_MBT_03_cannon_F: I_MBT_03_base_F
  101. {
  102. class turrets : turrets
  103. {
  104. class MainTurret : Mainturret
  105. {
  106. class Turrets : Turrets
  107. {
  108. class CommanderOptics;
  109. };
  110. };
  111. };
  112. };
  113. ////////////////////////////////////////////////////////////////////////////////////////
  114. class Wheeled_APC_F: Car_F
  115. {
  116. class turrets : turrets
  117. {
  118. class MainTurret;
  119. };
  120. };
  121. class AFV_Wheeled_01_base_F: Wheeled_APC_F
  122. {
  123. class turrets : turrets
  124. {
  125. class MainTurret;
  126. };
  127. };
  128. class AFV_Wheeled_01_up_base_F: AFV_Wheeled_01_base_F
  129. {
  130. class turrets : turrets
  131. {
  132. class MainTurret : Mainturret
  133. {
  134. class Turrets;
  135. };
  136. };
  137. };
  138. class B_AFV_Wheeled_01_up_cannon_F: AFV_Wheeled_01_up_base_F
  139. {
  140. class turrets : turrets
  141. {
  142. class MainTurret : Mainturret
  143. {
  144. class Turrets : Turrets
  145. {
  146. class CommanderOptics;
  147. };
  148. };
  149. };
  150. };
  151. ////////////////////////////////////////////////////////////////////////////////////////
  152. class APC_Tracked_02_base_F: Tank_F
  153. {
  154. class turrets : turrets
  155. {
  156. class MainTurret;
  157. };
  158. };
  159. class O_APC_Tracked_02_base_F: APC_Tracked_02_base_F
  160. {
  161. class turrets : turrets
  162. {
  163. class MainTurret : Mainturret
  164. {
  165. class Turrets;
  166. };
  167. };
  168. };
  169. class O_APC_Tracked_02_AA_F: O_APC_Tracked_02_base_F
  170. {
  171. class turrets : turrets
  172. {
  173. class MainTurret : Mainturret
  174. {
  175. class Turrets : Turrets
  176. {
  177. class CommanderOptics;
  178. };
  179. };
  180. };
  181. };
  182. ////////////////////////////////////////////////////////////////////////////////////////
  183. class LSV_02_base_F: Car_F
  184. {};
  185. class LSV_02_unarmed_base_F: LSV_02_base_F
  186. {};
  187. class O_LSV_02_unarmed_F: LSV_02_unarmed_base_F
  188. {};