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:
OMGeeky
2025-07-17 20:11:51 +02:00
parent af48341439
commit f6fbb0f5a3
8 changed files with 0 additions and 748 deletions

View File

@@ -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();