- Changed action function definition so that they have to be defined with a
DEFINE_ACTION_FUNCTION macro. This should make it easier to improve the whole system. SVN r1148 (trunk)
This commit is contained in:
parent
3dbebcb794
commit
1983b5c586
93 changed files with 2378 additions and 2350 deletions
|
|
@ -70,7 +70,7 @@ void ACustomBridge::BeginPlay ()
|
|||
// target pointer to center mobj
|
||||
// angle angle of ball
|
||||
|
||||
void A_BridgeOrbit (AActor *self)
|
||||
DEFINE_ACTION_FUNCTION(AActor, A_BridgeOrbit)
|
||||
{
|
||||
if (self->target == NULL)
|
||||
{ // Don't crash if somebody spawned this into the world
|
||||
|
|
@ -114,7 +114,7 @@ static const PClass *GetBallType()
|
|||
|
||||
|
||||
|
||||
void A_BridgeInit (AActor *self)
|
||||
DEFINE_ACTION_FUNCTION(AActor, A_BridgeInit)
|
||||
{
|
||||
angle_t startangle;
|
||||
AActor *ball;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue