git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10384
d7cf8633-e32d-0410-b094-
e92efae38249
*/
// common.c -- misc functions used in client and server
-#include "quakedef.h"
-
#include <stdlib.h>
#include <fcntl.h>
#ifndef WIN32
#include <unistd.h>
#endif
+#include "quakedef.h"
+
cvar_t registered = {0, "registered","0", "indicates if this is running registered quake (whether gfx/pop.lmp was found)"};
cvar_t cmdline = {0, "cmdline","0", "contains commandline the engine was launched with"};
*/
// console.c
-#include "quakedef.h"
-
#if !defined(WIN32) || defined(__MINGW32__)
# include <unistd.h>
#endif
#include <time.h>
+#include "quakedef.h"
+
// for u8_encodech
#include "ft2.h"
Boston, MA 02111-1307, USA
*/
-#include "quakedef.h"
-
#include <limits.h>
#include <fcntl.h>
# include <unistd.h>
#endif
+#include "quakedef.h"
+
#include "fs.h"
#include "wad.h"
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#include "quakedef.h"
-#include "snd_main.h"
#ifdef SUPPORTDIRECTX
#ifndef DIRECTSOUND_VERSION
#include <dsound.h>
#endif
+#include "qtypes.h"
+#include "quakedef.h"
+#include "snd_main.h"
+
// ==============================================================================
#ifndef _WAVEFORMATEXTENSIBLE_
*/
// sys_win.c -- Win32 system interface code
-#include "quakedef.h"
#include <windows.h>
#include <mmsystem.h>
+#include <direct.h>
#ifdef SUPPORTDIRECTX
#include <dsound.h>
#endif
+
+#include "qtypes.h"
+
+#include "quakedef.h"
#include "errno.h"
#include "resource.h"
#include "conproc.h"
-#include "direct.h"
HANDLE hinput, houtput;