00001 #ifndef __HEMI_H__
00002 #define __HEMI_H__
00003
00004
00005 #include <stdio.h>
00006 #include <math.h>
00007 #include <stdlib.h>
00008 #include <string.h>
00009
00010 #include "libmala/vector.h"
00011 #include "libmala/quaternion.h"
00012 #include "libmala/matrix.h"
00013 #include "libmala/plane.h"
00014 #include "libmala/fmath.h"
00015
00016 #include "liballoy/alloy.h"
00017
00018
00019 #define HEXTERN extern
00020
00021
00022
00023
00024
00025 typedef unsigned int hemi_uint;
00026 typedef unsigned short hemi_ushort;
00027 typedef unsigned char hemi_byte;
00028
00029
00030 #define HEMI_ERROR 0xF0000000
00031
00032 #define HEMI_TRUE 0x00000001
00033 #define HEMI_FALSE 0x00000000
00034
00035
00036 #define HEMI_ERROR_FILE_READ 0x10000000
00037
00038 #define HEMI_ERROR_FILE_FORMAT 0x20000000
00039
00040 #define HEMI_ERROR_MEMORY 0x30000000
00041
00042 #define HEMI_ERROR_STRING_READ 0x40000000
00043
00044 #include "util.h"
00045
00046
00047 #endif