commit f5cc3dc243b1d2be7e736f5156edcd73b020f13d
parent 0e5b8ef9548703229d9dcd36adc90d03f21d4138
Author: Georges Dupéron <jahvascriptmaniac+github@free.fr>
Date: Mon, 28 Nov 2011 10:32:23 +0100
Suppression de io, qui n'est plus utilisé.
Diffstat:
4 files changed, 3 insertions(+), 24 deletions(-)
diff --git a/Makefile b/Makefile
@@ -4,7 +4,7 @@ CCWARN=-Wall -Wextra -Werror
# -flto (nécessite GCC 4.5) -m32 ou -m64
CFLAGS=-O3 -g3 -I. $(CCWARN)
-OBJECTS = main.o hash.o segment.o vertex.o triangle.o io.o rules/chose.o rules/rectangleroutes.o rules/route.o rules/carrefour.o rules/batiment.o
+OBJECTS = main.o hash.o segment.o vertex.o triangle.o rules/chose.o rules/rectangleroutes.o rules/route.o rules/carrefour.o rules/batiment.o
EXECUTABLE = city
.PHONY: test
diff --git a/all_includes.hh b/all_includes.hh
@@ -1,6 +1,8 @@
#ifndef _ALL_INCLUDES_HH_
#define _ALL_INCLUDES_HH_
+class Chose;
+
#include <iostream>
#include <cstdlib>
#include <cmath>
@@ -10,15 +12,8 @@
#include "segment.hh"
#include "triangle.hh"
#include "directions.hh"
-#include "io.hh"
#include "hash.hh"
-class Chose;
-// class Batiment;
-// class Carrefour;
-// class Route;
-// class RectangleRoutes;
-
#include "rules/chose.hh"
#include "rules/batiment.hh"
#include "rules/carrefour.hh"
diff --git a/io.cpp b/io.cpp
@@ -1,3 +0,0 @@
-#include "io.hh"
-
-IO::IO(): in(0), out(0) {}
diff --git a/io.hh b/io.hh
@@ -1,13 +0,0 @@
-#ifndef _IO_HH_
-#define _IO_HH_
-
-class IO {
-public:
- int in;
- int out;
-public:
- IO();
- //IO(int in, int out);
-};
-
-#endif