Crossfire Client, Branch  R11627
chelp.h
Go to the documentation of this file.
00001 /* Client helpfile */
00002 
00003 #ifndef CHELP_H
00004 #define CHELP_H
00005 
00006 #define HELP_BIND_SHORT "bind a command to a key"
00007 #define HELP_BIND_LONG "Syntax:\n\
00008  bind [[-nframeg] <command>]\n\
00009 \n\
00010 Flags (default -nrfam):\n\
00011  n - used in normal-mode\n\
00012  f - used in fire-mode\n\
00013  r - used in run-mode\n\
00014  a - used with alt key\n\
00015  m - used with meta key\n\
00016  e - leave command in line edit\n\
00017  g - global key (not recommended)\n\
00018 Each client may not support every flag.\n\
00019 \n\
00020 bind without flags/command gets client help.\n\
00021 \n\
00022 Special 'commands':\n\
00023  bind commandkey - sets commandkey\n\
00024  bind firekey1 - sets first firekey\n\
00025  bind firekey2 - sets second firekey\n\
00026  bind runkey1 - sets first runkey\n\
00027  bind runkey2 - sets second runkey\n\
00028  bind prevkey - sets history-previous key\n\
00029  bind nextkey - sets history-next key\n\
00030  bind completekey - sets complete-command key\n\
00031 \n\
00032 Examples:\n\
00033 bind -f cast paralyzed (F3)\n\
00034   will typically mean that Shift-F3\n\
00035   is used to select that spell (Shift\n\
00036   being the fire key)\n\
00037 \n\
00038 bind -e shout  (\")\n\
00039   will put the cursor in the command\n\
00040   box after writing 'shout' when you\n\
00041   press double-quote. So you can shout\n\
00042   to your friends easier. ;)\n"
00043 
00044 #define HELP_UNBIND_SHORT "unbind a command, show bindings"
00045 #define HELP_UNBIND_LONG "Syntax:\n\
00046  unbind [-g] [#]\n\
00047  unbind reset\n\
00048 Without -g command uses user's bindind,\n\
00049 with -g global binding.\n\
00050 Without number it displays current bindings,\n\
00051 with # it unbinds it.\n\
00052 'reset' resets default bindings."
00053 
00054 #define HELP_MAGICMAP_SHORT "show last received magic map"
00055 #define HELP_MAGICMAP_LONG "Syntax:\n\
00056  magicmap\n\
00057 Displays last shown magic map."
00058 
00059 #define HELP_SAVEDEFAULTS_SHORT "save various defaults into ~/.crossfire/defaults"
00060 #define HELP_SAVEDEFAULTS_LONG "Syntax:\n\
00061  savedefaults\n\
00062 Saves configuration."
00063 
00064 /* XXX *Which* configuration? */
00065 
00066 #define HELP_INV_SHORT "show clients inventory (debug)"
00067 #define HELP_INV_LONG "Syntax:\n\
00068  inv\n\
00069 Debug info about inventory."
00070 
00071 
00072 /* Used to be gchar, but it couldn't find it. */
00073 /*
00074 char * text = " === Client Side Commands: === \n\
00075 \n\
00076 bind    - " HELP_BIND_SHORT "\n\
00077 unbind    - " HELP_UNBIND_SHORT  "\n\
00078 magicmap    - " HELP_MAGICMAP_SHORT "\n\
00079 savedefaults    - " HELP_SAVEDEFAULTS_SHORT "\n\
00080 inv   - " HELP_INV_SHORT "\n\
00081 \n\
00082 \n\
00083 bind\n\
00084 \n\
00085 " HELP_BIND_LONG "\n\
00086 \n\
00087 unbind\n\
00088 \n\
00089 " HELP_UNBIND_LONG "\n\
00090 \n\
00091 \n\
00092  magicmap\n\
00093 \n\
00094 " HELP_MAGICMAP_LONG "\n\
00095 \n\
00096 \n\
00097  savedefaults\n\
00098 \n\
00099 " HELP_SAVEDEFAULTS_LONG "\n\
00100 \n\
00101 \n\
00102  inv\n\
00103 \n\
00104 " HELP_INV_LONG "\n\
00105 \n\
00106 \n\
00107 ";
00108 */
00109 
00110 #endif