mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-13 13:40:56 +00:00
renderer -> renderergl1, rend2 -> renderergl2
This commit is contained in:
parent
bff574e04e
commit
f6fb9eb602
120 changed files with 1277 additions and 1294 deletions
344
Makefile
344
Makefile
|
@ -47,8 +47,8 @@ endif
|
||||||
ifndef BUILD_MISSIONPACK
|
ifndef BUILD_MISSIONPACK
|
||||||
BUILD_MISSIONPACK=
|
BUILD_MISSIONPACK=
|
||||||
endif
|
endif
|
||||||
ifndef BUILD_RENDERER_REND2
|
ifndef BUILD_RENDERER_OPENGL2
|
||||||
BUILD_RENDERER_REND2=
|
BUILD_RENDERER_OPENGL2=
|
||||||
endif
|
endif
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
@ -211,8 +211,8 @@ BD=$(BUILD_DIR)/debug-$(PLATFORM)-$(ARCH)
|
||||||
BR=$(BUILD_DIR)/release-$(PLATFORM)-$(ARCH)
|
BR=$(BUILD_DIR)/release-$(PLATFORM)-$(ARCH)
|
||||||
CDIR=$(MOUNT_DIR)/client
|
CDIR=$(MOUNT_DIR)/client
|
||||||
SDIR=$(MOUNT_DIR)/server
|
SDIR=$(MOUNT_DIR)/server
|
||||||
RDIR=$(MOUNT_DIR)/renderer
|
RGL1DIR=$(MOUNT_DIR)/renderergl1
|
||||||
R2DIR=$(MOUNT_DIR)/rend2
|
RGL2DIR=$(MOUNT_DIR)/renderergl2
|
||||||
CMDIR=$(MOUNT_DIR)/qcommon
|
CMDIR=$(MOUNT_DIR)/qcommon
|
||||||
SDLDIR=$(MOUNT_DIR)/sdl
|
SDLDIR=$(MOUNT_DIR)/sdl
|
||||||
ASMDIR=$(MOUNT_DIR)/asm
|
ASMDIR=$(MOUNT_DIR)/asm
|
||||||
|
@ -852,13 +852,13 @@ endif
|
||||||
ifneq ($(BUILD_CLIENT),0)
|
ifneq ($(BUILD_CLIENT),0)
|
||||||
ifneq ($(USE_RENDERER_DLOPEN),0)
|
ifneq ($(USE_RENDERER_DLOPEN),0)
|
||||||
TARGETS += $(B)/$(CLIENTBIN)$(FULLBINEXT) $(B)/renderer_opengl1_$(SHLIBNAME)
|
TARGETS += $(B)/$(CLIENTBIN)$(FULLBINEXT) $(B)/renderer_opengl1_$(SHLIBNAME)
|
||||||
ifneq ($(BUILD_RENDERER_REND2), 0)
|
ifneq ($(BUILD_RENDERER_OPENGL2), 0)
|
||||||
TARGETS += $(B)/renderer_rend2_$(SHLIBNAME)
|
TARGETS += $(B)/renderer_opengl2_$(SHLIBNAME)
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
TARGETS += $(B)/$(CLIENTBIN)$(FULLBINEXT)
|
TARGETS += $(B)/$(CLIENTBIN)$(FULLBINEXT)
|
||||||
ifneq ($(BUILD_RENDERER_REND2), 0)
|
ifneq ($(BUILD_RENDERER_OPENGL2), 0)
|
||||||
TARGETS += $(B)/$(CLIENTBIN)_rend2$(FULLBINEXT)
|
TARGETS += $(B)/$(CLIENTBIN)_opengl2$(FULLBINEXT)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
@ -1165,9 +1165,9 @@ makedirs:
|
||||||
@if [ ! -d $(BUILD_DIR) ];then $(MKDIR) $(BUILD_DIR);fi
|
@if [ ! -d $(BUILD_DIR) ];then $(MKDIR) $(BUILD_DIR);fi
|
||||||
@if [ ! -d $(B) ];then $(MKDIR) $(B);fi
|
@if [ ! -d $(B) ];then $(MKDIR) $(B);fi
|
||||||
@if [ ! -d $(B)/client ];then $(MKDIR) $(B)/client;fi
|
@if [ ! -d $(B)/client ];then $(MKDIR) $(B)/client;fi
|
||||||
@if [ ! -d $(B)/renderer ];then $(MKDIR) $(B)/renderer;fi
|
@if [ ! -d $(B)/renderergl1 ];then $(MKDIR) $(B)/renderergl1;fi
|
||||||
@if [ ! -d $(B)/rend2 ];then $(MKDIR) $(B)/rend2;fi
|
@if [ ! -d $(B)/renderergl2 ];then $(MKDIR) $(B)/renderergl2;fi
|
||||||
@if [ ! -d $(B)/rend2/glsl ];then $(MKDIR) $(B)/rend2/glsl;fi
|
@if [ ! -d $(B)/renderergl2/glsl ];then $(MKDIR) $(B)/renderergl2/glsl;fi
|
||||||
@if [ ! -d $(B)/ded ];then $(MKDIR) $(B)/ded;fi
|
@if [ ! -d $(B)/ded ];then $(MKDIR) $(B)/ded;fi
|
||||||
@if [ ! -d $(B)/$(BASEGAME) ];then $(MKDIR) $(B)/$(BASEGAME);fi
|
@if [ ! -d $(B)/$(BASEGAME) ];then $(MKDIR) $(B)/$(BASEGAME);fi
|
||||||
@if [ ! -d $(B)/$(BASEGAME)/cgame ];then $(MKDIR) $(B)/$(BASEGAME)/cgame;fi
|
@if [ ! -d $(B)/$(BASEGAME)/cgame ];then $(MKDIR) $(B)/$(BASEGAME)/cgame;fi
|
||||||
|
@ -1473,171 +1473,171 @@ else
|
||||||
endif
|
endif
|
||||||
|
|
||||||
Q3R2OBJ = \
|
Q3R2OBJ = \
|
||||||
$(B)/rend2/tr_animation.o \
|
$(B)/renderergl2/tr_animation.o \
|
||||||
$(B)/rend2/tr_backend.o \
|
$(B)/renderergl2/tr_backend.o \
|
||||||
$(B)/rend2/tr_bsp.o \
|
$(B)/renderergl2/tr_bsp.o \
|
||||||
$(B)/rend2/tr_cmds.o \
|
$(B)/renderergl2/tr_cmds.o \
|
||||||
$(B)/rend2/tr_curve.o \
|
$(B)/renderergl2/tr_curve.o \
|
||||||
$(B)/rend2/tr_extramath.o \
|
$(B)/renderergl2/tr_extramath.o \
|
||||||
$(B)/rend2/tr_extensions.o \
|
$(B)/renderergl2/tr_extensions.o \
|
||||||
$(B)/rend2/tr_fbo.o \
|
$(B)/renderergl2/tr_fbo.o \
|
||||||
$(B)/rend2/tr_flares.o \
|
$(B)/renderergl2/tr_flares.o \
|
||||||
$(B)/rend2/tr_font.o \
|
$(B)/renderergl2/tr_font.o \
|
||||||
$(B)/rend2/tr_glsl.o \
|
$(B)/renderergl2/tr_glsl.o \
|
||||||
$(B)/rend2/tr_image.o \
|
$(B)/renderergl2/tr_image.o \
|
||||||
$(B)/rend2/tr_image_png.o \
|
$(B)/renderergl2/tr_image_png.o \
|
||||||
$(B)/rend2/tr_image_jpg.o \
|
$(B)/renderergl2/tr_image_jpg.o \
|
||||||
$(B)/rend2/tr_image_bmp.o \
|
$(B)/renderergl2/tr_image_bmp.o \
|
||||||
$(B)/rend2/tr_image_tga.o \
|
$(B)/renderergl2/tr_image_tga.o \
|
||||||
$(B)/rend2/tr_image_pcx.o \
|
$(B)/renderergl2/tr_image_pcx.o \
|
||||||
$(B)/rend2/tr_init.o \
|
$(B)/renderergl2/tr_init.o \
|
||||||
$(B)/rend2/tr_light.o \
|
$(B)/renderergl2/tr_light.o \
|
||||||
$(B)/rend2/tr_main.o \
|
$(B)/renderergl2/tr_main.o \
|
||||||
$(B)/rend2/tr_marks.o \
|
$(B)/renderergl2/tr_marks.o \
|
||||||
$(B)/rend2/tr_mesh.o \
|
$(B)/renderergl2/tr_mesh.o \
|
||||||
$(B)/rend2/tr_model.o \
|
$(B)/renderergl2/tr_model.o \
|
||||||
$(B)/rend2/tr_model_iqm.o \
|
$(B)/renderergl2/tr_model_iqm.o \
|
||||||
$(B)/rend2/tr_noise.o \
|
$(B)/renderergl2/tr_noise.o \
|
||||||
$(B)/rend2/tr_postprocess.o \
|
$(B)/renderergl2/tr_postprocess.o \
|
||||||
$(B)/rend2/tr_scene.o \
|
$(B)/renderergl2/tr_scene.o \
|
||||||
$(B)/rend2/tr_shade.o \
|
$(B)/renderergl2/tr_shade.o \
|
||||||
$(B)/rend2/tr_shade_calc.o \
|
$(B)/renderergl2/tr_shade_calc.o \
|
||||||
$(B)/rend2/tr_shader.o \
|
$(B)/renderergl2/tr_shader.o \
|
||||||
$(B)/rend2/tr_shadows.o \
|
$(B)/renderergl2/tr_shadows.o \
|
||||||
$(B)/rend2/tr_sky.o \
|
$(B)/renderergl2/tr_sky.o \
|
||||||
$(B)/rend2/tr_surface.o \
|
$(B)/renderergl2/tr_surface.o \
|
||||||
$(B)/rend2/tr_vbo.o \
|
$(B)/renderergl2/tr_vbo.o \
|
||||||
$(B)/rend2/tr_world.o \
|
$(B)/renderergl2/tr_world.o \
|
||||||
\
|
\
|
||||||
$(B)/renderer/sdl_gamma.o \
|
$(B)/renderergl1/sdl_gamma.o \
|
||||||
$(B)/renderer/sdl_glimp.o
|
$(B)/renderergl1/sdl_glimp.o
|
||||||
|
|
||||||
Q3R2STRINGOBJ = \
|
Q3R2STRINGOBJ = \
|
||||||
$(B)/rend2/glsl/bokeh_fp.o \
|
$(B)/renderergl2/glsl/bokeh_fp.o \
|
||||||
$(B)/rend2/glsl/bokeh_vp.o \
|
$(B)/renderergl2/glsl/bokeh_vp.o \
|
||||||
$(B)/rend2/glsl/calclevels4x_fp.o \
|
$(B)/renderergl2/glsl/calclevels4x_fp.o \
|
||||||
$(B)/rend2/glsl/calclevels4x_vp.o \
|
$(B)/renderergl2/glsl/calclevels4x_vp.o \
|
||||||
$(B)/rend2/glsl/depthblur_fp.o \
|
$(B)/renderergl2/glsl/depthblur_fp.o \
|
||||||
$(B)/rend2/glsl/depthblur_vp.o \
|
$(B)/renderergl2/glsl/depthblur_vp.o \
|
||||||
$(B)/rend2/glsl/dlight_fp.o \
|
$(B)/renderergl2/glsl/dlight_fp.o \
|
||||||
$(B)/rend2/glsl/dlight_vp.o \
|
$(B)/renderergl2/glsl/dlight_vp.o \
|
||||||
$(B)/rend2/glsl/down4x_fp.o \
|
$(B)/renderergl2/glsl/down4x_fp.o \
|
||||||
$(B)/rend2/glsl/down4x_vp.o \
|
$(B)/renderergl2/glsl/down4x_vp.o \
|
||||||
$(B)/rend2/glsl/fogpass_fp.o \
|
$(B)/renderergl2/glsl/fogpass_fp.o \
|
||||||
$(B)/rend2/glsl/fogpass_vp.o \
|
$(B)/renderergl2/glsl/fogpass_vp.o \
|
||||||
$(B)/rend2/glsl/generic_fp.o \
|
$(B)/renderergl2/glsl/generic_fp.o \
|
||||||
$(B)/rend2/glsl/generic_vp.o \
|
$(B)/renderergl2/glsl/generic_vp.o \
|
||||||
$(B)/rend2/glsl/lightall_fp.o \
|
$(B)/renderergl2/glsl/lightall_fp.o \
|
||||||
$(B)/rend2/glsl/lightall_vp.o \
|
$(B)/renderergl2/glsl/lightall_vp.o \
|
||||||
$(B)/rend2/glsl/pshadow_fp.o \
|
$(B)/renderergl2/glsl/pshadow_fp.o \
|
||||||
$(B)/rend2/glsl/pshadow_vp.o \
|
$(B)/renderergl2/glsl/pshadow_vp.o \
|
||||||
$(B)/rend2/glsl/shadowfill_fp.o \
|
$(B)/renderergl2/glsl/shadowfill_fp.o \
|
||||||
$(B)/rend2/glsl/shadowfill_vp.o \
|
$(B)/renderergl2/glsl/shadowfill_vp.o \
|
||||||
$(B)/rend2/glsl/shadowmask_fp.o \
|
$(B)/renderergl2/glsl/shadowmask_fp.o \
|
||||||
$(B)/rend2/glsl/shadowmask_vp.o \
|
$(B)/renderergl2/glsl/shadowmask_vp.o \
|
||||||
$(B)/rend2/glsl/ssao_fp.o \
|
$(B)/renderergl2/glsl/ssao_fp.o \
|
||||||
$(B)/rend2/glsl/ssao_vp.o \
|
$(B)/renderergl2/glsl/ssao_vp.o \
|
||||||
$(B)/rend2/glsl/texturecolor_fp.o \
|
$(B)/renderergl2/glsl/texturecolor_fp.o \
|
||||||
$(B)/rend2/glsl/texturecolor_vp.o \
|
$(B)/renderergl2/glsl/texturecolor_vp.o \
|
||||||
$(B)/rend2/glsl/tonemap_fp.o \
|
$(B)/renderergl2/glsl/tonemap_fp.o \
|
||||||
$(B)/rend2/glsl/tonemap_vp.o
|
$(B)/renderergl2/glsl/tonemap_vp.o
|
||||||
|
|
||||||
Q3ROBJ = \
|
Q3ROBJ = \
|
||||||
$(B)/renderer/tr_animation.o \
|
$(B)/renderergl1/tr_animation.o \
|
||||||
$(B)/renderer/tr_backend.o \
|
$(B)/renderergl1/tr_backend.o \
|
||||||
$(B)/renderer/tr_bsp.o \
|
$(B)/renderergl1/tr_bsp.o \
|
||||||
$(B)/renderer/tr_cmds.o \
|
$(B)/renderergl1/tr_cmds.o \
|
||||||
$(B)/renderer/tr_curve.o \
|
$(B)/renderergl1/tr_curve.o \
|
||||||
$(B)/renderer/tr_flares.o \
|
$(B)/renderergl1/tr_flares.o \
|
||||||
$(B)/renderer/tr_font.o \
|
$(B)/renderergl1/tr_font.o \
|
||||||
$(B)/renderer/tr_image.o \
|
$(B)/renderergl1/tr_image.o \
|
||||||
$(B)/renderer/tr_image_png.o \
|
$(B)/renderergl1/tr_image_png.o \
|
||||||
$(B)/renderer/tr_image_jpg.o \
|
$(B)/renderergl1/tr_image_jpg.o \
|
||||||
$(B)/renderer/tr_image_bmp.o \
|
$(B)/renderergl1/tr_image_bmp.o \
|
||||||
$(B)/renderer/tr_image_tga.o \
|
$(B)/renderergl1/tr_image_tga.o \
|
||||||
$(B)/renderer/tr_image_pcx.o \
|
$(B)/renderergl1/tr_image_pcx.o \
|
||||||
$(B)/renderer/tr_init.o \
|
$(B)/renderergl1/tr_init.o \
|
||||||
$(B)/renderer/tr_light.o \
|
$(B)/renderergl1/tr_light.o \
|
||||||
$(B)/renderer/tr_main.o \
|
$(B)/renderergl1/tr_main.o \
|
||||||
$(B)/renderer/tr_marks.o \
|
$(B)/renderergl1/tr_marks.o \
|
||||||
$(B)/renderer/tr_mesh.o \
|
$(B)/renderergl1/tr_mesh.o \
|
||||||
$(B)/renderer/tr_model.o \
|
$(B)/renderergl1/tr_model.o \
|
||||||
$(B)/renderer/tr_model_iqm.o \
|
$(B)/renderergl1/tr_model_iqm.o \
|
||||||
$(B)/renderer/tr_noise.o \
|
$(B)/renderergl1/tr_noise.o \
|
||||||
$(B)/renderer/tr_scene.o \
|
$(B)/renderergl1/tr_scene.o \
|
||||||
$(B)/renderer/tr_shade.o \
|
$(B)/renderergl1/tr_shade.o \
|
||||||
$(B)/renderer/tr_shade_calc.o \
|
$(B)/renderergl1/tr_shade_calc.o \
|
||||||
$(B)/renderer/tr_shader.o \
|
$(B)/renderergl1/tr_shader.o \
|
||||||
$(B)/renderer/tr_shadows.o \
|
$(B)/renderergl1/tr_shadows.o \
|
||||||
$(B)/renderer/tr_sky.o \
|
$(B)/renderergl1/tr_sky.o \
|
||||||
$(B)/renderer/tr_surface.o \
|
$(B)/renderergl1/tr_surface.o \
|
||||||
$(B)/renderer/tr_world.o \
|
$(B)/renderergl1/tr_world.o \
|
||||||
\
|
\
|
||||||
$(B)/renderer/sdl_gamma.o \
|
$(B)/renderergl1/sdl_gamma.o \
|
||||||
$(B)/renderer/sdl_glimp.o
|
$(B)/renderergl1/sdl_glimp.o
|
||||||
|
|
||||||
ifneq ($(USE_RENDERER_DLOPEN), 0)
|
ifneq ($(USE_RENDERER_DLOPEN), 0)
|
||||||
Q3ROBJ += \
|
Q3ROBJ += \
|
||||||
$(B)/renderer/q_shared.o \
|
$(B)/renderergl1/q_shared.o \
|
||||||
$(B)/renderer/puff.o \
|
$(B)/renderergl1/puff.o \
|
||||||
$(B)/renderer/q_math.o \
|
$(B)/renderergl1/q_math.o \
|
||||||
$(B)/renderer/tr_subs.o
|
$(B)/renderergl1/tr_subs.o
|
||||||
|
|
||||||
Q3R2OBJ += \
|
Q3R2OBJ += \
|
||||||
$(B)/renderer/q_shared.o \
|
$(B)/renderergl1/q_shared.o \
|
||||||
$(B)/renderer/puff.o \
|
$(B)/renderergl1/puff.o \
|
||||||
$(B)/renderer/q_math.o \
|
$(B)/renderergl1/q_math.o \
|
||||||
$(B)/renderer/tr_subs.o
|
$(B)/renderergl1/tr_subs.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(USE_INTERNAL_JPEG),0)
|
ifneq ($(USE_INTERNAL_JPEG),0)
|
||||||
JPGOBJ = \
|
JPGOBJ = \
|
||||||
$(B)/renderer/jaricom.o \
|
$(B)/renderergl1/jaricom.o \
|
||||||
$(B)/renderer/jcapimin.o \
|
$(B)/renderergl1/jcapimin.o \
|
||||||
$(B)/renderer/jcapistd.o \
|
$(B)/renderergl1/jcapistd.o \
|
||||||
$(B)/renderer/jcarith.o \
|
$(B)/renderergl1/jcarith.o \
|
||||||
$(B)/renderer/jccoefct.o \
|
$(B)/renderergl1/jccoefct.o \
|
||||||
$(B)/renderer/jccolor.o \
|
$(B)/renderergl1/jccolor.o \
|
||||||
$(B)/renderer/jcdctmgr.o \
|
$(B)/renderergl1/jcdctmgr.o \
|
||||||
$(B)/renderer/jchuff.o \
|
$(B)/renderergl1/jchuff.o \
|
||||||
$(B)/renderer/jcinit.o \
|
$(B)/renderergl1/jcinit.o \
|
||||||
$(B)/renderer/jcmainct.o \
|
$(B)/renderergl1/jcmainct.o \
|
||||||
$(B)/renderer/jcmarker.o \
|
$(B)/renderergl1/jcmarker.o \
|
||||||
$(B)/renderer/jcmaster.o \
|
$(B)/renderergl1/jcmaster.o \
|
||||||
$(B)/renderer/jcomapi.o \
|
$(B)/renderergl1/jcomapi.o \
|
||||||
$(B)/renderer/jcparam.o \
|
$(B)/renderergl1/jcparam.o \
|
||||||
$(B)/renderer/jcprepct.o \
|
$(B)/renderergl1/jcprepct.o \
|
||||||
$(B)/renderer/jcsample.o \
|
$(B)/renderergl1/jcsample.o \
|
||||||
$(B)/renderer/jctrans.o \
|
$(B)/renderergl1/jctrans.o \
|
||||||
$(B)/renderer/jdapimin.o \
|
$(B)/renderergl1/jdapimin.o \
|
||||||
$(B)/renderer/jdapistd.o \
|
$(B)/renderergl1/jdapistd.o \
|
||||||
$(B)/renderer/jdarith.o \
|
$(B)/renderergl1/jdarith.o \
|
||||||
$(B)/renderer/jdatadst.o \
|
$(B)/renderergl1/jdatadst.o \
|
||||||
$(B)/renderer/jdatasrc.o \
|
$(B)/renderergl1/jdatasrc.o \
|
||||||
$(B)/renderer/jdcoefct.o \
|
$(B)/renderergl1/jdcoefct.o \
|
||||||
$(B)/renderer/jdcolor.o \
|
$(B)/renderergl1/jdcolor.o \
|
||||||
$(B)/renderer/jddctmgr.o \
|
$(B)/renderergl1/jddctmgr.o \
|
||||||
$(B)/renderer/jdhuff.o \
|
$(B)/renderergl1/jdhuff.o \
|
||||||
$(B)/renderer/jdinput.o \
|
$(B)/renderergl1/jdinput.o \
|
||||||
$(B)/renderer/jdmainct.o \
|
$(B)/renderergl1/jdmainct.o \
|
||||||
$(B)/renderer/jdmarker.o \
|
$(B)/renderergl1/jdmarker.o \
|
||||||
$(B)/renderer/jdmaster.o \
|
$(B)/renderergl1/jdmaster.o \
|
||||||
$(B)/renderer/jdmerge.o \
|
$(B)/renderergl1/jdmerge.o \
|
||||||
$(B)/renderer/jdpostct.o \
|
$(B)/renderergl1/jdpostct.o \
|
||||||
$(B)/renderer/jdsample.o \
|
$(B)/renderergl1/jdsample.o \
|
||||||
$(B)/renderer/jdtrans.o \
|
$(B)/renderergl1/jdtrans.o \
|
||||||
$(B)/renderer/jerror.o \
|
$(B)/renderergl1/jerror.o \
|
||||||
$(B)/renderer/jfdctflt.o \
|
$(B)/renderergl1/jfdctflt.o \
|
||||||
$(B)/renderer/jfdctfst.o \
|
$(B)/renderergl1/jfdctfst.o \
|
||||||
$(B)/renderer/jfdctint.o \
|
$(B)/renderergl1/jfdctint.o \
|
||||||
$(B)/renderer/jidctflt.o \
|
$(B)/renderergl1/jidctflt.o \
|
||||||
$(B)/renderer/jidctfst.o \
|
$(B)/renderergl1/jidctfst.o \
|
||||||
$(B)/renderer/jidctint.o \
|
$(B)/renderergl1/jidctint.o \
|
||||||
$(B)/renderer/jmemmgr.o \
|
$(B)/renderergl1/jmemmgr.o \
|
||||||
$(B)/renderer/jmemnobs.o \
|
$(B)/renderergl1/jmemnobs.o \
|
||||||
$(B)/renderer/jquant1.o \
|
$(B)/renderergl1/jquant1.o \
|
||||||
$(B)/renderer/jquant2.o \
|
$(B)/renderergl1/jquant2.o \
|
||||||
$(B)/renderer/jutils.o
|
$(B)/renderergl1/jutils.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(ARCH),i386)
|
ifeq ($(ARCH),i386)
|
||||||
|
@ -1807,7 +1807,7 @@ $(B)/renderer_opengl1_$(SHLIBNAME): $(Q3ROBJ) $(JPGOBJ)
|
||||||
$(Q)$(CC) $(CFLAGS) $(SHLIBLDFLAGS) -o $@ $(Q3ROBJ) $(JPGOBJ) \
|
$(Q)$(CC) $(CFLAGS) $(SHLIBLDFLAGS) -o $@ $(Q3ROBJ) $(JPGOBJ) \
|
||||||
$(THREAD_LIBS) $(LIBSDLMAIN) $(RENDERER_LIBS) $(LIBS)
|
$(THREAD_LIBS) $(LIBSDLMAIN) $(RENDERER_LIBS) $(LIBS)
|
||||||
|
|
||||||
$(B)/renderer_rend2_$(SHLIBNAME): $(Q3R2OBJ) $(Q3R2STRINGOBJ) $(JPGOBJ)
|
$(B)/renderer_opengl2_$(SHLIBNAME): $(Q3R2OBJ) $(Q3R2STRINGOBJ) $(JPGOBJ)
|
||||||
$(echo_cmd) "LD $@"
|
$(echo_cmd) "LD $@"
|
||||||
$(Q)$(CC) $(CFLAGS) $(SHLIBLDFLAGS) -o $@ $(Q3R2OBJ) $(Q3R2STRINGOBJ) $(JPGOBJ) \
|
$(Q)$(CC) $(CFLAGS) $(SHLIBLDFLAGS) -o $@ $(Q3R2OBJ) $(Q3R2STRINGOBJ) $(JPGOBJ) \
|
||||||
$(THREAD_LIBS) $(LIBSDLMAIN) $(RENDERER_LIBS) $(LIBS)
|
$(THREAD_LIBS) $(LIBSDLMAIN) $(RENDERER_LIBS) $(LIBS)
|
||||||
|
@ -1818,7 +1818,7 @@ $(B)/$(CLIENTBIN)$(FULLBINEXT): $(Q3OBJ) $(Q3ROBJ) $(JPGOBJ) $(LIBSDLMAIN)
|
||||||
-o $@ $(Q3OBJ) $(Q3ROBJ) $(JPGOBJ) \
|
-o $@ $(Q3OBJ) $(Q3ROBJ) $(JPGOBJ) \
|
||||||
$(LIBSDLMAIN) $(CLIENT_LIBS) $(RENDERER_LIBS) $(LIBS)
|
$(LIBSDLMAIN) $(CLIENT_LIBS) $(RENDERER_LIBS) $(LIBS)
|
||||||
|
|
||||||
$(B)/$(CLIENTBIN)_rend2$(FULLBINEXT): $(Q3OBJ) $(Q3R2OBJ) $(Q3R2STRINGOBJ) $(JPGOBJ) $(LIBSDLMAIN)
|
$(B)/$(CLIENTBIN)_opengl2$(FULLBINEXT): $(Q3OBJ) $(Q3R2OBJ) $(Q3R2STRINGOBJ) $(JPGOBJ) $(LIBSDLMAIN)
|
||||||
$(echo_cmd) "LD $@"
|
$(echo_cmd) "LD $@"
|
||||||
$(Q)$(CC) $(CLIENT_CFLAGS) $(CFLAGS) $(CLIENT_LDFLAGS) $(LDFLAGS) \
|
$(Q)$(CC) $(CLIENT_CFLAGS) $(CFLAGS) $(CLIENT_LDFLAGS) $(LDFLAGS) \
|
||||||
-o $@ $(Q3OBJ) $(Q3R2OBJ) $(Q3R2STRINGOBJ) $(JPGOBJ) \
|
-o $@ $(Q3OBJ) $(Q3R2OBJ) $(Q3R2STRINGOBJ) $(JPGOBJ) \
|
||||||
|
@ -2346,25 +2346,25 @@ $(B)/client/%.o: $(SYSDIR)/%.rc
|
||||||
$(DO_WINDRES)
|
$(DO_WINDRES)
|
||||||
|
|
||||||
|
|
||||||
$(B)/renderer/%.o: $(CMDIR)/%.c
|
$(B)/renderergl1/%.o: $(CMDIR)/%.c
|
||||||
$(DO_REF_CC)
|
$(DO_REF_CC)
|
||||||
|
|
||||||
$(B)/renderer/%.o: $(SDLDIR)/%.c
|
$(B)/renderergl1/%.o: $(SDLDIR)/%.c
|
||||||
$(DO_REF_CC)
|
$(DO_REF_CC)
|
||||||
|
|
||||||
$(B)/renderer/%.o: $(JPDIR)/%.c
|
$(B)/renderergl1/%.o: $(JPDIR)/%.c
|
||||||
$(DO_REF_CC)
|
$(DO_REF_CC)
|
||||||
|
|
||||||
$(B)/renderer/%.o: $(RDIR)/%.c
|
$(B)/renderergl1/%.o: $(RGL1DIR)/%.c
|
||||||
$(DO_REF_CC)
|
$(DO_REF_CC)
|
||||||
|
|
||||||
$(B)/rend2/glsl/%.c: $(R2DIR)/glsl/%.glsl
|
$(B)/renderergl2/glsl/%.c: $(RGL2DIR)/glsl/%.glsl
|
||||||
$(DO_REF_STR)
|
$(DO_REF_STR)
|
||||||
|
|
||||||
$(B)/rend2/glsl/%.o: $(B)/rend2/glsl/%.c
|
$(B)/renderergl2/glsl/%.o: $(B)/renderergl2/glsl/%.c
|
||||||
$(DO_REF_CC)
|
$(DO_REF_CC)
|
||||||
|
|
||||||
$(B)/rend2/%.o: $(R2DIR)/%.c
|
$(B)/renderergl2/%.o: $(RGL2DIR)/%.c
|
||||||
$(DO_REF_CC)
|
$(DO_REF_CC)
|
||||||
|
|
||||||
|
|
||||||
|
@ -2513,8 +2513,8 @@ ifneq ($(BUILD_CLIENT),0)
|
||||||
$(INSTALL) $(STRIP_FLAG) -m 0755 $(BR)/$(CLIENTBIN)$(FULLBINEXT) $(COPYBINDIR)/$(CLIENTBIN)$(FULLBINEXT)
|
$(INSTALL) $(STRIP_FLAG) -m 0755 $(BR)/$(CLIENTBIN)$(FULLBINEXT) $(COPYBINDIR)/$(CLIENTBIN)$(FULLBINEXT)
|
||||||
ifneq ($(USE_RENDERER_DLOPEN),0)
|
ifneq ($(USE_RENDERER_DLOPEN),0)
|
||||||
$(INSTALL) $(STRIP_FLAG) -m 0755 $(BR)/renderer_opengl1_$(SHLIBNAME) $(COPYBINDIR)/renderer_opengl1_$(SHLIBNAME)
|
$(INSTALL) $(STRIP_FLAG) -m 0755 $(BR)/renderer_opengl1_$(SHLIBNAME) $(COPYBINDIR)/renderer_opengl1_$(SHLIBNAME)
|
||||||
ifneq ($(BUILD_RENDERER_REND2),0)
|
ifneq ($(BUILD_RENDERER_OPENGL2),0)
|
||||||
$(INSTALL) $(STRIP_FLAG) -m 0755 $(BR)/renderer_rend2_$(SHLIBNAME) $(COPYBINDIR)/renderer_rend2_$(SHLIBNAME)
|
$(INSTALL) $(STRIP_FLAG) -m 0755 $(BR)/renderer_opengl2_$(SHLIBNAME) $(COPYBINDIR)/renderer_opengl2_$(SHLIBNAME)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -21,7 +21,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
//
|
//
|
||||||
#include "../qcommon/q_shared.h"
|
#include "../qcommon/q_shared.h"
|
||||||
#include "../renderer/tr_types.h"
|
#include "../renderercommon/tr_types.h"
|
||||||
#include "../game/bg_public.h"
|
#include "../game/bg_public.h"
|
||||||
#include "cg_public.h"
|
#include "cg_public.h"
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
#include "../qcommon/q_shared.h"
|
#include "../qcommon/q_shared.h"
|
||||||
#include "../qcommon/qcommon.h"
|
#include "../qcommon/qcommon.h"
|
||||||
#include "../renderer/tr_public.h"
|
#include "../renderercommon/tr_public.h"
|
||||||
#include "../ui/ui_public.h"
|
#include "../ui/ui_public.h"
|
||||||
#include "keys.h"
|
#include "keys.h"
|
||||||
#include "snd_public.h"
|
#include "snd_public.h"
|
||||||
|
|
|
@ -19,7 +19,7 @@ along with Quake III Arena source code; if not, write to the Free Software
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
===========================================================================
|
===========================================================================
|
||||||
*/
|
*/
|
||||||
#include "../renderer/tr_local.h"
|
#include "../renderergl1/tr_local.h"
|
||||||
|
|
||||||
|
|
||||||
qboolean ( * qwglSwapIntervalEXT)( int interval );
|
qboolean ( * qwglSwapIntervalEXT)( int interval );
|
||||||
|
|
|
@ -24,7 +24,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
#define __UI_LOCAL_H__
|
#define __UI_LOCAL_H__
|
||||||
|
|
||||||
#include "../qcommon/q_shared.h"
|
#include "../qcommon/q_shared.h"
|
||||||
#include "../renderer/tr_types.h"
|
#include "../renderercommon/tr_types.h"
|
||||||
//NOTE: include the ui_public.h from the new UI
|
//NOTE: include the ui_public.h from the new UI
|
||||||
#include "../ui/ui_public.h"
|
#include "../ui/ui_public.h"
|
||||||
//redefine to old API version
|
//redefine to old API version
|
||||||
|
|
|
@ -27,9 +27,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
#include "../qcommon/q_shared.h"
|
#include "../qcommon/q_shared.h"
|
||||||
#include "../qcommon/qfiles.h"
|
#include "../qcommon/qfiles.h"
|
||||||
#include "../qcommon/qcommon.h"
|
#include "../qcommon/qcommon.h"
|
||||||
#include "tr_public.h"
|
#include "../renderercommon/tr_public.h"
|
||||||
#include "qgl.h"
|
#include "qgl.h"
|
||||||
#include "iqm.h"
|
#include "../renderercommon/iqm.h"
|
||||||
|
|
||||||
#define GL_INDEX_TYPE GL_UNSIGNED_INT
|
#define GL_INDEX_TYPE GL_UNSIGNED_INT
|
||||||
typedef unsigned int glIndex_t;
|
typedef unsigned int glIndex_t;
|
|
@ -23,7 +23,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
#include "../qcommon/q_shared.h"
|
#include "../qcommon/q_shared.h"
|
||||||
#include "../qcommon/qfiles.h"
|
#include "../qcommon/qfiles.h"
|
||||||
#include "../qcommon/qcommon.h"
|
#include "../qcommon/qcommon.h"
|
||||||
#include "../renderer/tr_public.h"
|
#include "../renderercommon/tr_public.h"
|
||||||
extern refimport_t ri;
|
extern refimport_t ri;
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
|
@ -23,7 +23,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
#include "../qcommon/q_shared.h"
|
#include "../qcommon/q_shared.h"
|
||||||
#include "../qcommon/qfiles.h"
|
#include "../qcommon/qfiles.h"
|
||||||
#include "../qcommon/qcommon.h"
|
#include "../qcommon/qcommon.h"
|
||||||
#include "../renderer/tr_public.h"
|
#include "../renderercommon/tr_public.h"
|
||||||
extern refimport_t ri;
|
extern refimport_t ri;
|
||||||
|
|
||||||
/*
|
/*
|
|
@ -24,7 +24,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
#include "../qcommon/q_shared.h"
|
#include "../qcommon/q_shared.h"
|
||||||
#include "../qcommon/qfiles.h"
|
#include "../qcommon/qfiles.h"
|
||||||
#include "../qcommon/qcommon.h"
|
#include "../qcommon/qcommon.h"
|
||||||
#include "../renderer/tr_public.h"
|
#include "../renderercommon/tr_public.h"
|
||||||
extern refimport_t ri;
|
extern refimport_t ri;
|
||||||
|
|
||||||
/*
|
/*
|
|
@ -22,7 +22,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
#include "../qcommon/q_shared.h"
|
#include "../qcommon/q_shared.h"
|
||||||
#include "../qcommon/qfiles.h"
|
#include "../qcommon/qfiles.h"
|
||||||
#include "../qcommon/qcommon.h"
|
#include "../qcommon/qcommon.h"
|
||||||
#include "../renderer/tr_public.h"
|
#include "../renderercommon/tr_public.h"
|
||||||
extern refimport_t ri;
|
extern refimport_t ri;
|
||||||
|
|
||||||
#include "../qcommon/puff.h"
|
#include "../qcommon/puff.h"
|
|
@ -23,7 +23,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
#include "../qcommon/q_shared.h"
|
#include "../qcommon/q_shared.h"
|
||||||
#include "../qcommon/qfiles.h"
|
#include "../qcommon/qfiles.h"
|
||||||
#include "../qcommon/qcommon.h"
|
#include "../qcommon/qcommon.h"
|
||||||
#include "../renderer/tr_public.h"
|
#include "../renderercommon/tr_public.h"
|
||||||
extern refimport_t ri;
|
extern refimport_t ri;
|
||||||
|
|
||||||
/*
|
/*
|
|
@ -27,13 +27,13 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
#include "../qcommon/q_shared.h"
|
#include "../qcommon/q_shared.h"
|
||||||
#include "../qcommon/qfiles.h"
|
#include "../qcommon/qfiles.h"
|
||||||
#include "../qcommon/qcommon.h"
|
#include "../qcommon/qcommon.h"
|
||||||
#include "../renderer/tr_public.h"
|
#include "../renderercommon/tr_public.h"
|
||||||
#include "tr_extratypes.h"
|
#include "tr_extratypes.h"
|
||||||
#include "tr_extramath.h"
|
#include "tr_extramath.h"
|
||||||
#include "tr_fbo.h"
|
#include "tr_fbo.h"
|
||||||
#include "tr_postprocess.h"
|
#include "tr_postprocess.h"
|
||||||
#include "qgl.h"
|
#include "qgl.h"
|
||||||
#include "../renderer/iqm.h"
|
#include "../renderercommon/iqm.h"
|
||||||
|
|
||||||
#define GL_INDEX_TYPE GL_UNSIGNED_INT
|
#define GL_INDEX_TYPE GL_UNSIGNED_INT
|
||||||
typedef unsigned int glIndex_t;
|
typedef unsigned int glIndex_t;
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue