mirror of https://github.com/nzp-team/glquake.git
Needful Makefile, gamedir changes
This commit is contained in:
parent
df2196e973
commit
c04d0f0c9a
|
@ -1,2 +1,3 @@
|
|||
*/*.o
|
||||
*/*.d
|
||||
build/*
|
||||
|
|
12
Makefile
12
Makefile
|
@ -9,16 +9,16 @@ endif
|
|||
TOPDIR ?= $(CURDIR)
|
||||
include $(DEVKITARM)/3ds_rules
|
||||
|
||||
TARGET := ctrQuake
|
||||
TARGET := nzportable
|
||||
BUILD := build
|
||||
SOURCES := source
|
||||
DATA := data
|
||||
INCLUDES := include
|
||||
#ROMFS := romfs
|
||||
|
||||
APP_AUTHOR := MasterFeizz
|
||||
APP_TITLE := ctrQuake
|
||||
APP_DESCRIPTION := Port of Quake
|
||||
APP_AUTHOR := Naievil
|
||||
APP_TITLE := Nazi Zombies Portable
|
||||
APP_DESCRIPTION := NZP based on ctrQuake
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# options for code generation
|
||||
|
@ -61,6 +61,7 @@ export VPATH := $(foreach dir,$(SOURCES),$(CURDIR)/$(dir)) \
|
|||
export DEPSDIR := $(CURDIR)/$(BUILD)
|
||||
|
||||
COMMON_OBJS = chase.c \
|
||||
cl_hud.c \
|
||||
cl_demo.c \
|
||||
cl_input.c \
|
||||
cl_main.c \
|
||||
|
@ -102,6 +103,7 @@ COMMON_OBJS = chase.c \
|
|||
in_null.c \
|
||||
cd_null.c \
|
||||
gl_draw.c \
|
||||
gl_fog.c \
|
||||
gl_mesh.c \
|
||||
gl_model.c \
|
||||
gl_refrag.c \
|
||||
|
@ -244,4 +246,4 @@ endef
|
|||
|
||||
#---------------------------------------------------------------------------------------
|
||||
endif
|
||||
#---------------------------------------------------------------------------------------
|
||||
#---------------------------------------------------------------------------------------
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
Credits (By order of importance):
|
||||
=================================
|
||||
|
||||
|
||||
1. masterfiezz: ctrQuake
|
||||
2. Diabolickal: HLBSP
|
||||
3. Havok: Colored lighting
|
||||
4. Naievil: Porting
|
||||
5. Other NZP members
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,21 @@
|
|||
/*
|
||||
=============
|
||||
Fog_ParseServerMessage
|
||||
|
||||
handle an SVC_FOG message from server
|
||||
=============
|
||||
*/
|
||||
void Fog_ParseServerMessage (void)
|
||||
{
|
||||
float start, end, red, green, blue, time;
|
||||
|
||||
start = MSG_ReadByte() / 255.0;
|
||||
end = MSG_ReadByte() / 255.0;
|
||||
red = MSG_ReadByte() / 255.0;
|
||||
green = MSG_ReadByte() / 255.0;
|
||||
blue = MSG_ReadByte() / 255.0;
|
||||
time = MSG_ReadShort() / 100.0;
|
||||
|
||||
// rbaldwin2 -- fixme
|
||||
//Fog_Update (start, end, red, green, blue, time);
|
||||
}
|
|
@ -36,9 +36,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
//define PARANOID // speed sapping error checking
|
||||
|
||||
#ifdef QUAKE2
|
||||
#define GAMENAME "id1" // directory to look in by default
|
||||
#define GAMENAME "nzp" // directory to look in by default
|
||||
#else
|
||||
#define GAMENAME "id1"
|
||||
#define GAMENAME "nzp"
|
||||
#endif
|
||||
|
||||
#include <math.h>
|
||||
|
|
|
@ -44,7 +44,7 @@ qpic_t *sb_face_quad;
|
|||
qpic_t *sb_face_invuln;
|
||||
qpic_t *sb_face_invis_invuln;
|
||||
|
||||
qboolean sb_showscores;
|
||||
extern qboolean sb_showscores;
|
||||
|
||||
extern int sb_lines; // scan lines to draw
|
||||
|
||||
|
|
|
@ -291,7 +291,7 @@ int main (int argc, char **argv)
|
|||
gfxSetDoubleBuffering(GFX_BOTTOM, false);
|
||||
gfxSwapBuffersGpu();
|
||||
|
||||
chdir("sdmc:/3ds/ctrQuake");
|
||||
chdir("sdmc:/3ds/nzportable");
|
||||
|
||||
parms.memsize = 16 * 1024 * 1024;
|
||||
parms.membase = malloc (parms.memsize);
|
||||
|
|
Loading…
Reference in New Issue