| 1 |
#Description: Fix includes. |
| 2 |
diff -uNrd qonk-0.3.1.orig/Makefile.am qonk-0.3.1/Makefile.am |
| 3 |
--- qonk-0.3.1.orig/Makefile.am 2007-09-14 01:43:03.000000000 -0400 |
| 4 |
+++ qonk-0.3.1/Makefile.am 2007-11-18 20:47:03.000000000 -0500 |
| 5 |
@@ -1,4 +1,5 @@ |
| 6 |
SUBDIRS = guichan src data |
| 7 |
+AUTOMAKE_OPTIONS=foreign |
| 8 |
|
| 9 |
EXTRA_DIST = autogen.sh README COPYING missing TODO HISTORY THANKYOU |
| 10 |
|
| 11 |
diff -uNrd qonk-0.3.1.orig/src/canvas.h qonk-0.3.1/src/canvas.h |
| 12 |
--- qonk-0.3.1.orig/src/canvas.h 2007-09-14 01:43:03.000000000 -0400 |
| 13 |
+++ qonk-0.3.1/src/canvas.h 2007-11-18 20:55:30.000000000 -0500 |
| 14 |
@@ -10,7 +10,7 @@ |
| 15 |
|
| 16 |
#include <SDL/SDL.h> |
| 17 |
|
| 18 |
-#include "guichan/guichan/sdl.hpp" |
| 19 |
+#include "guichan/sdl.hpp" |
| 20 |
|
| 21 |
class Coordinate; |
| 22 |
class Font; |
| 23 |
diff -uNrd qonk-0.3.1.orig/src/controloptions.cpp qonk-0.3.1/src/controloptions.cpp |
| 24 |
--- qonk-0.3.1.orig/src/controloptions.cpp 2007-09-14 01:43:03.000000000 -0400 |
| 25 |
+++ qonk-0.3.1/src/controloptions.cpp 2007-11-18 20:57:10.000000000 -0500 |
| 26 |
@@ -1,7 +1,7 @@ |
| 27 |
#include <iostream> |
| 28 |
#include <map> |
| 29 |
|
| 30 |
-#include "guichan/guichan.hpp" |
| 31 |
+#include "guichan.hpp" |
| 32 |
|
| 33 |
#include "ui/menuaction.h" |
| 34 |
|
| 35 |
diff -uNrd qonk-0.3.1.orig/src/gameoptions.cpp qonk-0.3.1/src/gameoptions.cpp |
| 36 |
--- qonk-0.3.1.orig/src/gameoptions.cpp 2007-09-14 01:43:03.000000000 -0400 |
| 37 |
+++ qonk-0.3.1/src/gameoptions.cpp 2007-11-18 20:56:00.000000000 -0500 |
| 38 |
@@ -3,7 +3,7 @@ |
| 39 |
|
| 40 |
#include <SDL/SDL.h> |
| 41 |
|
| 42 |
-#include "guichan/guichan.hpp" |
| 43 |
+#include "guichan.hpp" |
| 44 |
|
| 45 |
#include "ui/menuaction.h" |
| 46 |
|
| 47 |
diff -uNrd qonk-0.3.1.orig/src/Makefile.am qonk-0.3.1/src/Makefile.am |
| 48 |
--- qonk-0.3.1.orig/src/Makefile.am 2007-09-14 01:43:03.000000000 -0400 |
| 49 |
+++ qonk-0.3.1/src/Makefile.am 2007-11-18 20:50:33.000000000 -0500 |
| 50 |
@@ -1,5 +1,4 @@ |
| 51 |
SUBDIRS = lisp ui |
| 52 |
- |
| 53 |
INCLUDES = -I$(top_srcdir)/guichan |
| 54 |
|
| 55 |
AM_CPPFLAGS=-DPKG_DATA_DIR="\"$(pkgdatadir)/\"" |
| 56 |
diff -uNrd qonk-0.3.1.orig/src/menumanager.h qonk-0.3.1/src/menumanager.h |
| 57 |
--- qonk-0.3.1.orig/src/menumanager.h 2007-09-14 01:43:03.000000000 -0400 |
| 58 |
+++ qonk-0.3.1/src/menumanager.h 2007-11-18 20:50:40.000000000 -0500 |
| 59 |
@@ -14,6 +14,7 @@ |
| 60 |
class GameOptions; |
| 61 |
|
| 62 |
class MenuSystem; |
| 63 |
+#include "ui/menuaction.h" |
| 64 |
|
| 65 |
/** |
| 66 |
* MenuManager forms the facade for interacting with the game's menus. |
| 67 |
@@ -66,7 +67,7 @@ |
| 68 |
VideoOptions &getVideoOptions() const { return *videoOptions; }; |
| 69 |
}; |
| 70 |
|
| 71 |
-class QuitAction : public MenuAction |
| 72 |
+class QuitAction : public MenuAction |
| 73 |
{ |
| 74 |
Main &main; |
| 75 |
|
| 76 |
diff -uNrd qonk-0.3.1.orig/src/sdl_driver.h qonk-0.3.1/src/sdl_driver.h |
| 77 |
--- qonk-0.3.1.orig/src/sdl_driver.h 2007-09-14 01:43:03.000000000 -0400 |
| 78 |
+++ qonk-0.3.1/src/sdl_driver.h 2007-11-18 20:55:42.000000000 -0500 |
| 79 |
@@ -9,8 +9,8 @@ |
| 80 |
|
| 81 |
#include <SDL/SDL.h> |
| 82 |
|
| 83 |
-#include "guichan/guichan.hpp" |
| 84 |
-#include "guichan/guichan/sdl.hpp" |
| 85 |
+#include "guichan.hpp" |
| 86 |
+#include "guichan/sdl.hpp" |
| 87 |
|
| 88 |
#include "input.h" |
| 89 |
|
| 90 |
diff -uNrd qonk-0.3.1.orig/src/ui/Makefile.am qonk-0.3.1/src/ui/Makefile.am |
| 91 |
--- qonk-0.3.1.orig/src/ui/Makefile.am 2007-09-14 01:43:03.000000000 -0400 |
| 92 |
+++ qonk-0.3.1/src/ui/Makefile.am 2007-11-18 20:39:42.000000000 -0500 |
| 93 |
@@ -1,6 +1,6 @@ |
| 94 |
AM_CPPFLAGS=-DPKG_DATA_DIR="\"$(pkgdatadir)/\"" |
| 95 |
|
| 96 |
-INCLUDES = -I$(top_srcdir)/guichan |
| 97 |
+INCLUDES = -I$(top_srcdir)/guichan -I$(top_srcdir)/src |
| 98 |
|
| 99 |
noinst_LIBRARIES = libui.a |
| 100 |
|
| 101 |
diff -uNrd qonk-0.3.1.orig/src/ui/menuaction.cpp qonk-0.3.1/src/ui/menuaction.cpp |
| 102 |
--- qonk-0.3.1.orig/src/ui/menuaction.cpp 2007-09-14 01:43:03.000000000 -0400 |
| 103 |
+++ qonk-0.3.1/src/ui/menuaction.cpp 2007-11-18 20:52:51.000000000 -0500 |
| 104 |
@@ -1,4 +1,4 @@ |
| 105 |
-#include "guichan/guichan.hpp" |
| 106 |
+#include "guichan.hpp" |
| 107 |
|
| 108 |
#include "menuaction.h" |
| 109 |
|
| 110 |
diff -uNrd qonk-0.3.1.orig/src/ui/menuaction.h qonk-0.3.1/src/ui/menuaction.h |
| 111 |
--- qonk-0.3.1.orig/src/ui/menuaction.h 2007-09-14 01:43:03.000000000 -0400 |
| 112 |
+++ qonk-0.3.1/src/ui/menuaction.h 2007-11-18 20:53:41.000000000 -0500 |
| 113 |
@@ -7,7 +7,7 @@ |
| 114 |
#ifndef MENUACTION_H |
| 115 |
#define MENUACTION_H |
| 116 |
|
| 117 |
-#include "guichan/guichan.hpp" |
| 118 |
+#include "guichan.hpp" |
| 119 |
|
| 120 |
/* TODO: Realize all customized behavior with specific MenuEntry subclasses |
| 121 |
* and remove the need for a MenuAction delegate object. |
| 122 |
diff -uNrd qonk-0.3.1.orig/src/ui/menuentry.cpp qonk-0.3.1/src/ui/menuentry.cpp |
| 123 |
--- qonk-0.3.1.orig/src/ui/menuentry.cpp 2007-09-14 01:43:03.000000000 -0400 |
| 124 |
+++ qonk-0.3.1/src/ui/menuentry.cpp 2007-11-18 20:54:01.000000000 -0500 |
| 125 |
@@ -1,4 +1,4 @@ |
| 126 |
-#include "guichan/guichan.hpp" |
| 127 |
+#include "guichan.hpp" |
| 128 |
|
| 129 |
#include "menuentry.h" |
| 130 |
#include "menusystem.h" |
| 131 |
diff -uNrd qonk-0.3.1.orig/src/ui/menuentry.h qonk-0.3.1/src/ui/menuentry.h |
| 132 |
--- qonk-0.3.1.orig/src/ui/menuentry.h 2007-09-14 01:43:03.000000000 -0400 |
| 133 |
+++ qonk-0.3.1/src/ui/menuentry.h 2007-11-18 20:53:55.000000000 -0500 |
| 134 |
@@ -7,7 +7,7 @@ |
| 135 |
#ifndef MENUENTRY_H |
| 136 |
#define MENUENTRY_H |
| 137 |
|
| 138 |
-#include "guichan/guichan.hpp" |
| 139 |
+#include "guichan.hpp" |
| 140 |
|
| 141 |
class MenuSystem; |
| 142 |
|
| 143 |
diff -uNrd qonk-0.3.1.orig/src/ui/menu.h qonk-0.3.1/src/ui/menu.h |
| 144 |
--- qonk-0.3.1.orig/src/ui/menu.h 2007-09-14 01:43:03.000000000 -0400 |
| 145 |
+++ qonk-0.3.1/src/ui/menu.h 2007-11-18 20:54:08.000000000 -0500 |
| 146 |
@@ -9,7 +9,7 @@ |
| 147 |
|
| 148 |
#include <vector> |
| 149 |
|
| 150 |
-#include "guichan/guichan.hpp" |
| 151 |
+#include "guichan.hpp" |
| 152 |
|
| 153 |
class MenuSystem; |
| 154 |
class MenuEntry; |
| 155 |
diff -uNrd qonk-0.3.1.orig/src/ui/menusystem.h qonk-0.3.1/src/ui/menusystem.h |
| 156 |
--- qonk-0.3.1.orig/src/ui/menusystem.h 2007-09-14 01:43:03.000000000 -0400 |
| 157 |
+++ qonk-0.3.1/src/ui/menusystem.h 2007-11-18 20:54:20.000000000 -0500 |
| 158 |
@@ -9,8 +9,8 @@ |
| 159 |
|
| 160 |
#include <map> |
| 161 |
|
| 162 |
-#include "guichan/guichan.hpp" |
| 163 |
-#include "guichan/guichan/sdl.hpp" |
| 164 |
+#include "guichan.hpp" |
| 165 |
+#include "guichan/sdl.hpp" |
| 166 |
|
| 167 |
#include "menu.h" |
| 168 |
|
| 169 |
diff -uNrd qonk-0.3.1.orig/src/videooptions.cpp qonk-0.3.1/src/videooptions.cpp |
| 170 |
--- qonk-0.3.1.orig/src/videooptions.cpp 2007-09-14 01:43:03.000000000 -0400 |
| 171 |
+++ qonk-0.3.1/src/videooptions.cpp 2007-11-18 20:55:52.000000000 -0500 |
| 172 |
@@ -3,7 +3,7 @@ |
| 173 |
|
| 174 |
#include <SDL/SDL.h> |
| 175 |
|
| 176 |
-#include "guichan/guichan.hpp" |
| 177 |
+#include "guichan.hpp" |
| 178 |
|
| 179 |
#include "ui/menuaction.h" |
| 180 |
|