瀏覽代碼

packet-overflow-checks -- Monitor packet sizes to avoid packet overflow, especially when dynamic variables are used for AFX effect parameterization.

Marc Chapman 8 年之前
父節點
當前提交
d28a416914
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      Engine/source/core/stream/bitStream.h

+ 6 - 0
Engine/source/core/stream/bitStream.h

@@ -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 _BITSTREAM_H_
 #define _BITSTREAM_H_
 
@@ -254,6 +259,7 @@ public:
    U32  getPosition() const;
    bool setPosition(const U32 in_newPosition);
    U32  getStreamSize();
+   S32  getMaxWriteBitNum() const { return maxWriteBitNum; }
 };
 
 class ResizeBitStream : public BitStream