DDraceNetwork Docs
mapitems.h
Go to the documentation of this file.
1/* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */
2/* If you are missing that file, acquire a complete release at teeworlds.com. */
3#ifndef GAME_MAPITEMS_H
4#define GAME_MAPITEMS_H
5
6#include <base/vmath.h>
7
8// layer types
9enum
10{
12 LAYERTYPE_GAME, // unused
20 LAYERTYPE_SOUNDS_DEPRECATED, // deprecated! do not use this, this is just for compatibility reasons
22
31 // High map item type numbers suggest that they use the alternate
32 // format with UUIDs. See src/engine/shared/datafile.cpp for some of
33 // the implementation.
34
42
43 // game layer tiles
44 // TODO define which Layer uses which tiles (needed for mapeditor)
57 //DDRace - Main Lasers
65 //DDRace - Laser Modifiers
75 //DDRace - Plasma
80 //DDRace - Shotgun
83 //DDNet - Removing specific weapon
88 //DDRace - Draggers
92 //Draggers Behind Walls
96 //Doors
98 //End Of Lower Tiles
100 //Start From Top Left
101 //Tile Controllers
124 //Switches
185 //End of higher tiles
186 //Layers
194 //Flags
199 //Rotation
204
212
213 ENTITY_OFFSET = 255 - 16 * 4,
214};
215
216static constexpr size_t MAX_MAPIMAGES = 64;
217static constexpr size_t MAX_MAPSOUNDS = 64;
218
219typedef ivec2 CPoint; // 22.10 fixed point
220typedef ivec4 CColor;
221
222struct CQuad
223{
227
230
233};
234
235class CTile
236{
237public:
238 unsigned char m_Index;
239 unsigned char m_Flags;
240 unsigned char m_Skip;
241 unsigned char m_Reserved;
242};
243
245{
251};
252
254{
256};
257
259{
260 enum
261 {
263 };
264
271};
272
274{
275 enum
276 {
278 };
279
281};
282
284
286{
292
295};
296
298{
299 enum
300 {
302 };
303
309
310 int m_aName[3];
311};
312
314{
318};
319
321{
322 enum
323 {
325 TILE_SKIP_MIN_VERSION = 4, // supported for loading but not saving
326 };
327
330
334
338
341
342 int m_aName[3];
343
344 // DDRace
345
351};
352
354{
357
361
362 int m_aName[3];
363};
364
366{
367 enum
368 {
370 };
371
373};
374
375// Represents basic information about envelope points.
376// In upstream Teeworlds, this is only used if all CMapItemEnvelope are version 1 or 2.
378{
379 enum
380 {
382 };
383
384 int m_Time; // in ms
385 int m_Curvetype; // CURVETYPE_* constants, any unknown value behaves like CURVETYPE_LINEAR
386 int m_aValues[MAX_CHANNELS]; // 1-4 depending on envelope (22.10 fixed point)
387
388 bool operator<(const CEnvPoint &Other) const { return m_Time < Other.m_Time; }
389};
390
391// Represents additional envelope point information for CURVETYPE_BEZIER.
392// In DDNet, these are stored separately in an UUID-based map item.
393// In upstream Teeworlds, CEnvPointBezier_upstream is used instead.
395{
396 // DeltaX in ms and DeltaY as 22.10 fxp
401};
402
403// Written to maps on upstream Teeworlds for envelope points including bezier information instead of the basic
404// CEnvPoint items, if at least one CMapItemEnvelope with version 3 or higher exists in the map.
406{
408};
409
410// Used to represent all envelope point information at runtime in editor.
411// (Can eventually be different than CEnvPointBezier_upstream)
413{
415};
416
418{
419 enum
420 {
422 };
423
428 int m_aName[8];
429};
430
432{
433 enum
434 {
436 };
437
439};
440
441// Only written to maps in upstream Teeworlds.
442// If at least one of these exists in a map, the envelope points
443// are represented by CEnvPointBezier_upstream instead of CEnvPoint.
445{
446 enum
447 {
449 };
450};
451
453
455{
456 enum
457 {
461 };
462
464 {
465 int m_Width, m_Height; // fxp 22.10
466 };
467
468 struct CCircle
469 {
471 };
472
474
475 union
476 {
479 };
480};
481
483{
486 int m_Pan; // 0 - no panning, 1 - panning
487 int m_TimeDelay; // in s
488 int m_Falloff; // [0,255] // 0 - No falloff, 255 - full
489
494
496};
497
499{
500 enum
501 {
503 };
504
507
511
512 int m_aName[3];
513};
514
516{
518
520
523 // Deprecated. Do not read this value, it could be wrong.
524 // Use GetDataSize instead, which returns the de facto size.
525 // Value must still be written for compatibility.
527};
528
529// DDRace
530
532{
533public:
534 unsigned char m_Number;
535 unsigned char m_Type;
536};
537
539{
540public:
541 unsigned char m_Force;
542 unsigned char m_MaxSpeed;
543 unsigned char m_Type;
544 short m_Angle;
545};
546
548{
549public:
550 unsigned char m_Number;
551 unsigned char m_Type;
552 unsigned char m_Flags;
553 unsigned char m_Delay;
554};
555
557{
558public:
559 unsigned char m_Index;
560 unsigned char m_Flags;
562};
563
565{
566public:
567 unsigned char m_Number;
568 unsigned char m_Type;
569};
570
571bool IsValidGameTile(int Index);
572bool IsValidFrontTile(int Index);
573bool IsValidTeleTile(int Index);
574bool IsTeleTileCheckpoint(int Index); // Assumes that Index is a valid tele tile index
575bool IsTeleTileNumberUsed(int Index, bool Checkpoint); // Assumes that Index is a valid tele tile index
576bool IsTeleTileNumberUsedAny(int Index); // Does not check for checkpoint only
577bool IsValidSpeedupTile(int Index);
578bool IsValidSwitchTile(int Index);
579bool IsSwitchTileFlagsUsed(int Index); // Assumes that Index is a valid switch tile index
580bool IsSwitchTileNumberUsed(int Index); // Assumes that Index is a valid switch tile index
581bool IsSwitchTileDelayUsed(int Index); // Assumes that Index is a valid switch tile index
582bool IsValidTuneTile(int Index);
583bool IsValidEntity(int Index);
584bool IsRotatableTile(int Index);
585bool IsCreditsTile(int TileIndex);
586int PackColor(CColor Color);
587
588#endif
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
Definition: vmath.h:302
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
int m_Channels
Definition: mapitems.h:425
int m_aName[8]
Definition: mapitems.h:428
int m_StartPoint
Definition: mapitems.h:426
@ CURRENT_VERSION
Definition: mapitems.h:421
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
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
@ CURRENT_VERSION
Definition: mapitems.h:301
Definition: mapitems.h:259
int m_ImageName
Definition: mapitems.h:269
int m_ImageData
Definition: mapitems.h:270
@ CURRENT_VERSION
Definition: mapitems.h:262
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
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
@ TILE_SKIP_MIN_VERSION
Definition: mapitems.h:325
@ CURRENT_VERSION
Definition: mapitems.h:324
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
int m_Type
Definition: mapitems.h:473
@ NUM_SHAPES
Definition: mapitems.h:460
@ SHAPE_CIRCLE
Definition: mapitems.h:459
@ SHAPE_RECTANGLE
Definition: mapitems.h:458
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