VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
entityTypes.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
6 #ifndef entityTypes_H_
7 #define entityTypes_H_
8 
12 
18 
19 //#include "packets/disVersion.h"
20 
23 {
30  DtSupply = 6,
31  DtRadio = 7,
33  DtSensor = 9,
35 };
36 
38 
40 {
47 };
48 
51 {
53  DtAntiAir = 1,
63 };
64 
66 {
73 };
74 
76 {
83 };
84 
86 {
93 };
95 
98 {
100  DtFrance = 71,
101  DtIraq = 102,
105 };
106 
107 
108 
111 
113 {
114  DtTank = 1,
123  DtMortar = 10
124 };
125 
127 {
129  DtAttack = 2,
130  DtBomber = 3,
131  DtCargo = 4,
140 };
141 
143 {
155  DtFrigate = 50,
164 };
165 
169 
171 {
173 };
174 
178 
180 {
181  DtM1 = 1
182 };
183 
185 {
186  DtM2 = 1,
187  DtM3 = 1,
188  DtM113 = 3
189 };
190 
191 
193 {
194  DtM88 = 1,
195  DtM577 = 11
196 };
197 
198 
200 {
201  DtM109 = 3
202 };
203 
204 
205 
207 {
210 };
211 
212 
213 
215  DtF117 = 1,
216  DtF16 = 3,
217  DtF15 = 5,
218  DtF15E = 5,
219  DtF18 = 9
220 };
221 
222 enum DtF16
223 {
225  DtF16C = 3
226 };
227 
229 {
230  DtA10 = 4
231 };
232 
234 {
235  DtC130 = 1,
237 
238 };
239 
241 {
242  DtAH64 = 1,
243  DtAH1W = 2,
245 };
246 
248 {
250 };
251 
253 {
254  DtOH58 = 1
255 };
256 
258 {
259  DtUAV = 0
260 };
261 
262 
264 {
265  DtMH60 = 1,
266  DtMH53 = 3
267 };
268 
270 {
271  DtCV59 = 4
272 };
273 
275 {
277 };
278 
280 {
282 };
283 
285 {
291 };
292 
294 {
295  DtFFG7 = 1
296 };
297 
299 {
301 };
302 
304 {
306 };
307 
309 {
310  DtTarawa = 1,
311  DtSaipan = 2,
313  DtNassau = 4,
315 };
316 
318 {
320 };
321 
322 
326 
328 {
330 };
331 
335 
337 {
339 };
340 
341 
345 
347 {
348  DtT72 = 2,
349  DtT64 = 3
350 };
351 
353 {
355 };
356 
358 {
359  DtBMP1 = 1,
360  DtBMP2 = 2,
361  DtBRDM1 = 3,
362  DtMTLB = 7
363 };
364 
365 
367 {
369  DtZSU23_4 = 18,
371  DtSAMSite = 19,
374 };
375 
377 {
379 };
380 
382 {
384 };
385 
387 {
388  DtD20 = 3
389 };
390 
391 
393 {
394  DtZIL157 = 6,
395  DtGAZ66 = 8,
397 };
398 
400 {
401  DtMI28 = 1,
402  DtMI24 = 2
403 };
404 
406 {
407  DtMiG29 = 2,
409 };
410 
412 {
413  DtSU25 = 8
414 };
415 
417 {
418  DtTU26 = 3,
419  DtTU95 = 5
420 };
421 
423 
427 {
430 };
431 
433 {
436 };
437 
439 {
442 };
443 
445 {
448 };
449 
451 {
454 };
455 
457 {
460 };
461 
463 {
466 };
467 
471 
473 {
475  DtAMRAAM = 2,
476  DtHawk = 6,
478  DtRoland = 11,
480  DtSparrow = 13,
481  DtStinger = 15,
483 };
484 
485 
487 {
491 };
492 
494 {
495  Dt25mm = 3,
496  Dt105m = 10,
497  Dt120mm = 13
498 };
499 
501 {
503 };
504 
506 {
508 };
509 
511 {
513 };
514 
516 {
521 };
522 
524 {
526 };
527 
528 
529 
533 
535 {
539  DtSA3Goa = 15,
546 };
547 
549 {
551 };
552 
555 {
557 };
558 
560 {
562 };
563 
565 
569 {
576 };
577 
579 {
580  DtFireTeam = 101,
581  DtSquad = 102,
582  DtPlatoon = 103,
583  DtCompany = 104,
584  DtBattalion = 105,
585  DtRegiment = 106,
586  DtDivision = 107,
587  DtCorps = 108,
588  DtArmy = 109
589 };
591 
594 {
596  DtSmoke = 1,
597  DtFog = 2,
598  DtCloud = 3,
601 };
602 
605 {
612 };
613 
617 {
639 };
640 
644 {
652 };
653 
657 {
669 };
673 {
700 };
701 
704 {
712 };
713 
716 {
717  DtOther = 0,
719  DtSmall = 40,
720  DtMedium = 60,
721  DtLarge = 80,
722  DtVeryLarge = 100
723 };
724 
725 
726 #define DtSameEntityKind(a,b) \
727  ((a)->DtEntityKind == (b)->DtEntityKind && \
728  (a)->DtDomain == (b)->DtDomain && \
729  (a)->DtCountry == (b)->DtCountry && \
730  (a)->DtCategory == (b)->DtCategory && \
731  (a)->DtSubCategory == (b)->DtSubCategory && \
732  (a)->DtSpecific == (b)->DtSpecific && \
733  (a)->DtExtra == (b)->DtExtra)
734 
735 #define DtIsLandPlatform(a) \
736  ((a)->DtEntityKind == DtPlatform && \
737  (a)->DtDomain == DtPlatformDomainLand)
738 
739 #define DtIsLandLifeForm(a) \
740  ((a)->DtEntityKind == DtLifeForm && \
741  (a)->DtDomain == DtLifeFormDomainLand)
742 
743 #define DtIsAirPlatform(a) \
744  ((a)->DtEntityKind == DtPlatform && \
745  (a)->DtDomain == DtPlatformDomainAir)
746 
747 #define DtIsTank(a) \
748  (DtIsLandPlatform(a) && (a)->DtCategory == DtTank)
749 
750 #define DtIsRotaryWing(a) \
751  (DtIsAirPlatform(a) && \
752  (a)->DtCategory >= 20 && \
753  (a)->DtCategory < 30)
754 
755 #define DtIsFixedWing(a) \
756  (DtIsAirPlatform(a) && \
757  (!DtIsRotaryWing(a)))
758 
759 
760 #define antiPersonell 8
761 
762 
763 #define DtEntityIsAntiPersonnel(a) \
764  (((a)->DtEntityKind == DtMunition) && ((a)->DtDomain == antiPersonell))
765 
766 #endif

Document ID: Generated on Tue Mar 1 02:56:17 EST 2016 from SVN revision 162687
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)