graph: save narrow places to file, so, bump graph version.
graph: allow saving / loading graph manually on dedicated server. config: fix parsing for difficulty.cfg fixes #142 fix: restore fakeclient bit on entity flags every frame.
This commit is contained in:
parent
f51d3bf13b
commit
2d3078f851
8 changed files with 65 additions and 20 deletions
|
|
@ -83,7 +83,7 @@ CR_DECLARE_SCOPED_ENUM (StorageOption,
|
|||
|
||||
// storage header versions
|
||||
CR_DECLARE_SCOPED_ENUM (StorageVersion,
|
||||
Graph = 1,
|
||||
Graph = 2,
|
||||
Practice = 1,
|
||||
Vistable = 1,
|
||||
Matrix = 1,
|
||||
|
|
@ -251,6 +251,7 @@ private:
|
|||
int x, y, z;
|
||||
};
|
||||
|
||||
int m_version;
|
||||
int m_editFlags;
|
||||
int m_loadAttempts;
|
||||
int m_cacheNodeIndex;
|
||||
|
|
@ -325,6 +326,7 @@ public:
|
|||
|
||||
bool saveGraphData ();
|
||||
bool loadGraphData ();
|
||||
bool canDownload ();
|
||||
|
||||
template <typename U> bool saveStorage (StringRef ext, StringRef name, StorageOption options, StorageVersion version, const SmallArray <U> &data, ExtenHeader *exten);
|
||||
template <typename U> bool loadStorage (StringRef ext, StringRef name, StorageOption options, StorageVersion version, SmallArray <U> &data, ExtenHeader *exten, int32 *outOptions);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue