From 6762e292d02e37a69a807e01493d4e14319cca33 Mon Sep 17 00:00:00 2001 From: xolatile Date: Tue, 5 Aug 2025 01:05:35 +0200 Subject: Do not compile, deleting stuff... --- src/shared/iengine.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/shared/iengine.h') diff --git a/src/shared/iengine.h b/src/shared/iengine.h index bc2f7a9..9f5dbb5 100644 --- a/src/shared/iengine.h +++ b/src/shared/iengine.h @@ -10,12 +10,10 @@ extern int gamespeed, paused; enum { MATF_INDEX_SHIFT = 0, - MATF_VOLUME_SHIFT = 2, MATF_CLIP_SHIFT = 5, MATF_FLAG_SHIFT = 8, MATF_INDEX = 3 << MATF_INDEX_SHIFT, - MATF_VOLUME = 7 << MATF_VOLUME_SHIFT, MATF_CLIP = 7 << MATF_CLIP_SHIFT, MATF_FLAGS = 0xFF << MATF_FLAG_SHIFT }; @@ -23,9 +21,6 @@ enum enum // cube empty-space materials { MAT_AIR = 0, // the default, fill the empty space with air - MAT_WATER = 1 << MATF_VOLUME_SHIFT, // fill with water, showing waves at the surface - MAT_LAVA = 2 << MATF_VOLUME_SHIFT, // fill with lava - MAT_GLASS = 3 << MATF_VOLUME_SHIFT, // behaves like clip but is blended blueish MAT_NOCLIP = 1 << MATF_CLIP_SHIFT, // collisions always treat cube as empty MAT_CLIP = 2 << MATF_CLIP_SHIFT, // collisions always treat cube as solid @@ -35,10 +30,6 @@ enum // cube empty-space materials MAT_ALPHA = 4 << MATF_FLAG_SHIFT // alpha blended }; -#define isliquid(mat) ((mat)==MAT_WATER || (mat)==MAT_LAVA) -#define isclipped(mat) ((mat)==MAT_GLASS) -#define isdeadly(mat) ((mat)==MAT_LAVA) - extern void lightent(extentity &e, float height = 8.0f); extern void lightreaching(const vec &target, vec &color, vec &dir, bool fast = false, extentity *e = 0, float ambient = 0.4f); extern entity *brightestlight(const vec &target, const vec &dir); -- cgit v1.2.3