Makefile:# Create the index using cxref
Makefile:	@( cd . ; $(CXREF) -D__CXREF__ -index-all -Odoc -Ncircle -html )
Makefile.in:# Create the index using cxref
Makefile.in:	@( cd . ; $(CXREF) -D__CXREF__ -index-all -Odoc -Ncircle -html )
Makefile.in.orig:# Create the index using cxref
Makefile.in.orig:	@( cd . ; $(CXREF) -D__CXREF__ -index-all -Odoc -Ncircle -html )
Makefile.orig:# Create the index using cxref
Makefile.orig:	@( cd . ; $(CXREF) -D__CXREF__ -index-all -Odoc -Ncircle -html )
Makefile~:# Create the index using cxref
Makefile~:	@( cd . ; $(CXREF) -D__CXREF__ -index-all -Odoc -Ncircle -html )
act.informative:extern struct help_index_element *help_table;
act.informative:extern struct player_index_element *player_table;
act.informative:extern struct help_index_element *help_table;
act.informative:struct help_index_element *find_help(char *keyword)
act.informative:  struct help_index_element *this_help;
act.informative.c:extern struct help_index_element *help_table;
act.informative.c:extern struct player_index_element *player_table;
act.informative.c:extern struct help_index_element *help_table;
act.informative.c:struct help_index_element *find_help(char *keyword)
act.informative.c:  struct help_index_element *this_help;
act.informative.c.save:extern struct help_index_element *help_table;
act.informative.c.save:extern struct player_index_element *player_table;
act.informative.c.save:extern struct help_index_element *help_table;
act.informative.c.save:struct help_index_element *find_help(char *keyword)
act.informative.c.save:  struct help_index_element *this_help;
act.informative.c.save.1:extern struct help_index_element *help_table;
act.informative.c.save.1:extern struct player_index_element *player_table;
act.informative.c.save.1:extern struct help_index_element *help_table;
act.informative.c.save.1:struct help_index_element *find_help(char *keyword)
act.informative.c.save.1:  struct help_index_element *this_help;
act.informative.ch:extern struct help_index_element *help_table;
act.informative.ch:extern struct player_index_element *player_table;
act.informative.ch:extern struct help_index_element *help_table;
act.informative.ch:struct help_index_element *find_help(char *keyword)
act.informative.ch:  struct help_index_element *this_help;
act.informative.ctuskino:extern struct help_index_element *help_table;
act.informative.ctuskino:extern struct player_index_element *player_table;
act.informative.ctuskino:extern struct help_index_element *help_table;
act.informative.ctuskino:struct help_index_element *find_help(char *keyword)
act.informative.ctuskino:  struct help_index_element *this_help;
act.informative.c~:extern struct help_index_element *help_table;
act.informative.c~:extern struct help_index_element *help_table;
act.informative.c~:struct help_index_element *find_help(char *keyword)
act.informative.c~:  struct help_index_element *this_help;
Binary file act.informative.o matches
act.movement.c:extern struct index_data *obj_index;
act.movement.c.save:extern struct index_data *obj_index;
Binary file act.movement.o matches
act.other.c:extern struct index_data *mob_index;
act.other.c:  extern struct index_data *mob_index;
act.other.c:  for (nr = 0; nr <= top_of_mobt && (mob_index[nr].vnum <= last); nr++) {
act.other.c:    if (mob_index[nr].vnum >= first) {
act.other.c:              mob_index[nr].vnum,
act.other.c:  extern struct index_data *obj_index;
act.other.c:  for (nr = 0; nr <= top_of_objt && (obj_index[nr].vnum <= last); nr++) {
act.other.c:    if (obj_index[nr].vnum >= first) {
act.other.c:              obj_index[nr].vnum,
act.other.c.org:extern struct index_data *mob_index;
act.other.c.save:extern struct index_data *mob_index;
act.other.c.save:  extern struct index_data *mob_index;
act.other.c.save:  for (nr = 0; nr <= top_of_mobt && (mob_index[nr].vnum <= last); nr++) {
act.other.c.save:    if (mob_index[nr].vnum >= first) {
act.other.c.save:              mob_index[nr].vnum,
act.other.c.save:  extern struct index_data *obj_index;
act.other.c.save:  for (nr = 0; nr <= top_of_objt && (obj_index[nr].vnum <= last); nr++) {
act.other.c.save:    if (obj_index[nr].vnum >= first) {
act.other.c.save:              obj_index[nr].vnum,
act.other.c.save.1:extern struct index_data *mob_index;
act.other.c.save.1:  extern struct index_data *mob_index;
act.other.c.save.1:  for (nr = 0; nr <= top_of_mobt && (mob_index[nr].vnum <= last); nr++) {
act.other.c.save.1:    if (mob_index[nr].vnum >= first) {
act.other.c.save.1:              mob_index[nr].vnum,
act.other.c.save.1:  extern struct index_data *obj_index;
act.other.c.save.1:  for (nr = 0; nr <= top_of_objt && (obj_index[nr].vnum <= last); nr++) {
act.other.c.save.1:    if (obj_index[nr].vnum >= first) {
act.other.c.save.1:              obj_index[nr].vnum,
act.other.c.save.2:extern struct index_data *mob_index;
act.other.c.save.2:  extern struct index_data *mob_index;
act.other.c.save.2:  for (nr = 0; nr <= top_of_mobt && (mob_index[nr].vnum <= last); nr++) {
act.other.c.save.2:    if (mob_index[nr].vnum >= first) {
act.other.c.save.2:              mob_index[nr].vnum,
act.other.c.save.2:  extern struct index_data *obj_index;
act.other.c.save.2:  for (nr = 0; nr <= top_of_objt && (obj_index[nr].vnum <= last); nr++) {
act.other.c.save.2:    if (obj_index[nr].vnum >= first) {
act.other.c.save.2:              obj_index[nr].vnum,
act.other.c.save.3:extern struct index_data *mob_index;
act.other.c.save.3:  extern struct index_data *mob_index;
act.other.c.save.3:  for (nr = 0; nr <= top_of_mobt && (mob_index[nr].vnum <= last); nr++) {
act.other.c.save.3:    if (mob_index[nr].vnum >= first) {
act.other.c.save.3:              mob_index[nr].vnum,
act.other.c.save.3:  extern struct index_data *obj_index;
act.other.c.save.3:  for (nr = 0; nr <= top_of_objt && (obj_index[nr].vnum <= last); nr++) {
act.other.c.save.3:    if (obj_index[nr].vnum >= first) {
act.other.c.save.3:              obj_index[nr].vnum,
act.other.c.save.4:extern struct index_data *mob_index;
act.other.c.save.4:  extern struct index_data *mob_index;
act.other.c.save.4:  for (nr = 0; nr <= top_of_mobt && (mob_index[nr].vnum <= last); nr++) {
act.other.c.save.4:    if (mob_index[nr].vnum >= first) {
act.other.c.save.4:              mob_index[nr].vnum,
act.other.c.save.4:  extern struct index_data *obj_index;
act.other.c.save.4:  for (nr = 0; nr <= top_of_objt && (obj_index[nr].vnum <= last); nr++) {
act.other.c.save.4:    if (obj_index[nr].vnum >= first) {
act.other.c.save.4:              obj_index[nr].vnum,
Binary file act.other.o matches
act.wizard.c:extern struct index_data *mob_index;
act.wizard.c:extern struct index_data *obj_index;
act.wizard.c:extern struct player_index_element *player_table;
act.wizard.c:    strcpy(buf2, (obj_index[GET_OBJ_RNUM(j)].func ? "Exists" : "None"));
act.wizard.c:	    (mob_index[GET_MOB_RNUM(k)].func ? "Exists" : "None"),
act.wizard.c:      sprintf(buf1, "&15Suddenly the clouds clear out, and a bright &00&07white&15 light bathes the ground. A massive hand decends from the hole in the clouds, with it's index finger pointing down. A bright beam of &09red&15 energy fires forth and burns &14%s &15to a crisp&00\r\n", GET_NAME(vict));
act.wizard.c.org:extern struct index_data *mob_index;
act.wizard.c.org:extern struct index_data *obj_index;
act.wizard.c.org:    strcpy(buf2, (obj_index[GET_OBJ_RNUM(j)].func ? "Exists" : "None"));
act.wizard.c.org:	    (mob_index[GET_MOB_RNUM(k)].func ? "Exists" : "None"),
act.wizard.c.orig:extern struct index_data *mob_index;
act.wizard.c.orig:extern struct index_data *obj_index;
act.wizard.c.orig:    strcpy(buf2, (obj_index[GET_OBJ_RNUM(j)].func ? "Exists" : "None"));
act.wizard.c.orig:	    (mob_index[GET_MOB_RNUM(k)].func ? "Exists" : "None"),
act.wizard.c.save:extern struct index_data *mob_index;
act.wizard.c.save:extern struct index_data *obj_index;
act.wizard.c.save:extern struct player_index_element *player_table;
act.wizard.c.save:    strcpy(buf2, (obj_index[GET_OBJ_RNUM(j)].func ? "Exists" : "None"));
act.wizard.c.save:	    (mob_index[GET_MOB_RNUM(k)].func ? "Exists" : "None"),
act.wizard.ct:extern struct index_data *mob_index;
act.wizard.ct:extern struct index_data *obj_index;
act.wizard.ct:    strcpy(buf2, (obj_index[GET_OBJ_RNUM(j)].func ? "Exists" : "None"));
act.wizard.ct:	    (mob_index[GET_MOB_RNUM(k)].func ? "Exists" : "None"),
act.wizard.c~:extern struct index_data *mob_index;
act.wizard.c~:extern struct index_data *obj_index;
act.wizard.c~:    strcpy(buf2, (obj_index[GET_OBJ_RNUM(j)].func ? "Exists" : "None"));
act.wizard.c~:	    (mob_index[GET_MOB_RNUM(k)].func ? "Exists" : "None"),
Binary file act.wizard.o matches
Binary file aedit.o matches
boards.c:struct board_msginfo msg_index[NUM_OF_BOARDS][MAX_BOARD_MESSAGES];
boards.c:      memset((char *) &(msg_index[i][j]), 0, sizeof(struct board_msginfo));
boards.c:      msg_index[i][j].slot_num = -1;
boards.c:      msg_index[board_type][i].heading_len = strlen(tmp1) + 1;
boards.c:      msg_index[board_type][i].heading_len = 0;
boards.c:      msg_index[board_type][i].message_len = 0;
boards.c:      msg_index[board_type][i].message_len = strlen(tmp2) + 1;
boards.c:    fwrite(&(msg_index[board_type][i]), sizeof(struct board_msginfo), 1, fl);
boards.c:      fwrite(tmp1, sizeof(char), msg_index[board_type][i].heading_len, fl);
boards.c:      fwrite(tmp2, sizeof(char), msg_index[board_type][i].message_len, fl);
boards.c:    fread(&(msg_index[board_type][i]), sizeof(struct board_msginfo), 1, fl);
boards.c:    if (!(len1 = msg_index[board_type][i].heading_len)) {
boards.c:    if ((len2 = msg_index[board_type][i].message_len)) {
boards.c:    memset((char *)&(msg_index[board_type][i]),0,sizeof(struct board_msginfo));
boards.c:    msg_index[board_type][i].slot_num = -1;
boards.h:   int	slot_num;     /* pos of message in "master index" */
boards.h:#define NEW_MSG_INDEX(i) (msg_index[i][num_of_msgs[i]])
boards.h:#define MSG_HEADING(i, j) (msg_index[i][j].heading)
boards.h:#define MSG_SLOTNUM(i, j) (msg_index[i][j].slot_num)
boards.h:#define MSG_LEVEL(i, j) (msg_index[i][j].level)
Binary file boards.o matches
castle.c:extern struct index_data *mob_index;
castle.c:extern struct index_data *obj_index;
castle.c: *	the King's castle does not exist. (Writing to mob_index[-1].func)
castle.c:	  mob_index[check].func
castle.c:  static int index;
castle.c:      index = 0;
castle.c:      index = 0;
castle.c:      index = 0;
castle.c:  switch (path[index]) {
castle.c:    perform_move(ch, path[index] - 0, 1);
castle.c:    act(monolog[path[index] - 'A'], FALSE, ch, 0, 0, TO_ROOM);
castle.c:  index++;
Binary file castle.o matches
Binary file comm.o matches
db.c:struct index_data **trig_index; /* index table for triggers      */
db.c:int top_of_trigt = 0;           /* top of trigger index table    */
db.c:struct index_data *mob_index;	/* index table for mobile file	 */
db.c:int top_of_mobt = 0;		/* top of mobile index table	 */
db.c:struct index_data *obj_index;	/* index table for object file	 */
db.c:int top_of_objt = 0;		/* top of object index table	 */
db.c:struct player_index_element *player_table = NULL;	/* index to plr file	 */
db.c:struct help_index_element *help_table = 0;	/* the help table	 */
db.c:int top_of_helpt = 0;		/* top of help index table	 */
db.c:void index_boot(int mode);
db.c:void build_player_index(void);
db.c:    index_boot(DB_BOOT_HLP);
db.c:  index_boot(DB_BOOT_ZON);
db.c:  log("Loading triggers and generating index.");
db.c:  index_boot(DB_BOOT_TRG);
db.c:  index_boot(DB_BOOT_WLD);
db.c:  log("Loading mobs and generating index.");
db.c:  index_boot(DB_BOOT_MOB);
db.c:  log("Loading objs and generating index.");
db.c:  index_boot(DB_BOOT_OBJ);
db.c:    index_boot(DB_BOOT_SHP);
db.c:  index_boot(DB_BOOT_HLP);
db.c:  log("Generating player index.");
db.c:  build_player_index();
db.c:/* generate index table for the player file */
db.c:void build_player_index(void)
db.c:    CREATE(player_table, struct player_index_element, recs);
db.c:void index_boot(int mode)
db.c:  const char *index_filename, *prefix;
db.c:  FILE *index, *db_file;
db.c:    log("SYSERR: Unknown subcommand %d to index_boot!", mode);
db.c:    index_filename = MINDEX_FILE;
db.c:    index_filename = INDEX_FILE;
db.c:  sprintf(buf2, "%s%s", prefix, index_filename);
db.c:  if (!(index = fopen(buf2, "r"))) {
db.c:    sprintf(buf1, "SYSERR: opening index file '%s'", buf2);
db.c:  fscanf(index, "%s\n", buf1);
db.c:	  index_filename);
db.c:      fscanf(index, "%s\n", buf1);
db.c:    fscanf(index, "%s\n", buf1);
db.c:	index_filename);
db.c:    CREATE(trig_index, struct index_data *, rec_count);
db.c:    CREATE(mob_index, struct index_data, rec_count);
db.c:    log("   %d mobs, %d bytes in index, %d bytes in prototypes.", rec_count, sizeof(struct index_data) * rec_count, sizeof(struct char_data) * rec_count);
db.c:    CREATE(obj_index, struct index_data, rec_count);
db.c:    log("   %d objs, %d bytes in index, %d bytes in prototypes.", rec_count, sizeof(struct index_data) * rec_count, sizeof(struct obj_data) * rec_count);
db.c:    CREATE(help_table, struct help_index_element, rec_count);
db.c:    log("   %d entries, %d bytes.", rec_count, sizeof(struct help_index_element) * rec_count);
db.c:  rewind(index);
db.c:  fscanf(index, "%s\n", buf1);
db.c:    fscanf(index, "%s\n", buf1);
db.c:  fclose(index);
db.c:  mob_index[i].vnum = nr;
db.c:  mob_index[i].number = 0;
db.c:  mob_index[i].func = NULL;
db.c:/* read all objects from obj file; generate index and prototypes */
db.c:  obj_index[i].vnum = nr;
db.c:  obj_index[i].number = 0;
db.c:  obj_index[i].func = NULL;
db.c:  struct help_index_element el;
db.c:    /* now, add the entry to the index with each keyword on the keyword line */
db.c:	      mob_index[nr].vnum,
db.c:	      obj_index[nr].vnum,
db.c:  mob_index[i].number++;
db.c:  obj_index[i].number++;
db.c:      if ((mob_index[ZCMD.arg1].number < ZCMD.arg2) &&
db.c:      if ((obj_index[ZCMD.arg1].number < ZCMD.arg2) &&
db.c:      if ((obj_index[ZCMD.arg1].number < ZCMD.arg2) &&
db.c:      if ((obj_index[ZCMD.arg1].number < ZCMD.arg2) &&
db.c:      if ((obj_index[ZCMD.arg1].number < ZCMD.arg2) &&
db.c:/* create a new entry in the in-memory index table for the player file */
db.c:    CREATE(player_table, struct player_index_element, 1);
db.c:  } else if (!(player_table = (struct player_index_element *)
db.c:	       realloc(player_table, sizeof(struct player_index_element) *
db.c:    if ((mob_index + mid)->vnum == vnum)
db.c:    if ((mob_index + mid)->vnum > vnum)
db.c:    if ((obj_index + mid)->vnum == vnum)
db.c:    if ((obj_index + mid)->vnum > vnum)
db.c.orig:struct index_data **trig_index; /* index table for triggers      */
db.c.orig:int top_of_trigt = 0;           /* top of trigger index table    */
db.c.orig:struct index_data *mob_index;	/* index table for mobile file	 */
db.c.orig:int top_of_mobt = 0;		/* top of mobile index table	 */
db.c.orig:struct index_data *obj_index;	/* index table for object file	 */
db.c.orig:int top_of_objt = 0;		/* top of object index table	 */
db.c.orig:struct player_index_element *player_table = NULL;	/* index to plr file	 */
db.c.orig:struct help_index_element *help_table = 0;	/* the help table	 */
db.c.orig:int top_of_helpt = 0;		/* top of help index table	 */
db.c.orig:void index_boot(int mode);
db.c.orig:void build_player_index(void);
db.c.orig:    index_boot(DB_BOOT_HLP);
db.c.orig:  index_boot(DB_BOOT_ZON);
db.c.orig:  log("Loading triggers and generating index.");
db.c.orig:  index_boot(DB_BOOT_TRG);
db.c.orig:  index_boot(DB_BOOT_WLD);
db.c.orig:  log("Loading mobs and generating index.");
db.c.orig:  index_boot(DB_BOOT_MOB);
db.c.orig:  log("Loading objs and generating index.");
db.c.orig:  index_boot(DB_BOOT_OBJ);
db.c.orig:    index_boot(DB_BOOT_SHP);
db.c.orig:  index_boot(DB_BOOT_HLP);
db.c.orig:  log("Generating player index.");
db.c.orig:  build_player_index();
db.c.orig:/* generate index table for the player file */
db.c.orig:void build_player_index(void)
db.c.orig:    CREATE(player_table, struct player_index_element, recs);
db.c.orig:void index_boot(int mode)
db.c.orig:  const char *index_filename, *prefix;
db.c.orig:  FILE *index, *db_file;
db.c.orig:    log("SYSERR: Unknown subcommand %d to index_boot!", mode);
db.c.orig:    index_filename = MINDEX_FILE;
db.c.orig:    index_filename = INDEX_FILE;
db.c.orig:  sprintf(buf2, "%s%s", prefix, index_filename);
db.c.orig:  if (!(index = fopen(buf2, "r"))) {
db.c.orig:    sprintf(buf1, "SYSERR: opening index file '%s'", buf2);
db.c.orig:  fscanf(index, "%s\n", buf1);
db.c.orig:	  index_filename);
db.c.orig:      fscanf(index, "%s\n", buf1);
db.c.orig:    fscanf(index, "%s\n", buf1);
db.c.orig:	index_filename);
db.c.orig:    CREATE(trig_index, struct index_data *, rec_count);
db.c.orig:    CREATE(mob_index, struct index_data, rec_count);
db.c.orig:    log("   %d mobs, %d bytes in index, %d bytes in prototypes.", rec_count, sizeof(struct index_data) * rec_count, sizeof(struct char_data) * rec_count);
db.c.orig:    CREATE(obj_index, struct index_data, rec_count);
db.c.orig:    log("   %d objs, %d bytes in index, %d bytes in prototypes.", rec_count, sizeof(struct index_data) * rec_count, sizeof(struct obj_data) * rec_count);
db.c.orig:    CREATE(help_table, struct help_index_element, rec_count);
db.c.orig:    log("   %d entries, %d bytes.", rec_count, sizeof(struct help_index_element) * rec_count);
db.c.orig:  rewind(index);
db.c.orig:  fscanf(index, "%s\n", buf1);
db.c.orig:    fscanf(index, "%s\n", buf1);
db.c.orig:  fclose(index);
db.c.orig:  mob_index[i].vnum = nr;
db.c.orig:  mob_index[i].number = 0;
db.c.orig:  mob_index[i].func = NULL;
db.c.orig:/* read all objects from obj file; generate index and prototypes */
db.c.orig:  obj_index[i].vnum = nr;
db.c.orig:  obj_index[i].number = 0;
db.c.orig:  obj_index[i].func = NULL;
db.c.orig:  struct help_index_element el;
db.c.orig:    /* now, add the entry to the index with each keyword on the keyword line */
db.c.orig:	      mob_index[nr].vnum,
db.c.orig:	      obj_index[nr].vnum,
db.c.orig:  mob_index[i].number++;
db.c.orig:  obj_index[i].number++;
db.c.orig:      if ((mob_index[ZCMD.arg1].number < ZCMD.arg2) &&
db.c.orig:      if ((obj_index[ZCMD.arg1].number < ZCMD.arg2) &&
db.c.orig:      if ((obj_index[ZCMD.arg1].number < ZCMD.arg2) &&
db.c.orig:      if ((obj_index[ZCMD.arg1].number < ZCMD.arg2) &&
db.c.orig:      if ((obj_index[ZCMD.arg1].number < ZCMD.arg2) &&
db.c.orig:/* create a new entry in the in-memory index table for the player file */
db.c.orig:    CREATE(player_table, struct player_index_element, 1);
db.c.orig:  } else if (!(player_table = (struct player_index_element *)
db.c.orig:	       realloc(player_table, sizeof(struct player_index_element) *
db.c.orig:    if ((mob_index + mid)->vnum == vnum)
db.c.orig:    if ((mob_index + mid)->vnum > vnum)
db.c.orig:    if ((obj_index + mid)->vnum == vnum)
db.c.orig:    if ((obj_index + mid)->vnum > vnum)
db.c~:struct index_data **trig_index; /* index table for triggers      */
db.c~:int top_of_trigt = 0;           /* top of trigger index table    */
db.c~:struct index_data *mob_index;	/* index table for mobile file	 */
db.c~:int top_of_mobt = 0;		/* top of mobile index table	 */
db.c~:struct index_data *obj_index;	/* index table for object file	 */
db.c~:int top_of_objt = 0;		/* top of object index table	 */
db.c~:struct player_index_element *player_table = NULL;	/* index to plr file	 */
db.c~:struct help_index_element *help_table = 0;	/* the help table	 */
db.c~:int top_of_helpt = 0;		/* top of help index table	 */
db.c~:void index_boot(int mode);
db.c~:void build_player_index(void);
db.c~:    index_boot(DB_BOOT_HLP);
db.c~:  index_boot(DB_BOOT_ZON);
db.c~:  log("Loading triggers and generating index.");
db.c~:  index_boot(DB_BOOT_TRG);
db.c~:  index_boot(DB_BOOT_WLD);
db.c~:  log("Loading mobs and generating index.");
db.c~:  index_boot(DB_BOOT_MOB);
db.c~:  log("Loading objs and generating index.");
db.c~:  index_boot(DB_BOOT_OBJ);
db.c~:    index_boot(DB_BOOT_SHP);
db.c~:  index_boot(DB_BOOT_HLP);
db.c~:  log("Generating player index.");
db.c~:  build_player_index();
db.c~:/* generate index table for the player file */
db.c~:void build_player_index(void)
db.c~:    CREATE(player_table, struct player_index_element, recs);
db.c~:void index_boot(int mode)
db.c~:  const char *index_filename, *prefix;
db.c~:  FILE *index, *db_file;
db.c~:    log("SYSERR: Unknown subcommand %d to index_boot!", mode);
db.c~:    index_filename = MINDEX_FILE;
db.c~:    index_filename = INDEX_FILE;
db.c~:  sprintf(buf2, "%s%s", prefix, index_filename);
db.c~:  if (!(index = fopen(buf2, "r"))) {
db.c~:    sprintf(buf1, "SYSERR: opening index file '%s'", buf2);
db.c~:  fscanf(index, "%s\n", buf1);
db.c~:	  index_filename);
db.c~:      fscanf(index, "%s\n", buf1);
db.c~:    fscanf(index, "%s\n", buf1);
db.c~:	index_filename);
db.c~:    CREATE(trig_index, struct index_data *, rec_count);
db.c~:    CREATE(mob_index, struct index_data, rec_count);
db.c~:    log("   %d mobs, %d bytes in index, %d bytes in prototypes.", rec_count, sizeof(struct index_data) * rec_count, sizeof(struct char_data) * rec_count);
db.c~:    CREATE(obj_index, struct index_data, rec_count);
db.c~:    log("   %d objs, %d bytes in index, %d bytes in prototypes.", rec_count, sizeof(struct index_data) * rec_count, sizeof(struct obj_data) * rec_count);
db.c~:    CREATE(help_table, struct help_index_element, rec_count);
db.c~:    log("   %d entries, %d bytes.", rec_count, sizeof(struct help_index_element) * rec_count);
db.c~:  rewind(index);
db.c~:  fscanf(index, "%s\n", buf1);
db.c~:    fscanf(index, "%s\n", buf1);
db.c~:  fclose(index);
db.c~:  mob_index[i].vnum = nr;
db.c~:  mob_index[i].number = 0;
db.c~:  mob_index[i].func = NULL;
db.c~:/* read all objects from obj file; generate index and prototypes */
db.c~:  obj_index[i].vnum = nr;
db.c~:  obj_index[i].number = 0;
db.c~:  obj_index[i].func = NULL;
db.c~:  struct help_index_element el;
db.c~:    /* now, add the entry to the index with each keyword on the keyword line */
db.c~:	      mob_index[nr].vnum,
db.c~:	      obj_index[nr].vnum,
db.c~:  mob_index[i].number++;
db.c~:  obj_index[i].number++;
db.c~:      if ((mob_index[ZCMD.arg1].number < ZCMD.arg2) &&
db.c~:      if ((obj_index[ZCMD.arg1].number < ZCMD.arg2) &&
db.c~:      if ((obj_index[ZCMD.arg1].number < ZCMD.arg2) &&
db.c~:      if ((obj_index[ZCMD.arg1].number < ZCMD.arg2) &&
db.c~:      if ((obj_index[ZCMD.arg1].number < ZCMD.arg2) &&
db.c~:/* create a new entry in the in-memory index table for the player file */
db.c~:    CREATE(player_table, struct player_index_element, 1);
db.c~:  } else if (!(player_table = (struct player_index_element *)
db.c~:	       realloc(player_table, sizeof(struct player_index_element) *
db.c~:    if ((mob_index + mid)->vnum == vnum)
db.c~:    if ((mob_index + mid)->vnum > vnum)
db.c~:    if ((obj_index + mid)->vnum == vnum)
db.c~:    if ((obj_index + mid)->vnum > vnum)
db.h:/* arbitrary constants used by index_boot() (must be unique) */
db.h:#define INDEX_FILE	"index"		/* index of world files		*/
db.h:#define MINDEX_FILE	"index.mini"	/* ... and for mini-mud-mode	*/
db.h:struct player_index_element {
db.h:struct help_index_element {
db.h.orig:/* arbitrary constants used by index_boot() (must be unique) */
db.h.orig:#define INDEX_FILE	"index"		/* index of world files		*/
db.h.orig:#define MINDEX_FILE	"index.mini"	/* ... and for mini-mud-mode	*/
db.h.orig:struct player_index_element {
db.h.orig:struct help_index_element {
Binary file db.o matches
dg_db_scripts.c:extern struct index_data **trig_index;
dg_db_scripts.c:extern struct index_data *mob_index;
dg_db_scripts.c:extern struct index_data *obj_index;
dg_db_scripts.c:    index_data *index;
dg_db_scripts.c:    CREATE(index, index_data, 1);
dg_db_scripts.c:    index->vnum = nr;
dg_db_scripts.c:    index->number = 0;
dg_db_scripts.c:    index->func = NULL;
dg_db_scripts.c:    index->proto = trig;
dg_db_scripts.c:    trig_index[top_of_trigt++] = index;
dg_db_scripts.c:    index_data *index;
dg_db_scripts.c:    if ((index = trig_index[nr]) == NULL)
dg_db_scripts.c:    trig_data_copy(trig, index->proto);
dg_db_scripts.c:    index->number++;
dg_db_scripts.c:            trg_proto->vnum, mob_index[mob->nr].vnum);
dg_db_scripts.c:            trg_proto->vnum, obj_index[obj->item_number].vnum);
Binary file dg_db_scripts.o matches
dg_handler.c:extern struct index_data **trig_index;
dg_handler.c:  trig_index[trig->nr]->number--; 
Binary file dg_handler.o matches
dg_mobcmd.c:extern struct index_data *mob_index;
Binary file dg_mobcmd.o matches
dg_objcmd.c:extern struct index_data *obj_index;
Binary file dg_objcmd.o matches
dg_olc.c:extern struct index_data **trig_index;
dg_olc.c:  trig_data_copy(trig, trig_index[rtrg_num]->proto);
dg_olc.c:  struct index_data **new_index;
dg_olc.c:    proto = trig_index[trig_rnum]->proto;
dg_olc.c:    CREATE(new_index, struct index_data *, top_of_trigt + 2);
dg_olc.c:        if (trig_index[i]->vnum > OLC_NUM(d)) {
dg_olc.c:          CREATE(new_index[trig_rnum], struct index_data, 1);
dg_olc.c:          new_index[trig_rnum]->vnum = OLC_NUM(d);
dg_olc.c:          new_index[trig_rnum]->number = 0; 
dg_olc.c:          new_index[trig_rnum]->func = NULL;
dg_olc.c:          new_index[trig_rnum]->proto = proto;
dg_olc.c:          new_index[trig_rnum + 1] = trig_index[trig_rnum];
dg_olc.c:          proto = trig_index[trig_rnum]->proto;
dg_olc.c:          new_index[i] = trig_index[i];
dg_olc.c:         new_index[i + 1] = trig_index[i];
dg_olc.c:         proto = trig_index[i]->proto;
dg_olc.c:      CREATE(new_index[trig_rnum], struct index_data, 1);
dg_olc.c:      new_index[trig_rnum]->vnum = OLC_NUM(d);
dg_olc.c:      new_index[trig_rnum]->number = 0;
dg_olc.c:      new_index[trig_rnum]->func = NULL;
dg_olc.c:      new_index[trig_rnum]->proto = proto;
dg_olc.c:    free(trig_index);
dg_olc.c:    trig_index = new_index;
dg_olc.c:      trig = trig_index[trig_rnum]->proto;
dg_olc.c:      trig_index[real_trigger(editscript->vnum)]->proto->name, nrm);
dg_olc.c:    if (trig_index[real_trigger(editscript->vnum)]->proto->attach_type !=
Binary file dg_olc.o matches
dg_scripts.c:extern struct index_data **trig_index;
dg_scripts.c:extern struct index_data *mob_index;
dg_scripts.c:extern struct index_data *obj_index;
dg_scripts.c:  for (nr = 0; nr < top_of_trigt && (trig_index[nr]->vnum <= last); nr++)
dg_scripts.c:    if (trig_index[nr]->vnum >= first) {
dg_scripts.c:              trig_index[nr]->vnum,
dg_scripts.c:              trig_index[nr]->proto->name);
dg_scripts.c:    if (trig_index[rnum]->vnum==vnum) break;
dg_scripts.c:    do_stat_trigger(ch, trig_index[rnum]->proto);
dg_scripts.h:#define GET_TRIG_VNUM(t)	  (trig_index[(t)->nr]->vnum)
dg_scripts.h:typedef struct index_data index_data;
Binary file dg_scripts.o matches
dg_triggers.c:extern struct index_data **trig_index;
Binary file dg_triggers.o matches
fight.c:extern struct index_data *mob_index;
fight.c:    if (MOB_FLAGGED(ch, MOB_SPEC) && mob_index[GET_MOB_RNUM(ch)].func != NULL)
fight.c:      (mob_index[GET_MOB_RNUM(ch)].func) (ch, ch, 0, "");
fight.c.save:extern struct index_data *mob_index;
fight.c.save:    if (MOB_FLAGGED(ch, MOB_SPEC) && mob_index[GET_MOB_RNUM(ch)].func != NULL)
fight.c.save:      (mob_index[GET_MOB_RNUM(ch)].func) (ch, ch, 0, "");
Binary file fight.o matches
handler.c:extern struct index_data *mob_index;
handler.c:extern struct index_data *obj_index;
handler.c:    (obj_index[GET_OBJ_RNUM(obj)].number)--;
handler.c:      mob_index[GET_MOB_RNUM(ch)].number--;
Binary file handler.o matches
hedit.c:extern struct help_index_element *help_table;
hedit.c:void free_help(struct help_index_element *help);
hedit.c:  CREATE(OLC_HELP(d), struct help_index_element, 1);
hedit.c:  struct help_index_element *help;
hedit.c:  CREATE(help, struct help_index_element, 1);
hedit.c:  struct help_index_element *new_help_table;
hedit.c:    CREATE(new_help_table, struct help_index_element, top_of_helpt + 2);
hedit.c:  struct help_index_element *help;
hedit.c:void free_help(struct help_index_element *help)
hedit.c:  memset(help, 0, (sizeof(struct help_index_element)));
hedit.c:  struct help_index_element *help;
Binary file hedit.o matches
house.c:extern struct index_data *obj_index;
Binary file house.o matches
interpreter.c:extern struct player_index_element *player_table;
interpreter.c:extern struct index_data *mob_index;
interpreter.c:extern struct index_data *obj_index;
interpreter.c.org:extern struct player_index_element *player_table;
interpreter.c.org:extern struct index_data *mob_index;
interpreter.c.org:extern struct index_data *obj_index;
interpreter.c.save:extern struct player_index_element *player_table;
interpreter.c.save:extern struct index_data *mob_index;
interpreter.c.save:extern struct index_data *obj_index;
Binary file interpreter.o matches
interpreter.save:extern struct player_index_element *player_table;
interpreter.save:extern struct index_data *mob_index;
interpreter.save:extern struct index_data *obj_index;
magic.c:extern struct index_data *obj_index;
magic.c.save:extern struct index_data *obj_index;
magic.c.save.1:extern struct index_data *obj_index;
magic.cy:extern struct index_data *obj_index;
Binary file magic.o matches
mail.c:extern struct index_data *mob_index;
mail.c:mail_index_type *mail_index = NULL;	/* list of recs in the mail file  */
mail.c:mail_index_type *find_char_in_index(long searchee);
mail.c:void index_mail(long id_to_index, long pos);
mail.c: * main_index_type *find_char_in_index(long #1)
mail.c:mail_index_type *find_char_in_index(long searchee)
mail.c:  mail_index_type *tmp;
mail.c:  for (tmp = mail_index; (tmp && tmp->recipient != searchee); tmp = tmp->next);
mail.c:void index_mail(long id_to_index, long pos)
mail.c:  mail_index_type *new_index;
mail.c:  if (id_to_index < 0) {
mail.c:    log("SYSERR: Mail system -- non-fatal error #4. (id_to_index == %ld)", id_to_index);
mail.c:  if (!(new_index = find_char_in_index(id_to_index))) {
mail.c:    /* name not already in index.. add it */
mail.c:    CREATE(new_index, mail_index_type, 1);
mail.c:    new_index->recipient = id_to_index;
mail.c:    new_index->list_start = NULL;
mail.c:    new_index->next = mail_index;
mail.c:    mail_index = new_index;
mail.c:  new_position->next = new_index->list_start;
mail.c:  new_index->list_start = new_position;
mail.c: * and indexes all entries currently in the mail file.
mail.c:      index_mail(next_block.header_data.to, block_num * BLOCK_SIZE);
mail.c:  return (find_char_in_index(recipient) != NULL);
mail.c:  index_mail(to, target_address);	/* add it to mail index in memory */
mail.c: * the file and the mail index.
mail.c:  mail_index_type *mail_pointer, *prev_mail;
mail.c:  if (!(mail_pointer = find_char_in_index(recipient))) {
mail.c:    log("SYSERR: Mail system -- post office spec_proc error?  Error #7. (invalid character in index)");
mail.c:    if (mail_index == mail_pointer) {	/* name is 1st in list */
mail.c:      mail_index = mail_pointer->next;
mail.c:      for (prev_mail = mail_index;
mail.h:struct mail_index_type_d {
mail.h:   struct mail_index_type_d *next;	/* link to next one		*/
mail.h:typedef struct mail_index_type_d mail_index_type;
Binary file mail.o matches
medit.c:extern struct index_data *mob_index;
medit.c:extern struct shop_data *shop_index;
medit.c:#define GET_MPROG(mob)		(mob_index[(mob)->nr].mobprogs)
medit.c:#define GET_MPROG_TYPE(mob)	(mob_index[(mob)->nr].progtypes)
medit.c:  struct index_data *new_index;
medit.c:    CREATE(new_index, struct index_data, top_of_mobt + 2);
medit.c:/*	if ((rmob_num > top_of_mobt) || (mob_index[rmob_num].vnum > OLC_NUM(d))) {*/
medit.c:	if (mob_index[rmob_num].vnum > OLC_NUM(d)) {
medit.c:	  new_index[rmob_num].vnum = OLC_NUM(d);
medit.c:	  new_index[rmob_num].number = 0;
medit.c:	  new_index[rmob_num].func = NULL;
medit.c:	  new_index[rmob_num + 1] = mob_index[rmob_num];
medit.c:	  new_index[rmob_num] = mob_index[rmob_num];
medit.c:	new_index[rmob_num + 1] = mob_index[rmob_num];
medit.c:      new_index[rmob_num].vnum = OLC_NUM(d);
medit.c:      new_index[rmob_num].number = 0;
medit.c:      new_index[rmob_num].func = NULL;
medit.c:    free(mob_index);
medit.c:    mob_index = new_index;
medit.c:    if (shop_index)
Binary file medit.o matches
mobact.c:extern struct index_data *mob_index;
mobact.c:      if (mob_index[GET_MOB_RNUM(ch)].func == NULL) {
mobact.c:	if ((mob_index[GET_MOB_RNUM(ch)].func) (ch, ch, 0, ""))
Binary file mobact.o matches
Binary file modify.o matches
objsave.c:extern struct index_data *mob_index;
objsave.c:extern struct index_data *obj_index;
objsave.c:extern struct player_index_element *player_table;
Binary file objsave.o matches
oedit.c:extern struct index_data *obj_index;
oedit.c:extern struct shop_data *shop_index;
oedit.c:  struct index_data *new_obj_index;
oedit.c:    CREATE(new_obj_index, struct index_data, top_of_objt + 2);
oedit.c:	if (obj_index[i].vnum > OLC_NUM(d)) {
oedit.c:	  new_obj_index[robj_num].vnum = OLC_NUM(d);
oedit.c:	  new_obj_index[robj_num].number = 0;
oedit.c:	  new_obj_index[robj_num].func = NULL;
oedit.c:	  new_obj_index[robj_num + 1] = obj_index[robj_num];
oedit.c:	  new_obj_index[i] = obj_index[i];
oedit.c:	new_obj_index[i + 1] = obj_index[i];
oedit.c:      new_obj_index[robj_num].vnum = OLC_NUM(d);
oedit.c:      new_obj_index[robj_num].number = 0;
oedit.c:      new_obj_index[robj_num].func = NULL;
oedit.c:    free(obj_index);
oedit.c:    obj_index = new_obj_index;
oedit.c.save:extern struct index_data *obj_index;
oedit.c.save:extern struct shop_data *shop_index;
oedit.c.save:  struct index_data *new_obj_index;
oedit.c.save:    CREATE(new_obj_index, struct index_data, top_of_objt + 2);
oedit.c.save:	if (obj_index[i].vnum > OLC_NUM(d)) {
oedit.c.save:	  new_obj_index[robj_num].vnum = OLC_NUM(d);
oedit.c.save:	  new_obj_index[robj_num].number = 0;
oedit.c.save:	  new_obj_index[robj_num].func = NULL;
oedit.c.save:	  new_obj_index[robj_num + 1] = obj_index[robj_num];
oedit.c.save:	  new_obj_index[i] = obj_index[i];
oedit.c.save:	new_obj_index[i + 1] = obj_index[i];
oedit.c.save:      new_obj_index[robj_num].vnum = OLC_NUM(d);
oedit.c.save:      new_obj_index[robj_num].number = 0;
oedit.c.save:      new_obj_index[robj_num].func = NULL;
oedit.c.save:    free(obj_index);
oedit.c.save:    obj_index = new_obj_index;
Binary file oedit.o matches
olc.c:extern struct index_data *mob_index;
olc.c:extern struct index_data *obj_index;
olc.c:extern void free_help(struct help_index_element *help);
olc.c:    save_zone = zone_number(&obj_index[rnum_targ], OBJECT);
olc.h:  struct help_index_element *help;
Binary file olc.o matches
quest.c:extern struct index_data *mob_index;
quest.c:extern struct index_data *obj_index;
Binary file redit.o matches
sedit.c:extern struct shop_data *shop_index;
sedit.c:extern struct index_data *mob_index;
sedit.c:extern struct index_data *obj_index;
sedit.c:  copy_shop(OLC_SHOP(d), shop_index + rshop_num);
sedit.c:  struct shop_data *new_index;
sedit.c:    copy_shop((shop_index + rshop), shop);
sedit.c:    CREATE(new_index, struct shop_data, top_shop + 1);
sedit.c:	  copy_shop(&(new_index[rshop]), shop);
sedit.c:	  new_index[rshop + 1] = shop_index[rshop];
sedit.c:	  new_index[rshop] = shop_index[rshop];
sedit.c:	new_index[rshop + 1] = shop_index[rshop];
sedit.c:      copy_shop(&(new_index[rshop]), shop);
sedit.c:     * Switch the new index in.
sedit.c:    free(shop_index);
sedit.c:    shop_index = new_index;
sedit.c:      shop = shop_index + rshop;
sedit.c:	fprintf(shop_file, "%d\n", obj_index[S_PRODUCT(shop, j)].vnum);
sedit.c:	      mob_index[S_KEEPER(shop)].vnum,
sedit.c:	    cyn, obj_index[S_PRODUCT(shop, i)].vnum, nrm,
sedit.c:	  -1 : mob_index[S_KEEPER(shop)].vnum, nrm,
sedit.c:    S_FUNC(OLC_SHOP(d)) = mob_index[i].func;
sedit.c:    mob_index[i].func = shop_keeper;
Binary file sedit.o matches
shop.c:extern struct index_data *mob_index;
shop.c:extern struct index_data *obj_index;
shop.c:struct shop_data *shop_index;
shop.c:char *list_object(struct obj_data * obj, int cnt, int index, int shop_nr);
shop.c:  int index;
shop.c:  for (index = 0; index <= MAX_OPER; index++)
shop.c:    if (strchr(operator_str[index], token))
shop.c:      return (index);
shop.c:  int temp, index;
shop.c:	for (index = 0; *extra_bits[index] != '\n'; index++)
shop.c:	  if (!str_cmp(name, extra_bits[index])) {
shop.c:	    push(&vals, IS_SET(GET_OBJ_EXTRA(obj), 1 << index));
shop.c:	if (*extra_bits[index] == '\n')
shop.c:  int index;
shop.c:  for (index = 0; index < MAX_OBJ_AFFECT; index++)
shop.c:    if ((obj1->affected[index].location != obj2->affected[index].location) ||
shop.c:	(obj1->affected[index].modifier != obj2->affected[index].modifier))
shop.c:  int index;
shop.c:    index = atoi(name + 1);
shop.c:	if (--index == 0)
shop.c:	sprintf(buf, shop_index[shop_nr].no_such_item1, GET_NAME(ch));
shop.c:    sprintf(buf, shop_index[shop_nr].missing_cash2, GET_NAME(ch));
shop.c:  sprintf(buf, shop_index[shop_nr].message_buy, GET_NAME(ch), goldamt);
shop.c:      sprintf(buf, shop_index[shop_nr].no_such_item2, GET_NAME(ch));
shop.c:    sprintf(buf, shop_index[shop_nr].do_not_buy, GET_NAME(ch));
shop.c:    sprintf(buf, shop_index[shop_nr].missing_cash1, GET_NAME(ch));
shop.c:   sprintf(buf, shop_index[shop_nr].message_sell, GET_NAME(ch), goldamt);
shop.c:char *list_object(struct obj_data * obj, int cnt, int index, int shop_nr)
shop.c:  sprintf(buf, " &14%2d&16)&15  %s", index, buf2);
shop.c:  int cnt = 0, index = 0;
shop.c:	  index++;
shop.c:	    strcat(buf, list_object(last_obj, cnt, index, shop_nr));
shop.c:  index++;
shop.c:    strcat(buf, list_object(last_obj, cnt, index, shop_nr));
shop.c:  int index;
shop.c:  for (index = 0; SHOP_ROOM(shop_nr, index) != NOWHERE; index++)
shop.c:    if (SHOP_ROOM(shop_nr, index) == room)
shop.c:  int index;
shop.c:  if (IS_MOB(victim) && (mob_index[GET_MOB_RNUM(victim)].func == shop_keeper))
shop.c:    for (index = 0; index < top_shop; index++)
shop.c:      if ((GET_MOB_RNUM(victim) == SHOP_KEEPER(index)) && !SHOP_KILL_CHARS(index)) {
shop.c:  int index, num, len = 0, error = 0;
shop.c:    for (index = 0, num = NOTHING; *item_types[index] != '\n'; index++)
shop.c:      if (!strn_cmp(item_types[index], buf, strlen(item_types[index]))) {
shop.c:	num = index;
shop.c:	strcpy(buf, buf + strlen(item_types[index]));
shop.c:	CREATE(shop_index, struct shop_data, rec_count);
shop.c:      CREATE(shop_index[top_shop].producing, int, temp);
shop.c:      CREATE(shop_index[top_shop].type, struct shop_buy_data, temp);
shop.c:      shop_index[top_shop].no_such_item1 = fread_string(shop_f, buf2);
shop.c:      shop_index[top_shop].no_such_item2 = fread_string(shop_f, buf2);
shop.c:      shop_index[top_shop].do_not_buy = fread_string(shop_f, buf2);
shop.c:      shop_index[top_shop].missing_cash1 = fread_string(shop_f, buf2);
shop.c:      shop_index[top_shop].missing_cash2 = fread_string(shop_f, buf2);
shop.c:      shop_index[top_shop].message_buy = fread_string(shop_f, buf2);
shop.c:      shop_index[top_shop].message_sell = fread_string(shop_f, buf2);
shop.c:      CREATE(shop_index[top_shop].in_room, int, temp);
shop.c:  int index;
shop.c:  for (index = 0; index < top_shop; index++) {
shop.c:    if (SHOP_KEEPER(index) == NOBODY)
shop.c:    if (mob_index[SHOP_KEEPER(index)].func)
shop.c:      SHOP_FUNC(index) = mob_index[SHOP_KEEPER(index)].func;
shop.c:    mob_index[SHOP_KEEPER(index)].func = shop_keeper;
shop.c:  int index, cnt = 1;
shop.c:  for (index = 0; *trade_letters[index] != '\n'; index++, cnt *= 2)
shop.c:	strcat(buf, trade_letters[index]);
shop.c:	sprintf(END_OF(buf), "%c", *trade_letters[index]);
shop.c:      sprintf(buf1, "%6d", mob_index[SHOP_KEEPER(shop_nr)].vnum);
shop.c:  int index, temp;
shop.c:  for (index = 0; SHOP_ROOM(shop_nr, index) != NOWHERE; index++) {
shop.c:    if (index)
shop.c:    if ((temp = real_room(SHOP_ROOM(shop_nr, index))) != NOWHERE)
shop.c:      sprintf(buf1, "<UNKNOWN> (#%d)", SHOP_ROOM(shop_nr, index));
shop.c:  if (!index)
shop.c:	mob_index[SHOP_KEEPER(shop_nr)].vnum, YESNO(SHOP_FUNC(shop_nr)));
shop.c:  for (index = 0; SHOP_PRODUCT(shop_nr, index) != NOTHING; index++) {
shop.c:    obj = &obj_proto[SHOP_PRODUCT(shop_nr, index)];
shop.c:    if (index)
shop.c:	    obj_index[SHOP_PRODUCT(shop_nr, index)].vnum);
shop.c:  if (!index)
shop.c:  for (index = 0; SHOP_BUYTYPE(shop_nr, index) != NOTHING; index++) {
shop.c:    if (index)
shop.c:    sprintf(buf1, "%s (#%d) ", item_types[SHOP_BUYTYPE(shop_nr, index)],
shop.c:	    SHOP_BUYTYPE(shop_nr, index));
shop.c:    if (SHOP_BUYWORD(shop_nr, index))
shop.c:      sprintf(END_OF(buf1), "[%s]", SHOP_BUYWORD(shop_nr, index));
shop.c:  if (!index)
shop.h:#define S_DATA(stack, index)	((stack)->data[(index)])
shop.h:#define SHOP_NUM(i)		(shop_index[(i)].vnum)
shop.h:#define SHOP_KEEPER(i)		(shop_index[(i)].keeper)
shop.h:#define SHOP_OPEN1(i)		(shop_index[(i)].open1)
shop.h:#define SHOP_CLOSE1(i)		(shop_index[(i)].close1)
shop.h:#define SHOP_OPEN2(i)		(shop_index[(i)].open2)
shop.h:#define SHOP_CLOSE2(i)		(shop_index[(i)].close2)
shop.h:#define SHOP_ROOM(i, num)	(shop_index[(i)].in_room[(num)])
shop.h:#define SHOP_BUYTYPE(i, num)	(BUY_TYPE(shop_index[(i)].type[(num)]))
shop.h:#define SHOP_BUYWORD(i, num)	(BUY_WORD(shop_index[(i)].type[(num)]))
shop.h:#define SHOP_PRODUCT(i, num)	(shop_index[(i)].producing[(num)])
shop.h:#define SHOP_BANK(i)		(shop_index[(i)].bankAccount)
shop.h:#define SHOP_BROKE_TEMPER(i)	(shop_index[(i)].temper1)
shop.h:#define SHOP_BITVECTOR(i)	(shop_index[(i)].bitvector)
shop.h:#define SHOP_TRADE_WITH(i)	(shop_index[(i)].with_who)
shop.h:#define SHOP_SORT(i)		(shop_index[(i)].lastsort)
shop.h:#define SHOP_BUYPROFIT(i)	(shop_index[(i)].profit_buy)
shop.h:#define SHOP_SELLPROFIT(i)	(shop_index[(i)].profit_sell)
shop.h:#define SHOP_FUNC(i)		(shop_index[(i)].func)
Binary file shop.o matches
spec_assign.c:extern struct index_data *mob_index;
spec_assign.c:extern struct index_data *obj_index;
spec_assign.c:    mob_index[rnum].func = fname;
spec_assign.c:    obj_index[real_object(obj)].func = fname;
Binary file spec_assign.o matches
spec_procs.c:extern struct index_data *mob_index;
spec_procs.c:extern struct index_data *obj_index;
spec_procs.c:  static int index;
spec_procs.c:      index = 0;
spec_procs.c:      index = 0;
spec_procs.c:  switch (path[index]) {
spec_procs.c:    perform_move(ch, path[index] - '0', 1);
spec_procs.c:  index++;
Binary file spec_procs.o matches
spell_parser.c:  int index = 0, ok;
spell_parser.c:  while (spells[++index].name[0] != '\n') {
spell_parser.c:    if (is_abbrev(name, spells[index].name))
spell_parser.c:      return index;
spell_parser.c:    temp = any_one_arg((char*)(spells[index].name), first);
spell_parser.c:      return index;
spell_parser.c.save:  int index = 0, ok;
spell_parser.c.save:  while (spells[++index].name[0] != '\n') {
spell_parser.c.save:    if (is_abbrev(name, spells[index].name))
spell_parser.c.save:      return index;
spell_parser.c.save:    temp = any_one_arg((char*)(spells[index].name), first);
spell_parser.c.save:      return index;
Binary file spell_parser.o matches
spells.c:extern struct index_data *obj_index;
spells.cmake:extern struct index_data *obj_index;
structs.h:/* The cardinal directions: used as index to room_data.dir_option[] */
structs.h:/* Character equipment positions: used as index for char_data.equipment[] */
structs.h:/* element in monster and object index-tables   */
structs.h:struct index_data {
structs.h.org:/* The cardinal directions: used as index to room_data.dir_option[] */
structs.h.org:/* Character equipment positions: used as index for char_data.equipment[] */
structs.h.org:/* element in monster and object index-tables   */
structs.h.org:struct index_data {
structs.h.save:/* The cardinal directions: used as index to room_data.dir_option[] */
structs.h.save:/* Character equipment positions: used as index for char_data.equipment[] */
structs.h.save:/* element in monster and object index-tables   */
structs.h.save:struct index_data {
structs.h.save.1:/* The cardinal directions: used as index to room_data.dir_option[] */
structs.h.save.1:/* Character equipment positions: used as index for char_data.equipment[] */
structs.h.save.1:/* element in monster and object index-tables   */
structs.h.save.1:struct index_data {
structs.h.save.2:/* The cardinal directions: used as index to room_data.dir_option[] */
structs.h.save.2:/* Character equipment positions: used as index for char_data.equipment[] */
structs.h.save.2:/* element in monster and object index-tables   */
structs.h.save.2:struct index_data {
syslog.6:Apr 29 12:56:40 :: Loading triggers and generating index.
syslog.6:Apr 29 12:56:41 :: Loading mobs and generating index.
syslog.6:Apr 29 12:56:41 ::    600 mobs, 12000 bytes in index, 201600 bytes in prototypes.
syslog.6:Apr 29 12:56:41 :: Loading objs and generating index.
syslog.6:Apr 29 12:56:41 ::    725 objs, 14500 bytes in index, 89900 bytes in prototypes.
syslog.6:Apr 29 12:56:41 :: Generating player index.
utils.h:#define GET_MOB_SPEC(ch)	(IS_MOB(ch) ? mob_index[(ch)->nr].func : NULL)
utils.h:				 mob_index[GET_MOB_RNUM(mob)].vnum : -1)
utils.h:				 obj_index[GET_OBJ_RNUM(obj)].vnum : -1)
utils.h:	(obj_index[(obj)->item_number].func) : NULL)
vehicles.c:extern struct index_data *obj_index;
zedit.c:extern struct index_data *mob_index;
zedit.c:extern struct index_data *obj_index;
zedit.c:void zedit_create_index(int znum, char *type);
zedit.c:   * Update index files.
zedit.c:  zedit_create_index(vzone_num, "zon");
zedit.c:  zedit_create_index(vzone_num, "wld");
zedit.c:  zedit_create_index(vzone_num, "mob");
zedit.c:  zedit_create_index(vzone_num, "obj");
zedit.c:  zedit_create_index(vzone_num, "shp");
zedit.c:  zedit_create_index(vzone_num, "trg");
zedit.c:void zedit_create_index(int znum, char *type)
zedit.c:  sprintf(old_name, "%s/index", prefix);
zedit.c:  sprintf(new_name, "%s/newindex", prefix);
zedit.c:      arg1 = mob_index[ZCMD.arg1].vnum;
zedit.c:      arg1 = obj_index[ZCMD.arg1].vnum;
zedit.c:      arg1 = obj_index[ZCMD.arg1].vnum;
zedit.c:      arg1 = obj_index[ZCMD.arg1].vnum;
zedit.c:      arg1 = obj_index[ZCMD.arg1].vnum;
zedit.c:      arg3 = obj_index[ZCMD.arg3].vnum;
zedit.c:      arg2 = obj_index[ZCMD.arg2].vnum;
zedit.c:   * Error check to ensure users hasn't given too large an index  
zedit.c:   * Error check to ensure users hasn't given too large an index  
zedit.c:   * Error check to ensure users hasn't given too large an index  
zedit.c:	      cyn, mob_index[MYCMD.arg1].vnum, yel,
zedit.c:	      cyn, obj_index[MYCMD.arg1].vnum, yel,
zedit.c:	      cyn, obj_index[MYCMD.arg1].vnum, yel,
zedit.c:	      cyn, obj_index[MYCMD.arg1].vnum, yel,
zedit.c:  	      cyn, obj_index[MYCMD.arg1].vnum, yel,
zedit.c:	      cyn, obj_index[MYCMD.arg3].vnum, yel,
zedit.c:	      cyn, obj_index[MYCMD.arg2].vnum, yel
Binary file zedit.o matches
