Mercurial > hg > Members > koba > t_dandy
annotate trace.h @ 70:cee55c8365e9 default tip
fix
author | Kazuma |
---|---|
date | Thu, 19 May 2016 18:52:26 +0900 |
parents | 56ef94618a0e |
children |
rev | line source |
---|---|
43 | 1 #ifndef INCLUDE_TRACE_H |
2 #define INCLUDE_TRACE_H | |
3 | |
4 #include "object.h" | |
5 #include "sgoex.h" | |
6 | |
7 #define PAD_BUFSIZE 5000 | |
8 | |
9 typedef struct TraceBuff TraceBuff, *TraceBuffPtr; | |
10 | |
11 struct TraceBuff { | |
12 SGO_PAD cappad[PAD_BUFSIZE]; | |
13 | |
14 TraceBuffPtr next; | |
15 }; | |
39
5484b8606e8e
add trace mode to tree_dandy2(GL).
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
16 |
5484b8606e8e
add trace mode to tree_dandy2(GL).
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
17 void pad_trace(int); |
43 | 18 int PadfileOpen(const char* filename); |
19 void PadfileRead(TraceBuffPtr buff); | |
20 void PadfileWrite(TraceBuffPtr buff); | |
21 TraceBuffPtr CapturePad(TraceBuffPtr buff, SGO_PAD *pad); | |
22 TraceBuffPtr TracePad(TraceBuffPtr buff, SGO_PAD *pad); | |
23 void PadfileClose(TraceBuffPtr buff); | |
24 | |
25 #endif |