diff options
| author | Steven Fuller <relnev@icculus.org> | 2008-05-04 20:47:08 -0700 |
|---|---|---|
| committer | Patryk Obara <dreamer.tan@gmail.com> | 2019-08-20 02:22:37 +0200 |
| commit | 5d3725f9d972cde917ab9b076cb0b89b33557c7a (patch) | |
| tree | 7378f5fac1dc90fd3d8f52f02db25714010f8912 /src/win95/ltchunk.cpp | |
| parent | 9b449609fac7b23f2f9655ce2d766f1f56679ba4 (diff) | |
Removed a lot of tool code.
Diffstat (limited to 'src/win95/ltchunk.cpp')
| -rw-r--r-- | src/win95/ltchunk.cpp | 30 |
1 files changed, 0 insertions, 30 deletions
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<Chunk*> chlist; - parent->lookup_child("AVPSTRAT",chlist); - for(LIF<Chunk*> 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 //////////////////////////////////////////////////////////////////////////////////// |
