Fixes to world scale up over network
This commit is contained in:
parent
015e9bc5df
commit
48823ebad6
4 changed files with 32 additions and 16 deletions
|
|
@ -93,13 +93,14 @@ class World {
|
|||
std::filesystem::path filePath;
|
||||
std::string name;
|
||||
|
||||
NetworkingObjects::NetObjTemporaryPtr<ClientData> serverClientData; // For server, this is equal to ownClientData
|
||||
NetworkingObjects::NetObjTemporaryPtr<ClientData> ownClientData;
|
||||
NetworkingObjects::NetObjOwnerPtr<NetworkingObjects::NetObjUnorderedSet<ClientData>> clients;
|
||||
|
||||
CanvasTheme canvasTheme;
|
||||
|
||||
void scale_up(const WorldScalar& scaleUpAmount);
|
||||
void scale_up_step();
|
||||
void scale_up(const WorldScalar& scaleUpAmount); // Should only be called from ClientData
|
||||
void scale_up_step(); // Call when scale up step happens
|
||||
|
||||
bool should_ask_before_closing();
|
||||
void set_has_unsaved_local_changes(bool newHasUnsavedLocalChangesVal);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue