Serious-Engine/Sources/EntitiesMP/Bullet.h

60 lines
1.7 KiB
C
Raw Normal View History

2016-03-11 14:57:17 +01:00
/*
* This file is generated by Entity Class Compiler, (c) CroTeam 1997-98
*/
#ifndef _EntitiesMP_Bullet_INCLUDED
#define _EntitiesMP_Bullet_INCLUDED 1
#include <EntitiesMP/BasicEffects.h>
#include <Engine/Classes/MovableEntity.h>
#define EVENTCODE_EBulletInit 0x01f60000
class DECL_DLL EBulletInit : public CEntityEvent {
public:
EBulletInit();
CEntityEvent *MakeCopy(void);
CEntityPointer penOwner;
FLOAT fDamage;
};
DECL_DLL inline void ClearToDefault(EBulletInit &e) { e = EBulletInit(); } ;
extern "C" DECL_DLL CDLLEntityClass CBullet_DLLClass;
class DECL_DLL CBullet : public CEntity {
public:
virtual void SetDefaultProperties(void);
CEntityPointer m_penOwner;
FLOAT m_fDamage;
FLOAT3D m_vTarget;
FLOAT3D m_vTargetCopy;
FLOAT3D m_vHitPoint;
INDEX m_iBullet;
enum DamageType m_EdtDamage;
FLOAT m_fBulletSize;
#line 58 "D:/SE1_GPL/Sources/EntitiesMP/Bullet.es"
void SetDamage(FLOAT fDamage);
#line 63 "D:/SE1_GPL/Sources/EntitiesMP/Bullet.es"
void CalcTarget(FLOAT fRange);
#line 71 "D:/SE1_GPL/Sources/EntitiesMP/Bullet.es"
void CalcTarget(CEntity * pen,FLOAT fRange);
#line 86 "D:/SE1_GPL/Sources/EntitiesMP/Bullet.es"
void CalcJitterTarget(FLOAT fR);
#line 111 "D:/SE1_GPL/Sources/EntitiesMP/Bullet.es"
void CalcJitterTargetFixed(FLOAT fX,FLOAT fY,FLOAT fJitter);
#line 123 "D:/SE1_GPL/Sources/EntitiesMP/Bullet.es"
void LaunchBullet(BOOL bSound,BOOL bTrail,BOOL bHitFX);
#line 252 "D:/SE1_GPL/Sources/EntitiesMP/Bullet.es"
void DestroyBullet(void);
#line 262 "D:/SE1_GPL/Sources/EntitiesMP/Bullet.es"
void SpawnTrail(void);
#define STATE_CBullet_Main 1
BOOL
#line 306 "D:/SE1_GPL/Sources/EntitiesMP/Bullet.es"
Main(const CEntityEvent &__eeInput);
};
#endif // _EntitiesMP_Bullet_INCLUDED