terrain-zodiacs -- Changes made for rendering zodiacs on regular terrain.

This commit is contained in:
Marc Chapman 2017-07-26 22:10:56 +01:00
parent 4ab89f637e
commit 8a6ac1fb0f
6 changed files with 194 additions and 0 deletions

View file

@ -20,6 +20,11 @@
// IN THE SOFTWARE.
//-----------------------------------------------------------------------------
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
// Arcane-FX for MIT Licensed Open Source version of Torque 3D from GarageGames
// Copyright (C) 2015 Faust Logic, Inc.
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
#ifndef _TERRDATA_H_
#define _TERRDATA_H_
@ -457,6 +462,13 @@ public:
U32 packUpdate (NetConnection *conn, U32 mask, BitStream *stream);
void unpackUpdate(NetConnection *conn, BitStream *stream);
void inspectPostApply();
protected:
bool mIgnoreZodiacs;
U16* zode_primBuffer;
void deleteZodiacPrimitiveBuffer();
public:
const U16* getZodiacPrimitiveBuffer();
};
#endif // _TERRDATA_H_