summaryrefslogtreecommitdiff
path: root/include/bufferoption.h
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-08-28 03:51:38 +0200
committerTreeki <treeki@gmail.com>2012-08-28 03:51:38 +0200
commit80a9d3f3ab5a08447bbbde669e7a077ffc3f1178 (patch)
tree6716124d4343837b896c5e0bf9fea161e4864ace /include/bufferoption.h
parentf65f7b8050e2922900dcbebada6ca5ee875873f7 (diff)
downloadkamek-80a9d3f3ab5a08447bbbde669e7a077ffc3f1178.tar.gz
kamek-80a9d3f3ab5a08447bbbde669e7a077ffc3f1178.zip
some header file changes/fixes
Diffstat (limited to 'include/bufferoption.h')
-rw-r--r--include/bufferoption.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/include/bufferoption.h b/include/bufferoption.h
new file mode 100644
index 0000000..62bfbb6
--- /dev/null
+++ b/include/bufferoption.h
@@ -0,0 +1,33 @@
+#ifndef BUFFEROPTION_H
+#define BUFFEROPTION_H
+enum BufferOption
+{
+ BUFFER_RESTEXOBJ = 0x00000001,
+ BUFFER_RESTLUTOBJ = 0x00000002,
+ BUFFER_RESTEXSRT = 0x00000004,
+ BUFFER_RESCHAN = 0x00000008,
+ BUFFER_RESGENMODE = 0x00000010,
+ BUFFER_RESMATMISC = 0x00000020,
+ BUFFER_VIS = 0x00000040,
+
+ BUFFER_RESPIX = 0x00000080,
+ BUFFER_RESTEVCOLOR = 0x00000100,
+ BUFFER_RESINDMTXANDSCALE = 0x00000200,
+ BUFFER_RESTEXCOORDGEN = 0x00000400,
+ BUFFER_RESTEV = 0x00000800,
+
+ BUFFER_VTXPOS = 0x00001000,
+ BUFFER_VTXNRM = 0x00002000,
+ BUFFER_VTXCLR = 0x00004000,
+
+ ALWAYS_BUFFER_ANM_SHP = 0x01000000,
+
+ ANM_MATCLR = BUFFER_RESTEVCOLOR | BUFFER_RESCHAN,
+ ANM_TEXPAT = BUFFER_RESTEXOBJ | BUFFER_RESTLUTOBJ,
+ ANM_TEXSRT = BUFFER_RESTEXSRT,
+ ANM_VIS = BUFFER_VIS,
+ ANM_SHP = BUFFER_VTXPOS | BUFFER_VTXNRM | BUFFER_VTXCLR,
+ ANM_VTX = ANM_SHP,
+ ANM_ALL = ANM_MATCLR | ANM_TEXPAT | ANM_TEXSRT | ANM_VIS | ANM_VTX
+};
+#endif /* BUFFEROPTION_H */