(svn r12944) -Codechange: use rev.h instead of externs at many places

This commit is contained in:
smatz
2008-05-04 21:53:36 +00:00
parent 0b8b5d1f3b
commit 297f99e100
19 changed files with 37 additions and 29 deletions

View File

@@ -9,6 +9,7 @@
#include "../gfx_func.h"
#include "../sdl.h"
#include "../variables.h"
#include "../rev.h"
#include "../blitter/factory.hpp"
#include "../network/network.h"
#include "../core/math_func.hpp"
@@ -186,7 +187,6 @@ static void GetAvailableVideoMode(int *w, int *h)
static bool CreateMainSurface(int w, int h)
{
extern const char _openttd_revision[];
SDL_Surface *newscreen, *icon;
char caption[50];
int bpp = BlitterFactoryBase::GetCurrentBlitter()->GetScreenDepth();