From 7893d5e0ec177c71c558e8e2fe9eb4a6aaa1adc0 Mon Sep 17 00:00:00 2001
From: Allanis <allanis@saracraft.net>
Date: Fri, 10 Jan 2014 20:14:54 +0000
Subject: [PATCH] [Add] Added a ton more vital tasks that need doing before
 demo release. Also cleaned up a little.

---
 TODO           | 14 ++++++++++----
 src/dialogue.c |  4 ++--
 2 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/TODO b/TODO
index cf0094b..ba0a120 100644
--- a/TODO
+++ b/TODO
@@ -1,15 +1,20 @@
 Vital:
-  -- Proper documentation.
+  -- Pilot Communication system.
+  -- Introductory screen (text + image?).
+  -- System obstacles and such.
+    -- Interference
+    -- Asteroids.
+  -- More loading screens.
+  -- Real news.
+  -- Dynamic Economy.
 
 Major:
   -- Event System.
     -- Like mission system, but they accur naturally/randomly.
     -- Had similar power to mission system
   -- Unique pilot system (besides mission uniques).
-  -- Real news.
 	-- Nicer AI.
     -- Ship fleet movement (Maybe based on boids?)
-  -- Dynamic economy.
   -- Options menu needs to do something.
   -- Configuration app for keybindings.
   -- Secondary weapon revamp.
@@ -42,7 +47,8 @@ Minor:
     -- Non-linear - See alot more data then currently possible.
     -- Objects always in sight (depending on resolution).
   -- Allow creating collision masks to make collision more realistic.
-  -- Change custom font system to use Queso GLC.
+  -- Improve font system to handle unicode.
+    -- Possibly use Queso CGL
 
 SOMEDAY!! MAYBE...:
 	-- 3d models (not actually 3D, just no sprites).
diff --git a/src/dialogue.c b/src/dialogue.c
index 6d5962c..d9eebde 100644
--- a/src/dialogue.c
+++ b/src/dialogue.c
@@ -282,7 +282,7 @@ static void dialogue_inputCancel(char* str) {
  * alot like the main while loop in lephisto.c
  */
 static int toolkit_loop(void) {
-  SDL_Event event, quit = { .type = SDL_QUIT };
+  SDL_Event event;
 
   loop_done = 0;
   while(!loop_done && toolkit) {
@@ -292,7 +292,7 @@ static int toolkit_loop(void) {
     while(SDL_PollEvent(&event)) { /* Event loop. */
       if(event.type == SDL_QUIT) { /* Pass quit event to main engine. */
         loop_done = 1;
-        SDL_PushEvent(&quit);
+        SDL_PushEvent(&event);
         return -1;
       }
       input_handle(&event); /* Handles all the events and player keybinds. */