mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-09 23:02:02 +00:00
Some minor restructuring and cleanup.
This commit is contained in:
parent
1c0934f462
commit
823753dec9
3 changed files with 14 additions and 15 deletions
21
Makefile
21
Makefile
|
@ -587,16 +587,16 @@ CLIENT_OBJS_ := \
|
|||
|
||||
ifeq ($(OSTYPE), Windows)
|
||||
CLIENT_OBJS_ += \
|
||||
src/backends/windows/mem.o \
|
||||
src/backends/windows/network.o \
|
||||
src/backends/windows/system.o
|
||||
src/backends/windows/system.o \
|
||||
src/backends/windows/shared/mem.o
|
||||
else
|
||||
CLIENT_OBJS_ += \
|
||||
src/backends/unix/hunk.o \
|
||||
src/backends/unix/main.o \
|
||||
src/backends/unix/network.o \
|
||||
src/backends/unix/signalhandler.o \
|
||||
src/backends/unix/system.o
|
||||
src/backends/unix/system.o \
|
||||
src/backends/unix/shared/hunk.o
|
||||
endif
|
||||
|
||||
ifeq ($(OSTYPE), Darwin)
|
||||
|
@ -639,16 +639,16 @@ SERVER_OBJS_ := \
|
|||
|
||||
ifeq ($(OSTYPE), Windows)
|
||||
SERVER_OBJS_ += \
|
||||
src/backends/windows/mem.o \
|
||||
src/backends/windows/network.o \
|
||||
src/backends/windows/system.o
|
||||
src/backends/windows/system.o \
|
||||
src/backends/windows/shared/mem.o
|
||||
else
|
||||
SERVER_OBJS_ += \
|
||||
src/backends/unix/hunk.o \
|
||||
src/backends/unix/main.o \
|
||||
src/backends/unix/network.o \
|
||||
src/backends/unix/signalhandler.o \
|
||||
src/backends/unix/system.o
|
||||
src/backends/unix/system.o \
|
||||
src/backends/unix/shared/hunk.o
|
||||
endif
|
||||
|
||||
# ----------
|
||||
|
@ -675,15 +675,14 @@ OPENGL_OBJS_ = \
|
|||
src/refresh/files/tga.o \
|
||||
src/refresh/files/jpeg.o \
|
||||
src/refresh/files/wal.o \
|
||||
src/common/glob.o \
|
||||
src/common/shared/shared.o
|
||||
|
||||
ifeq ($(OSTYPE), Windows)
|
||||
OPENGL_OBJS_ += \
|
||||
src/backends/windows/mem.o
|
||||
src/backends/windows/shared/mem.o
|
||||
else
|
||||
OPENGL_OBJS_ += \
|
||||
src/backends/unix/hunk.o
|
||||
src/backends/unix/shared/hunk.o
|
||||
endif
|
||||
|
||||
# ----------
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
#include <sys/time.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "../../common/header/common.h"
|
||||
#include "../../../common/header/common.h"
|
||||
|
||||
#if defined(__FreeBSD__) || defined(__OpenBSD__)
|
||||
#include <machine/param.h>
|
|
@ -24,8 +24,8 @@
|
|||
* =======================================================================
|
||||
*/
|
||||
|
||||
#include "../../common/header/common.h"
|
||||
#include "header/winquake.h"
|
||||
#include "../../../common/header/common.h"
|
||||
#include "../header/winquake.h"
|
||||
|
||||
byte *membase;
|
||||
int hunkcount;
|
||||
|
@ -35,7 +35,7 @@ int cursize;
|
|||
void *
|
||||
Hunk_Begin(int maxsize)
|
||||
{
|
||||
/* reserve a huge chunk of memory,
|
||||
/* reserve a huge chunk of memory,
|
||||
but don't commit any yet */
|
||||
cursize = 0;
|
||||
hunkmaxsize = maxsize;
|
Loading…
Reference in a new issue