VR-Link API Documentation for HLA 1516
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vlpi
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
22
enum
DtEntityKind
23
{
24
DtEntityKindOther
= 0,
25
DtPlatform
= 1,
26
DtMunition
= 2,
27
DtLifeForm
= 3,
28
DtEnvironmental
= 4,
29
DtCulturalFeature
= 5,
30
DtSupply
= 6,
31
DtRadio
= 7,
32
DtExpendable
= 8,
33
DtSensor
= 9,
34
DtObserver
= 12
35
};
36
38
39
enum
DtPlatformDomain
40
{
41
DtPlatformDomainOther
= 0,
42
DtPlatformDomainLand
= 1,
43
DtPlatformDomainAir
= 2,
44
DtPlatformDomainSurface
= 3,
45
DtPlatformDomainSubsurface
= 4,
46
DtPlatformDomainSpace
= 5
47
};
48
50
enum
DtMunitionDomain
51
{
52
DtMunitionDomainOther
= 0,
53
DtAntiAir
= 1,
54
DtAntiArmor
= 2,
55
DtAntiGuidedMunition
= 3,
56
DtAntiRadar
= 4,
57
DtAntiSatellite
= 5,
58
DtAntiShip
= 6,
59
DtAntiSubmarine
= 7,
60
DtAntiPersonnel
= 8,
61
DtBattlefieldSupport
= 9,
62
DtStrategic
= 10
63
};
64
65
enum
DtLifeFormDomain
66
{
67
DtLifeFormDomainOther
= 0,
68
DtLifeFormDomainLand
= 1,
69
DtLifeFormDomainAir
= 2,
70
DtLifeFormDomainSurface
= 3,
71
DtLifeFormDomainSubsurface
= 4,
72
DtLifeFormDomainSpace
= 5
73
};
74
75
enum
DtEnvironmentalDomain
76
{
77
DtEnvironmentalDomainOther
= 0,
78
DtEnvironmentalDomainLand
= 1,
79
DtEnvironmentalDomainAir
= 2,
80
DtEnvironmentalDomainSurface
= 3,
81
DtEnvironmentalDomainSubsurface
= 4,
82
DtEnvironmentalDomainSpace
= 5
83
};
84
85
enum
DtCulturalFeatureDomain
86
{
87
DtCulturalFeatureDomainOther
= 0,
88
DtCulturalFeatureDomainLand
= 1,
89
DtCulturalFeatureDomainAir
= 2,
90
DtCulturalFeatureDomainSurface
= 3,
91
DtCulturalFeatureDomainSubsurface
= 4,
92
DtCulturalFeatureDomainSpace
= 5
93
};
95
97
enum
DtCountryCode
98
{
99
DtCountryCodeOther
= 0,
100
DtFrance
= 71,
101
DtIraq
= 102,
102
DtUnionOfSovietSocialistRepublics
= 222,
103
DtUnitedKingdom
= 224,
104
DtUnitedStates
= 225
105
};
106
107
108
111
112
enum
DtPlatformLand
113
{
114
DtTank
= 1,
115
DtArmoredFightingVehicle
= 2,
116
DtArmoredUtilityVehicle
= 3,
117
DtSelfPropelledArtillery
= 4,
118
DtTowedArtillery
= 5,
119
DtSmallWheeledUtilityVehicle
= 6,
120
DtLargeWheeledUtilityVehicle
= 7,
121
DtSmallTrackedUtilityVehicle
= 8,
122
DtLargeTrackedUtilityVehicle
= 9,
123
DtMortar
= 10
124
};
125
126
enum
DtPlatformAir
127
{
128
DtFighter
= 1,
129
DtAttack
= 2,
130
DtBomber
= 3,
131
DtCargo
= 4,
132
DtAntiSubmarinePatrol
= 5,
133
DtAttackHelicopter
= 20,
134
DtUtilityHelicopter
= 21,
135
DtSeaGoingHelicopter
= 22,
136
DtElectronicWarfare
= 6,
137
DtUnmannedAirVehicle
= 50,
138
DtReconnaisance
= 8,
139
DtSpecialOperations
= 25
140
};
141
142
enum
DtPlatformSurface
143
{
144
DtCarrier
= 1,
145
DtCommandShip
= 2,
146
DtGuidedMissleCruiser
= 3,
147
DtGuidedMissleDestroyer
= 4,
148
DtDestroyer
= 5,
149
DtGuidedMissleFrigate
= 6,
150
DtPatrolCraft
= 7,
151
DtMineCounterMeasureShip
= 8,
152
DtDockLandingShip
= 9,
153
DtTankLandingShip
= 10,
154
DtLandingCraft
= 11,
155
DtFrigate
= 50,
156
DtBattleship
= 51,
157
DtHeavyCruiser
= 52,
158
DtDestroyerTender
= 53,
159
DtAmphibiousAssaultShip
= 54,
160
DtAmphibiousCargoShip
= 55,
161
DtAmphibiousTransportDock
= 56,
162
DtAmmunitionShip
= 57,
163
DtCombatStoresShip
= 58
164
};
165
169
170
enum
DtPlatformLandAnySmallWheeledUtilityVehicle
171
{
172
DtCivilianCar
= 0
173
};
174
178
179
enum
DtPlatformLandUSTank
180
{
181
DtM1
= 1
182
};
183
184
enum
DtPlatformLandUSArmoredFightingVehicle
185
{
186
DtM2
= 1,
187
DtM3
= 1,
188
DtM113
= 3
189
};
190
191
192
enum
DtPlatformLandUSArmoredUtilityVehicle
193
{
194
DtM88
= 1,
195
DtM577
= 11
196
};
197
198
199
enum
DtPlatformLandUSSelfPropelledArtillery
200
{
201
DtM109
= 3
202
};
203
204
205
206
enum
DtPlatformLandUSSmallWheeledUtilityVehicle
207
{
208
DtUSCivilianCar
= 0,
209
DtHMMWV
= 1
210
};
211
212
213
214
enum
DtPlatformAirUSFighter
{
215
DtF117
= 1,
216
DtF16
= 3,
217
DtF15
= 5,
218
DtF15E
= 5,
219
DtF18
= 9
220
};
221
222
enum
DtF16
223
{
224
DtBasicF16
= 0,
225
DtF16C
= 3
226
};
227
228
enum
DtPlatformAirUSAttack
229
{
230
DtA10
= 4
231
};
232
233
enum
DtPlatformAirUSCargo
234
{
235
DtC130
= 1,
236
DtKC130
= 1
237
238
};
239
240
enum
DtPlatformAirUSAttackHelicopter
241
{
242
DtAH64
= 1,
243
DtAH1W
= 2,
244
DtRAH66
= 3
245
};
246
247
enum
DtAH1WSpecific
248
{
249
DtSpecificAH1W
= 10
250
};
251
252
enum
DtPlatformAirUSObservationHelicopter
253
{
254
DtOH58
= 1
255
};
256
257
enum
DtPlatformAirUSUnmannedAirVehicle
258
{
259
DtUAV
= 0
260
};
261
262
263
enum
DtPlatformAirUSSpecialOperations
264
{
265
DtMH60
= 1,
266
DtMH53
= 3
267
};
268
269
enum
DtPlatformSurfaceUSCarrier
270
{
271
DtCV59
= 4
272
};
273
274
enum
DtCV59Specific
275
{
276
DtSpecificCV59
= 1
277
};
278
279
enum
DtPlatformSurfaceUSGuidedMissleCruiser
280
{
281
DtTiconderogaClass
282
};
283
284
enum
DtAegisCruiserSpecific
285
{
286
DtTiconderoga
= 1,
287
DtYorktown
= 2,
288
DtVincennes
= 3,
289
DtValleyForge
= 4,
290
DtThomasSGates
= 5
291
};
292
293
enum
DtPlatformSurfaceUSGuidedMissleFrigate
294
{
295
DtFFG7
= 1
296
};
297
298
enum
DtFFG7Specific
299
{
300
DtSpecificFFG7
= 1
301
};
302
303
enum
DtPlatformSurfaceUSAmphibiousAssaultShip
304
{
305
DtTarawaClass
= 1
306
};
307
308
enum
DtLHASpecific
309
{
310
DtTarawa
= 1,
311
DtSaipan
= 2,
312
DtBelleauWood
= 3,
313
DtNassau
= 4,
314
DtPeleliu
= 5
315
};
316
317
enum
DtPlatformSubsurfaceUSStrategicMissleSubmarine
318
{
319
DtSBBNOhio
= 1
320
};
321
322
326
327
enum
DtPlatformAirFranceUtilityHelicopter
328
{
329
DtGazelle
= 6
330
};
331
335
336
enum
DtPlatformLandUKTank
337
{
338
DtChallengerMBT
= 2
339
};
340
341
345
346
enum
DtPlatformLandUSSRTank
347
{
348
DtT72
= 2,
349
DtT64
= 3
350
};
351
352
enum
DtT72Specific
353
{
354
DtBasicT72
= 1
355
};
356
357
enum
DtPlatformLandUSSRArmoredFightingVehicle
358
{
359
DtBMP1
= 1,
360
DtBMP2
= 2,
361
DtBRDM1
= 3,
362
DtMTLB
= 7
363
};
364
365
366
enum
DtPlatformLandUSSRSelfPropelledArtillery
367
{
368
DtSS1ScudMissileLauncher
= 10,
369
DtZSU23_4
= 18,
370
DtSA6Launcher
= 19,
371
DtSAMSite
= 19,
372
DtSA10FlapLidRadar
= 42,
373
DtSA8LauncherRadar
= 41
374
};
375
376
enum
DtSA10Specific
377
{
378
DtSpecificSA10
= 1
379
};
380
381
enum
DtSA8Specific
382
{
383
DtSpecificSA8
= 1
384
};
385
386
enum
DtPlatformLandUSSRSelfTowedArtillery
387
{
388
DtD20
= 3
389
};
390
391
392
enum
DtPlatformLandUSSRLargeWheeledUtilityVehicle
393
{
394
DtZIL157
= 6,
395
DtGAZ66
= 8,
396
DtUral375
= 9
397
};
398
399
enum
DtPlatformAirUSSRAttackHelicopter
400
{
401
DtMI28
= 1,
402
DtMI24
= 2
403
};
404
405
enum
DtPlatformAirUSSRFighter
406
{
407
DtMiG29
= 2,
408
DtMiG23
= 5
409
};
410
411
enum
DtPlatformAirUSSRAttack
412
{
413
DtSU25
= 8
414
};
415
416
enum
DtPlatformAirUSSRBomber
417
{
418
DtTU26
= 3,
419
DtTU95
= 5
420
};
421
423
426
enum
DtMunitionAntiAir
427
{
428
DtMunitionGuided
= 1,
429
DtMunitionUnguided
= 2
430
};
431
432
enum
DtMunitionAntiArmor
433
{
434
DtAntiArmorGuided
= 1,
435
DtAntiArmorUnguided
= 2
436
};
437
438
enum
DtMunitionAntiRadar
439
{
440
DtAntiRadarGuided
= 1,
441
DtAntiRadarUnguided
= 2
442
};
443
444
enum
DtMunitionAntiShip
445
{
446
DtAntiShipGuided
= 1,
447
DtAntiShipUnguided
= 2
448
};
449
450
enum
DtMunitionAntiSubmarine
451
{
452
DtAntiSubmarineGuided
= 1,
453
DtAntiSubmarineUnguided
= 2
454
};
455
456
enum
DtMunitionAntiPersonnel
457
{
458
DtAntiPersonnelGuided
= 1,
459
DtAntiPersonnelUnguided
= 2
460
};
461
462
enum
DtMunitionBattlefieldSupport
463
{
464
DtBattlefieldSupportGuided
= 1,
465
DtBattlefieldSupportUnguided
= 2
466
};
467
471
472
enum
DtMunitionUSAntiAirGuided
473
{
474
DtSidewinder
= 1,
475
DtAMRAAM
= 2,
476
DtHawk
= 6,
477
DtPhoenix
= 8,
478
DtRoland
= 11,
479
DtSeaSparrow
= 12,
480
DtSparrow
= 13,
481
DtStinger
= 15,
482
DtPatriot
= 16
483
};
484
485
486
enum
DtMunitionUSAntiArmorGuided
487
{
488
DtBGM71TOW
= 1,
489
DtHellfire
= 3,
490
DtMaverick
= 4
491
};
492
493
enum
DtMunitionUSAntiArmorUnguided
494
{
495
Dt25mm
= 3,
496
Dt105m
= 10,
497
Dt120mm
= 13
498
};
499
500
enum
DtMunitionUSAntiRadarGuided
501
{
502
DtAGM88HARM
= 1
503
};
504
505
enum
DtMunitionUSAntiSubmarineGuided
506
{
507
DtMk48AntiSubmarine
= 2
508
};
509
510
enum
DtMunitionUSAntiPersonnelUnguided
511
{
512
Dt7_62mm
= 2
513
};
514
515
enum
DtMunitionUSBattlefieldSupportUnguided
516
{
517
DtBattlefield20mm
= 1,
518
DtBattlefield30mm
= 3,
519
DtBattlefield105mm
= 10,
520
DtBattlefield120mm
= 11
521
};
522
523
enum
DtMunitionUSBattlefieldSupportGuided
524
{
525
DtBGM109Tomahawk
= 6
526
};
527
528
529
533
534
enum
DtMunitionUSSRAntiAirGuided
535
{
536
DtAA3Anan
= 3,
537
DtAA9Amos
= 9,
538
DtSA2Guideline
= 14,
539
DtSA3Goa
= 15,
540
DtSA4Ganef
= 16,
541
DtSA6Gainful
= 18,
542
DtSA7Grail
= 19,
543
DtSA8Gecko
= 20,
544
DtSA9Gaskin
= 21,
545
DtSA10Grumble
= 22
546
};
547
548
enum
DtMunitionUSSRAntiPersonnelUnguided
549
{
550
Dt7_62mmUSSR
= 2
551
};
552
554
enum
DtMunitionUKAntiPersonnelUnguided
555
{
556
Dt7_62mmUK
= 1
557
};
558
559
enum
DtMunitionUKBattlefieldSupportUnguided
560
{
561
DtBattlefield105mmUK
= 3
562
};
563
565
568
enum
DtLifeFormLand
569
{
570
DtLifeformOther
= 0,
571
DtDismountedInfantry
= 1,
572
DtDismountedInfantryNonVisible
= 2,
573
DtCivilianUnarmed
= 3,
574
DtCivilianWithWeapons
= 4,
575
DtLifeFormAnimal
= 5
576
};
577
578
enum
DtNumberOfIndividualLifeForms
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
593
enum
DtEnvironmentalAir
594
{
595
DtEnvironmentalDomainAirOther
= 0,
596
DtSmoke
= 1,
597
DtFog
= 2,
598
DtCloud
= 3,
599
DtCloudWithRainFalling
= 4,
600
DtCloudWithSnowFalling
= 5
601
};
602
604
enum
DtCulturalFeatureLand
605
{
606
DtBridgeConcreteTwoLane
= 1,
607
DtBuildingOneStory
= 7,
608
DtBuildingTwoStory
= 8,
609
DtBuildingThreeStory
= 9,
610
DtBuildingFourStory
= 10,
611
DtDragonsTeeth
= 20
612
};
613
616
enum
DtLandCulturalFeature
617
{
618
DtLandCulturalFeatureOther
= 0,
619
DtLandCulturalFeatureBridge
= 1,
620
DtLandCulturalFeatureBuilding
= 2,
621
DtLandCulturalFeatureTracks
= 3,
622
DtLandCulturalFeatureCrater
= 4,
623
DtLandCulturalFeatureObstacle
= 5,
624
DtLandCulturalFeatureFlagsMarkers
= 6,
625
DtLandCulturalFeaturePreparedPositions
= 7,
626
DtLandCulturalFeatureUndergroundFacility
= 8,
627
DtLandCulturalFeatureSSMSite
= 9,
628
DtLandCulturalFeatureRunway
= 10,
629
DtLandCulturalFeatureSAMSite
= 11,
630
DtLandCulturalFeatureNuclearPowerPlant
= 12,
631
DtLandCulturalFeatureRailyard
= 13,
632
DtLandCulturalFeatureCampLejeuneMOUTCTF
= 14,
633
DtLandCulturalFeaturePOLStorageTank
= 15,
634
DtLandCulturalFeatureCargoContainer
= 16,
635
DtLandCulturalFeatureTower
= 17,
636
DtLandCulturalFeatureAAASite
= 18,
637
DtLandCulturalFeatureBridgeSpan
= 19,
638
DtLandCulturalFeatureRoadElement
= 20
639
};
640
643
enum
DtLandCulturalFeatureBridge
644
{
645
DtLandCulturalFeatureBridgeOther
= 0,
646
DtLandCulturalFeatureBridgeConcreteTwoLane
= 1,
647
DtLandCulturalFeatureBridgeConcreteFourLane
= 2,
648
DtLandCulturalFeatureBridgeTrussTwoLane
= 3,
649
DtLandCulturalFeatureBridgeTrussFourLane
= 4,
650
DtLandCulturalFeatureBridgeSuspensionTwoLane
= 5,
651
DtLandCulturalFeatureBridgeSuspensionFourLane
= 6
652
};
653
656
enum
DtLandCulturalFeatureBuilding
657
{
658
DtLandCulturalFeatureBuildingOther
= 0,
659
DtLandCulturalFeatureBuildingOneStory
= 1,
660
DtLandCulturalFeatureBuildingTwoStory
= 2,
661
DtLandCulturalFeatureBuildingThreeStory
= 3,
662
DtLandCulturalFeatureBuildingFourStory
= 4,
663
DtLandCulturalFeatureBuildingFiveStory
= 5,
664
DtLandCulturalFeatureBuildingSixStory
= 6,
665
DtLandCulturalFeatureBuildingSevenStory
= 7,
666
DtLandCulturalFeatureBuildingEightStory
= 8,
667
DtLandCulturalFeatureBuildingNineStory
= 9,
668
DtLandCulturalFeatureBuildingTenStory
= 10
669
};
672
enum
DtLandCulturalFeatureObstacle
673
{
674
DtLandCulturalFeatureObstacleOther
= 0,
675
DtLandCulturalFeatureObstacleDitch
= 1,
676
DtLandCulturalFeatureObstacleTankDitch100x400M
= 2,
677
DtLandCulturalFeatureObstacleTankDitch200x400M
= 3,
678
DtLandCulturalFeatureObstacleTankDitch300x400M
= 4,
679
DtLandCulturalFeatureObstacleAbatis8Tree
= 5,
680
DtLandCulturalFeatureObstacleConcertinaFence3Roll
= 6,
681
DtLandCulturalFeatureObstacleLogCribRectangular
= 7,
682
DtLandCulturalFeatureObstacleAmmoPrestock
= 8,
683
DtLandCulturalFeatureObstacleFuelPrestock
= 9,
684
DtLandCulturalFeatureObstacleMinefieldHasty0to300M
= 10,
685
DtLandCulturalFeatureObstacleMinefieldPrepared0to500M
= 11,
686
DtLandCulturalFeatureObstacleMinefieldScatterableOval
= 12,
687
DtLandCulturalFeatureObstacleBarbedWire
= 13,
688
DtLandCulturalFeatureObstacleDragonsTeeth
= 14,
689
DtLandCulturalFeatureObstacleJerseyBarrier
= 15,
690
DtLandCulturalFeatureObstacleRoadblockImproved
= 16,
691
DtLandCulturalFeatureObstacleRoadblockMajor
= 17,
692
DtLandCulturalFeatureObstacleRoadblockTires
= 18,
693
DtLandCulturalFeatureObstacleTrashCans
= 19,
694
DtLandCulturalFeatureObstacleRubble
= 20,
695
DtLandCulturalFeatureObstacleCardboardBoxes
= 21,
696
DtLandCulturalFeatureObstacleTrashBags
= 22,
697
DtLandCulturalFeatureObstacleFuelDrum55Gal
= 23,
698
DtLandCulturalFeatureObstacleWeaponsStack20CountAK_RPK_RPG
= 24,
699
DtLandCulturalFeatureObstacleTarget
= 25
700
};
701
703
enum
DtSupplyCategories
704
{
705
DtSupplyOther
= 0,
706
DtSupplyFuels
= 1,
707
DtSupplyOils
= 2,
708
DtSupplyLubricants
= 3,
709
DtSupplyFood
= 4,
710
DtSupplySpareParts
= 5,
711
DtSupplyPersonnel
= 6
712
};
713
715
enum
DtSizeQualifier
716
{
717
DtOther
= 0,
718
DtVerySmall
= 20,
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 Mon Apr 8 04:49:21 EDT 2019 from SVN revision 197403
Copyright © 2005-2016 VT MÄK. All Rights Reserved (
www.mak.com
)