summaryrefslogtreecommitdiff
path: root/src/win95/chnktype.hpp
diff options
context:
space:
mode:
authorSteven Fuller <relnev@icculus.org>2008-05-04 20:47:08 -0700
committerPatryk Obara <dreamer.tan@gmail.com>2019-08-20 02:22:37 +0200
commit5d3725f9d972cde917ab9b076cb0b89b33557c7a (patch)
tree7378f5fac1dc90fd3d8f52f02db25714010f8912 /src/win95/chnktype.hpp
parent9b449609fac7b23f2f9655ce2d766f1f56679ba4 (diff)
Removed a lot of tool code.
Diffstat (limited to 'src/win95/chnktype.hpp')
-rw-r--r--src/win95/chnktype.hpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/win95/chnktype.hpp b/src/win95/chnktype.hpp
index b53a507..500df6d 100644
--- a/src/win95/chnktype.hpp
+++ b/src/win95/chnktype.hpp
@@ -1,9 +1,7 @@
#ifndef _chnktype_hpp
#define _chnktype_hpp 1
-#if engine
#include "3dc.h"
-#endif
#include "list_tem.hpp"
struct ChunkVectorInt;
@@ -28,10 +26,7 @@ struct ChunkVector
ChunkVector friend operator*(const ChunkVector&, const ChunkVector&); //cross prod
-
- #if engine
operator VECTORCH () const;
- #endif
operator ChunkVectorInt () const;
operator ChunkVectorFloat () const;
@@ -57,12 +52,8 @@ struct ChunkVectorInt
ChunkVectorInt friend operator/(const ChunkVectorInt&, const double);
//ChunkVectorInt friend operator*(const ChunkVectorInt&, const ChunkVectorInt&); //cross prod
-
-
- #if engine
operator VECTORCH () const;
- #endif
//friend double dot(const ChunkVector&, const ChunkVector&);//dot product
friend double mod(const ChunkVectorInt&);//magnitude of vector
@@ -84,9 +75,8 @@ struct ChunkVectorFloat
ChunkVectorFloat friend operator/(const ChunkVectorFloat&, const double);
//ChunkVectorInt friend operator*(const ChunkVectorInt&, const ChunkVectorInt&); //cross prod
- #if engine
+
operator VECTORCH () const;
- #endif
//friend double dot(const ChunkVector&, const ChunkVector&);//dot product
friend double mod(const ChunkVectorFloat&);//magnitude of vector