mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
Move vid.c and dependencies into the client.
The vid interface has been exclusive to the client for years, trace that in the file hierarchy.
This commit is contained in:
parent
61400d1ae8
commit
b805b4e044
6 changed files with 7 additions and 7 deletions
|
@ -164,7 +164,6 @@ endif()
|
|||
|
||||
set(Backends-Generic-Source
|
||||
${BACKENDS_SRC_DIR}/generic/misc.c
|
||||
${BACKENDS_SRC_DIR}/generic/vid.c
|
||||
${BACKENDS_SRC_DIR}/sdl/refresh.c
|
||||
)
|
||||
|
||||
|
@ -319,6 +318,7 @@ set(Client-Source
|
|||
${CLIENT_SRC_DIR}/sound/sdl.c
|
||||
${CLIENT_SRC_DIR}/sound/sound.c
|
||||
${CLIENT_SRC_DIR}/sound/wave.c
|
||||
${CLIENR_SRC_DIR}/vid/vid.c
|
||||
${COMMON_SRC_DIR}/argproc.c
|
||||
${COMMON_SRC_DIR}/clientserver.c
|
||||
${COMMON_SRC_DIR}/collision.c
|
||||
|
@ -357,13 +357,13 @@ set(Client-Header
|
|||
${CLIENT_SRC_DIR}/header/keyboard.h
|
||||
${CLIENT_SRC_DIR}/header/ref.h
|
||||
${CLIENT_SRC_DIR}/header/screen.h
|
||||
${CLIENT_SRC_DIR}/header/vid.h
|
||||
${CLIENT_SRC_DIR}/input/header/input.h
|
||||
${CLIENT_SRC_DIR}/menu/header/qmenu.h
|
||||
${CLIENT_SRC_DIR}/sound/header/local.h
|
||||
${CLIENT_SRC_DIR}/sound/header/qal.h
|
||||
${CLIENT_SRC_DIR}/sound/header/sound.h
|
||||
${CLIENT_SRC_DIR}/sound/header/vorbis.h
|
||||
${CLIENT_SRC_DIR}/vid/header/vid.h
|
||||
${COMMON_SRC_DIR}/header/common.h
|
||||
${COMMON_SRC_DIR}/header/crc.h
|
||||
${COMMON_SRC_DIR}/header/files.h
|
||||
|
|
2
Makefile
2
Makefile
|
@ -691,7 +691,6 @@ GAME_OBJS_ = \
|
|||
# Used by the client
|
||||
CLIENT_OBJS_ := \
|
||||
src/backends/generic/misc.o \
|
||||
src/backends/generic/vid.o \
|
||||
src/backends/sdl/refresh.o \
|
||||
src/client/cl_cin.o \
|
||||
src/client/cl_console.o \
|
||||
|
@ -720,6 +719,7 @@ CLIENT_OBJS_ := \
|
|||
src/client/sound/qal.o \
|
||||
src/client/sound/sound.o \
|
||||
src/client/sound/wave.o \
|
||||
src/client/vid/vid.o \
|
||||
src/common/argproc.o \
|
||||
src/common/clientserver.o \
|
||||
src/common/collision.o \
|
||||
|
|
|
@ -48,13 +48,13 @@
|
|||
#include <ctype.h>
|
||||
|
||||
#include "ref.h"
|
||||
#include "vid.h"
|
||||
#include "screen.h"
|
||||
#include "keyboard.h"
|
||||
#include "console.h"
|
||||
|
||||
#include "../sound/header/sound.h"
|
||||
#include "../sound/header/vorbis.h"
|
||||
#include "../vid/header/vid.h"
|
||||
|
||||
typedef struct
|
||||
{
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
#define CL_REF_H
|
||||
|
||||
#include "../../common/header/common.h"
|
||||
#include "vid.h"
|
||||
#include "../vid/header/vid.h"
|
||||
|
||||
#define MAX_DLIGHTS 32
|
||||
#define MAX_ENTITIES 128
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#ifndef CL_VID_H
|
||||
#define CL_VID_H
|
||||
|
||||
#include "../../common/header/common.h"
|
||||
#include "../../../common/header/common.h"
|
||||
|
||||
// FIXME: Remove it, it's unused.
|
||||
typedef struct vrect_s {
|
|
@ -67,7 +67,7 @@ compress_for_stbiw(unsigned char *data, int data_len, int *out_len, int quality)
|
|||
#endif
|
||||
|
||||
#define STB_IMAGE_WRITE_IMPLEMENTATION
|
||||
#include "header/stb_image_write.h"
|
||||
#include "../../backends/generic/header/stb_image_write.h"
|
||||
|
||||
/*
|
||||
* Writes a screenshot. This function is called with raw image data of
|
Loading…
Reference in a new issue