X-Git-Url: https://www.kengrimes.com/gitweb/?p=henge%2Fapc.git;a=blobdiff_plain;f=src%2Fapc.h;h=b60342d5c51ecb8320a61153db198a9a34948030;hp=6a8df1ef53c56460f00a83ea8062d7955e433534;hb=f4410cd4b87c75bb112264cf38951461065b7ef9;hpb=1c75266c959f8168fb6a73b6fef22fc91a5affc7 diff --git a/src/apc.h b/src/apc.h index 6a8df1e..b60342d 100644 --- a/src/apc.h +++ b/src/apc.h @@ -1,33 +1,14 @@ -#include -#include -#include +#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_ +