Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- unit UGameDescription;
- <...>
- type
- PAttackClass = ^TAttackClass;
- PAttack = ^TAttack;
- <...>
- TAttackClass = record // typedef struct {
- Create: procedure (Attack: PAttack; Dict: PDict); stdcall; // void __stdcall (PAttack Attack; PDict Dict) *Create;
- Destroy: procedure (Attack: PAttack); stdcall; // void __stdcall (PAttack Attack) *Destroy;
- Update: procedure (Attack: PAttack; DeltaTime: Float); stdcall; // void __stdcall (PAttack Attack; Float DeltaTime) *Update;
- TryFinalize: procedure (Attack: PAttack; Reason: Integer; var ShouldRemove: Boolean); stdcall; // void __stdcall (PAttack Attack; int Reason; int *ShouldRemove) *TryFinalize;
- end; // } TAttackClass *PAttackClass;
- TAttack = record // typedef struct {
- Data: Pointer; // void *Data;
- GameDescription: PGameDescription; // PGameDescription GameDescription;
- AttackClass: PAttackClass; // PAttackClass AttackClass;
- DefaultBulletCount: Integer; // int DefaultBulletCount;
- BulletCountIncrease: Integer; // int BulletCountIncrease;
- MaxLifetime: Float; // Float MaxLifetime;
- Bullets: array of PBullet; // PBullet *Bullets;
- BulletCount: Integer; // int BulletCount;
- Lifetime: Float; // Float Lifetime;
- Source: PEnemy; // PEnemy Source;
- Target: TFloatPoint; // TFloatPoint Target;
- end; // } TAttack *PAttack;
Advertisement
Add Comment
Please, Sign In to add comment