Renamed instance_variables to global_variables and iv to g.

This commit is contained in:
Bart House
2018-11-23 09:27:10 -08:00
parent 14bf74c862
commit f9a0db6c44
21 changed files with 115 additions and 115 deletions

View File

@@ -329,7 +329,7 @@ decl_init()
#define UNDEFINED_PTR NULL /* move to hack.h if we are keeping */
#define IVMAGIC 0xdeadbeef
const struct instance_variables iv_init = {
const struct instance_globals g_init = {
/* apply.c */
0, /* jumping_is_magic */
-1, /* polearm_range_min */
@@ -366,15 +366,15 @@ const struct instance_variables iv_init = {
IVMAGIC /* used to validate that structure layout has been preserved */
};
struct instance_variables iv;
struct instance_globals g;
void
instance_variable_init()
instance_globals_init()
{
iv = iv_init;
g = g_init;
nhassert(iv_init.magic == IVMAGIC);
nhassert(iv.havestate == TRUE);
nhassert(g_init.magic == IVMAGIC);
nhassert(g_init.havestate == TRUE);
sfcap = default_sfinfo;
sfrestinfo = default_sfinfo;