(svn r2704) Remove . from include path again, too much trouble. Also add some #ifdefs and #includes for the Windows build

This commit is contained in:
tron
2005-07-25 07:16:10 +00:00
parent cb3c325e5f
commit 201990b5d9
30 changed files with 108 additions and 96 deletions

View File

@@ -1,19 +1,19 @@
/* $Id$ */
#include "stdafx.h"
#include "openttd.h"
#include "debug.h"
#include "functions.h"
#include "network.h"
#include "video/dedicated_v.h"
#include "../stdafx.h"
#include "../openttd.h"
#include "dedicated_v.h"
#ifdef ENABLE_NETWORK
#include "gfx.h"
#include "window.h"
#include "command.h"
#include "console.h"
#include "variables.h"
#include "../debug.h"
#include "../functions.h"
#include "../gfx.h"
#include "../network.h"
#include "../window.h"
#include "../command.h"
#include "../console.h"
#include "../variables.h"
#ifdef __OS2__
# include <sys/time.h> /* gettimeofday */

View File

@@ -3,7 +3,7 @@
#ifndef VIDEO_DEDICATED_H
#define VIDEO_DEDICATED_H
#include "hal.h"
#include "../hal.h"
extern const HalVideoDriver _dedicated_video_driver;

View File

@@ -1,11 +1,11 @@
/* $Id$ */
#include "stdafx.h"
#include "openttd.h"
#include "gfx.h"
#include "variables.h"
#include "video/null_v.h"
#include "window.h"
#include "../stdafx.h"
#include "../openttd.h"
#include "../gfx.h"
#include "../variables.h"
#include "../window.h"
#include "null_v.h"
static void* _null_video_mem = NULL;

View File

@@ -3,7 +3,7 @@
#ifndef VIDEO_NULL_H
#define VIDEO_NULL_H
#include "hal.h"
#include "../hal.h"
extern const HalVideoDriver _null_video_driver;

View File

@@ -1,17 +1,20 @@
/* $Id$ */
#include "stdafx.h"
#include "openttd.h"
#include "debug.h"
#include "functions.h"
#include "gfx.h"
#include "macros.h"
#include "sdl.h"
#include "window.h"
#include "video/sdl_v.h"
#include "../stdafx.h"
#ifdef WITH_SDL
#include "../openttd.h"
#include "../debug.h"
#include "../functions.h"
#include "../gfx.h"
#include "../macros.h"
#include "../sdl.h"
#include "../window.h"
#include "../network.h"
#include "../variables.h"
#include "sdl_v.h"
#include <SDL.h>
#include "network.h"
#include "variables.h"
static SDL_Surface *_sdl_screen;
static bool _all_modes;
@@ -488,3 +491,5 @@ const HalVideoDriver _sdl_video_driver = {
SdlVideoChangeRes,
SdlVideoFullScreen,
};
#endif

View File

@@ -3,7 +3,7 @@
#ifndef VIDEO_SDL_H
#define VIDEO_SDL_H
#include "hal.h"
#include "../hal.h"
extern const HalVideoDriver _sdl_video_driver;

View File

@@ -1,14 +1,14 @@
/* $Id$ */
#include "stdafx.h"
#include "openttd.h"
#include "functions.h"
#include "gfx.h"
#include "macros.h"
#include "network.h"
#include "variables.h"
#include "window.h"
#include "video/win32_v.h"
#include "../stdafx.h"
#include "../openttd.h"
#include "../functions.h"
#include "../gfx.h"
#include "../macros.h"
#include "../network.h"
#include "../variables.h"
#include "../window.h"
#include "win32_v.h"
#include <windows.h>
static struct {

View File

@@ -3,7 +3,7 @@
#ifndef VIDEO_WIN32_H
#define VIDEO_WIN32_H
#include "hal.h"
#include "../hal.h"
bool MyShowCursor(bool show);