User Tools

Site Tools


client:optional_parameters

This is an old revision of the document!


Crossfire Client launch Options

The default Crossfire x11, gtk, gtk-v2 client recognizes the following parameters or arguments when it starts :

-cache

  1. Cache images for future use.

-nocache

  1. Do not cache images (default action).

-darkness

  1. Enables darkness code (default)

-nodarkness

  1. Disables darkness code

-display <name>

  1. Use <name> instead if DISPLAY environment variable.

-download_all_faces

  1. Download all needed faces before play starts

-echo

  1. Echo the bound commands

-noecho

  1. Do not echo the bound commands (default)

-faceset <name>

  1. Use faceset <name> if available

-fasttcpsend

  1. Send data immediately to server, may increase bandwidth

-nofasttcpsend

  1. Disables fasttcpsend

-fog

  1. Enable fog of war code

-help

  1. Display this message.

-iconscale %%

  1. Set icon scale percentage

-mapscale %%

  1. Set map scale percentage

-mapsize xXy

  1. Set the mapsize to be X by Y spaces. (default 11×11)

-mapscroll

Short: Enable mapscrolling by bitmap operations
Used only in SDL map display mode.
Clients that understand this option : x11 cfclient and gtk-1 gcfclient. The gtk-v2 client throws the -help message and exits.
Purpose: UNKNOWN

      /* Mark all tiles as "need_update" that are overlapped by a big face 
       * from outside the view area. */ 

Default : TRUE ( apparently )
gdefaults file entry : mapscroll: <0|1> ( guessed TRUE | FALSE )
Client Menu entry : UNKNOWN
Bugs : x11/x11.c: Fix display_mapscroll() to handle scrolling by greater than 1 tile at a time. Fixes bug #1564584.
Implemented : x11/x11.c: Implement map scrolling by using XCopyArea(). Add config options -mapscroll/-nomapscroll to enable/disable this. 2005-08-31

Defines: common/client.h

  • #define CONFIG_MAPSCROLL 29 /* Use bitmap operations for map scrolling */
  • #define CONFIG_NUMS 32 /* This should always be the last value in the list */

Functions :

  • init_client_vars in comon.init.c , calls want_config[CONFIG_MAPSCROLL] = TRUE;
  • display_mapscroll in gtk/map.c , returns either 0 or sdl_mapscroll, called by mapdata_scroll in common/mapdata.c
  • sdl_mapscroll in gtk/sdl.c , returns always '1' , called by display_mapscroll

-nomapscroll

Short: Disable mapscrolling by bitmap operations

Function common/mapdata.c mapdata_scroll says: /* Emulate map scrolling by redrawing all tiles. */

-popups

  1. Use pop up windows for input (default)

-nopopups

  1. Don't use pop up windows for input

-port <number>

  1. Use port <number> instead of the standard port number

-resists <val>

  1. Control look of resistances.

-sdl

  1. Use sdl for drawing png (may not work on all hardware

-server <name>

  1. Connect to <name> instead of localhost.

-showicon

  1. Print status icons in inventory window

-smooth

  1. Enable smooth

-nosmooth

  1. Disable smooth

-sound

  1. Enable sound output (default).

-nosound

  1. Disable sound output.

-sound_server <path>

  1. Executable to use to play sounds.

-splash

  1. Display the splash screen (startup logo) (default)

-nosplash

  1. Don't display the splash screen

-split

  1. Use split windows.

-splitinfo

  1. Use two information windows, segregated by information type.

-timemapredraw

  1. Print out timing information for map generation

-triminfowindow

  1. Trims size of information window(s)

-notriminfowindow

  1. Do not trims size of information window(s) (default)

-updatekeycodes

  1. Update the saved bindings for this keyboard.
client/optional_parameters.1520691050.txt.gz · Last modified: 2018/03/10 08:10 by karl