Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

be_aas_main.h File Reference

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Functions

int AAS_IndexFromModel (char *modelname)
int AAS_Initialized (void)
int AAS_Loaded (void)
char * AAS_ModelFromIndex (int index)
void AAS_ProjectPointOntoVector (vec3_t point, vec3_t vStart, vec3_t vEnd, vec3_t vProj)
float AAS_Time (void)


Function Documentation

int AAS_IndexFromModel char *  modelname  ) 
 

Definition at line 132 of file be_aas_main.c.

References AAS_IndexFromString(), aasworld, aas_s::configstrings, CS_MODELS, and MAX_MODELS.

00133 {
00134     return AAS_IndexFromString("IndexFromModel", &aasworld.configstrings[CS_MODELS], MAX_MODELS, modelname);
00135 } //end of the function AAS_IndexFromModel

Here is the call graph for this function:

int AAS_Initialized void   ) 
 

Definition at line 173 of file be_aas_main.c.

References aasworld, and aas_s::initialized.

00174 {
00175     return aasworld.initialized;
00176 } //end of the function AAS_Initialized

int AAS_Loaded void   ) 
 

Definition at line 163 of file be_aas_main.c.

References aasworld, and aas_s::loaded.

Referenced by BotInitLevelItems().

00164 {
00165     return aasworld.loaded;
00166 } //end of the function AAS_Loaded

char* AAS_ModelFromIndex int  index  ) 
 

Definition at line 122 of file be_aas_main.c.

References AAS_StringFromIndex(), aasworld, aas_s::configstrings, CS_MODELS, and MAX_MODELS.

00123 {
00124     return AAS_StringFromIndex("ModelFromIndex", &aasworld.configstrings[CS_MODELS], MAX_MODELS, index);
00125 } //end of the function AAS_ModelFromIndex

Here is the call graph for this function:

void AAS_ProjectPointOntoVector vec3_t  point,
vec3_t  vStart,
vec3_t  vEnd,
vec3_t  vProj
 

Definition at line 294 of file be_aas_main.c.

References DotProduct, point, vec3_t, VectorMA, VectorNormalize(), and VectorSubtract.

Referenced by AAS_NearestHideArea(), DistanceFromLineSquared(), and DistancePointToLine().

00295 {
00296     vec3_t pVec, vec;
00297 
00298     VectorSubtract( point, vStart, pVec );
00299     VectorSubtract( vEnd, vStart, vec );
00300     VectorNormalize( vec );
00301     // project onto the directional vector for this segment
00302     VectorMA( vStart, DotProduct( pVec, vec ), vec, vProj );
00303 } //end of the function AAS_ProjectPointOntoVector

Here is the call graph for this function:

float AAS_Time void   ) 
 

Definition at line 284 of file be_aas_main.c.

References aasworld, and aas_s::time.

Referenced by AAS_RoutingTime(), AAS_ShowReachableAreas(), AAS_UpdateEntity(), BotAddToAvoidGoals(), BotAddToAvoidReach(), BotAvoidGoalTime(), BotChooseInitialChatMessage(), BotDumpAvoidGoals(), BotGetReachabilityToGoal(), BotItemGoalInVisButNotVisible(), BotMoveToGoal(), BotQueueConsoleMessage(), BotRemoveFromAvoidGoals(), BotReplyChat(), BotTravel_Grapple(), and BotUpdateEntityItems().

00285 {
00286     return aasworld.time;
00287 } //end of the function AAS_Time


Generated on Thu Aug 25 12:39:28 2005 for Quake III Arena by  doxygen 1.3.9.1