From 520deac658a532d74acd0cae4551cbab42bc0813 Mon Sep 17 00:00:00 2001 From: Monster Iestyn Date: Tue, 22 Oct 2019 16:39:44 +0100 Subject: [PATCH] remove last few specks of Windows CE code I missed years ago --- src/m_misc.c | 2 +- src/r_data.c | 2 +- src/screen.h | 5 ----- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/m_misc.c b/src/m_misc.c index aaaf30d67..f7d5cf961 100644 --- a/src/m_misc.c +++ b/src/m_misc.c @@ -197,7 +197,7 @@ INT32 M_MapNumber(char first, char second) // ========================================================================== // some libcs has no access function, make our own -#if defined (_WIN32_WCE) +#if 0 int access(const char *path, int amode) { int accesshandle = -1; diff --git a/src/r_data.c b/src/r_data.c index f1d19a219..524baad15 100644 --- a/src/r_data.c +++ b/src/r_data.c @@ -35,7 +35,7 @@ #endif // Not sure if this is necessary, but it was in w_wad.c, so I'm putting it here too -Shadow Hog -#ifdef _WIN32_WCE +#if 0 #define AVOID_ERRNO #else #include diff --git a/src/screen.h b/src/screen.h index 3554b5520..79f21e8e4 100644 --- a/src/screen.h +++ b/src/screen.h @@ -39,13 +39,8 @@ // we try to re-allocate a minimum of buffers for stability of the memory, // so all the small-enough tables based on screen size, are allocated once // and for all at the maximum size. -#if defined (_WIN32_WCE) -#define MAXVIDWIDTH 320 -#define MAXVIDHEIGHT 200 -#else #define MAXVIDWIDTH 1920 // don't set this too high because actually #define MAXVIDHEIGHT 1200 // lots of tables are allocated with the MAX size. -#endif #define BASEVIDWIDTH 320 // NEVER CHANGE THIS! This is the original #define BASEVIDHEIGHT 200 // resolution of the graphics.