Definition: mapitems.h:557
int m_Number
Definition: mapitems.h:561
unsigned char m_Flags
Definition: mapitems.h:560
unsigned char m_Index
Definition: mapitems.h:559
Definition: mapitems.h:539
unsigned char m_Type
Definition: mapitems.h:543
unsigned char m_Force
Definition: mapitems.h:541
unsigned char m_MaxSpeed
Definition: mapitems.h:542
short m_Angle
Definition: mapitems.h:544
Definition: mapitems.h:548
unsigned char m_Type
Definition: mapitems.h:551
unsigned char m_Flags
Definition: mapitems.h:552
unsigned char m_Delay
Definition: mapitems.h:553
unsigned char m_Number
Definition: mapitems.h:550
Definition: mapitems.h:532
unsigned char m_Type
Definition: mapitems.h:535
unsigned char m_Number
Definition: mapitems.h:534
Definition: mapitems.h:236
unsigned char m_Reserved
Definition: mapitems.h:241
unsigned char m_Flags
Definition: mapitems.h:239
unsigned char m_Skip
Definition: mapitems.h:240
unsigned char m_Index
Definition: mapitems.h:238
Definition: mapitems.h:565
unsigned char m_Number
Definition: mapitems.h:567
unsigned char m_Type
Definition: mapitems.h:568
CMapItemEnvelope_v2 CMapItemEnvelope
Definition: mapitems.h:452
@ ENTITY_LASER_O_NORMAL
Definition: mapitems.h:73
@ LAYERTYPE_GAME
Definition: mapitems.h:12
@ LAYERTYPE_TUNE
Definition: mapitems.h:19
@ LAYERTYPE_TELE
Definition: mapitems.h:16
@ LAYERTYPE_FRONT
Definition: mapitems.h:15
@ LAYERTYPE_TILES
Definition: mapitems.h:13
@ TILE_TELE_GRENADE_DISABLE
Definition: mapitems.h:170
@ ENTITY_DOOR
Definition: mapitems.h:97
@ TILE_TIME_CHECKPOINT_FIRST
Definition: mapitems.h:138
@ TILE_WALLJUMP
Definition: mapitems.h:117
@ TILE_CREDITS_7
Definition: mapitems.h:181
@ TILE_EHOOK_ENABLE
Definition: mapitems.h:118
@ MAPITEMTYPE_INFO
Definition: mapitems.h:24
@ LAYERTYPE_INVALID
Definition: mapitems.h:11
@ MAPITEMTYPE_LAYER
Definition: mapitems.h:28
@ TILE_THROUGH
Definition: mapitems.h:108
@ TILE_LUNFREEZE
Definition: mapitems.h:178
@ ENTITY_ARMOR_LASER
Definition: mapitems.h:87
@ ENTITY_POWERUP_NINJA
Definition: mapitems.h:55
@ NUM_CURVETYPES
Definition: mapitems.h:41
@ TILE_CREDITS_6
Definition: mapitems.h:180
@ ENTITY_WEAPON_SHOTGUN
Definition: mapitems.h:53
@ TILESLAYERFLAG_TELE
Definition: mapitems.h:207
@ LAYER_GAME
Definition: mapitems.h:187
@ ENTITY_SPAWN_RED
Definition: mapitems.h:47
@ TILEFLAG_XFLIP
Definition: mapitems.h:195
@ TILE_EHOOK_DISABLE
Definition: mapitems.h:119
@ TILE_ENTITIES_OFF_2
Definition: mapitems.h:184
@ TILE_UNLIMITED_JUMPS_DISABLE
Definition: mapitems.h:157
@ TILE_THROUGH_DIR
Definition: mapitems.h:147
@ TILE_NOHOOK
Definition: mapitems.h:105
@ TILE_NOLASER
Definition: mapitems.h:106
@ TILE_REFILL_JUMPS
Definition: mapitems.h:135
@ ENTITY_LASER_FAST_CW
Definition: mapitems.h:64
@ ENTITY_ARMOR_GRENADE
Definition: mapitems.h:85
@ TILE_FREEZE
Definition: mapitems.h:110
@ CURVETYPE_FAST
Definition: mapitems.h:38
@ CURVETYPE_SLOW
Definition: mapitems.h:37
@ TILE_SOLO_ENABLE
Definition: mapitems.h:122
@ MAPITEMTYPE_ENVELOPE
Definition: mapitems.h:26
@ ENTITY_ARMOR_SHOTGUN
Definition: mapitems.h:84
@ LAYERTYPE_QUADS
Definition: mapitems.h:14
@ ENTITY_ARMOR_1
Definition: mapitems.h:51
@ TILE_STOPA
Definition: mapitems.h:142
@ TILE_TELECHECKIN
Definition: mapitems.h:134
@ LAYER_SWITCH
Definition: mapitems.h:191
@ MAPITEMTYPE_GROUP
Definition: mapitems.h:27
@ TILE_FINISH
Definition: mapitems.h:137
@ TILE_SWITCHTIMEDOPEN
Definition: mapitems.h:125
@ TILE_TELECHECKINEVIL
Definition: mapitems.h:143
@ ENTITY_FLAGSTAND_BLUE
Definition: mapitems.h:50
@ TILESLAYERFLAG_TUNE
Definition: mapitems.h:211
@ TILE_TELEINEVIL
Definition: mapitems.h:111
@ ENTITY_LASER_C_SLOW
Definition: mapitems.h:69
@ TILE_TELE_GUN_DISABLE
Definition: mapitems.h:162
@ TILE_CREDITS_3
Definition: mapitems.h:175
@ TILE_TIME_CHECKPOINT_LAST
Definition: mapitems.h:139
@ TILE_TELE_GRENADE_ENABLE
Definition: mapitems.h:169
@ LAYER_TUNE
Definition: mapitems.h:192
@ TILE_BOOST
Definition: mapitems.h:131
@ TILE_SWITCHOPEN
Definition: mapitems.h:127
@ TILEFLAG_YFLIP
Definition: mapitems.h:196
@ TILE_UNLIMITED_JUMPS_ENABLE
Definition: mapitems.h:166
@ TILE_ADD_TIME
Definition: mapitems.h:155
@ LAYERTYPE_SPEEDUP
Definition: mapitems.h:17
@ ENTITY_CRAZY_SHOTGUN_EX
Definition: mapitems.h:81
@ TILE_STOP
Definition: mapitems.h:140
@ LAYERTYPE_SWITCH
Definition: mapitems.h:18
@ TILEFLAG_OPAQUE
Definition: mapitems.h:197
@ TILE_CREDITS_4
Definition: mapitems.h:176
@ ENTITY_LASER_SHORT
Definition: mapitems.h:66
@ TILE_CREDITS_5
Definition: mapitems.h:179
@ TILE_TELEIN
Definition: mapitems.h:129
@ TILE_UNFREEZE
Definition: mapitems.h:112
@ ENTITY_PLASMAE
Definition: mapitems.h:76
@ ENTITY_LASER_C_FAST
Definition: mapitems.h:71
@ TILE_JUMP
Definition: mapitems.h:109
@ ENTITY_CRAZY_SHOTGUN
Definition: mapitems.h:82
@ ROTATION_270
Definition: mapitems.h:203
@ ENTITY_DRAGGER_STRONG
Definition: mapitems.h:91
@ TILESLAYERFLAG_GAME
Definition: mapitems.h:206
@ CURVETYPE_BEZIER
Definition: mapitems.h:40
@ CURVETYPE_STEP
Definition: mapitems.h:35
@ LAYERTYPE_SOUNDS
Definition: mapitems.h:21
@ LAYERFLAG_DETAIL
Definition: mapitems.h:205
@ TILE_TELECHECKOUT
Definition: mapitems.h:133
@ TILE_OLDLASER
Definition: mapitems.h:149
@ TILE_DUNFREEZE
Definition: mapitems.h:114
@ TILE_NPC_ENABLE
Definition: mapitems.h:165
@ ENTITY_SPAWN_BLUE
Definition: mapitems.h:48
@ ENTITY_LASER_SLOW_CW
Definition: mapitems.h:62
@ ENTITY_DRAGGER_WEAK_NW
Definition: mapitems.h:93
@ TILE_ALLOW_TELE_GUN
Definition: mapitems.h:163
@ TILE_HIT_ENABLE
Definition: mapitems.h:120
@ TILE_TELEINWEAPON
Definition: mapitems.h:115
@ TILESLAYERFLAG_FRONT
Definition: mapitems.h:209
@ ENTITY_PLASMAU
Definition: mapitems.h:79
@ ROTATION_0
Definition: mapitems.h:200
@ CURVETYPE_LINEAR
Definition: mapitems.h:36
@ NUM_LAYERS
Definition: mapitems.h:193
@ ENTITY_LASER_NORMAL_CCW
Definition: mapitems.h:59
@ ENTITY_OFFSET
Definition: mapitems.h:213
@ TILEFLAG_ROTATE
Definition: mapitems.h:198
@ TILE_TELEOUT
Definition: mapitems.h:130
@ ENTITY_DRAGGER_NORMAL
Definition: mapitems.h:90
@ TILE_ALLOW_BLUE_TELE_GUN
Definition: mapitems.h:164
@ TILE_NPH_DISABLE
Definition: mapitems.h:159
@ ENTITY_LASER_MEDIUM
Definition: mapitems.h:67
@ ENTITY_SPAWN
Definition: mapitems.h:46
@ TILE_ENTITIES_OFF_1
Definition: mapitems.h:183
@ TILE_HIT_DISABLE
Definition: mapitems.h:121
@ TILE_NPC_DISABLE
Definition: mapitems.h:156
@ MAPITEMTYPE_IMAGE
Definition: mapitems.h:25
@ TILE_SWITCHCLOSE
Definition: mapitems.h:128
@ TILE_SUBTRACT_TIME
Definition: mapitems.h:160
@ TILESLAYERFLAG_SWITCH
Definition: mapitems.h:210
@ CURVETYPE_SMOOTH
Definition: mapitems.h:39
@ ENTITY_LASER_STOP
Definition: mapitems.h:61
@ LAYERTYPE_SOUNDS_DEPRECATED
Definition: mapitems.h:20
@ TILE_JETPACK_ENABLE
Definition: mapitems.h:167
@ TILE_TELE_GUN_ENABLE
Definition: mapitems.h:161
@ ENTITY_DRAGGER_WEAK
Definition: mapitems.h:89
@ TILE_SOLID
Definition: mapitems.h:103
@ ENTITY_ARMOR_NINJA
Definition: mapitems.h:86
@ TILE_UNLOCK_TEAM
Definition: mapitems.h:154
@ ENTITY_LASER_FAST_CCW
Definition: mapitems.h:58
@ ENTITY_DRAGGER_NORMAL_NW
Definition: mapitems.h:94
@ TILE_THROUGH_ALL
Definition: mapitems.h:146
@ TILE_THROUGH_CUT
Definition: mapitems.h:107
@ TILE_TELECHECK
Definition: mapitems.h:132
@ TILE_SWITCHTIMEDCLOSE
Definition: mapitems.h:126
@ ENTITY_LASER_O_FAST
Definition: mapitems.h:74
@ TILE_SOLO_DISABLE
Definition: mapitems.h:123
@ TILE_CP
Definition: mapitems.h:144
@ ENTITY_LASER_LONG
Definition: mapitems.h:68
@ ENTITY_PLASMAF
Definition: mapitems.h:77
@ ENTITY_LASER_C_NORMAL
Definition: mapitems.h:70
@ ENTITY_NULL
Definition: mapitems.h:45
@ TILE_DEATH
Definition: mapitems.h:104
@ ENTITY_LASER_O_SLOW
Definition: mapitems.h:72
@ ENTITY_WEAPON_LASER
Definition: mapitems.h:56
@ LAYER_TELE
Definition: mapitems.h:189
@ ENTITY_WEAPON_GRENADE
Definition: mapitems.h:54
@ TILE_TELE_LASER_ENABLE
Definition: mapitems.h:171
@ ENTITY_PLASMA
Definition: mapitems.h:78
@ MAPITEMTYPE_VERSION
Definition: mapitems.h:23
@ TILESLAYERFLAG_SPEEDUP
Definition: mapitems.h:208
@ TILE_TELE_LASER_DISABLE
Definition: mapitems.h:172
@ TILE_CREDITS_2
Definition: mapitems.h:174
@ NUM_ENTITIES
Definition: mapitems.h:99
@ ROTATION_180
Definition: mapitems.h:202
@ ENTITY_LASER_SLOW_CCW
Definition: mapitems.h:60
@ MAPITEMTYPE_ENVPOINTS
Definition: mapitems.h:29
@ LAYER_FRONT
Definition: mapitems.h:188
@ TILE_CREDITS_1
Definition: mapitems.h:173
@ TILE_START
Definition: mapitems.h:136
@ ENTITY_DRAGGER_STRONG_NW
Definition: mapitems.h:95
@ LAYER_SPEEDUP
Definition: mapitems.h:190
@ TILE_NOHIT
Definition: mapitems.h:152
@ TILE_DFREEZE
Definition: mapitems.h:113
@ TILE_STOPS
Definition: mapitems.h:141
@ TILE_JETPACK_DISABLE
Definition: mapitems.h:158
@ TILE_EHOOK
Definition: mapitems.h:151
@ TILE_AIR
Definition: mapitems.h:102
@ ENTITY_FLAGSTAND_RED
Definition: mapitems.h:49
@ ENTITY_LASER_NORMAL_CW
Definition: mapitems.h:63
@ ENTITY_HEALTH_1
Definition: mapitems.h:52
@ MAPITEMTYPE_SOUND
Definition: mapitems.h:30
@ TILE_NPH
Definition: mapitems.h:153
@ TILE_TELEINHOOK
Definition: mapitems.h:116
@ ROTATION_90
Definition: mapitems.h:201
@ TILE_NPH_ENABLE
Definition: mapitems.h:168
@ TILE_CREDITS_8
Definition: mapitems.h:182
@ TILE_TUNE
Definition: mapitems.h:148
@ TILE_CP_F
Definition: mapitems.h:145
@ TILE_NPC
Definition: mapitems.h:150
@ TILE_LFREEZE
Definition: mapitems.h:177
bool IsValidTeleTile(int Index)
Definition: mapitems.cpp:46
bool IsCreditsTile(int TileIndex)
Definition: mapitems.cpp:154
ivec2 CPoint
Definition: mapitems.h:219
ivec4 CColor
Definition: mapitems.h:220
static constexpr size_t MAX_MAPIMAGES
Definition: mapitems.h:216
bool IsSwitchTileFlagsUsed(int Index)
Definition: mapitems.cpp:103
bool IsSwitchTileDelayUsed(int Index)
Definition: mapitems.cpp:119
static constexpr size_t MAX_MAPSOUNDS
Definition: mapitems.h:217
bool IsValidSwitchTile(int Index)
Definition: mapitems.cpp:84
bool IsRotatableTile(int Index)
Definition: mapitems.cpp:140
bool IsTeleTileNumberUsed(int Index, bool Checkpoint)
Definition: mapitems.cpp:65
bool IsTeleTileCheckpoint(int Index)
Definition: mapitems.cpp:60
bool IsValidGameTile(int Index)
Definition: mapitems.cpp:3
bool IsTeleTileNumberUsedAny(int Index)
Definition: mapitems.cpp:73
int PackColor(CColor Color)
Definition: mapitems.cpp:167
bool IsValidTuneTile(int Index)
Definition: mapitems.cpp:125
bool IsValidEntity(int Index)
Definition: mapitems.cpp:130
CMapItemImage_v1 CMapItemImage
Definition: mapitems.h:283
bool IsSwitchTileNumberUsed(int Index)
Definition: mapitems.cpp:110
bool IsValidSpeedupTile(int Index)
Definition: mapitems.cpp:79
bool IsValidFrontTile(int Index)
Definition: mapitems.cpp:24
Definition: mapitems.h:406
CEnvPointBezier m_Bezier
Definition: mapitems.h:407
Definition: mapitems.h:395
int m_aInTangentDeltaX[CEnvPoint::MAX_CHANNELS]
Definition: mapitems.h:397
int m_aOutTangentDeltaY[CEnvPoint::MAX_CHANNELS]
Definition: mapitems.h:400
int m_aOutTangentDeltaX[CEnvPoint::MAX_CHANNELS]
Definition: mapitems.h:399
int m_aInTangentDeltaY[CEnvPoint::MAX_CHANNELS]
Definition: mapitems.h:398
Definition: mapitems.h:413
CEnvPointBezier m_Bezier
Definition: mapitems.h:414
Definition: mapitems.h:378
@ MAX_CHANNELS
Definition: mapitems.h:381
int m_aValues[MAX_CHANNELS]
Definition: mapitems.h:386
bool operator<(const CEnvPoint &Other) const
Definition: mapitems.h:388
int m_Curvetype
Definition: mapitems.h:385
int m_Time
Definition: mapitems.h:384
Definition: mapitems.h:418
@ CURRENT_VERSION
Definition: mapitems.h:421
int m_Channels
Definition: mapitems.h:425
int m_aName[8]
Definition: mapitems.h:428
int m_StartPoint
Definition: mapitems.h:426
int m_Version
Definition: mapitems.h:424
int m_NumPoints
Definition: mapitems.h:427
Definition: mapitems.h:432
@ CURRENT_VERSION
Definition: mapitems.h:435
int m_Synchronized
Definition: mapitems.h:438
Definition: mapitems.h:445
@ CURRENT_VERSION
Definition: mapitems.h:448
Definition: mapitems.h:286
int m_Version
Definition: mapitems.h:287
int m_StartLayer
Definition: mapitems.h:293
int m_OffsetY
Definition: mapitems.h:289
int m_NumLayers
Definition: mapitems.h:294
int m_OffsetX
Definition: mapitems.h:288
int m_ParallaxY
Definition: mapitems.h:291
int m_ParallaxX
Definition: mapitems.h:290
Definition: mapitems.h:298
int m_ClipX
Definition: mapitems.h:305
@ CURRENT_VERSION
Definition: mapitems.h:301
int m_ClipW
Definition: mapitems.h:307
int m_aName[3]
Definition: mapitems.h:310
int m_ClipH
Definition: mapitems.h:308
int m_UseClipping
Definition: mapitems.h:304
int m_ClipY
Definition: mapitems.h:306
Definition: mapitems.h:259
@ CURRENT_VERSION
Definition: mapitems.h:262
int m_ImageName
Definition: mapitems.h:269
int m_ImageData
Definition: mapitems.h:270
int m_Width
Definition: mapitems.h:266
int m_Height
Definition: mapitems.h:267
int m_Version
Definition: mapitems.h:265
int m_External
Definition: mapitems.h:268
Definition: mapitems.h:274
int m_MustBe1
Definition: mapitems.h:280
@ CURRENT_VERSION
Definition: mapitems.h:277
Definition: mapitems.h:254
int m_Settings
Definition: mapitems.h:255
Definition: mapitems.h:245
int m_Version
Definition: mapitems.h:246
int m_MapVersion
Definition: mapitems.h:248
int m_Author
Definition: mapitems.h:247
int m_License
Definition: mapitems.h:250
int m_Credits
Definition: mapitems.h:249
Definition: mapitems.h:354
int m_Version
Definition: mapitems.h:356
int m_NumQuads
Definition: mapitems.h:358
int m_Data
Definition: mapitems.h:359
int m_Image
Definition: mapitems.h:360
CMapItemLayer m_Layer
Definition: mapitems.h:355
int m_aName[3]
Definition: mapitems.h:362
Definition: mapitems.h:499
int m_Version
Definition: mapitems.h:506
@ CURRENT_VERSION
Definition: mapitems.h:502
int m_NumSources
Definition: mapitems.h:508
int m_Data
Definition: mapitems.h:509
int m_aName[3]
Definition: mapitems.h:512
int m_Sound
Definition: mapitems.h:510
CMapItemLayer m_Layer
Definition: mapitems.h:505
Definition: mapitems.h:321
int m_Flags
Definition: mapitems.h:333
int m_Version
Definition: mapitems.h:329
int m_Tele
Definition: mapitems.h:346
int m_Tune
Definition: mapitems.h:350
int m_Data
Definition: mapitems.h:340
int m_Front
Definition: mapitems.h:348
CMapItemLayer m_Layer
Definition: mapitems.h:328
int m_aName[3]
Definition: mapitems.h:342
@ TILE_SKIP_MIN_VERSION
Definition: mapitems.h:325
@ CURRENT_VERSION
Definition: mapitems.h:324
int m_Width
Definition: mapitems.h:331
CColor m_Color
Definition: mapitems.h:335
int m_Image
Definition: mapitems.h:339
int m_Height
Definition: mapitems.h:332
int m_Switch
Definition: mapitems.h:349
int m_ColorEnvOffset
Definition: mapitems.h:337
int m_Speedup
Definition: mapitems.h:347
int m_ColorEnv
Definition: mapitems.h:336
Definition: mapitems.h:314
int m_Type
Definition: mapitems.h:316
int m_Version
Definition: mapitems.h:315
int m_Flags
Definition: mapitems.h:317
Definition: mapitems.h:516
int m_Version
Definition: mapitems.h:517
int m_SoundDataSize
Definition: mapitems.h:526
int m_External
Definition: mapitems.h:519
int m_SoundData
Definition: mapitems.h:522
int m_SoundName
Definition: mapitems.h:521
Definition: mapitems.h:366
int m_Version
Definition: mapitems.h:372
@ CURRENT_VERSION
Definition: mapitems.h:369
Definition: mapitems.h:223
CColor m_aColors[4]
Definition: mapitems.h:225
int m_PosEnvOffset
Definition: mapitems.h:229
CPoint m_aPoints[5]
Definition: mapitems.h:224
int m_ColorEnv
Definition: mapitems.h:231
CPoint m_aTexcoords[4]
Definition: mapitems.h:226
int m_PosEnv
Definition: mapitems.h:228
int m_ColorEnvOffset
Definition: mapitems.h:232
Definition: mapitems.h:469
int m_Radius
Definition: mapitems.h:470
Definition: mapitems.h:464
int m_Width
Definition: mapitems.h:465
int m_Height
Definition: mapitems.h:465
Definition: mapitems.h:455
CRectangle m_Rectangle
Definition: mapitems.h:477
CCircle m_Circle
Definition: mapitems.h:478
@ NUM_SHAPES
Definition: mapitems.h:460
@ SHAPE_CIRCLE
Definition: mapitems.h:459
@ SHAPE_RECTANGLE
Definition: mapitems.h:458
int m_Type
Definition: mapitems.h:473
Definition: mapitems.h:483
int m_PosEnvOffset
Definition: mapitems.h:491
int m_PosEnv
Definition: mapitems.h:490
CPoint m_Position
Definition: mapitems.h:484
int m_TimeDelay
Definition: mapitems.h:487
CSoundShape m_Shape
Definition: mapitems.h:495
int m_SoundEnv
Definition: mapitems.h:492
int m_SoundEnvOffset
Definition: mapitems.h:493
int m_Loop
Definition: mapitems.h:485
int m_Falloff
Definition: mapitems.h:488
int m_Pan
Definition: mapitems.h:486