From a5a4f737005258097fb46a7c746ac202575fd03e Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Mon, 2 Apr 2012 22:10:00 +0200 Subject: Lua: Move module initialization code to C --- src/variable.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/variable.c') diff --git a/src/variable.c b/src/variable.c index 0eb0fadf..c00e1e42 100644 --- a/src/variable.c +++ b/src/variable.c @@ -1564,6 +1564,7 @@ s16b last_teleportation_x = -1; * The current game module */ cptr game_module; +s32b game_module_idx; s32b VERSION_MAJOR; s32b VERSION_MINOR; s32b VERSION_PATCH; @@ -1572,7 +1573,11 @@ s32b VERSION_PATCH; * Some module info */ s32b max_plev = 50; +s32b DUNGEON_BASE = 4; s32b DUNGEON_DEATH = 28; +s32b DUNGEON_ASTRAL = 8; +s32b DUNGEON_ASTRAL_WILD_X = 45; +s32b DUNGEON_ASTRAL_WILD_Y = 19; /* * Gods -- cgit v1.2.3