mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-22 20:51:31 +00:00
Move src/sdl to src/backends/sdl
This commit is contained in:
parent
3918d3ba34
commit
c5bf1e8c93
6 changed files with 14 additions and 14 deletions
8
Makefile
8
Makefile
|
@ -452,6 +452,8 @@ GAME_OBJS_ = \
|
||||||
|
|
||||||
# Used by the client
|
# Used by the client
|
||||||
CLIENT_OBJS_ := \
|
CLIENT_OBJS_ := \
|
||||||
|
src/backends/sdl/cd.o \
|
||||||
|
src/backends/sdl/sound.o \
|
||||||
src/client/cl_cin.o \
|
src/client/cl_cin.o \
|
||||||
src/client/cl_console.o \
|
src/client/cl_console.o \
|
||||||
src/client/cl_download.o \
|
src/client/cl_download.o \
|
||||||
|
@ -498,8 +500,6 @@ CLIENT_OBJS_ := \
|
||||||
src/common/shared/shared.o \
|
src/common/shared/shared.o \
|
||||||
src/common/unzip/ioapi.o \
|
src/common/unzip/ioapi.o \
|
||||||
src/common/unzip/unzip.o \
|
src/common/unzip/unzip.o \
|
||||||
src/sdl/cd.o \
|
|
||||||
src/sdl/sound.o \
|
|
||||||
src/server/sv_cmd.o \
|
src/server/sv_cmd.o \
|
||||||
src/server/sv_conless.o \
|
src/server/sv_conless.o \
|
||||||
src/server/sv_entities.o \
|
src/server/sv_entities.o \
|
||||||
|
@ -581,6 +581,8 @@ endif
|
||||||
|
|
||||||
# Used by the OpenGL refresher
|
# Used by the OpenGL refresher
|
||||||
OPENGL_OBJS_ = \
|
OPENGL_OBJS_ = \
|
||||||
|
src/backends/sdl/input.o \
|
||||||
|
src/backends/sdl/refresh.o \
|
||||||
src/refresh/r_draw.o \
|
src/refresh/r_draw.o \
|
||||||
src/refresh/r_image.o \
|
src/refresh/r_image.o \
|
||||||
src/refresh/r_light.o \
|
src/refresh/r_light.o \
|
||||||
|
@ -598,8 +600,6 @@ OPENGL_OBJS_ = \
|
||||||
src/refresh/files/tga.o \
|
src/refresh/files/tga.o \
|
||||||
src/refresh/files/jpeg.o \
|
src/refresh/files/jpeg.o \
|
||||||
src/refresh/files/wal.o \
|
src/refresh/files/wal.o \
|
||||||
src/sdl/input.o \
|
|
||||||
src/sdl/refresh.o \
|
|
||||||
src/common/glob.o \
|
src/common/glob.o \
|
||||||
src/common/shared/shared.o
|
src/common/shared/shared.o
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
#include "SDL.h"
|
#include "SDL.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "../client/header/client.h"
|
#include "../../client/header/client.h"
|
||||||
|
|
||||||
static qboolean cdValid = false;
|
static qboolean cdValid = false;
|
||||||
static qboolean initialized = false;
|
static qboolean initialized = false;
|
|
@ -25,15 +25,15 @@
|
||||||
* =======================================================================
|
* =======================================================================
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../refresh/header/local.h"
|
#include "../../refresh/header/local.h"
|
||||||
#include "../client/header/keyboard.h"
|
#include "../../client/header/keyboard.h"
|
||||||
|
|
||||||
#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
|
|
@ -25,15 +25,15 @@
|
||||||
* =======================================================================
|
* =======================================================================
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../refresh/header/local.h"
|
#include "../../refresh/header/local.h"
|
||||||
#include <GL/gl.h>
|
#include <GL/gl.h>
|
||||||
|
|
||||||
#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 */
|
|
@ -36,8 +36,8 @@
|
||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "../client/header/client.h"
|
#include "../../client/header/client.h"
|
||||||
#include "../client/sound/header/local.h"
|
#include "../../client/sound/header/local.h"
|
||||||
|
|
||||||
/* Global stuff */
|
/* Global stuff */
|
||||||
int snd_inited = 0;
|
int snd_inited = 0;
|
Loading…
Reference in a new issue