From b1ce8715465526157e34ad1bb15913c471e3a9c0 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Thu, 6 Apr 2000 09:21:42 +0000 Subject: [PATCH] apply the viddef_t patches from Jukka Sorjonen --- common/vid_ggi.c | 2 +- common/vid_null.c | 2 +- common/vid_sdl.c | 2 +- common/vid_sunx.c | 2 +- common/vid_sunxil.c | 2 +- common/vid_win.c | 2 +- common/vid_x11.c | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/common/vid_ggi.c b/common/vid_ggi.c index df8df4b..bfb2f21 100644 --- a/common/vid_ggi.c +++ b/common/vid_ggi.c @@ -49,7 +49,7 @@ #include #include -viddef_t vid; // global video state +extern viddef_t vid; // global video state unsigned short d_8to16table[256]; cvar_t *_windowed_mouse; diff --git a/common/vid_null.c b/common/vid_null.c index 53b56db..2f1583c 100644 --- a/common/vid_null.c +++ b/common/vid_null.c @@ -31,7 +31,7 @@ #include #include -viddef_t vid; // global video state +extern viddef_t vid; // global video state #define BASEWIDTH 320 #define BASEHEIGHT 200 diff --git a/common/vid_sdl.c b/common/vid_sdl.c index e5fcc4a..7fa6bc4 100644 --- a/common/vid_sdl.c +++ b/common/vid_sdl.c @@ -45,7 +45,7 @@ cvar_t *_windowed_mouse; static float old_windowed_mouse = 0; -viddef_t vid; // global video state +extern viddef_t vid; // global video state unsigned short d_8to16table[256]; // The original defaults diff --git a/common/vid_sunx.c b/common/vid_sunx.c index 6fce6de..b2be22e 100644 --- a/common/vid_sunx.c +++ b/common/vid_sunx.c @@ -84,7 +84,7 @@ typedef struct int output; } keymap_t; -viddef_t vid; // global video state +extern viddef_t vid; // global video state unsigned short d_8to16table[256]; static Colormap x_cmap; diff --git a/common/vid_sunxil.c b/common/vid_sunxil.c index 8670db1..cb7dcd3 100644 --- a/common/vid_sunxil.c +++ b/common/vid_sunxil.c @@ -112,7 +112,7 @@ typedef struct int output; } keymap_t; -viddef_t vid; // global video state +extern viddef_t vid; // global video state unsigned short d_8to16table[256]; int num_shades=32; diff --git a/common/vid_win.c b/common/vid_win.c index 6218233..ff73929 100644 --- a/common/vid_win.c +++ b/common/vid_win.c @@ -88,7 +88,7 @@ static HICON hIcon; extern qboolean mouseactive; // from in_win.c -viddef_t vid; // global video state +extern viddef_t vid; // global video state #define MODE_WINDOWED 0 #define MODE_SETTABLE_WINDOW 2 diff --git a/common/vid_x11.c b/common/vid_x11.c index 9cd4b2a..320cf39 100644 --- a/common/vid_x11.c +++ b/common/vid_x11.c @@ -69,7 +69,7 @@ #include #endif -viddef_t vid; // global video state +extern viddef_t vid; // global video state unsigned short d_8to16table[256]; Window x_win;