mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 07:34:45 +00:00
packet-overflow-checks -- Monitor packet sizes to avoid packet overflow, especially when dynamic variables are used for AFX effect parameterization.
This commit is contained in:
parent
9d547537fd
commit
fc449307f9
1 changed files with 6 additions and 0 deletions
|
|
@ -20,6 +20,11 @@
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
||||||
|
// Arcane-FX for MIT Licensed Open Source version of Torque 3D from GarageGames
|
||||||
|
// Copyright (C) 2015 Faust Logic, Inc.
|
||||||
|
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
||||||
|
|
||||||
#ifndef _BITSTREAM_H_
|
#ifndef _BITSTREAM_H_
|
||||||
#define _BITSTREAM_H_
|
#define _BITSTREAM_H_
|
||||||
|
|
||||||
|
|
@ -254,6 +259,7 @@ public:
|
||||||
U32 getPosition() const;
|
U32 getPosition() const;
|
||||||
bool setPosition(const U32 in_newPosition);
|
bool setPosition(const U32 in_newPosition);
|
||||||
U32 getStreamSize();
|
U32 getStreamSize();
|
||||||
|
S32 getMaxWriteBitNum() const { return maxWriteBitNum; }
|
||||||
};
|
};
|
||||||
|
|
||||||
class ResizeBitStream : public BitStream
|
class ResizeBitStream : public BitStream
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue