Converted NetworkBuffer to Object

Fixed a memory leak with _buffer in DNetworkBuffer. Added more wrapper functions to ZScript for basic scenarios.
This commit is contained in:
Boondorl 2024-01-05 01:10:56 -05:00 committed by Christoph Oelckers
commit 4b3cfc6ab7
4 changed files with 308 additions and 81 deletions

View file

@ -812,10 +812,6 @@ void InitThingdef()
netcmdstruct->Size = sizeof(FNetworkCommand);
netcmdstruct->Align = alignof(FNetworkCommand);
auto netbuffstruct = NewStruct("NetworkBuffer", nullptr);
netbuffstruct->Size = sizeof(FNetworkBuffer);
netbuffstruct->Align = alignof(FNetworkBuffer);
auto fltd = NewStruct("FLineTraceData", nullptr);
fltd->Size = sizeof(FLineTraceData);
fltd->Align = alignof(FLineTraceData);