public void LoadCurrentGraphics() { this.Graphics = new SavegameRaws(this.SavePath + (object)Savegame.slash + "raw" + (string)(object)Savegame.slash + "graphics"); this.GraphicsLabel.Text = "Unit Graphics: " + this.Graphics.Name + " " + this.Graphics.Version; }
public void LoadCurrentObjects() { this.Objects = new SavegameRaws(this.SavePath + (object)Savegame.slash + "raw" + (string)(object)Savegame.slash + "objects"); this.ObjectsLabel.Text = "Tileset Raws: " + this.Objects.Name + " " + this.Objects.Version; }
private static string GetRelativePrefix(SourceRaws sourceRaws, SavegameRaws savegameRaws) { if (!(sourceRaws.Name == savegameRaws.Name)) return "Install"; int num = string.Compare(sourceRaws.Version, savegameRaws.Version, true); if (num > 0) return "Upgrade"; return num < 0 ? "Retrograde" : "Re-install"; }