From 709dac7c37121163a7ee06fc5ed770d24c2346a0 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 27 Jul 2020 06:56:51 +0200 Subject: [PATCH] - more Polymer leftover. --- source/blood/src/mirrors.cpp | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/source/blood/src/mirrors.cpp b/source/blood/src/mirrors.cpp index a1ff2720a..6736b5e4f 100644 --- a/source/blood/src/mirrors.cpp +++ b/source/blood/src/mirrors.cpp @@ -48,40 +48,12 @@ typedef struct MIRROR mirror[16]; -#ifdef POLYMER -void PolymerRORCallback(int16_t sectnum, int16_t wallnum, int8_t rorstat, int16_t* msectnum, int32_t* gx, int32_t* gy, int32_t* gz) -{ - UNREFERENCED_PARAMETER(wallnum); - int nMirror; - switch (rorstat) - { - case 1: - nMirror = sector[sectnum].ceilingpicnum-4080; - *msectnum = mirror[nMirror].at4; - *gx += mirror[nMirror].at8; - *gy += mirror[nMirror].atc; - *gz += mirror[nMirror].at10; - break; - case 2: - nMirror = sector[sectnum].floorpicnum-4080; - *msectnum = mirror[nMirror].at4; - *gx += mirror[nMirror].at8; - *gy += mirror[nMirror].atc; - *gz += mirror[nMirror].at10; - break; - } -} -#endif - void InitMirrors(void) { #ifdef USE_OPENGL r_rortexture = 4080; r_rortexturerange = 16; -#ifdef POLYMER - polymer_setrorcallback(PolymerRORCallback); -#endif // POLYMER #endif mirrorcnt = 0; @@ -489,9 +461,6 @@ void MirrorLoadSave::Load(void) #ifdef USE_OPENGL r_rortexture = 4080; r_rortexturerange = 16; -#ifdef POLYMER - polymer_setrorcallback(PolymerRORCallback); -#endif // POLYMER #endif Read(&mirrorcnt,sizeof(mirrorcnt));