- script export of player_t.

- replaced __alignof with the standard alignof equivalent.
This commit is contained in:
Christoph Oelckers 2016-11-18 00:42:04 +01:00
commit 8650d6806e
4 changed files with 128 additions and 14 deletions

View file

@ -641,6 +641,7 @@ static int funccmp(const void * a, const void * b)
//
//==========================================================================
void G_InitLevelLocalsForScript();
void P_InitPlayerForScript();
void InitThingdef()
{
@ -687,6 +688,7 @@ void InitThingdef()
sstruct->AddNativeField("soundtarget", TypeActor, myoffsetof(sector_t, SoundTarget));
G_InitLevelLocalsForScript();
P_InitPlayerForScript();
FAutoSegIterator probe(CRegHead, CRegTail);