- scriptified the moving camera.

This commit is contained in:
Christoph Oelckers 2017-01-13 22:13:03 +01:00
commit 4be0767d7b
6 changed files with 561 additions and 661 deletions

View file

@ -396,7 +396,8 @@ bool AActor::FixMapthingPos()
DEFINE_ACTION_FUNCTION(AActor, UnlinkFromWorld)
{
PARAM_SELF_PROLOGUE(AActor);
self->UnlinkFromWorld(nullptr); // fixme
PARAM_POINTER_DEF(ctx, FLinkContext);
self->UnlinkFromWorld(ctx); // fixme
return 0;
}
@ -530,7 +531,8 @@ void AActor::LinkToWorld(FLinkContext *ctx, bool spawningmapthing, sector_t *sec
DEFINE_ACTION_FUNCTION(AActor, LinkToWorld)
{
PARAM_SELF_PROLOGUE(AActor);
self->LinkToWorld(nullptr); // fixme
PARAM_POINTER_DEF(ctx, FLinkContext);
self->LinkToWorld(ctx);
return 0;
}