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:
parent
b8b322f4ce
commit
4b3cfc6ab7
4 changed files with 308 additions and 81 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue