fixes
[henge/apc.git] / src / apc.h
index 6a8df1e..a994d12 100644 (file)
--- a/src/apc.h
+++ b/src/apc.h
@@ -1,8 +1,10 @@
-#include <stdint.h>
-#include <unitypes.h>
-#include <limits.h>
+#ifndef _APC_H_
+#define _APC_H_
 
 //ir.h
+enum frame_facing { SFACE, SWFACE, WFACE, NWFACE, NFACE, NEFACE, EFACE, SEFACE, FACING_MAX };
+typedef enum frame_facing apc_facing;
+
 #define BUF_SIZE 256
 #define MAX_SETS 256
 #define MAX_ELES 256
@@ -11,8 +13,8 @@
 #define MAX_MODEL_LEN 256
 #define MAX_MAPS 8
 #define MAX_POSTS 256
-#define MAX_CLASS_DEPTH 256
-#define MAX_CLASSES 256
+#define MAX_CLASS_DEPTH 64
+#define MAX_CLASSES 64
 #define MAX_FRAMES 256
 #define PTRS_IN_PAGE 1024
 #define MAX_CHUNKS 256
@@ -26,8 +28,4 @@
 #define FNAME_MAX 1024
 #define FPATH_MAX 8192
 
-
-struct name
-{
-  uint8_t name[MAX_NAME_LEN];
-};
+#endif //_APC_H_