Move inithashnames() and freehashnames() declarations into namesdyn.h.

git-svn-id: https://svn.eduke32.com/eduke32@2296 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2012-01-28 14:37:56 +00:00
parent d2ffed7b6b
commit 99f1fcb6c2
3 changed files with 6 additions and 5 deletions

View file

@ -21,6 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
//-------------------------------------------------------------------------
#include "duke3d.h"
#include "namesdyn.h"
#include "gamedef.h"
#include "gameexec.h"
#include "savegame.h"
@ -1038,9 +1039,6 @@ static hashtable_t inputH = { INPUT_END>>1, NULL };
static hashtable_t actorH = { ACTOR_END>>1, NULL };
static hashtable_t tspriteH = { ACTOR_END>>1, NULL };
void inithashnames();
void freehashnames();
void C_InitHashes()
{
int32_t i;

View file

@ -1531,7 +1531,7 @@ void G_ProcessDynamicTileMapping(const char *szLabel, int32_t lValue)
*(list[i].dynvalptr) = lValue;
}
void inithashnames()
void inithashnames(void)
{
int32_t i;
@ -1541,7 +1541,7 @@ void inithashnames()
hash_add(&h_names, list[i].str, i, 0);
}
void freehashnames()
void freehashnames(void)
{
hash_free(&h_names);
}

View file

@ -23,6 +23,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
void G_InitDynamicTiles(void);
void G_ProcessDynamicTileMapping(const char *szLabel, int32_t lValue);
void inithashnames(void);
void freehashnames(void);
extern int32_t SECTOREFFECTOR;
#define SECTOREFFECTOR__STATIC 1
extern int32_t ACTIVATOR;