mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-16 01:21:17 +00:00
- removed unused code from serializer
This commit is contained in:
parent
a92f71917a
commit
e5bb66eb4f
1 changed files with 0 additions and 4 deletions
|
@ -68,7 +68,6 @@
|
|||
#include "g_levellocals.h"
|
||||
#include "utf8.h"
|
||||
|
||||
char nulspace[1024 * 1024 * 4];
|
||||
bool save_full = false; // for testing. Should be removed afterward.
|
||||
|
||||
//==========================================================================
|
||||
|
@ -305,15 +304,12 @@ struct FReader
|
|||
rapidjson::Document mDoc;
|
||||
TArray<DObject *> mDObjects;
|
||||
rapidjson::Value *mKeyValue = nullptr;
|
||||
int mPlayers[MAXPLAYERS];
|
||||
bool mObjectsRead = false;
|
||||
|
||||
FReader(const char *buffer, size_t length)
|
||||
{
|
||||
rapidjson::Document doc;
|
||||
mDoc.Parse(buffer, length);
|
||||
mObjects.Push(FJSONObject(&mDoc));
|
||||
memset(mPlayers, -1, sizeof(mPlayers));
|
||||
}
|
||||
|
||||
rapidjson::Value *FindKey(const char *key)
|
||||
|
|
Loading…
Reference in a new issue