|* Special procedures for Kings Castle by Pjotr (d90-pem@nada.kth.se) *|
|* Coded by Sapowox (d90-jkr@nada.kth.se) *|
\
Included Files
- #include "sysdep.h"
- #include <stdio.h>
- #include <ctype.h>
- #include <stdarg.h>
- #include <string.h>
- #include <strings.h>
- #include <stdlib.h>
- #include <sys/types.h>
- #include <unistd.h>
- #include <limits.h>
- #include <errno.h>
- #include <crypt.h>
- #include <sys/time.h>
- #include <time.h>
- #include <assert.h>
Preprocessor definitions
#define Z_KINGS_C 150
#define C_MOB_SPEC( zone, mob )
#define R_MOB( zone, mob )
#define R_OBJ( zone, obj )
#define R_ROOM( zone, num )
#define CASTLE_ITEM( item )
int ( CastleGuard)(struct char_data* ch,void* me,int cmd,char* argument)
int ( James)(struct char_data* ch,void* me,int cmd,char* argument)
int ( cleaning)(struct char_data* ch,void* me,int cmd,char* argument)
int ( DicknDavid)(struct char_data* ch,void* me,int cmd,char* argument)
int ( tim)(struct char_data* ch,void* me,int cmd,char* argument)
int ( tom)(struct char_data* ch,void* me,int cmd,char* argument)
int ( king_welmar)(struct char_data* ch,void* me,int cmd,char* argument)
int ( training_master)(struct char_data* ch,void* me,int cmd,char* argument)
int ( peter)(struct char_data* ch,void* me,int cmd,char* argument)
int ( jerry)(struct char_data* ch,void* me,int cmd,char* argument)
int ( guild)(struct char_data* ch,void* me,int cmd,char* argument)
External Variables
world
extern struct room_data* world
character_list
extern struct char_data* character_list
descriptor_list
extern struct descriptor_data* descriptor_list
mob_index
extern struct index_data* mob_index
obj_index
extern struct index_data* obj_index
time_info
extern struct time_info_data time_info
mini_mud
extern int mini_mud
int ( CastleGuard) ( struct char_data* ch, void* me, int cmd, char* argument )
int ( DicknDavid) ( struct char_data* ch, void* me, int cmd, char* argument )
int ( James) ( struct char_data* ch, void* me, int cmd, char* argument )
void assign_kings_castle ( void )
int banzaii ( struct char_data* ch )
int block_way ( struct char_data* ch, int cmd, char* arg, room_rnum iIn_room, int iProhibited_direction )
int castle_cleaner ( struct char_data* ch, int cmd, int gripe )
int castle_twin_proc ( struct char_data* ch, int cmd, char* arg, int ctlnum, char* twinname )
int ( cleaning) ( struct char_data* ch, void* me, int cmd, char* argument )
int do_npc_rescue ( struct char_data* ch_hero, struct char_data* ch_victim )
struct char_data* find_guard ( struct char_data* chAtChar )
struct char_data* find_npc_by_name ( struct char_data* chAtChar, const char* pszName, int iLen )
void fry_victim ( struct char_data* ch )
struct char_data* get_victim ( struct char_data* chAtChar )
int is_trash ( struct obj_data* i )
int ( jerry) ( struct char_data* ch, void* me, int cmd, char* argument )
int ( king_welmar) ( struct char_data* ch, void* me, int cmd, char* argument )
int member_of_royal_guard ( struct char_data* chChar )
int member_of_staff ( struct char_data* chChar )
int ( peter) ( struct char_data* ch, void* me, int cmd, char* argument )
int ( tim) ( struct char_data* ch, void* me, int cmd, char* argument )
int ( tom) ( struct char_data* ch, void* me, int cmd, char* argument )
int ( training_master) ( struct char_data* ch, void* me, int cmd, char* argument )