This commit is contained in:
parent
ab7f46a43a
commit
ee7900960a
6 changed files with 33 additions and 1 deletions
|
@ -138,7 +138,8 @@ hazard_src := hazard \
|
|||
hbwheel \
|
||||
hdbarrel \
|
||||
hbbarrel \
|
||||
hrrock
|
||||
hrrock \
|
||||
hflytrap
|
||||
|
||||
fx_src := fx \
|
||||
fxtrail \
|
||||
|
|
|
@ -91,6 +91,10 @@
|
|||
#include "hazard\hrrock.h"
|
||||
#endif
|
||||
|
||||
#ifndef __HAZARD_HFLYTRAP_H__
|
||||
#include "hazard\hflytrap.h"
|
||||
#endif
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
@ -111,6 +115,7 @@ CNpcHazard::NPC_HAZARD_UNIT_TYPE CNpcHazard::mapEditConvertTable[NPC_HAZARD_TYPE
|
|||
NPC_BOUNCING_BARREL_HAZARD,
|
||||
NPC_FIREBALL_HAZARD,
|
||||
NPC_ROLLING_ROCK_HAZARD,
|
||||
NPC_FLY_TRAP_HAZARD,
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -213,6 +218,12 @@ CNpcHazard *CNpcHazard::Create(sThingHazard *ThisHazard)
|
|||
break;
|
||||
}
|
||||
|
||||
case NPC_FLY_TRAP_HAZARD:
|
||||
{
|
||||
hazard = new ("fly trap hazard") CNpcFlyTrapHazard;
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
{
|
||||
hazard = NULL;
|
||||
|
|
|
@ -51,6 +51,7 @@ public:
|
|||
NPC_BOUNCING_BARREL_HAZARD,
|
||||
NPC_FIREBALL_HAZARD,
|
||||
NPC_ROLLING_ROCK_HAZARD,
|
||||
NPC_FLY_TRAP_HAZARD,
|
||||
|
||||
NPC_HAZARD_TYPE_MAX,
|
||||
};
|
||||
|
|
|
@ -147,5 +147,6 @@ DualPlatformBarrelHazard=11
|
|||
BouncingBarrel=12
|
||||
Fireball=13
|
||||
BouncingRock=12
|
||||
FlyTrap=15
|
||||
|
||||
|
||||
|
|
|
@ -189,3 +189,13 @@ Collision=0
|
|||
Health=0
|
||||
AttackStrength=0
|
||||
Respawn=2
|
||||
|
||||
[FlyTrap]
|
||||
Gfx=..\..\graphics\hazards\FlyTrap\FlyTrap.gin
|
||||
WayPoints=0
|
||||
Speed=0
|
||||
TurnRate=0
|
||||
Collision=0
|
||||
Health=0
|
||||
AttackStrength=0
|
||||
Respawn=2
|
||||
|
|
|
@ -885,6 +885,14 @@ SOURCE=..\..\..\source\hazard\hfirebal.h
|
|||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\source\hazard\hflytrap.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\source\hazard\hflytrap.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\source\hazard\hmasher.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
|
Loading…
Add table
Reference in a new issue