mirror of
https://github.com/OMGeeky/ATCS.git
synced 2025-12-27 14:58:55 +01:00
Remove unused SavedGame references and related functionality
it didn't really work for a long time anyway and was extremely outdated
This commit is contained in:
@@ -62,8 +62,6 @@ public class Project implements ProjectTreeNode, Serializable, JsonSerializable
|
||||
public transient BookmarksRoot bookmarks;
|
||||
|
||||
|
||||
public SavedGamesSet saves; //For simulations.
|
||||
|
||||
public transient SavedSlotCollection v;
|
||||
|
||||
public transient Workspace parent;
|
||||
@@ -140,13 +138,11 @@ public class Project implements ProjectTreeNode, Serializable, JsonSerializable
|
||||
createdContent = new GameSource(this, Type.created);
|
||||
bookmarks = new BookmarksRoot(this);
|
||||
|
||||
saves = new SavedGamesSet(this);
|
||||
|
||||
v.add(createdContent);
|
||||
v.add(alteredContent);
|
||||
// v.add(referencedContent);
|
||||
v.add(baseContent);
|
||||
v.add(saves);
|
||||
v.add(bookmarks);
|
||||
}
|
||||
|
||||
@@ -269,14 +265,11 @@ public class Project implements ProjectTreeNode, Serializable, JsonSerializable
|
||||
createdContent = new GameSource(this, GameSource.Type.created);
|
||||
bookmarks = new BookmarksRoot(this);
|
||||
|
||||
saves.refreshTransients();
|
||||
|
||||
v = new SavedSlotCollection();
|
||||
v.add(createdContent);
|
||||
v.add(alteredContent);
|
||||
// v.add(referencedContent);
|
||||
v.add(baseContent);
|
||||
v.add(saves);
|
||||
v.add(bookmarks);
|
||||
|
||||
|
||||
@@ -1016,11 +1009,6 @@ public class Project implements ProjectTreeNode, Serializable, JsonSerializable
|
||||
}
|
||||
|
||||
|
||||
public void addSave(File selectedFile) {
|
||||
saves.addSave(selectedFile);
|
||||
}
|
||||
|
||||
|
||||
public List<NPC> getSpawnGroup(String spawngroup_id) {
|
||||
List<NPC> result = new ArrayList<NPC>();
|
||||
int i = getNPCCount();
|
||||
|
||||
Reference in New Issue
Block a user