ir_linkdata_dlink_name
[henge/apc.git] / src / apc.h
index 6a8df1e..b60342d 100644 (file)
--- a/src/apc.h
+++ b/src/apc.h
@@ -1,33 +1,14 @@
-#include <stdint.h>
-#include <unitypes.h>
-#include <limits.h>
+#ifndef _APC_H_
+#define _APC_H_
 
 //ir.h
-#define BUF_SIZE 256
-#define MAX_SETS 256
-#define MAX_ELES 256
-#define MAX_QUADS 256
-#define MAX_MODELS 256
-#define MAX_MODEL_LEN 256
-#define MAX_MAPS 8
-#define MAX_POSTS 256
-#define MAX_CLASS_DEPTH 256
-#define MAX_CLASSES 256
-#define MAX_FRAMES 256
-#define PTRS_IN_PAGE 1024
-#define MAX_CHUNKS 256
-#define PAGES_PER_CHUNK 16
-#define MAX_DEPTH 8
-//irmem.c
-#define PAGES_PER_CHUNK 16
-#define MAX_NAME_LEN 128
-#define MAX_DEPTH 8
-//lexer.c
-#define FNAME_MAX 1024
-#define FPATH_MAX 8192
+enum frame_facing { SFACE, SWFACE, WFACE, NWFACE, NFACE, NEFACE, EFACE, SEFACE, FACING_MAX };
+typedef enum frame_facing apc_facing;
 
 
-struct name
-{
-  uint8_t name[MAX_NAME_LEN];
-};
+#define APC_NAME_MAX 64
+#define APC_CLASS_DELIMITER '/'
+#define APC_SET_DELIMITER   '_'
+
+#endif //_APC_H_