Move puff.* to renderercommon

This commit is contained in:
Tim Angus 2025-08-01 20:32:04 +01:00
parent 92fb145f43
commit 8976973d3b
4 changed files with 8 additions and 7 deletions

View File

@ -1905,7 +1905,6 @@ Q3OBJ = \
\
$(B)/client/unzip.o \
$(B)/client/ioapi.o \
$(B)/client/puff.o \
$(B)/client/vm.o \
$(B)/client/vm_interpreted.o \
\
@ -2006,7 +2005,9 @@ Q3R2OBJ = \
$(B)/renderergl2/tr_world.o \
\
$(B)/renderergl1/sdl_gamma.o \
$(B)/renderergl1/sdl_glimp.o
$(B)/renderergl1/sdl_glimp.o \
\
$(B)/renderergl2/puff.o
Q3R2STRINGOBJ = \
$(B)/renderergl2/glsl/bokeh_fp.o \
@ -2071,18 +2072,18 @@ Q3ROBJ = \
$(B)/renderergl1/tr_world.o \
\
$(B)/renderergl1/sdl_gamma.o \
$(B)/renderergl1/sdl_glimp.o
$(B)/renderergl1/sdl_glimp.o \
\
$(B)/renderergl1/puff.o
ifneq ($(USE_RENDERER_DLOPEN), 0)
Q3ROBJ += \
$(B)/renderergl1/q_shared.o \
$(B)/renderergl1/puff.o \
$(B)/renderergl1/q_math.o \
$(B)/renderergl1/tr_subs.o
Q3R2OBJ += \
$(B)/renderergl2/q_shared.o \
$(B)/renderergl2/puff.o \
$(B)/renderergl2/q_math.o \
$(B)/renderergl2/tr_subs.o
endif

View File

@ -30,7 +30,7 @@
#ifndef __PUFF_H
#define __PUFF_H
#include "q_shared.h" /* for definitions of the <stdint.h> types */
#include "../qcommon/q_shared.h" /* for definitions of the <stdint.h> types */
/*
* See puff.c for purpose and usage.

View File

@ -21,7 +21,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#include "tr_common.h"
#include "../qcommon/puff.h"
#include "puff.h"
// we could limit the png size to a lower value here
#ifndef INT_MAX