2010-08-02 08:13:51 +00:00
|
|
|
//-------------------------------------------------------------------------
|
|
|
|
/*
|
|
|
|
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
|
2014-07-20 08:55:56 +00:00
|
|
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
2010-08-02 08:13:51 +00:00
|
|
|
*/
|
|
|
|
//-------------------------------------------------------------------------
|
|
|
|
|
2014-11-22 12:32:56 +00:00
|
|
|
#ifndef premap_h_
|
|
|
|
#define premap_h_
|
2010-08-02 08:13:51 +00:00
|
|
|
|
2019-09-21 20:53:00 +00:00
|
|
|
BEGIN_DUKE_NS
|
|
|
|
|
2010-08-02 08:13:51 +00:00
|
|
|
extern int32_t g_levelTextTime;
|
|
|
|
extern int32_t voting,vote_map,vote_episode;
|
2016-08-27 01:40:56 +00:00
|
|
|
int G_EnterLevel(int gameMode);
|
|
|
|
int G_FindLevelByFile(const char *fileName);
|
2010-08-02 08:13:51 +00:00
|
|
|
void G_CacheMapData(void);
|
2016-08-27 01:40:56 +00:00
|
|
|
void G_FreeMapState(int levelNum);
|
|
|
|
void G_NewGame(int volumeNum, int levelNum, int skillNum);
|
2018-11-18 18:07:51 +00:00
|
|
|
void G_ResetTimers(bool saveMoveCnt);
|
2010-08-02 08:13:51 +00:00
|
|
|
void G_UpdateScreenArea(void);
|
2018-11-18 18:08:14 +00:00
|
|
|
void P_MoveToRandomSpawnPoint(int playerNum);
|
2016-08-27 01:40:56 +00:00
|
|
|
void P_ResetInventory(int playerNum);
|
2018-11-18 18:07:57 +00:00
|
|
|
void P_ResetMultiPlayer(int playerNum);
|
2016-08-27 01:40:56 +00:00
|
|
|
void P_ResetPlayer(int playerNum);
|
|
|
|
void P_ResetWeapons(int playerNum);
|
2011-02-25 21:50:19 +00:00
|
|
|
void G_ClearFIFO(void);
|
2011-07-29 22:07:28 +00:00
|
|
|
void G_ResetInterpolations(void);
|
2018-11-18 18:08:08 +00:00
|
|
|
int fragbarheight(void);
|
2010-08-02 08:13:51 +00:00
|
|
|
|
2019-09-21 20:53:00 +00:00
|
|
|
END_DUKE_NS
|
|
|
|
|
2010-08-12 21:06:51 +00:00
|
|
|
#endif
|