diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-16 22:56:45 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-16 22:56:45 +0000 |
commit | 9ed2e4f593c1192210d0b51971cfb11d57d9108e (patch) | |
tree | 41431252b984b21cc157adc8a6ea3072a1243e24 /src/net | |
parent | 12356c8b5b7002cdffaa6a737f54806f52241bfb (diff) | |
download | mana-9ed2e4f593c1192210d0b51971cfb11d57d9108e.tar.gz mana-9ed2e4f593c1192210d0b51971cfb11d57d9108e.tar.bz2 mana-9ed2e4f593c1192210d0b51971cfb11d57d9108e.tar.xz mana-9ed2e4f593c1192210d0b51971cfb11d57d9108e.zip |
Removed a lot of allegro.h includes.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/network.h | 13 | ||||
-rw-r--r-- | src/net/protocol.h | 6 |
2 files changed, 3 insertions, 16 deletions
diff --git a/src/net/network.h b/src/net/network.h index db342f91..f4c67dd4 100644 --- a/src/net/network.h +++ b/src/net/network.h @@ -24,22 +24,15 @@ #ifndef _TMW_NETWORK_H #define _TMW_NETWORK_H -#ifdef WIN32 - #pragma warning (disable:4312) -#endif - -#ifdef WIN32 - #include <allegro.h> - #include <winalleg.h> -#else - #include "win2linux.h" +#ifndef WIN32 +#include "win2linux.h" #endif #include <stdio.h> #include "../log.h" #ifdef MACOSX - #include "win2mac.h" +#include "win2mac.h" #endif /** Macros to write in output buffer, pos is the location where to write data diff --git a/src/net/protocol.h b/src/net/protocol.h index 3a46e91f..4cc66356 100644 --- a/src/net/protocol.h +++ b/src/net/protocol.h @@ -24,16 +24,10 @@ #ifndef _TMW_PROTOCOL_H #define _TMW_PROTOCOL_H -#ifdef WIN32 - #pragma warning (disable:4312) -#endif - #include "../main.h" #include "../being.h" -#include <allegro.h> #ifdef WIN32 -#include <winalleg.h> #include <windows.h> #else #include "win2linux.h" |