Go to the documentation of this file.
6 #define HELP_BIND_SHORT "bind a command to a key"
7 #define HELP_BIND_LONG "Syntax:\n\
8 bind [[-nframeg] <command>]\n\
10 Flags (default -nrfam):\n\
11 n - used in normal-mode\n\
12 f - used in fire-mode\n\
13 r - used in run-mode\n\
14 a - used with alt key\n\
15 m - used with meta key\n\
16 e - leave command in line edit\n\
17 g - global key (not recommended)\n\
18 Each client may not support every flag.\n\
20 bind without flags/command gets client help.\n\
22 Special 'commands':\n\
23 bind commandkey - sets commandkey\n\
24 bind firekey1 - sets first firekey\n\
25 bind firekey2 - sets second firekey\n\
26 bind runkey1 - sets first runkey\n\
27 bind runkey2 - sets second runkey\n\
28 bind prevkey - sets history-previous key\n\
29 bind nextkey - sets history-next key\n\
30 bind completekey - sets complete-command key\n\
33 bind -f cast paralyzed (F3)\n\
34 will typically mean that Shift-F3\n\
35 is used to select that spell (Shift\n\
36 being the fire key)\n\
39 will put the cursor in the command\n\
40 box after writing 'shout' when you\n\
41 press double-quote. So you can shout\n\
42 to your friends easier. ;)\n"
44 #define HELP_UNBIND_SHORT "unbind a command, show bindings"
45 #define HELP_UNBIND_LONG "Syntax:\n\
48 Without -g command uses user's bindind,\n\
49 with -g global binding.\n\
50 Without number it displays current bindings,\n\
51 with # it unbinds it.\n\
52 'reset' resets default bindings."
54 #define HELP_MAGICMAP_SHORT "show last received magic map"
55 #define HELP_MAGICMAP_LONG "Syntax:\n\
57 Displays last shown magic map."
59 #define HELP_SAVEDEFAULTS_SHORT "save various defaults into ~/.crossfire/defaults"
60 #define HELP_SAVEDEFAULTS_LONG "Syntax:\n\
66 #define HELP_INV_SHORT "show clients inventory (debug)"
67 #define HELP_INV_LONG "Syntax:\n\
69 Debug info about inventory."
struct CmdMapping commands[]
PixmapInfo * pixmaps[MAXPIXMAPNUM]
add_subdirectory(src) install(DIRECTORY themes ui DESTINATION $
vala_precompile(VALA_C snd.vala OPTIONS -g GENERATE_HEADER client-vala) add_custom_command(OUTPUT resources.c COMMAND $
cmake option(LUA "Lua scripting" OFF) option(METASERVER2 "Metaserver2 support (requires curl)" ON) option(SOUND "Sound support (requires sdl_mixer)" ON) set(CMAKE_C_STANDARD 99) set(CMAKE_C_STANDARD_REQUIRED ON) if(UNIX) add_definitions(-D_DEFAULT_SOURCE) elseif(MINGW OR WIN32) add_definitions(-DWIN32) set(CMAKE_INSTALL_PREFIX ".") endif() include(GNUInstallDirs) set(CMAKE_INSTALL_DATADIR $
To create a Windows client you need NSIS First build the client
install(FILES crossfire-client.desktop DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications) foreach(size 16 32 48) install(FILES ../pixmaps/$
cmake_minimum_required(VERSION 3.1) project(crossfire-client C) set(VERSION 1.75.3) list(APPEND CMAKE_MODULE_PATH $
add_custom_command(OUTPUT msgtypes.h COMMAND ${PERL_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/msgtypes.pl ${CMAKE_CURRENT_SOURCE_DIR} DEPENDS shared/newclient.h) add_library(cfclient client.c client.h commands.c external.h image.c init.c item.c item.h mapdata.c mapdata.h metaserver.c metaserver.h misc.c msgtypes.h new socket.c p_cmd.c p_cmd.h player.c proto.h script.c script.h script_lua.c shared/newclient.h version.h) target_include_directories(cfclient PRIVATE $