From 5d3725f9d972cde917ab9b076cb0b89b33557c7a Mon Sep 17 00:00:00 2001 From: Steven Fuller Date: Sun, 4 May 2008 20:47:08 -0700 Subject: Removed a lot of tool code. --- src/win95/ltchunk.cpp | 30 ------------------------------ 1 file changed, 30 deletions(-) (limited to 'src/win95/ltchunk.cpp') diff --git a/src/win95/ltchunk.cpp b/src/win95/ltchunk.cpp index 0a50010..78bd44f 100644 --- a/src/win95/ltchunk.cpp +++ b/src/win95/ltchunk.cpp @@ -3,10 +3,6 @@ #include "ltchunk.hpp" -#ifdef cencon -#define new my_new -#endif - //macro for helping to force inclusion of chunks when using libraries FORCE_CHUNK_INCLUDE_IMPLEMENT(ltchunk) @@ -150,35 +146,9 @@ Light_Chunk::Light_Chunk(Chunk_With_Children * parent, const char * data, size_t data += 4; light.pad2 = *((int *) data); - #if engine || cencon light_added_to_module = FALSE; - #endif - } -#if InterfaceEngine -AVP_Strategy_Chunk* Light_Chunk::GetStrategyChunk() -{ - List chlist; - parent->lookup_child("AVPSTRAT",chlist); - for(LIF chlif(&chlist);!chlif.done();chlif.next()) - { - AVP_Strategy_Chunk* asc=(AVP_Strategy_Chunk*)chlif(); - if(asc->index==light.light_number) return asc; - } - return 0; -} - -AVP_Strategy_Chunk* Light_Chunk::CreateStrategyChunk() -{ - AVP_Strategy_Chunk* asc=GetStrategyChunk(); - if(asc) return asc; - - asc=new AVP_Strategy_Chunk(parent); - asc->index=light.light_number; - return asc; -} -#endif //////////////////////////////////////////////////////////////////////////////////// -- cgit v1.3