Пример #1
0
/*****************************************************************************
 * Name:		show_commands
 * Purpose:	Display all olc commands.
 * Called by:	olc interpreters.
 ****************************************************************************/
bool show_commands(struct char_data *ch, const char *argument)
{
    switch (ch->desc->editor) {
      case ED_AREA:
          show_olc_cmds(ch, aedit_table);
          break;
      case ED_ROOM:
          show_olc_cmds(ch, redit_table);
          break;
      case ED_OBJECT:
          show_olc_cmds(ch, oedit_table);
          break;
      case ED_MOBILE:
          show_olc_cmds(ch, medit_table);
          break;
      case ED_MPCODE:
          show_olc_cmds(ch, mpedit_table);
          break;
      case ED_HELP:
          show_olc_cmds(ch, hedit_table);
          break;
      case ED_SKILL:
          show_olc_cmds(ch, skedit_table);
          break;
      case ED_GROUP:
          show_olc_cmds(ch, gredit_table);
          break;
    }

    return false;
}
Пример #2
0
/*****************************************************************************
 Name:        show_commands
 Purpose:    Display all olc commands.
 Called by:    olc interpreters.
 ****************************************************************************/
bool show_commands (CHAR_DATA * ch, char *argument)
{
    switch (ch->desc->editor)
    {
        case ED_AREA:
            show_olc_cmds (ch, aedit_table);
            break;
        case ED_ROOM:
            show_olc_cmds (ch, redit_table);
            break;
        case ED_OBJECT:
            show_olc_cmds (ch, oedit_table);
            break;
        case ED_MOBILE:
            show_olc_cmds (ch, medit_table);
            break;
        case ED_MPCODE:
            show_olc_cmds (ch, mpedit_table);
            break;
        case ED_HELP:
            show_olc_cmds (ch, hedit_table);
            break;
    }

    return FALSE;
}
Пример #3
0
/*****************************************************************************
 Name:		show_commands
 Purpose:	Display all olc commands.
 Called by:	olc interpreters.
 ****************************************************************************/
bool    show_commands (CHAR_DATA * ch, char *argument)
{
	show_olc_cmds(ch);

	return FALSE;
}