28 #define DEBUGREC_OFF ++DoNoDebugRec; 29 #define DEBUGREC_ON --DoNoDebugRec; 165 int VtxX[4], VtxY[4];
197 int32_t cx, cy, mat, conv_to, dir,
mconvs;
204 int32_t x1,y1, xL,
yL, dpitch;
236 :
C4PktBuf(rCpyData), eType(eType) {}
250 bool fRecording{
false};
252 bool fStreaming{
false};
253 unsigned int iStreamingPos;
257 C4Record(
const char *szPlaybackFile,
const char *szRecordFile,
const char *szTempRecFile);
265 bool Start(
bool fInitial);
266 bool Stop(
StdStrBuf *pRecordName =
nullptr,
BYTE *pRecordSHA1 =
nullptr);
268 bool Rec(
const C4Control &Ctrl,
int iFrame);
272 bool AddFile(
const char *szLocalFilename,
const char *szAddAs,
bool fDelete =
false);
274 bool StartStreaming(
bool fInitial);
275 void ClearStreamingBuf(
unsigned int iAmount);
276 void StopStreaming();
282 bool StreamFile(
const char *szFilename,
const char *szAddAs);
288 typedef std::list<C4RecordChunk> chunks_t;
290 chunks_t::iterator currChunk;
293 bool fLoadSequential{
false};
295 uint32_t iLastSequentialFrame;
303 bool ReadBinary(
const StdBuf &Buf);
306 bool NextSequentialChunk();
310 bool ExecuteControl(
C4Control *pCtrl,
int iFrame);
314 void DebugRecError(
const char *szError);
315 static bool StreamToRecord(
const char *szStream,
StdStrBuf *pRecord);
void Rotate(MatrixType &mat, float angle, float x, float y, float z)
const StdBuf & GetStreamingBuf() const
C4PktDebugRec(C4RecordChunkType eType, const StdBuf &rCpyData)
unsigned int GetStreamingPos() const
void AddDbgRec(C4RecordChunkType eType, const void *pData=nullptr, int iSize=0)
C4RecordChunkType getType() const
void CompileFunc(C4Real &rValue, StdCompiler *pComp)