mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-25 22:10:59 +00:00
Move src/unix to src/backends/unix
This commit is contained in:
parent
c5bf1e8c93
commit
3fb8492398
16 changed files with 29 additions and 29 deletions
28
Makefile
28
Makefile
|
@ -520,13 +520,13 @@ CLIENT_OBJS_ += \
|
||||||
src/windows/vid.o
|
src/windows/vid.o
|
||||||
else
|
else
|
||||||
CLIENT_OBJS_ += \
|
CLIENT_OBJS_ += \
|
||||||
src/unix/hunk.o \
|
src/backends/unix/hunk.o \
|
||||||
src/unix/main.o \
|
src/backends/unix/main.o \
|
||||||
src/unix/network.o \
|
src/backends/unix/network.o \
|
||||||
src/unix/qal.o \
|
src/backends/unix/qal.o \
|
||||||
src/unix/signalhandler.o \
|
src/backends/unix/signalhandler.o \
|
||||||
src/unix/system.o \
|
src/backends/unix/system.o \
|
||||||
src/unix/vid.o
|
src/backends/unix/vid.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# ----------
|
# ----------
|
||||||
|
@ -570,11 +570,11 @@ SERVER_OBJS_ += \
|
||||||
src/windows/system.o
|
src/windows/system.o
|
||||||
else
|
else
|
||||||
SERVER_OBJS_ += \
|
SERVER_OBJS_ += \
|
||||||
src/unix/hunk.o \
|
src/backends/unix/hunk.o \
|
||||||
src/unix/main.o \
|
src/backends/unix/main.o \
|
||||||
src/unix/network.o \
|
src/backends/unix/network.o \
|
||||||
src/unix/signalhandler.o \
|
src/backends/unix/signalhandler.o \
|
||||||
src/unix/system.o
|
src/backends/unix/system.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# ----------
|
# ----------
|
||||||
|
@ -609,8 +609,8 @@ OPENGL_OBJS_ += \
|
||||||
src/windows/qgl.o
|
src/windows/qgl.o
|
||||||
else
|
else
|
||||||
OPENGL_OBJS_ += \
|
OPENGL_OBJS_ += \
|
||||||
src/unix/hunk.o \
|
src/backends/unix/hunk.o \
|
||||||
src/unix/qgl.o
|
src/backends/unix/qgl.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# ----------
|
# ----------
|
||||||
|
|
|
@ -30,10 +30,10 @@
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#include <SDL/SDL.h>
|
#include <SDL/SDL.h>
|
||||||
#include "../../windows/header/winquake.h"
|
#include "../windows/header/winquake.h"
|
||||||
#else
|
#else
|
||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
#include "../../unix/header/unix.h"
|
#include "../unix/header/unix.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define MOUSE_MAX 3000
|
#define MOUSE_MAX 3000
|
||||||
|
|
|
@ -30,10 +30,10 @@
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#include <SDL/SDL.h>
|
#include <SDL/SDL.h>
|
||||||
#include "../../windows/header/glwindow.h"
|
#include "../windows/header/glwindow.h"
|
||||||
#else
|
#else
|
||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
#include "../../unix/header/glwindow.h"
|
#include "../unix/header/glwindow.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* The window icon */
|
/* The window icon */
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
|
|
||||||
#include "../common/header/common.h"
|
#include "../../common/header/common.h"
|
||||||
|
|
||||||
#if defined(__FreeBSD__)
|
#if defined(__FreeBSD__)
|
||||||
#include <machine/param.h>
|
#include <machine/param.h>
|
|
@ -31,7 +31,7 @@
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include "../common/header/common.h"
|
#include "../../common/header/common.h"
|
||||||
#include "header/unix.h"
|
#include "header/unix.h"
|
||||||
|
|
||||||
int
|
int
|
|
@ -24,7 +24,7 @@
|
||||||
* =======================================================================
|
* =======================================================================
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../common/header/common.h"
|
#include "../../common/header/common.h"
|
||||||
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
|
@ -36,7 +36,7 @@
|
||||||
#include <AL/alc.h>
|
#include <AL/alc.h>
|
||||||
#include <AL/alext.h>
|
#include <AL/alext.h>
|
||||||
|
|
||||||
#include "../common/header/common.h"
|
#include "../../common/header/common.h"
|
||||||
#include "header/qal.h"
|
#include "header/qal.h"
|
||||||
|
|
||||||
static ALCcontext *context;
|
static ALCcontext *context;
|
|
@ -31,7 +31,7 @@
|
||||||
|
|
||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
|
|
||||||
#include "../refresh/header/local.h"
|
#include "../../refresh/header/local.h"
|
||||||
#include "header/glwindow.h"
|
#include "header/glwindow.h"
|
||||||
|
|
||||||
void (APIENTRY *qglAccum)(GLenum op, GLfloat value);
|
void (APIENTRY *qglAccum)(GLenum op, GLfloat value);
|
|
@ -31,7 +31,7 @@
|
||||||
#include <execinfo.h>
|
#include <execinfo.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "../common/header/common.h"
|
#include "../../common/header/common.h"
|
||||||
|
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
|
|
|
@ -45,8 +45,8 @@
|
||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
|
|
||||||
#include "../common/header/common.h"
|
#include "../../common/header/common.h"
|
||||||
#include "../common/header/glob.h"
|
#include "../../common/header/glob.h"
|
||||||
#include "header/unix.h"
|
#include "header/unix.h"
|
||||||
|
|
||||||
unsigned sys_frame_time;
|
unsigned sys_frame_time;
|
|
@ -38,7 +38,7 @@
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
#include "../client/header/client.h"
|
#include "../../client/header/client.h"
|
||||||
#include "header/unix.h"
|
#include "header/unix.h"
|
||||||
|
|
||||||
/* Structure containing functions exported from refresh DLL */
|
/* Structure containing functions exported from refresh DLL */
|
|
@ -37,7 +37,7 @@
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#include "../../windows/header/qal.h"
|
#include "../../windows/header/qal.h"
|
||||||
#else
|
#else
|
||||||
#include "../../unix/header/qal.h"
|
#include "../../backends/unix/header/qal.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* translates from AL coordinate system to quake */
|
/* translates from AL coordinate system to quake */
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#include "../../windows/header/qal.h"
|
#include "../../windows/header/qal.h"
|
||||||
#else
|
#else
|
||||||
#include "../../unix/header/qal.h"
|
#include "../../backends/unix/header/qal.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void S_Play(void);
|
void S_Play(void);
|
||||||
|
|
Loading…
Reference in a new issue