SW, KenBuild: Remove some unnecessary #ifdef RENDERTYPEWIN

git-svn-id: https://svn.eduke32.com/eduke32@8482 1a8010ca-5511-0410-912e-c29ae57300e0

# Conflicts:
#	source/kenbuild/src/config.cpp
#	source/sw/src/config.cpp
#	source/sw/src/game.cpp
This commit is contained in:
hendricks266 2019-12-22 10:21:10 +00:00 committed by Christoph Oelckers
parent acd56e319a
commit e50cdbad0c
2 changed files with 5 additions and 3 deletions

View file

@ -41,6 +41,8 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
// we load this in to get default button and key assignments // we load this in to get default button and key assignments
// as well as setting up function mappings // as well as setting up function mappings
#include "renderlayer.h"
#if defined RENDERTYPESDL && defined SDL_TARGET && SDL_TARGET > 1 #if defined RENDERTYPESDL && defined SDL_TARGET && SDL_TARGET > 1
# include "sdl_inc.h" # include "sdl_inc.h"
#endif #endif

View file

@ -714,7 +714,7 @@ void MultiSharewareCheck(void)
if (!SW_SHAREWARE) return; if (!SW_SHAREWARE) return;
if (numplayers > 4) if (numplayers > 4)
{ {
#ifdef RENDERTYPEWIN #if 1 /* defined RENDERTYPEWIN */
wm_msgbox(apptitle,"To play a Network game with more than 4 players you must purchase " wm_msgbox(apptitle,"To play a Network game with more than 4 players you must purchase "
"the full version. Read the Ordering Info screens for details."); "the full version. Read the Ordering Info screens for details.");
#else #else
@ -2536,7 +2536,7 @@ void _Assert(const char *expr, const char *strFile, unsigned uLine)
TerminateGame(); TerminateGame();
#if 1 //def RENDERTYPEWIN #if 1 /* defined RENDERTYPEWIN */
wm_msgbox(apptitle, "%s", ds); wm_msgbox(apptitle, "%s", ds);
#else #else
printf("Assertion failed: %s\n %s, line %u\n", expr, strFile, uLine); printf("Assertion failed: %s\n %s, line %u\n", expr, strFile, uLine);
@ -2553,7 +2553,7 @@ void _ErrMsg(const char *strFile, unsigned uLine, const char *format, ...)
//MONO_PRINT(ds); //MONO_PRINT(ds);
TerminateGame(); TerminateGame();
#if 1 //def RENDERTYPEWIN #if 1 /* defined RENDERTYPEWIN */
{ {
char msg[256], *p; char msg[256], *p;
Bsnprintf(msg, sizeof(msg), "Error: %s, line %u\n", strFile, uLine); Bsnprintf(msg, sizeof(msg), "Error: %s, line %u\n", strFile, uLine);