Many general cleaups and warning fixes.

Console code no longer makes assumptions about con_main
Screenshots rework, for screenshot_360, but also some other cleanups.
Fixed an issue with beginpolygon (finally).
Added per-rtlight style strings.
Added cvar to control whether ents will be culled by fog.
Added define to disable IPLOG, etc.
Added r_editlights cvar and related commands, for whenever csaddon isn't available.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5338 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2018-11-19 06:37:25 +00:00
parent 398c1afaf9
commit 2ee8387644
102 changed files with 4081 additions and 1630 deletions

View file

@ -61,11 +61,13 @@ void BadBuiltin(void);
#else
#ifdef _WIN32
#define strcasecmp stricmp
#define strncasecmp strnicmp
# ifndef strcasecmp
# define strcasecmp stricmp
# define strncasecmp strnicmp
# endif
#else
#define stricmp strcasecmp
#define strnicmp strncasecmp
# define stricmp strcasecmp
# define strnicmp strncasecmp
#endif
#include <string.h>