diff --git a/isometric-park-fna/FNAGame.cs b/isometric-park-fna/FNAGame.cs --- a/isometric-park-fna/FNAGame.cs +++ b/isometric-park-fna/FNAGame.cs @@ -84,15 +84,12 @@ public ImageMap imageMap; public bool show_another_window; - private bool showInitial; public Story Story; //buggy private static bool enableCulling = false; - private Node currentNode; - private Queue> remainingDialog; private List newsItems; @@ -159,7 +156,6 @@ this.simulation = new Simulation(this.squaresAcross, this.squaresDown, new float[] {16.66667f*240, 16.66667f*120, 16.66667f*60, 16.66667f*30f, 16.66667f*1 }); - showInitial = true; showBudget = false; showForest = false; showNews = false; @@ -170,7 +166,6 @@ Content.RootDirectory = "Content"; - currentNode = DialogTrees.introTree; } @@ -360,8 +355,6 @@ } this.simulation.LoadContent(this.newsItems, this.grammar); - this.remainingDialog = new Queue>(); - this.budgetWindow = new BudgetWindow(new Budget { }, this.monoFont, 0, 0); Logging.Success("Content loaded."); @@ -506,12 +499,6 @@ } - if (!this.showInitial && this.remainingDialog.Count > 0) - { - this.currentNode = this.remainingDialog.Dequeue(); - this.showInitial = true; - } - this.original_point = Vector2.Transform(new Vector2(mouseCur.X, mouseCur.Y), Matrix.Invert(camera.get_transformation(GraphicsDevice))); //int gridx = (int)((this.original_point.X-baseOffsetX) / Tile.TileStepX); @@ -837,11 +824,6 @@ batch.End(); #region window - if (this.currentNode != null) - { - // this.currentNode = DialogInterface.RenderDialog(ref this.showInitial, - // ref this.simulation.paused, debugWindow.monoFont, this.currentNode); - } if (this.showForest) { @@ -980,8 +962,4 @@ this.gdm.ApplyChanges(); } - public void enqueueDialog(Node tree) - { - this.remainingDialog.Enqueue(tree); - } }