Saving (wip), statuseffect refactoring, multiple character faces

This commit is contained in:
Regalis
2015-06-12 16:56:51 +03:00
parent 270efd77e0
commit 566d54197a
35 changed files with 640 additions and 268 deletions
+8
View File
@@ -209,12 +209,20 @@ namespace Subsurface
Game1.LobbyScreen.Select();
break;
case "savemap":
if (commands.Length < 2) break;
Map.Loaded.SaveAs("Content/SavedMaps/" + commands[1]);
NewMessage("map saved", Color.Green);
break;
case "loadmap":
if (commands.Length < 2) break;
Map.Load("Content/SavedMaps/" + commands[1]);
break;
case "savegame":
SaveUtil.SaveGame("Content/Data/test.save");
break;
case "loadgame":
SaveUtil.LoadGame("Content/Data/test.save");
break;
case "messagebox":
if (commands.Length < 3) break;
new GUIMessageBox(commands[1], commands[2]);