mirror of
https://github.com/DrBeef/JKXR.git
synced 2024-12-02 17:12:47 +00:00
67 lines
2 KiB
C
67 lines
2 KiB
C
/*
|
|
===========================================================================
|
|
Copyright (C) 1999 - 2005, Id Software, Inc.
|
|
Copyright (C) 2000 - 2013, Raven Software, Inc.
|
|
Copyright (C) 2001 - 2013, Activision, Inc.
|
|
Copyright (C) 2013 - 2015, OpenJK contributors
|
|
|
|
This file is part of the OpenJK source code.
|
|
|
|
OpenJK is free software; you can redistribute it and/or modify it
|
|
under the terms of the GNU General Public License version 2 as
|
|
published by the Free Software Foundation.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; if not, see <http://www.gnu.org/licenses/>.
|
|
===========================================================================
|
|
*/
|
|
|
|
/*****************************************************************************
|
|
* name: be_aas_main.h
|
|
*
|
|
* desc: AAS
|
|
*
|
|
* $Archive: /source/code/botlib/be_aas_main.h $
|
|
* $Author: Mrelusive $
|
|
* $Revision: 2 $
|
|
* $Modtime: 10/05/99 3:32p $
|
|
* $Date: 10/05/99 3:42p $
|
|
*
|
|
*****************************************************************************/
|
|
|
|
#pragma once
|
|
|
|
#include "be_aas_def.h"
|
|
|
|
#ifdef AASINTERN
|
|
|
|
extern aas_t aasworld;
|
|
|
|
//AAS error message
|
|
void QDECL AAS_Error(char *fmt, ...) __attribute__ ((format (printf, 1, 2)));
|
|
//set AAS initialized
|
|
void AAS_SetInitialized(void);
|
|
//setup AAS with the given number of entities and clients
|
|
int AAS_Setup(void);
|
|
//shutdown AAS
|
|
void AAS_Shutdown(void);
|
|
//start a new map
|
|
int AAS_LoadMap(const char *mapname);
|
|
//start a new time frame
|
|
int AAS_StartFrame(float time);
|
|
|
|
#endif //AASINTERN
|
|
|
|
//returns true if AAS is initialized
|
|
int AAS_Initialized(void);
|
|
//returns true if the AAS file is loaded
|
|
int AAS_Loaded(void);
|
|
//returns the current time
|
|
float AAS_Time(void);
|
|
//
|
|
void AAS_ProjectPointOntoVector( vec3_t point, vec3_t vStart, vec3_t vEnd, vec3_t vProj );
|