raze-gles/source/games/duke/src/premap.h

50 lines
1.5 KiB
C
Raw Normal View History

//-------------------------------------------------------------------------
/*
Copyright (C) 2010 EDuke32 developers and contributors
This file is part of EDuke32.
EDuke32 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, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
//-------------------------------------------------------------------------
#ifndef premap_h_
#define premap_h_
BEGIN_DUKE_NS
2020-05-14 07:07:07 +00:00
extern int16_t ambientlotag[64];
extern int16_t ambienthitag[64];
int G_EnterLevel(int gameMode);
int G_FindLevelByFile(const char *fileName);
void G_CacheMapData(void);
void G_NewGame(int volumeNum, int levelNum, int skillNum);
void G_ResetTimers(uint8_t keepgtics);
2020-05-20 22:01:41 +00:00
void pickrandomspot(int playerNum);
2020-05-20 21:19:36 +00:00
void resetinventory(int playerNum);
void P_ResetPlayer(int playerNum);
void resetplayerstats(int playerNum);
2020-05-20 21:10:20 +00:00
void resetweapons(int playerNum);
2020-05-20 21:39:54 +00:00
void resetprestat(int snum, int g);
void clearfifo(void);
void G_ResetInterpolations(void);
2020-05-15 20:59:13 +00:00
void setmapfog(int fogtype);
void G_InitRRRASkies(void);
2020-05-21 09:41:48 +00:00
void prelevel_common(int g);
END_DUKE_NS
#endif