Main Page | Alphabetical List | Compound List | File List | Compound Members | File Members

_bot.h

Go to the documentation of this file.
00001 #ifndef _bot_h
00002 #define _bot_h
00003 
00005 // _Bot.h - misc junk I want - either out of ignorance or true need
00007 
00008 extern int32 randomseed;
00009 int32 krand(void);
00010 int32 RandomRange(int32 range);
00011 
00012 void VectorRotateY(geVec3d *vec, float delta_ang, geVec3d *result);
00013 
00014 #define M_PI (3.14159f)
00015 #define PI_2 (M_PI*2.0f)
00016 #define M_PI2 (PI_2)
00017 
00018 //#define MAX_STACK_SIZE MAX_TRACKS
00019 typedef struct Stack
00020     { int32 TOS, Size, *Data;} 
00021 Stack;
00022 
00023 void StackInit(Stack *s);
00024 void StackReset(Stack *s);
00025 void StackPush(Stack *s, int32 data);
00026 int32 StackPop(Stack *s);
00027 int32 StackTop(Stack *s);
00028 geBoolean StackIsEmpty(Stack *s);
00029 void StackSetup(Stack *s);
00030 
00031 #endif

Generated on Tue Sep 30 12:35:13 2003 for GTestAndEngine by doxygen 1.3.2