merentha_fluffos_v2/
merentha_fluffos_v2/bin/
merentha_fluffos_v2/fluffos-2.9-ds2.03/
merentha_fluffos_v2/fluffos-2.9-ds2.03/ChangeLog.old/
merentha_fluffos_v2/fluffos-2.9-ds2.03/Win32/
merentha_fluffos_v2/fluffos-2.9-ds2.03/compat/
merentha_fluffos_v2/fluffos-2.9-ds2.03/compat/simuls/
merentha_fluffos_v2/fluffos-2.9-ds2.03/include/
merentha_fluffos_v2/fluffos-2.9-ds2.03/testsuite/
merentha_fluffos_v2/fluffos-2.9-ds2.03/testsuite/clone/
merentha_fluffos_v2/fluffos-2.9-ds2.03/testsuite/command/
merentha_fluffos_v2/fluffos-2.9-ds2.03/testsuite/data/
merentha_fluffos_v2/fluffos-2.9-ds2.03/testsuite/etc/
merentha_fluffos_v2/fluffos-2.9-ds2.03/testsuite/include/
merentha_fluffos_v2/fluffos-2.9-ds2.03/testsuite/inherit/
merentha_fluffos_v2/fluffos-2.9-ds2.03/testsuite/inherit/master/
merentha_fluffos_v2/fluffos-2.9-ds2.03/testsuite/log/
merentha_fluffos_v2/fluffos-2.9-ds2.03/testsuite/single/
merentha_fluffos_v2/fluffos-2.9-ds2.03/testsuite/single/tests/compiler/
merentha_fluffos_v2/fluffos-2.9-ds2.03/testsuite/single/tests/efuns/
merentha_fluffos_v2/fluffos-2.9-ds2.03/testsuite/single/tests/operators/
merentha_fluffos_v2/fluffos-2.9-ds2.03/testsuite/u/
merentha_fluffos_v2/fluffos-2.9-ds2.03/tmp/
merentha_fluffos_v2/fluffos-2.9-ds2.03/windows/
merentha_fluffos_v2/lib/cfg/
merentha_fluffos_v2/lib/cfg/races/
merentha_fluffos_v2/lib/cmds/abilities/
merentha_fluffos_v2/lib/cmds/actions/
merentha_fluffos_v2/lib/cmds/spells/
merentha_fluffos_v2/lib/daemon/include/
merentha_fluffos_v2/lib/daemon/services/
merentha_fluffos_v2/lib/doc/
merentha_fluffos_v2/lib/doc/building/
merentha_fluffos_v2/lib/doc/help/classes/
merentha_fluffos_v2/lib/doc/help/general/
merentha_fluffos_v2/lib/doc/help/races/
merentha_fluffos_v2/lib/doc/help/skills/
merentha_fluffos_v2/lib/doc/help/stats/
merentha_fluffos_v2/lib/doc/man/efuns/
merentha_fluffos_v2/lib/doc/man/lfuns/
merentha_fluffos_v2/lib/doc/news/
merentha_fluffos_v2/lib/doc/old/
merentha_fluffos_v2/lib/doc/old/concepts/
merentha_fluffos_v2/lib/doc/old/lpc/constructs/
merentha_fluffos_v2/lib/doc/old/lpc/types/
merentha_fluffos_v2/lib/domains/ROOMS/
merentha_fluffos_v2/lib/domains/obj/armour/
merentha_fluffos_v2/lib/domains/obj/monsters/
merentha_fluffos_v2/lib/domains/obj/other/
merentha_fluffos_v2/lib/domains/obj/weapons/
merentha_fluffos_v2/lib/realms/petrarch/
merentha_fluffos_v2/lib/save/daemons/
merentha_fluffos_v2/lib/save/rid/
merentha_fluffos_v2/lib/save/users/a/
merentha_fluffos_v2/lib/save/users/p/
merentha_fluffos_v2/lib/save/users/t/
merentha_fluffos_v2/lib/std/login/
merentha_fluffos_v2/lib/std/obj/
merentha_fluffos_v2/win32/
#ifndef SIMULATE_H
#define SIMULATE_H

/* It is usually better to include "lpc_incl.h" instead of including this
   directly */

#define V_SHORT         1
#define V_NOSPACE       2
#define V_FUNCTION      4

/* The end of a static buffer */
#define EndOf(x) (x + sizeof(x)/sizeof(x[0]))

/*
 * simulate.c
 */

extern object_t *obj_list;
extern object_t *obj_list_destruct;
extern object_t *current_object;
extern object_t *command_giver;
extern object_t *current_interactive;
extern char *inherit_file;
extern int tot_alloc_sentence;
extern int MudOS_is_being_shut_down;
#ifdef DEBUG
extern object_t *obj_list_dangling;
extern int tot_dangling_object;
#endif

char *strput (char *, char *, const char *);
char *strput_int (char *, char *, int);
void CDECL debug_fatal (char *, ...);
void CDECL fatal (const char *, ...);
void CDECL error (const char * const, ...);
INLINE void check_legal_string (const char *);
#ifndef NO_LIGHT
void add_light (object_t *, int);
#endif
void free_sentence (sentence_t *);

sentence_t *alloc_sentence (void);
int input_to (svalue_t *, int, int, svalue_t *);
int get_char (svalue_t *, int, int, svalue_t *);

int strip_name (const char *, char *, int);
char *check_name (char *);
#define load_object(x, y) int_load_object(x)
object_t *int_load_object (const char *);
object_t *clone_object (const char *, int);
object_t *environment (svalue_t *);
object_t *first_inventory (svalue_t *);
object_t *object_present (svalue_t *, object_t *);
object_t *find_object (const char *);
object_t *find_object2 (const char *);
void move_object (object_t *, object_t *);
void destruct_object (object_t *);
void destruct2 (object_t *);

void print_svalue (svalue_t *);
void do_write (svalue_t *);
void do_message (svalue_t *, svalue_t *, array_t *, array_t *, int);
void say (svalue_t *, array_t *);
void tell_room (object_t *, svalue_t *, array_t *);
void shout_string (const char *);

void error_needs_free (char *);
void throw_error (void);
void error_handler (char *);

#ifdef SIGNAL_FUNC_TAKES_INT
void startshutdownMudOS (int);
#else
void startshutdownMudOS (void);
#endif
void shutdownMudOS (int);
void slow_shut_down (int);

#ifdef DEBUGMALLOC_EXTENSIONS
void mark_free_sentences (void);
#endif

#endif