Instance: make "partition" a std::list
With this commit, multi-player support becomes possible... it's just not wired to the frontend yet. This is based on massive amounts of refactoring work I did over the past 9 years.
This commit is contained in:
@@ -38,6 +38,8 @@ class Storage;
|
||||
class UpdateService;
|
||||
#endif
|
||||
|
||||
#include <list>
|
||||
|
||||
class ClientList;
|
||||
struct Partition;
|
||||
class StateFile;
|
||||
@@ -87,7 +89,7 @@ struct Instance final
|
||||
|
||||
ClientList *client_list;
|
||||
|
||||
Partition *partition;
|
||||
std::list<Partition> partitions;
|
||||
|
||||
StateFile *state_file = nullptr;
|
||||
|
||||
|
Reference in New Issue
Block a user