Changeset 6480 in orxonox.OLD for trunk/src/lib/graphics
- Timestamp:
- Jan 11, 2006, 3:32:25 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/importer/tc.h
r6308 r6480 12 12 /* 13 13 Abbreviated: 14 vertexvert15 primitiveprim16 maximummax17 minimummin18 parameterparam14 vertex vert 15 primitive prim 16 maximum max 17 minimum min 18 parameter param 19 19 */ 20 20 21 #define ACTC_NO_ERROR 22 #define ACTC_ALLOC_FAILED 23 #define ACTC_DURING_INPUT 24 #define ACTC_DURING_OUTPUT 25 #define ACTC_IDLE 26 #define ACTC_INVALID_VALUE 27 #define ACTC_DATABASE_EMPTY 28 #define ACTC_DATABASE_CORRUPT 29 #define ACTC_PRIM_COMPLETE 21 #define ACTC_NO_ERROR 0 22 #define ACTC_ALLOC_FAILED -0x2000 23 #define ACTC_DURING_INPUT -0x2001 24 #define ACTC_DURING_OUTPUT -0x2002 25 #define ACTC_IDLE -0x2003 26 #define ACTC_INVALID_VALUE -0x2004 27 #define ACTC_DATABASE_EMPTY -0x2005 28 #define ACTC_DATABASE_CORRUPT -0x2006 29 #define ACTC_PRIM_COMPLETE -0x2007 30 30 31 #define ACTC_OUT_MIN_FAN_VERTS 32 #define ACTC_OUT_HONOR_WINDING 33 #define ACTC_OUT_MAX_PRIM_VERTS 34 #define ACTC_IN_MIN_VERT 35 #define ACTC_IN_MAX_VERT 36 #define ACTC_IN_MAX_VERT_SHARING 37 #define ACTC_IN_MAX_EDGE_SHARING 38 #define ACTC_MINOR_VERSION 39 #define ACTC_MAJOR_VERSION 31 #define ACTC_OUT_MIN_FAN_VERTS 0x1000 32 #define ACTC_OUT_HONOR_WINDING 0x1001 33 #define ACTC_OUT_MAX_PRIM_VERTS 0x1004 34 #define ACTC_IN_MIN_VERT 0x1005 35 #define ACTC_IN_MAX_VERT 0x1006 36 #define ACTC_IN_MAX_VERT_SHARING 0x1007 37 #define ACTC_IN_MAX_EDGE_SHARING 0x1008 38 #define ACTC_MINOR_VERSION 0x1009 39 #define ACTC_MAJOR_VERSION 0x1010 40 40 41 #define ACTC_PRIM_FAN 42 #define ACTC_PRIM_STRIP 41 #define ACTC_PRIM_FAN 0x2000 42 #define ACTC_PRIM_STRIP 0x2001 43 43 44 #define ACTC_TRUE 45 #define ACTC_FALSE 44 #define ACTC_TRUE 1 45 #define ACTC_FALSE 0 46 46 47 47 ACTCData *actcNew(void); 48 48 int actcParami(ACTCData *tc, int param, int value); 49 49 int actcGetParami(ACTCData *tc, int param, int *value); 50 int actcParamu(ACTCData *tc, int param, u int value);51 int actcGetParamu(ACTCData *tc, int param, u int *value);50 int actcParamu(ACTCData *tc, int param, unsigned int value); 51 int actcGetParamu(ACTCData *tc, int param, unsigned int *value); 52 52 int actcGetError(ACTCData *tc); 53 53 int actcMakeEmpty(ACTCData *tc); … … 57 57 int actcBeginInput(ACTCData *tc); 58 58 int actcGetIsDuringInput(ACTCData *tc); 59 int actcAddTriangle(ACTCData *tc, u int v1, uint v2, uint v3);59 int actcAddTriangle(ACTCData *tc, unsigned int v1, unsigned int v2, unsigned int v3); 60 60 int actcEndInput(ACTCData *tc); 61 61 62 62 int actcBeginOutput(ACTCData *tc); 63 63 int actcGetIsDuringOutput(ACTCData *tc); 64 int actcStartNextPrim(ACTCData *tc, u int *v1Return, uint *v2Return);65 int actcGetNextVert(ACTCData *tc, u int *vReturn);64 int actcStartNextPrim(ACTCData *tc, unsigned int *v1Return, unsigned int *v2Return); 65 int actcGetNextVert(ACTCData *tc, unsigned int *vReturn); 66 66 int actcEndOutput(ACTCData *tc); 67 67 … … 69 69 70 70 int actcTrianglesToPrimitives(ACTCData *tc, int triangleCount, 71 u int (*triangles)[3], int primTypes[], int primLengths[], uint vertices[],71 unsigned int (*triangles)[3], int primTypes[], int primLengths[], unsigned int vertices[], 72 72 int maxBatchSize); 73 73
Note: See TracChangeset
for help on using the changeset viewer.