mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-26 04:05:53 +01:00
65 lines
3.7 KiB
C
65 lines
3.7 KiB
C
/*
|
|
* This file is generated by Entity Class Compiler, (c) CroTeam 1997-98
|
|
*/
|
|
|
|
EP_ENUMBEG(AmmoPackType)
|
|
EP_ENUMVALUE(APT_CUSTOM, "Custom pack"),
|
|
EP_ENUMVALUE(APT_SERIOUS, "Serious pack"),
|
|
EP_ENUMEND(AmmoPackType);
|
|
|
|
#define ENTITYCLASS CAmmoPack
|
|
|
|
CEntityProperty CAmmoPack_properties[] = {
|
|
CEntityProperty(CEntityProperty::EPT_ENUM, &AmmoPackType_enum, (0x00000326<<8)+1, offsetof(CAmmoPack, m_aptPackType), "Type", 'Y', 0x7F0000FFUL, 0),
|
|
CEntityProperty(CEntityProperty::EPT_INDEX, NULL, (0x00000326<<8)+10, offsetof(CAmmoPack, m_iShells), "Shells", 'S', 0x7F0000FFUL, 0),
|
|
CEntityProperty(CEntityProperty::EPT_INDEX, NULL, (0x00000326<<8)+11, offsetof(CAmmoPack, m_iBullets), "Bullets", 'B', 0x7F0000FFUL, 0),
|
|
CEntityProperty(CEntityProperty::EPT_INDEX, NULL, (0x00000326<<8)+12, offsetof(CAmmoPack, m_iRockets), "Rockets", 'C', 0x7F0000FFUL, 0),
|
|
CEntityProperty(CEntityProperty::EPT_INDEX, NULL, (0x00000326<<8)+13, offsetof(CAmmoPack, m_iGrenades), "Grenades", 'G', 0x7F0000FFUL, 0),
|
|
CEntityProperty(CEntityProperty::EPT_INDEX, NULL, (0x00000326<<8)+14, offsetof(CAmmoPack, m_iNapalm), "Napalm", 'P', 0x7F0000FFUL, 0),
|
|
CEntityProperty(CEntityProperty::EPT_INDEX, NULL, (0x00000326<<8)+15, offsetof(CAmmoPack, m_iElectricity), "Electricity", 'E', 0x7F0000FFUL, 0),
|
|
CEntityProperty(CEntityProperty::EPT_INDEX, NULL, (0x00000326<<8)+16, offsetof(CAmmoPack, m_iIronBalls), "Iron balls", 'I', 0x7F0000FFUL, 0),
|
|
CEntityProperty(CEntityProperty::EPT_INDEX, NULL, (0x00000326<<8)+17, offsetof(CAmmoPack, m_iSniperBullets), "Sniper bullets", 'N', 0x7F0000FFUL, 0),
|
|
};
|
|
#define CAmmoPack_propertiesct ARRAYCOUNT(CAmmoPack_properties)
|
|
|
|
CEntityComponent CAmmoPack_components[] = {
|
|
#define CLASS_BASE ((0x00000326<<8)+0)
|
|
CEntityComponent(ECT_CLASS, CLASS_BASE, "EFNM" "Classes\\Item.ecl"),
|
|
#define MODEL_BACKPACK ((0x00000326<<8)+60)
|
|
CEntityComponent(ECT_MODEL, MODEL_BACKPACK, "EFNM" "Models\\Items\\PowerUps\\BackPack\\BackPack.mdl"),
|
|
#define TEXTURE_BACKPACK ((0x00000326<<8)+61)
|
|
CEntityComponent(ECT_TEXTURE, TEXTURE_BACKPACK, "EFNM" "Models\\Items\\PowerUps\\BackPack\\BackPack.tex"),
|
|
#define MODEL_SERIOUSPACK ((0x00000326<<8)+70)
|
|
CEntityComponent(ECT_MODEL, MODEL_SERIOUSPACK, "EFNM" "Models\\Items\\PowerUps\\SeriousPack\\SeriousPack.mdl"),
|
|
#define TEXTURE_SERIOUSPACK ((0x00000326<<8)+71)
|
|
CEntityComponent(ECT_TEXTURE, TEXTURE_SERIOUSPACK, "EFNM" "Models\\Items\\PowerUps\\SeriousPack\\SeriousPack.tex"),
|
|
#define TEXTURE_FLARE ((0x00000326<<8)+100)
|
|
CEntityComponent(ECT_TEXTURE, TEXTURE_FLARE, "EFNM" "Models\\Items\\Flares\\Flare.tex"),
|
|
#define MODEL_FLARE ((0x00000326<<8)+101)
|
|
CEntityComponent(ECT_MODEL, MODEL_FLARE, "EFNM" "Models\\Items\\Flares\\Flare.mdl"),
|
|
#define SOUND_PICK ((0x00000326<<8)+213)
|
|
CEntityComponent(ECT_SOUND, SOUND_PICK, "EFNM" "Sounds\\Items\\Ammo.wav"),
|
|
};
|
|
#define CAmmoPack_componentsct ARRAYCOUNT(CAmmoPack_components)
|
|
|
|
CEventHandlerEntry CAmmoPack_handlers[] = {
|
|
{0x03260001, STATE_CItem_ItemCollected, CEntity::pEventHandler(&CAmmoPack::
|
|
#line 157 "D:/SE1_GPL/Sources/EntitiesMP/AmmoPack.es"
|
|
ItemCollected),DEBUGSTRING("CAmmoPack::ItemCollected")},
|
|
{1, -1, CEntity::pEventHandler(&CAmmoPack::
|
|
#line 195 "D:/SE1_GPL/Sources/EntitiesMP/AmmoPack.es"
|
|
Main),DEBUGSTRING("CAmmoPack::Main")},
|
|
};
|
|
#define CAmmoPack_handlersct ARRAYCOUNT(CAmmoPack_handlers)
|
|
|
|
CEntity *CAmmoPack_New(void) { return new CAmmoPack; };
|
|
void CAmmoPack_OnInitClass(void) {};
|
|
void CAmmoPack_OnEndClass(void) {};
|
|
void CAmmoPack_OnPrecache(CDLLEntityClass *pdec, INDEX iUser) {};
|
|
void CAmmoPack_OnWorldEnd(CWorld *pwo) {};
|
|
void CAmmoPack_OnWorldInit(CWorld *pwo) {};
|
|
void CAmmoPack_OnWorldTick(CWorld *pwo) {};
|
|
void CAmmoPack_OnWorldRender(CWorld *pwo) {};
|
|
ENTITY_CLASSDEFINITION(CAmmoPack, CItem, "Ammo Pack", "Thumbnails\\AmmoPack.tbn", 0x00000326);
|
|
DECLARE_CTFILENAME(_fnmCAmmoPack_tbn, "Thumbnails\\AmmoPack.tbn");
|