Message Editor, Debugger Toggle, Hedit Fix, Code Cleanup, MUD Colour Adjustment

This commit is contained in:
Vatiken
2012-07-07 04:43:10 +00:00
parent 170173010b
commit 60d5836959
20 changed files with 885 additions and 165 deletions

View File

@@ -38,6 +38,7 @@
#include "quest.h"
#include "ibt.h"
#include "mud_event.h"
#include "msgedit.h"
#include <sys/stat.h>
/* declarations of most of the 'global' variables */
@@ -3781,6 +3782,7 @@ static void load_default_config( void )
CONFIG_MAP_SIZE = default_map_size;
CONFIG_MINIMAP_SIZE = default_minimap_size;
CONFIG_SCRIPT_PLAYERS = script_players;
CONFIG_DEBUG_MODE = debug_mode;
/* Rent / crashsave options. */
CONFIG_FREE_RENT = free_rent;
@@ -3869,7 +3871,9 @@ void load_config( void )
break;
case 'd':
if (!str_cmp(tag, "display_closed_doors"))
if (!str_cmp(tag, "debug_mode"))
CONFIG_DEBUG_MODE = num;
else if (!str_cmp(tag, "display_closed_doors"))
CONFIG_DISP_CLOSED_DOORS = num;
else if (!str_cmp(tag, "diagonal_dirs"))
CONFIG_DIAGONAL_DIRS = num;