mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-17 09:51:39 +00:00
69 lines
1.6 KiB
C
69 lines
1.6 KiB
C
|
|
#ifndef __object_h__
|
|
#define __object_h__
|
|
|
|
#define kMaxPoints 1024
|
|
#define kMaxSlides 128
|
|
#define kMaxElevs 1024
|
|
|
|
enum kStatus
|
|
{
|
|
kStatDestructibleSprite = 97,
|
|
kStat98,
|
|
kStatExplodeTrigger = 141,
|
|
kStatExplodeTarget = 152
|
|
};
|
|
|
|
extern short nSmokeSparks;
|
|
extern short nDronePitch;
|
|
extern int lFinaleStart;
|
|
extern short nFinaleSpr;
|
|
|
|
void InitObjects();
|
|
void InitElev();
|
|
void InitPoint();
|
|
void InitSlide();
|
|
void InitWallFace();
|
|
void DoDrips();
|
|
void DoMovingSects();
|
|
void DoFinale();
|
|
void PostProcess();
|
|
|
|
void FuncElev(int, int, int);
|
|
void FuncWallFace(int, int, int);
|
|
void FuncSlide(int, int, int);
|
|
void FuncObject(int, int, int);
|
|
void FuncTrap(int, int, int);
|
|
void FuncEnergyBlock(int, int, int);
|
|
void FuncSpark(int, int, int);
|
|
|
|
void SnapBobs(short nSectorA, short nSectorB);
|
|
|
|
short FindWallSprites(short nSector);
|
|
|
|
void AddMovingSector(int nSector, int edx, int ebx, int ecx);
|
|
|
|
int BuildWallSprite(int nSector);
|
|
|
|
void ProcessTrailSprite(int nSprite, int nLotag, int nHitag);
|
|
|
|
void AddSectorBob(int nSector, int nHitag, int bx);
|
|
|
|
int BuildObject(short nSprite, int nOjectType, int nHitag);
|
|
|
|
int BuildArrow(int nSprite, int nVal);
|
|
|
|
int BuildFireBall(int nSprite, int a, int b);
|
|
|
|
void BuildDrip(int nSprite);
|
|
|
|
int BuildEnergyBlock(short nSector);
|
|
|
|
int BuildElevC(int arg1, int nChannel, int nSector, int nWallSprite, int arg5, int arg6, int nCount, ...);
|
|
int BuildElevF(int nChannel, int nSector, int nWallSprite, int arg_4, int arg_5, int nCount, ...);
|
|
|
|
int BuildWallFace(short nChannel, short nWall, short nCount, ...);
|
|
|
|
int BuildSlide(int nChannel, int edx, int ebx, int ecx, int arg1, int arg2, int arg3);
|
|
|
|
#endif
|