mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
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:
parent
d2ffed7b6b
commit
99f1fcb6c2
3 changed files with 6 additions and 5 deletions
|
@ -21,6 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
//-------------------------------------------------------------------------
|
//-------------------------------------------------------------------------
|
||||||
|
|
||||||
#include "duke3d.h"
|
#include "duke3d.h"
|
||||||
|
#include "namesdyn.h"
|
||||||
#include "gamedef.h"
|
#include "gamedef.h"
|
||||||
#include "gameexec.h"
|
#include "gameexec.h"
|
||||||
#include "savegame.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 actorH = { ACTOR_END>>1, NULL };
|
||||||
static hashtable_t tspriteH = { ACTOR_END>>1, NULL };
|
static hashtable_t tspriteH = { ACTOR_END>>1, NULL };
|
||||||
|
|
||||||
void inithashnames();
|
|
||||||
void freehashnames();
|
|
||||||
|
|
||||||
void C_InitHashes()
|
void C_InitHashes()
|
||||||
{
|
{
|
||||||
int32_t i;
|
int32_t i;
|
||||||
|
|
|
@ -1531,7 +1531,7 @@ void G_ProcessDynamicTileMapping(const char *szLabel, int32_t lValue)
|
||||||
*(list[i].dynvalptr) = lValue;
|
*(list[i].dynvalptr) = lValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
void inithashnames()
|
void inithashnames(void)
|
||||||
{
|
{
|
||||||
int32_t i;
|
int32_t i;
|
||||||
|
|
||||||
|
@ -1541,7 +1541,7 @@ void inithashnames()
|
||||||
hash_add(&h_names, list[i].str, i, 0);
|
hash_add(&h_names, list[i].str, i, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void freehashnames()
|
void freehashnames(void)
|
||||||
{
|
{
|
||||||
hash_free(&h_names);
|
hash_free(&h_names);
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,6 +23,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
void G_InitDynamicTiles(void);
|
void G_InitDynamicTiles(void);
|
||||||
void G_ProcessDynamicTileMapping(const char *szLabel, int32_t lValue);
|
void G_ProcessDynamicTileMapping(const char *szLabel, int32_t lValue);
|
||||||
|
|
||||||
|
void inithashnames(void);
|
||||||
|
void freehashnames(void);
|
||||||
|
|
||||||
extern int32_t SECTOREFFECTOR;
|
extern int32_t SECTOREFFECTOR;
|
||||||
#define SECTOREFFECTOR__STATIC 1
|
#define SECTOREFFECTOR__STATIC 1
|
||||||
extern int32_t ACTIVATOR;
|
extern int32_t ACTIVATOR;
|
||||||
|
|
Loading…
Reference in a new issue