summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--cRender.h7
2 files changed, 6 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 3d97022..a9dc6ee 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
CC = /usr/bin/g++
-CFLAGS = -Wall -g -std=c++11
-LDFLAGS = -lm
+CFLAGS = -Wall -g -std=c++11 -Werror=missing-prototypes
+LDFLAGS =
OUTPUT = Engine
BUILDDIR = build
diff --git a/cRender.h b/cRender.h
index 59ca352..1334cc3 100644
--- a/cRender.h
+++ b/cRender.h
@@ -3,13 +3,13 @@
#include <stdlib.h>
#include <stdio.h>
#include <string>
-#include <math.h>
-#include <iostream>
+//#include <math.h>
+//#include <iostream>
#include <termios.h>
#ifdef __linux__
#include <unistd.h>
- #include <term.h>
+ //#include <term.h>
#include <sys/ioctl.h>
typedef int WORD;
@@ -56,6 +56,7 @@
#define _COL_INVERSE 7
#define _COL_INVERSE_OFF 27
#endif
+
using namespace std;
struct sPos