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