mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-14 03:58:18 +00:00
3be8a592e5
Purely automatic change. In case of conflict with this change, apply the other change and rerun the formatting to restore it: $ python scripts/fix_style.py
48 lines
690 B
C
48 lines
690 B
C
#ifndef GAME_MAPITEMS_EX_H
|
|
#define GAME_MAPITEMS_EX_H
|
|
#include <game/generated/protocol.h>
|
|
|
|
enum
|
|
{
|
|
__MAPITEMTYPE_UUID_HELPER = OFFSET_MAPITEMTYPE_UUID - 1,
|
|
#define UUID(id, name) id,
|
|
#include "mapitems_ex_types.h"
|
|
#undef UUID
|
|
END_MAPITEMTYPES_UUID,
|
|
};
|
|
|
|
struct CMapItemTest
|
|
{
|
|
enum
|
|
{
|
|
CURRENT_VERSION = 1
|
|
};
|
|
|
|
int m_Version;
|
|
int m_aFields[2];
|
|
int m_Field3;
|
|
int m_Field4;
|
|
};
|
|
|
|
struct CMapItemAutoMapperConfig
|
|
{
|
|
enum
|
|
{
|
|
CURRENT_VERSION = 1
|
|
};
|
|
enum
|
|
{
|
|
FLAG_AUTOMATIC = 1
|
|
};
|
|
|
|
int m_Version;
|
|
int m_GroupId;
|
|
int m_LayerId;
|
|
int m_AutomapperConfig;
|
|
int m_AutomapperSeed;
|
|
int m_Flags;
|
|
};
|
|
|
|
void RegisterMapItemTypeUuids(class CUuidManager *pManager);
|
|
#endif // GAME_MAPITEMS_EX_H
|