Jump to Main Content

Branch - Client ChangeLog

  • 2006-10-07 18:29 qal21
  • [r5010] ChangeLog, common/client.c, common/commands.c, common/init.c, common/item.c, common/mapdata.c, common/metaserver.c, common/newsocket.c, common/p_cmd.c, common/player.c, common/script.c, configure, configure.in, gtk-v2/src/Makefile.am, gtk-v2/src/Makefile.in, gtk-v2/src/image.c, gtk-v2/src/keys.c, gtk-v2/src/main.c, gtk-v2/src/map.c, gtk-v2/src/menubar.c, gtk-v2/src/opengl.c, gtk-v2/src/png.c, gtk-v2/src/sdl.c, gtk-v2/src/sound.c, client/trunk/ChangeLog, client/trunk/common/client.c, client/trunk/common/commands.c, client/trunk/common/init.c, client/trunk/common/item.c, client/trunk/common/mapdata.c, client/trunk/common/metaserver.c, client/trunk/common/newsocket.c, client/trunk/common/p_cmd.c, client/trunk/common/player.c, client/trunk/common/script.c, client/trunk/configure, client/trunk/configure.in, client/trunk/gtk-v2/src/Makefile.am, client/trunk/gtk-v2/src/Makefile.in, client/trunk/gtk-v2/src/image.c, client/trunk/gtk-v2/src/keys.c, client/trunk/gtk-v2/src/main.c, client/trunk/gtk-v2/src/map.c, client/trunk/gtk-v2/src/menubar.c, client/trunk/gtk-v2/src/opengl.c, client/trunk/gtk-v2/src/png.c, client/trunk/gtk-v2/src/sdl.c, client/trunk/gtk-v2/src/sound.c Apply patches #1562945, #1562947, #1563796, and #1566467 to allow the gtk2 client to be built in mingw. Courtesy of Kurt Fitzner.
  • 2006-09-27 00:13 qal21
  • [r4983] ChangeLog, common/commands.c, common/mapdata.c, common/proto.h Move clearing of old map data from mapdata_set_face_layer() to a new mapdata_clear_old() function. Call mapdata_clear_old() in Map2Cmd() instead of relying on mapdata_set_face_layer() to clear it. Fixes bug #1559683.
  • 2006-09-26 13:26 qal21
  • [r4981] ChangeLog, x11/x11.c Fix display_mapscroll() in the x11 client to handle scrolling by greater than 1 tile at a time. Fix bug #1564584
  • 2006-09-21 05:50 mwedel
  • [r4963] common/cconfig.h, common/client-types.h, common/client.c, common/client.h, common/commands.c, common/def-keys.h, common/external.h, common/image.c, common/init.c, common/item-types.h, common/item.c, common/item.h, common/mapdata.c, common/mapdata.h, common/metaserver.c, common/metaserver.h, common/misc.c, common/newclient.h, common/newsocket.c, common/p_cmd.c, common/p_cmd.h, common/player.c, common/proto.h, common/rcs-id.h, common/script.c, common/script.h, gnome/gnome-cf.h, gnome/gnome-sound.c, gnome/gnome.c, gnome/gnomeproto.h, gnome/map.c, gtk/config.c, gtk/gtkproto.h, gtk/gx11.c, gtk/gx11.h, gtk/help.c, gtk/image.c, gtk/inventory.c, gtk/keys.c, gtk/map.c, gtk/png.c, gtk/rcs-id.h, gtk/sdl.c, gtk/sound.c, gtk/text.c, help/about.h, help/bugreport.h, help/chelp.h, help/shelp.h, sound-src/alsa9.c, sound-src/cfsndserv.c, sound-src/common.c, x11/clientbmap.h, x11/png.c, x11/rcs-id.h, x11/sound.c, x11/x11.c, x11/x11.h, x11/x11proto.h, x11/xutil.c, client/trunk/common/cconfig.h, client/trunk/common/client-types.h, client/trunk/common/client.c, client/trunk/common/client.h, client/trunk/common/commands.c, client/trunk/common/def-keys.h, client/trunk/common/external.h, client/trunk/common/image.c, client/trunk/common/init.c, client/trunk/common/item-types.h, client/trunk/common/item.c, client/trunk/common/item.h, client/trunk/common/mapdata.c, client/trunk/common/mapdata.h, client/trunk/common/metaserver.c, client/trunk/common/metaserver.h, client/trunk/common/misc.c, client/trunk/common/newclient.h, client/trunk/common/newsocket.c, client/trunk/common/p_cmd.c, client/trunk/common/p_cmd.h, client/trunk/common/player.c, client/trunk/common/proto.h, client/trunk/common/rcs-id.h, client/trunk/common/script.c, client/trunk/common/script.h, client/trunk/gnome/gnome-cf.h, client/trunk/gnome/gnome-sound.c, client/trunk/gnome/gnome.c, client/trunk/gnome/gnomeproto.h, client/trunk/gnome/map.c, client/trunk/gtk/config.c, client/trunk/gtk/gtkproto.h, client/trunk/gtk/gx11.c, client/trunk/gtk/gx11.h, client/trunk/gtk/help.c, client/trunk/gtk/image.c, client/trunk/gtk/inventory.c, client/trunk/gtk/keys.c, client/trunk/gtk/map.c, client/trunk/gtk/png.c, client/trunk/gtk/rcs-id.h, client/trunk/gtk/sdl.c, client/trunk/gtk/sound.c, client/trunk/gtk/text.c, client/trunk/help/about.h, client/trunk/help/bugreport.h, client/trunk/help/chelp.h, client/trunk/help/shelp.h, client/trunk/sound-src/alsa9.c, client/trunk/sound-src/cfsndserv.c, client/trunk/sound-src/common.c, client/trunk/x11/clientbmap.h, client/trunk/x11/png.c, client/trunk/x11/rcs-id.h, client/trunk/x11/sound.c, client/trunk/x11/x11.c, client/trunk/x11/x11.h, client/trunk/x11/x11proto.h, client/trunk/x11/xutil.c add propset ID's to client.
    MSW 2006-09-20
  • 2006-09-21 04:52 qal21
  • [r4956] common/item-types.h, client/trunk/common/item-types.h Rebuild old item-types.h
  • 2006-09-19 07:26 mwedel
  • [r4944] . creating branch for stable 1.x release
  • 2006-09-19 07:18 mwedel
  • [r4941] arch, arch/trunk, client, client/trunk, crossfire, crossfire/trunk, jxclient, jxclient/trunk, maps, maps/trunk, sounds, sounds/trunk, trunk/arch, trunk/client, trunk/crossfire, trunk/jxclient, trunk/maps, trunk/sounds move some files about.
  • 2006-09-18 06:12 mwedel
  • [r4939] trunk/client/ChangeLog, trunk/client/gtk-v2/src/info.c gtk-v2/src/info.c: Add some notes about downloading font. Add support
    for underline in extended text modes.
    MSW 2006-09-17
  • 2006-09-17 07:12 qal21
  • [r4936] trunk/client/configure Rebuild configure.
  • 2006-09-17 07:11 qal21
  • [r4935] trunk/client/ChangeLog, trunk/client/configure.in Fix opengl checks.
  • 2006-09-06 07:27 mwedel
  • [r4889] trunk/client/ChangeLog, trunk/client/gtk-v2/gtk-v2.glade, trunk/client/gtk-v2/src/callbacks.h, trunk/client/gtk-v2/src/interface.c, trunk/client/gtk-v2/src/metaserver.c Fix bug 1531060 - metaserver selection button is improperly activated.
    Fix this by clearing the text box if an entry in the tree widget is selected -
    if text is entered in the text box, unselect any selection - keeps it
    very consistent what the connect button does. Have it greyed out until
    there is either text in the text box or something selected in the treeview.
    gtk-v2/gtk-v2.glade: add callback for key press events for text entry
    gtk-v2/src/callbacks.h,gtk-v2/src/interface.c: Rebuilt
    gtk-v2/src/metaserver.c: Add code to activate/disable button based on
    status. Add code to clear text box when treeview selected. Add code
    to deselect treeview if data is entered in textbox.
    MSW 2006-09-05
  • 2006-09-06 07:26 mwedel
  • [r4888] trunk/client/gtk-v2/src/stats.c gtk-v2/src/stats.c: Fix bug 1527966 - protections window not properly
    updated. Wrong variable was being used in loop.
    MSW 2006-09-05
  • 2006-09-05 07:30 mwedel
  • [r4887] trunk/client/ChangeLog gtk-v2/src/map.c: Clear clipmask and clear window in draw_splash() so that
    splash is correctly redrawn.
    gtk-v2/src/metaserver.c: Add call to draw_map() in metaserver selection just
    to make sure splash is drawn correctly.
    MSW 2006-09-04

    gtk-v2/src/inventory.c: Fix bug 1528014 - when dropping all objects, display
    isn't updated correctly. Remove checks for cpl.ob->inv - relying on
    cpl.ob->inv_updated appears to work fine.
    gtk-v2/src/keys.c: Fix bug 1527988 - message about unused keys isn't very
    useful. Include meta and alt information about unused keys. Add
    warning message to bind when trying to bind a key that may conflict
    with an existing binding.
    MSW 2006-09-04
  • 2006-09-05 07:30 mwedel
  • [r4886] trunk/client/gtk-v2/src/inventory.c gtk-v2/src/inventory.c: Fix bug 1528014 - when dropping all objects, display
    isn't updated correctly. Remove checks for cpl.ob->inv - relying on
    cpl.ob->inv_updated appears to work fine.
  • 2006-09-05 07:29 mwedel
  • [r4885] trunk/client/gtk-v2/src/keys.c gtk-v2/src/keys.c: Fix bug 1527988 - message about unused keys isn't very
    useful. Include meta and alt information about unused keys. Add
    warning message to bind when trying to bind a key that may conflict
    with an existing binding.
    MSW 2006-09-04
  • 2006-09-05 07:03 mwedel
  • [r4884] trunk/client/gtk-v2/src/map.c, trunk/client/gtk-v2/src/metaserver.c gtk-v2/src/map.c: Clear clipmask and clear window in draw_splash() so that
    splash is correctly redrawn.
    gtk-v2/src/metaserver.c: Add call to draw_map() in metaserver selection just
    to make sure splash is drawn correctly.
    MSW 2006-09-04
  • 2006-09-04 22:22 mwedel
  • [r4883] trunk/client/ChangeLog Add suggestion from bug 1528536 - some menu items should be disabled during
    metaserver selection.
    gtk-v2/gtk-v2.glade: Fix some incorrect name (meny vs menu)
    gtk-v2/src/interface.c: Rebuilt
    gtk-v2/src/menubar.c: Add enable_menu_items(), which enables/disables some
    menu items.
    gtk-v2/src/metaserver.c: Add calls to enable_menu_items() to disable
    some menu items before metaserver selection, and to enable them after.
    MSW 2006-09-04

    gtk-v2/gtk-v2.glade: Add callback for pressed event on metaserver quit button -
    allows alt-Q to work - fix for bug 1551373
    gtk-v2/src/interface.c: Rebuilt
    gtk-v2/server/metaserver.c: Make some changes related to bug 1548290 - cached
    entries show 0 value in players. Add code to check list of servers from
    metaserver - if we have a match in the cached server list, don't display
    the cached entry - use the one from the metaserver instead. Also, add
    logic to not display empty server if the default server is null.
    gtk-v2/src/config.c: Make save_winpos() do actual saving, have
    on_save_window_position_activate() call save_winpos() - fixes
    bug 1551395 where savewinpos command does not work.
    gtk-v2/src/main.c: Remove empty function save_winpos()
    MSW 2006-09-04
  • 2006-09-04 22:22 mwedel
  • [r4882] trunk/client/gtk-v2/gtk-v2.glade, trunk/client/gtk-v2/src/interface.c, trunk/client/gtk-v2/src/menubar.c, trunk/client/gtk-v2/src/metaserver.c Add suggestion from bug 1528536 - some menu items should be disabled during
    metaserver selection.
    gtk-v2/gtk-v2.glade: Fix some incorrect name (meny vs menu)
    gtk-v2/src/interface.c: Rebuilt
    gtk-v2/src/menubar.c: Add enable_menu_items(), which enables/disables some
    menu items.
    gtk-v2/src/metaserver.c: Add calls to enable_menu_items() to disable
    some menu items before metaserver selection, and to enable them after.
    MSW 2006-09-04
  • 2006-09-04 22:06 mwedel
  • [r4881] trunk/client/gtk-v2/gtk-v2.glade, trunk/client/gtk-v2/src/interface.c tk-v2/gtk-v2.glade: Add callback for pressed event on metaserver quit button -
    allows alt-Q to work - fix for bug 1551373
    gtk-v2/src/interface.c: Rebuilt
    MSW 2006-09-04
  • 2006-09-04 22:05 mwedel
  • [r4880] trunk/client/gtk-v2/src/config.c, trunk/client/gtk-v2/src/main.c gtk-v2/src/config.c: Make save_winpos() do actual saving, have
    on_save_window_position_activate() call save_winpos() - fixes
    bug 1551395 where savewinpos command does not work.
    gtk-v2/src/main.c: Remove empty function save_winpos()
    MSW 2006-09-04
  • 2006-09-04 22:04 mwedel
  • [r4879] trunk/client/gtk-v2/src/metaserver.c server/metaserver.c: Make some changes related to bug 1548290 - cached entries
    show 0 value in players. Add code to check list of servers from metaserver
    - if we have a match in the cached server list, don't display the cached
    entry - use the one from the metaserver instead. Also, add logic to not
    display empty server if the default server is null.
    MSW 2006-09-04
  • 2006-09-04 07:52 mwedel
  • [r4877] trunk/client/ChangeLog, trunk/client/gtk-v2/src/stats.c gtk-v2/src/stats.c: Remove extra Player: in the player name. Fixes bug
    1528011. MSW 2006-09-03
  • 2006-09-04 06:56 mwedel
  • [r4875] trunk/client/gtk-v2/src/info.c Fix/improvement for last commit - don't create a new tag every time we
    get an extended text info - instead, create unique names and try to
    re-use them.
    MSW 2006-09-03
  • 2006-09-04 06:42 mwedel
  • [r4874] trunk/client/ChangeLog, trunk/client/common/newclient.h, trunk/client/gtk-v2/src/info.c, trunk/client/gtk-v2/src/keys.c This change mainly adds support for the extended info messages for the gtkv2
    client. Note that unlike the gtkv1 client, the gtkv2 client doesn't in any
    way try to do pop up windows or fancy graphics - rather, the support is there
    just so it can do font changes, color changes, etc, within the normal text
    common/newclient.h: Sync it back up with server version. Several new
    MSG_ types added.
    gtk-v2/src/info.c: Redo info pane handling - move all the relevant variables
    into a structure - this should make it easier to add more panes in the
    future, but right now, it means an integer can be passed in to functions
    to control what pane to draw in. Add support for extended draw info -
    notably, this means listing alternative fonts, and adding support
    for different tags. Add callsbacks for the different message types. Add
    code to process extended text message tags.
    gtk-v2/src/keys.c: Change the grab focus after user enters command to use
    the treeview_look widget instead fo the textview - given that the textview
    is now stored away in a structure, harder to get to that variable.
    MSW 2006-09-03
  • 2006-09-03 15:24 ryo_saeba
  • [r4872] trunk/client/ChangeLog, trunk/client/common/client.c Fix Win32 compilation
  • 2006-09-03 15:22 ryo_saeba
  • [r4871] trunk/client/gtk/win32/GTKClient.rc, trunk/client/gtk/win32/Win32Changes.txt, trunk/client/gtk/win32/config.h, trunk/client/gtk/win32/gtkclient.nsi Win32 snapshot & such
  • 2006-08-22 07:23 mwedel
  • [r4830] trunk/client/ChangeLog, trunk/client/gtk-v2/gtk-v2.glade, trunk/client/gtk-v2/src/interface.c gtk-v2: Fix bug 1528540 - if metaserver window is closed, client is unusable.
    Take suggested fix - if metaserver window is closed, exit client. Just
    another hook to last commit.
    gtk-v2/gtk-v2.glade: Add callback for destroy event on metaserver window.
    gtk-v2/src/interface.c: rebuilt.
    MSW 2006-08-21
  • 2006-08-21 07:47 mwedel
  • [r4823] trunk/client/ChangeLog, trunk/client/gtk-v2/gtk-v2.glade, trunk/client/gtk-v2/src/callbacks.h, trunk/client/gtk-v2/src/interface.c, trunk/client/gtk-v2/src/main.c gtk-v2: Fix bug 1530024 - errors when manually closing a window.
    gtk-v2/gtk-v2.glade: Add callback for destroy event on main window.
    gtk-v2/src/callbacks.h, gtk-v2/src/interface.c: Updated by glade with new
    gtk-v2/src/main.c: Code to handle callback
    MSW 2006-08-20
  • 2006-08-08 09:59 ryo_saeba
  • [r4762] trunk/client/ChangeLog, trunk/client/gtk/gx11.c Hide input if asked for
  • 2006-07-29 10:13 ryo_saeba
  • [r4727] trunk/client/common, trunk/client/common/.cvsignore, trunk/client/gtk, trunk/client/gtk-v2, trunk/client/gtk-v2/.cvsignore, trunk/client/gtk-v2/src, trunk/client/gtk-v2/src/.cvsignore, trunk/client/gtk/.cvsignore, trunk/client/help, trunk/client/help/.cvsignore, trunk/client/pixmaps, trunk/client/pixmaps/.cvsignore, trunk/client/sound-src, trunk/client/sound-src/.cvsignore, trunk/client/utils, trunk/client/utils/.cvsignore, trunk/client/x11, trunk/client/x11/.cvsignore, trunk/crossfire, trunk/crossfire/.cvsignore, trunk/crossfire/common, trunk/crossfire/common/.cvsignore, trunk/crossfire/crossedit, trunk/crossfire/crossedit/.cvsignore, trunk/crossfire/crossedit/Cnv, trunk/crossfire/crossedit/Cnv/.cvsignore, trunk/crossfire/crossedit/bitmaps, trunk/crossfire/crossedit/bitmaps/.cvsignore, trunk/crossfire/crossedit/doc, trunk/crossfire/crossedit/doc/.cvsignore, trunk/crossfire/crossedit/include, trunk/crossfire/crossedit/include/.cvsignore, trunk/crossfire/devel, trunk/crossfire/devel/.cvsignore, trunk/crossfire/doc, trunk/crossfire/doc/.cvsignore, trunk/crossfire/doc/Developers, trunk/crossfire/doc/Developers/.cvsignore, trunk/crossfire/doc/playbook, trunk/crossfire/doc/playbook-html, trunk/crossfire/doc/playbook-html/.cvsignore, trunk/crossfire/doc/playbook/.cvsignore, trunk/crossfire/doc/scripts, trunk/crossfire/doc/scripts/.cvsignore, trunk/crossfire/doc/spell-docs, trunk/crossfire/doc/spell-docs/.cvsignore, trunk/crossfire/doc/spoiler, trunk/crossfire/doc/spoiler-html, trunk/crossfire/doc/spoiler-html/.cvsignore, trunk/crossfire/doc/spoiler/.cvsignore, trunk/crossfire/include, trunk/crossfire/include/.cvsignore, trunk/crossfire/lib, trunk/crossfire/lib/.cvsignore, trunk/crossfire/plugins, trunk/crossfire/plugins/.cvsignore, trunk/crossfire/plugins/cfanim, trunk/crossfire/plugins/cfanim/.cvsignore, trunk/crossfire/plugins/cfanim/include, trunk/crossfire/plugins/cfanim/include/.cvsignore, trunk/crossfire/plugins/cfpython, trunk/crossfire/plugins/cfpython/.cvsignore, trunk/crossfire/plugins/cfpython/include, trunk/crossfire/plugins/cfpython/include/.cvsignore, trunk/crossfire/plugins/common, trunk/crossfire/plugins/common/.cvsignore, trunk/crossfire/plugins/common/include, trunk/crossfire/plugins/common/include/.cvsignore, trunk/crossfire/random_maps, trunk/crossfire/random_maps/.cvsignore, trunk/crossfire/server, trunk/crossfire/server/.cvsignore, trunk/crossfire/socket, trunk/crossfire/socket/.cvsignore, trunk/crossfire/test, trunk/crossfire/test/.cvsignore, trunk/crossfire/test/toolkit, trunk/crossfire/test/toolkit/.cvsignore, trunk/crossfire/test/unit, trunk/crossfire/test/unit/.cvsignore, trunk/crossfire/test/unit/common, trunk/crossfire/test/unit/common/.cvsignore, trunk/crossfire/test/unit/crossedit, trunk/crossfire/test/unit/crossedit/.cvsignore, trunk/crossfire/test/unit/random_maps, trunk/crossfire/test/unit/random_maps/.cvsignore, trunk/crossfire/test/unit/server, trunk/crossfire/test/unit/server/.cvsignore, trunk/crossfire/test/unit/socket, trunk/crossfire/test/unit/socket/.cvsignore, trunk/crossfire/utils, trunk/crossfire/utils/.cvsignore Add .cvsignore files, courtesy Rapha��l Quinet - quinet
  • 2006-07-29 08:12 ryo_saeba
  • [r4724] trunk/client/ChangeLog, trunk/client/common/commands.c, trunk/client/common/init.c, trunk/client/configure, trunk/client/configure.in, trunk/client/gtk/gx11.c, trunk/client/gtk/win32/config.h Add --enable-gtk2 to build gtk1 client with gtk2. Misc bugfixes.
  • 2006-07-18 06:24 mwedel
  • [r4690] trunk/client/ChangeLog, trunk/client/common/cconfig.h, trunk/client/common/client.c, trunk/client/common/metaserver.c, trunk/client/gtk-v2/src/main.c, trunk/client/gtk/gx11.c, trunk/client/x11/x11.c Make common/cconfig.h act as the default server if set, if not set, connect
    to metaserver. Prior to this, it always went to the metaserver unless
    -server option was given.
    common/cconfig.h: Comment out SERVER so by default it connects to metaserver
    common/client.c: Add handling to initialize server from SERVER if defined,
    null otherwise.
    common/metaserver.c: Don't present default server in metaserver selection
    default is null.
    gtk/gx11.c, gtk-v2/src/main.c, x11/x11.c: Change command line handling -
    if server is set, use that as default to connect to.
    MSW 2006-07-1
  • 2006-07-18 06:24 mwedel
  • [r4689] trunk/client/gtk-v2/src/inventory.c gtk-v2/src/inventory.c: Add another invisible column to inventory/look
    lists for sorting based on name without nrof clogging results. Comment
    out code that makes image fixed width.
    MSW 2006-07-17
  • 2006-07-16 14:35 akirschbaum
  • [r4684] trunk/client/ChangeLog, trunk/client/x11/xutil.c x11/xutil.c: Use snprintf() to avoid possible buffer overflows.
  • 2006-07-16 13:52 akirschbaum
  • [r4683] trunk/client/ChangeLog, trunk/client/gtk-v2/src/image.c, trunk/client/gtk-v2/src/opengl.c, trunk/client/gtk/image.c gtk/image.c gtk-v2/src/image.c gtk-v2/src/opengl.c: Remove superfluous casts.
  • 2006-07-16 12:37 akirschbaum
  • [r4682] trunk/client/ChangeLog, trunk/client/gnome/gnome.c, trunk/client/gtk/gx11.c, trunk/client/x11/x11.c gnome/gnome.c, gtk/gx11.c, x11/x11.c: Remove unused macros.
  • 2006-07-16 12:32 akirschbaum
  • [r4681] trunk/client/ChangeLog, trunk/client/common/item.h common/item.h: Remove unused macros.
  • 2006-07-16 12:13 akirschbaum
  • [r4680] trunk/client/common/client.c, trunk/client/common/client.h, trunk/client/common/commands.c, trunk/client/common/image.c, trunk/client/common/init.c, trunk/client/common/script.c, trunk/client/gnome/gnome.c, trunk/client/gnome/map.c, trunk/client/gtk-v2/src/config.c, trunk/client/gtk-v2/src/keys.c, trunk/client/gtk/config.c, trunk/client/gtk/keys.c, trunk/client/gtk/text.c, trunk/client/x11/x11.c, trunk/client/x11/xutil.c Change "if(ptr) free(ptr)" into "free(ptr)".
  • 2006-07-16 11:17 akirschbaum
  • [r4679] trunk/client/ChangeLog, trunk/client/common/commands.c common/commands.c: In DeleteInventory() do not crash if an invalid object tag
    was received.
  • 2006-07-16 11:09 akirschbaum
  • [r4678] trunk/client/ChangeLog, trunk/client/common/commands.c common/commands.c: Unify/fix calls to LOG().
  • 2006-07-16 10:57 akirschbaum
  • [r4677] trunk/client/ChangeLog, trunk/client/common/commands.c common/commands.c: In DeleteItem() do not crash if an invalid object tag was
  • 2006-07-06 07:07 mwedel
  • [r4670] trunk/client/ChangeLog, trunk/client/common/external.h, trunk/client/common/p_cmd.c, trunk/client/gtk-v2/src/main.c, trunk/client/gtk/gx11.c, trunk/client/x11/x11.c Fix problem in gtk1 & gtk2 client when player issues disconnect command -
    client would hang and consume all CPU time.
    common/external.h: Add declaration to cleanup_connection()
    common/p_cmd.c: In disconnect command, add call to cleanup_connection()
    gtk/gx11.c, gtk-v2/src/main.c: Add cleanup_connection() - removes socket
    from one of the gdk input device, call gtk_main_quit so it returns
    to metaserver selection.
    x11/x11.c: Add empty cleanup_connection() - x11 client doesn't need to
    do anything special.
    MSW 2006-07-06
  • 2006-07-06 06:16 mwedel
  • [r4669] trunk/client/ChangeLog, trunk/client/common/config.h.in, trunk/client/common/misc.c, trunk/client/configure, trunk/client/configure.in, trunk/client/crossfire-client.spec More changes related to default logging. Able to specify default log level
    with configure. Note: you will need to re-run configure after this change,
    as otherwise MINLOGLEVEL will not be defined in config.h.
    configure.in, configure: Add --with-loglevel=<val> to specify default
    crossfire-client.spec: Update to include --with-loglevel for building RPMs
    common/config.h.in: Add MINLOGLEVEL #define.
    common/misc.c: Modify to use the MINLOGLEVEL #define
    MSW 2006-07-05
  • 2006-07-05 07:12 mwedel
  • [r4665] trunk/client/ChangeLog, trunk/client/common/client-types.h, trunk/client/common/client.c, trunk/client/common/commands.c, trunk/client/common/external.h, trunk/client/common/image.c, trunk/client/common/item.c, trunk/client/common/newsocket.c, trunk/client/common/player.c, trunk/client/common/proto.h, trunk/client/common/script.c, trunk/client/common/script.h, trunk/client/gtk-v2/src/gtk2proto.h, trunk/client/gtk-v2/src/png.c, trunk/client/gtk-v2/src/stats.c, trunk/client/gtk/config.c, trunk/client/gtk/gx11.c, trunk/client/gtk/inventory.c, trunk/client/gtk/keys.c, trunk/client/gtk/png.c, trunk/client/gtk/text.c, trunk/client/pixmaps/question.111, trunk/client/pixmaps/stipple.111, trunk/client/pixmaps/stipple.112, trunk/client/x11/x11.c Clean up some compile warnings. They generally fall into either wrong form
    for variable (%lld vs %ld), or cast for data (char* vs uint8*)
    common/client-types.h: Add FMT64 defines like done in the server. Removes
    need for #ifdef WIN32 in many places.
    common/client.c: Remove unneeded cast for ReplyInfoCmd(). Change type
    of length parameter passed to getsockopt() to be a socklen_t.
    common/commands.c: Change ReplyInfoCmd() to take a uint8*. Add several
    char*/uint8* casts. Change TickCmd() to also take uint8*
    common/external.h: Add extern void client_tick(uint32 tick).
    common/image.c: load_image() so that its fourth param (checksum) is a uint32.
    In finish_face_cmd() change filename to be a char*. Add some casts in
    ImageCmd() & Image2Cmd(). Change display_newpng() so its first param
    (face) is just a int, not a long. Change get_image_info() to take in
    a uint8* for data, add some casts. Change get_image_sums() to take in
    a char*
    common/item.c: Change several buffers used by the socklist structure to
    be uint8, add casts as needed.
    common/newsocket.c: Change SockList_Init() so that the passed in buffer
    is a uint8*, so that is what the target buffer type is. Add some
    casts and update some types within the program.
    common/player.c: Change a buffer from char to uint8.
    common/proto.h: Rebuilt.
    common/script.c: Change it to take in a uint8 for data. Change %lld
    to use FMT64
    common/script.h: Update declaration of script_watch()
    gtk/config.c: Remove const from titles. While they may be used as a const,
    the gtk function they are passed to isn't declared that way.
    gtk/gx11.c: Remove unused function end_windows(). Replace %lld with
    FMT64. Removed const from title declaration.
    gtk/inventory.c: Remove const from titles declaration. re-enable cast
    for image creation for tabs.
    gtk/keys.c: Add note about compiler warning and bad code technique for
    for getting the selection.
    gtk/png.c: Removed unused variables/function - png_to_gdkpixmap()
    gtk/text.c: Change void_callback() to match format of other callbacks
    to prevent warning.
    gtk-v2/src/gtk2proto.h: Rebuilt.
    gtk-v2/src/png.c: Remove unused variable.
    gtk-v2/src/stats.c: Replace %lld with FMT64.
    pixmaps/question.111, pixmaps/stipple.111, pixmaps/stipple.112: Change
    types to be char and not unsigned char, since that is what
    the function tha uses this data expects.
    x11/x11.c: Replace %lld with FMT64
    MSW 2006-07-04
  • 2006-07-05 05:21 mwedel
  • [r4664] trunk/client/ChangeLog, trunk/client/Makefile.in, trunk/client/aclocal.m4, trunk/client/common/misc.c, trunk/client/gtk-v2/Makefile.in, trunk/client/gtk-v2/gtk-v2.glade, trunk/client/gtk-v2/src/Makefile.am, trunk/client/gtk-v2/src/Makefile.in, trunk/client/gtk-v2/src/about.c, trunk/client/gtk-v2/src/callbacks.h, trunk/client/gtk-v2/src/interface.c, trunk/client/gtk-v2/src/interface.h, trunk/client/gtk-v2/src/main.c, trunk/client/gtk-v2/src/menubar.c, trunk/client/gtk/Makefile.in, trunk/client/gtk/gx11.c, trunk/client/help/Makefile.in, trunk/client/pixmaps/Makefile.in, trunk/client/utils/Makefile.in, trunk/client/x11/Makefile.in Changes related to logging of version information.
    aclocal, Makefiles.*: Rebuilt for new file in gtk-v2/src.
    common/misc.c: Change MINLOG to be a variable so it can be changed via
    command line options.
    gtk/gx11.c: Have bug window display rcsid versions. Add -loglevel command
    line option. Move printing of some log messages until after we process
    command line options since that can change the log level.
    gtk-v2/gtk-v2.glade: Add an about window for the gtkv2 client.
    gtk-v2/src/Makefile.am: Add about.c file.
    gtk-v2/src/about.c: file for about window.
    gtk-v2/src/callbacks.h: on_about_close_clicked() added by glade.
    gtk-v2/src/interface.c, interface.c: New logic for about window. New
    function - create_about_window()
    gtk-v2/src/main.c: Add -loglevel command line option. Move printing of some
    log messages after we process command line options.
    gtk-v2/src/menubar.c: remove menu_about() - now in about.c
    MSW 2006-07-04
  • 2006-07-02 03:19 mwedel
  • [r4660] trunk/client/ChangeLog, trunk/client/common/misc.c common/misc.c: Make default log level 2 when not in debug mode. Normal users
    probably don't want all the INFO log messages, and it never makes a good
    impression about stability/quality if a program spews out lots of errors
    or other messages.
    MSW 2006-07-01
  • 2006-07-02 03:10 mwedel
  • [r4659] trunk/client/ChangeLog, trunk/client/common/init.c, trunk/client/gtk-v2/src/main.c, trunk/client/x11/x11.c Make some changes to the defaults so that the game is a bit more user friendly
    to completely new users (eg, those that don't have a settings file):
    common/init.c: Turn off popups (gtkv1 client) by default - general seems
    that it isn't popular, and placement of the popups needs to be fixed.
    gtk-v2/src/main.c: Change default map size to ask from server to be
    25x25 - the gtkv2 client has default window size for that, so lets use
    x11/x11.c: Turn on scroll of text by default - non scroll is really ugly
    and doesn't make any sense give the power of even very slow cpus now.
    MSW 2006-07-01
  • 2006-07-01 04:56 mwedel
  • [r4658] trunk/client/ChangeLog, trunk/client/gtk-v2/src/config.c gtk-v2/src/config.c: Fix bug resulting in a crash when opening the
    configuration dialogue if you have an empty gdefaults2 file.
    MSW 2006-06-30
  • 2006-06-29 06:28 mwedel
  • [r4654] trunk/client/ChangeLog, trunk/client/configure, trunk/client/configure.in, trunk/client/crossfire-client.spec Update for release 1.9.1
    MSW 2006-06-28
  • 2006-06-26 06:09 mwedel
  • [r4648] trunk/client/ChangeLog, trunk/client/sound-src/alsa9.c sound-src/alsa9.c: Fix up sound for alsa9+. Not positive exact change that
    fixed the problem, but following changes made: Add SOUND_DEBUG_WRITES to
    separate the debug from writes vs all the other debug messags. If using
    16 bit data, always use unsigned no matter wit the sign config option
    says. In alsa_recover(), if error is EAGAIN, just do nothing and return.
    In audio_play(), don't write more bytes than chunk size (basically
    largest block that alsa wants at one time). In play_sound(), don't
    decrease volume based on maximum number of sounds that may be played
    at once - this makes things too quiet.
    MSW 2006-06-25
  • 2006-05-22 00:41 mwedel
  • [r4595] trunk/client/ChangeLog, trunk/client/gtk-v2/src/main.c, trunk/client/gtk/gx11.c gtk/gx11.c, gtk-v2/src/main.c: Add checks for csocket.fd==-1 after return
    of DoClient. With change in DoClient to close the socket, the network
    routines are not called again (like they used to be), and thus the
    GUI was't really aware the socket was closed, and wouldn't prompt for
    metaserver selection.
    MSW 2006-05-21
  • 2006-05-21 10:35 akirschbaum
  • [r4577] trunk/client/ChangeLog, trunk/client/common/client.c, trunk/client/common/newclient.h, trunk/client/common/newsocket.c, trunk/crossfire/ChangeLog, trunk/crossfire/include/newclient.h, trunk/crossfire/socket/image.c, trunk/crossfire/socket/info.c, trunk/crossfire/socket/init.c, trunk/crossfire/socket/item.c, trunk/crossfire/socket/loop.c, trunk/crossfire/socket/lowlevel.c, trunk/crossfire/socket/request.c, trunk/crossfire/socket/sounds.c Make socket handling more robust.
  • 2006-05-20 09:56 ryo_saeba
  • [r4570] trunk/client/gtk/win32/Win32Changes.txt, trunk/client/gtk/win32/gtkclient.nsi Win32 snapshot
  • 2006-05-20 09:53 ryo_saeba
  • [r4569] trunk/client/gtk/win32/config.h Fix Win32 compilation
  • 2006-05-17 17:58 ryo_saeba
  • [r4567] trunk/client/ChangeLog, trunk/client/common/mapdata.c Fix unitialized variable.
  • 2006-05-15 05:57 mwedel
  • [r4566] trunk/client/ChangeLog, trunk/client/common/Makefile.am, trunk/client/common/Makefile.in, trunk/client/common/client.c, trunk/client/common/client.h, trunk/client/common/commands.c, trunk/client/common/init.c, trunk/client/common/mapdata.c, trunk/client/common/mapdata.h, trunk/client/common/newclient.h, trunk/client/common/proto.h, trunk/client/gtk-v2/src/config.c, trunk/client/gtk-v2/src/main.c, trunk/client/gtk-v2/src/opengl.c, trunk/client/gtk/gx11.c, trunk/client/sound-src/Makefile.am, trunk/client/sound-src/Makefile.in, trunk/client/x11/xutil.c This commit adds client side support for the map2 & tick protocol commands.
    In additional the the necessary decode logic, more layers are also added
    to the map.
    common/Makefile.am/.in: Fix proto directive
    common/client.c: Add global tick variable. Add links to handle map2
    and tick protocol commands. Update setup request sent to server
    to request to use the tick and map2 commands.
    common/client.h: Add additional fields to Animations structure. Increase
    MAX_MAP_OFFSET to match the value on the server.
    common/commands.c: Add parsing of return of map2 failures on setup command
    so that client can fall back. Add additional initializations for
    new fields in AnimCmd(). Change definition of NUM_LAYERS to match
    what the map1 command wants/expects. Add Map2Cmd() to decode
    map2 protocol command. Do some whitepsace clean of ExtSmooth().
    Add TickCmd()
    common/init.c: Add seeing of random number generator.
    common/mapdata.c: Rewrite CLEAR_CELLS macro to handle additional layers.
    Clear animation data in expand_clear_face(). Change MAXLAYERS to
    MAP1_LAYERS since map2 increase MAXLAYERS. Add support functions for
    setting data in the map2 command.
    common/mapdata.h: Increase MAXLAYERS, add MAP1_LAYERS define to old number
    of layers. Add animation data to MapCellLayer.
    common/newclient.h: Add various defines related to the map2 data.
    common/proto.h: Rebuilt
    gtk/gx11.c: Add cleint_tick() to handle map animations. Update
    do_timeout() to not do animations if we are getting tick data.
    gtk-v2/src/config.c: Fix bug in config code where it wasn't enabling
    darkness when player switched back from no darkness mode to some
    gtk-v2/src/main.c: Add client_tick() to handle animations. Update
    do_timeout() to not do animations if tick is set.
    gtk-v2/src/opengl.c: Fix drawing logic where objects which were visible
    but in which the bottom right corner was off the map was not being
    drawn - only a problem in opengl since it only draws the object
    when it finds the head, does not draw each piece.
    sound-src/Makefile.am/.in: Fix creation of sounds file - was using
    wrong variable name.
    x11/xutil.c: Add basic client_tick() that is a callback from the common code.
    MSW 2006-05-14
  • 2006-04-12 11:18 cavesomething
  • [r4552] trunk/client/ChangeLog, trunk/client/common/image.c use the same image hashing algorithm that the server uses for archetypes, increase the table size to 8192 to reduce collisions.
  • 2006-03-14 18:08 ryo_saeba
  • [r4531] trunk/client/ChangeLog, trunk/client/common/item.c, trunk/client/common/p_cmd.c, trunk/client/gtk/keys.c Fix memory leaks and uninitialized variable.
  • 2006-03-11 08:42 mwedel
  • [r4517] trunk/client/ChangeLog, trunk/client/gtk-v2/gtk-v2.glade, trunk/client/gtk-v2/src/callbacks.h, trunk/client/gtk-v2/src/config.c, trunk/client/gtk-v2/src/interface.c, trunk/client/gtk-v2/src/inventory.c, trunk/client/gtk-v2/src/main.c, trunk/client/gtk-v2/src/map.c Yet more changes for gtkv2 clients, mostly aimed at making it usable on lower
    resolution displays. Window can now be resized to 800x600, added save window
    positions so it will remember where you moved the panes to (as well as root
    window size). Unrelated change to this is that now the inventory list is
    sortable like the metaserver and spell lists are - you can sort by name,
    weight, or by item type (click on the icon for item type).
    gtk-v2/gtk-v2.glade: Add new menu item for save window positions. Change
    statbar area so there is a pane between stat bar and stat notebooks.
    Change statbars so they resize smaller/larger.
    gtk-v2/src/callbacks.h: callback for on_save_window_position_activate() added.
    gtk-v2/src/config.c: Add on_save_window_position_activate() and
    gtk-v2/src/interface.c: rebuilt.
    gtk-v2/src/inventory.c: Add LIST_TYPE column for sorting. Change
    table definitions so columns are sortable.
    gtk-v2/src/main.c: Add code to allow resizing down to 800x600. Add
    call to load_window_positions()
    gtk-v2/src/map.c: Try to set map size based on window size - save
    some memory.
    MSW 2006-03-10
  • 2006-03-07 11:33 elsbernd
  • [r4511] trunk/client/ChangeLog sound-src/Makefile.in
  • 2006-03-07 11:30 elsbernd
  • [r4510] trunk/client/sound-src/Makefile.in replaced SOUNDDIR with SOUND_DIR in sound-src/Makefile.in so that
    --with-sound-dir=<dir> works now.
  • 2006-03-04 16:20 akirschbaum
  • [r4507] trunk/client/ChangeLog, trunk/client/common/p_cmd.c common/p_cmd.c: Update command table for auto-completion to all (non-DM)
    server side commands. Also check for client side commands. Add a space
    after a completed command so the player can enter arguments.
  • 2006-03-04 15:56 akirschbaum
  • [r4506] trunk/client/ChangeLog, trunk/client/common/p_cmd.c, trunk/client/gtk-v2/src/keys.c, trunk/client/gtk/gx11.c, trunk/client/x11/x11.c Fix bug #1442523 (Crash when pressing TAB during login). Also fix undefined
    behavior due to overlapping strings passed to strncpy().
  • 2006-02-28 08:09 mwedel
  • [r4505] trunk/client/ChangeLog, trunk/client/common/client.h, trunk/client/common/init.c, trunk/client/gtk-v2/gtk-v2.glade, trunk/client/gtk-v2/src/callbacks.h, trunk/client/gtk-v2/src/config.c, trunk/client/gtk-v2/src/gtk2proto.h, trunk/client/gtk-v2/src/interface.c, trunk/client/gtk-v2/src/interface.h, trunk/client/gtk-v2/src/main.c, trunk/client/gtk/config.c More updates for the gtkv2 client. Add a config window to change the
    config options. Note this isn't quite as cluttered as the gtkv1 config
    window because only the options that affect the gtkv2 client are presented.
    common/client.h: Add CFG_LT_NONE to use instead of 0.
    common/init.c: Change 'sdl' config name to 'displaymode'. the CONFIG_
    parameter was changed a while back, but still used this old name in the
    save file.
    gtk/config.c: Add some logic to handle 'sdl' legacy config mode.
    gtk-v2/gtk-v2.glade: Updated with new config window.
    gtk-v2/src/callbacks.h: rebuilt by glade-2
    gtk-v2/src/config.c: Lots of new code to handle setting/getting of config
    values in config window.
    gtk-v2/src/gtk2proto.h: Rebuilt.
    gtk-v2/src/interface.c: Rebuilt by glade-2
    gtk-v2/src/interface.h: Rebuilt by glade-2
    gtk-v2/src/main.c: Add call to config_init() to initialize config window.
    MSW 2006-02-27
  • 2006-02-27 04:23 mwedel
  • [r4501] trunk/client/crossfire-client.spec Update crossfire-client.spec to include gtkv2 client, and so it actually
    works with modern version of rpmbuild. Update for version 1.9.0
    MSW 2006-02-26
  • 2006-02-26 10:28 ryo_saeba
  • [r4497] trunk/client/ChangeLog, trunk/client/common/client.c, trunk/client/common/config.h.in Apply patch #1424583 (IPv6 patch for client) courtesy Christoph Hohmann (reboot)
  • 2006-02-26 10:09 ryo_saeba
  • [r4496] trunk/client/common/script.c, trunk/client/gtk/win32/GTKClient.rc, trunk/client/gtk/win32/Win32Changes.txt, trunk/client/gtk/win32/config.h, trunk/client/gtk/win32/gtkclient.nsi, trunk/crossfire/include/win32.h, trunk/crossfire/make_win32/Release_notes.txt, trunk/crossfire/make_win32/cfserver.nsi, trunk/crossfire/make_win32/crossfire.rc, trunk/crossfire/make_win32/plugin_python/plugin_python.rc Win32 1.9.0 release
  • 2006-02-26 08:30 mwedel
  • [r4495] trunk/client/ChangeLog, trunk/client/configure, trunk/client/configure.in, trunk/client/gtk-v2/src/Makefile.am, trunk/client/gtk-v2/src/Makefile.in, trunk/client/sound-src/Makefile.am, trunk/client/sound-src/Makefile.in Update for 1.9.0 release. Fix some makefiles so that make dist works.
    MSW 2006-02-25
  • 2006-02-25 13:55 ryo_saeba
  • [r4493] trunk/client/ChangeLog, trunk/client/common/metaserver.c Fix broken server cache
  • 2006-02-23 20:18 akirschbaum
  • [r4485] trunk/client/ChangeLog, trunk/client/common/client.c, trunk/client/common/commands.c, trunk/client/common/image.c, trunk/client/common/init.c, trunk/client/common/item.c, trunk/client/common/metaserver.c, trunk/client/common/misc.c, trunk/client/common/newsocket.c, trunk/client/common/player.c, trunk/client/common/proto.h, trunk/client/common/rcs-id.h, trunk/client/common/script.c, trunk/client/common/script.h, trunk/client/gtk-v2/src/main.c, trunk/client/gtk-v2/src/sdl.c, trunk/client/gtk/config.c, trunk/client/gtk/gtkproto.h, trunk/client/gtk/gx11.c, trunk/client/gtk/image.c, trunk/client/gtk/inventory.c, trunk/client/gtk/keys.c, trunk/client/gtk/map.c, trunk/client/gtk/png.c, trunk/client/gtk/rcs-id.h, trunk/client/gtk/sdl.c, trunk/client/gtk/sound.c, trunk/client/gtk/text.c, trunk/client/gtk/win32/soundsdef.h, trunk/client/x11/png.c, trunk/client/x11/rcs-id.h, trunk/client/x11/sound.c, trunk/client/x11/x11.c, trunk/client/x11/xutil.c Apply patch #1433271 (code-cleanup) by Stefan Huehner: Add const and static,
    remove unused variables
  • 2006-02-23 08:30 mwedel
  • [r4484] trunk/client/ChangeLog, trunk/client/Makefile.in, trunk/client/aclocal.m4, trunk/client/common/Makefile.in, trunk/client/gtk-v2/Makefile.in, trunk/client/gtk-v2/TODO, trunk/client/gtk-v2/gtk-v2.glade, trunk/client/gtk-v2/src/Makefile.am, trunk/client/gtk-v2/src/Makefile.in, trunk/client/gtk-v2/src/callbacks.h, trunk/client/gtk-v2/src/gtk2proto.h, trunk/client/gtk-v2/src/interface.c, trunk/client/gtk-v2/src/interface.h, trunk/client/gtk-v2/src/keys.c, trunk/client/gtk-v2/src/main.c, trunk/client/gtk-v2/src/metaserver.c, trunk/client/gtk-v2/src/spells.c, trunk/client/gtk-v2/src/support.h, trunk/client/gtk/Makefile.in, trunk/client/help/Makefile.in, trunk/client/pixmaps/Makefile.in, trunk/client/sound-src/Makefile.in, trunk/client/utils/Makefile.in, trunk/client/x11/Makefile.in More improvements to the gtk-v2 client:
    - Add spell selection window similar to that in the gtk-v1 client.
    - Make it so that clicking on the headers in the metaserver and keybinding
    selection windows will result in table be sorted by that header.
    */Makefile.in: Rebuilt by automake.
    aclocal.m4: Updated by aclocal.
    gtk-v2/TODO: Remove things that have been done, add other things mentioned
    on mailing list that should be done.
    gtk-v2/gtk-v2.glade: Updated with new spell selection window.
    gtk-v2/src/Makefile.am: Add spells.c file
    gtk-v2/src/spells.c: File that handles spell selection window.
    gtk-v2/src/callbacks.h: Updated by glade
    gtk-v2/src/gtk2proto.h: rebuilt
    gtk-v2/src/interface.c: Updated by glade.
    gtk-v2/src/interface.h: Updated by glade.
    gtk-v2/src/keys.c: Add necessary calls to enable sorting of table by
    clicking on headers.
    gtk-v2/src/main.c: Add call to update_spell_information() if spell information
    has changed.
    gtk-v2/src/metaserver.c: Add necessary calls to enable sorting of table by
    clicking on headers. Convert the idletime and number of players columns
    to be ints - this makes the sort work as expected, and actually simplifies
    the code a little.
    gtk-v2/src/support.h: Rebuilt by glade.
    MSW 2006-02-22
  • 2006-02-21 08:11 mwedel
  • [r4482] trunk/client/ChangeLog, trunk/client/common/player.c common/player.c: Fix bug in that spell data wasn't being cleared when
    logging on. Thus, if you logged on as one character, then another,
    etc, it would just keep adding to the spell list, not being a
    representative list of spells character knows.
    MSW 2006-02-20
  • 2006-02-20 23:00 cavesomething
  • [r4477] trunk/client/ChangeLog, trunk/client/gtk/gx11.c make the spell list display generic as the skill if a spell doesn't use one
  • 2006-02-20 07:22 mwedel
  • [r4474] trunk/client/ChangeLog, trunk/client/common/client.h, trunk/client/gtk-v2/gtk-v2.glade, trunk/client/gtk-v2/src/callbacks.h, trunk/client/gtk-v2/src/gtk2proto.h, trunk/client/gtk-v2/src/interface.c, trunk/client/gtk-v2/src/interface.h, trunk/client/gtk-v2/src/keys.c, trunk/client/gtk-v2/src/main.c, trunk/client/gtk-v2/src/menubar.c, trunk/client/gtk-v2/src/metaserver.c Improvements to the gtkv2 client - Add free form text box to metaserver
    selection window so server name can be manually entered, add keybinding
    interface window to client similar to one in gtkv1 client, and disconnect
    menu item to client. Note that this keybinding interfaces allows for
    ALT and META modifiers in addition to SHIFT and CONTROL, hence minor changes
    to the common code.
    common/client.h: Add meta_on, alt_on to player structure.
    gtk-v2/gtk-v2.glade: Updated with new elements - keybinding window, new
    menubar, text box for metaserver window.
    gtk-v2/src/callbacks.h: Generated by glade for new function prototypes
    gtk-v2/src/gtk2proto.h: rebuilt for new function definitions.
    gtk-v2/src/interface.c: Generated by glade for new features.
    gtk-v2/src/interface.h: Generated by glade for new function prototypes
    gtk-v2/src/keys.c: New initialization code for keybinding window. New
    KEYF_ modifiers. New handling for meta and alt keys. Many new callbacks
    for new code.
    gtk-v2/src/main.c: Remove unused extern declartions.
    gtk-v2/src/menubar.c: Add function for disconnect menu item.
    gtk-v2/src/metaserver.c: Add metaserver_connect_to() to handle common
    connection logic (pulled from on_treeview_metaserver_row_activated().
    Add on_metaserver_text_entry_activate() for text entry server connections.
    MSW 2006-02-19
  • 2006-02-17 09:35 akirschbaum
  • [r4460] trunk/client/ChangeLog, trunk/client/common/script.c Apply modified patch #1432404 (Solve bug in watch stats script function) by
    Benjamin Lerman: make watch stats command work if more than one stat changes
  • 2006-02-16 22:32 akirschbaum
  • [r4458] trunk/client/ChangeLog, trunk/client/common/client.c, trunk/client/common/client.h, trunk/client/common/commands.c, trunk/client/common/def-keys.h, trunk/client/common/external.h, trunk/client/common/init.c, trunk/client/common/item-types.h, trunk/client/common/item.c, trunk/client/common/metaserver.c, trunk/client/common/misc.c, trunk/client/common/p_cmd.c, trunk/client/common/player.c, trunk/client/common/proto.h, trunk/client/gtk-v2/src/inventory.c, trunk/client/gtk-v2/src/keys.c, trunk/client/gtk-v2/src/magicmap.c, trunk/client/gtk-v2/src/main.c, trunk/client/gtk-v2/src/sdl.c, trunk/client/gtk-v2/src/sound.c, trunk/client/gtk-v2/src/stats.c, trunk/client/gtk/config.c, trunk/client/gtk/gtkproto.h, trunk/client/gtk/gx11.c, trunk/client/gtk/help.c, trunk/client/gtk/inventory.c, trunk/client/gtk/keys.c, trunk/client/gtk/png.c, trunk/client/gtk/sdl.c, trunk/client/gtk/sound.c, trunk/client/gtk/text.c, trunk/client/gtk/win32/soundsdef.h, trunk/client/pixmaps/all.xpm, trunk/client/pixmaps/close.xpm, trunk/client/pixmaps/coin.xpm, trunk/client/pixmaps/crossfiretitle.xpm, trunk/client/pixmaps/hand.xpm, trunk/client/pixmaps/hand2.xpm, trunk/client/pixmaps/lock.xpm, trunk/client/pixmaps/mag.xpm, trunk/client/pixmaps/nonmag.xpm, trunk/client/pixmaps/question.xpm, trunk/client/pixmaps/sign_east.xpm, trunk/client/pixmaps/sign_flat.xpm, trunk/client/pixmaps/sign_west.xpm, trunk/client/pixmaps/skull.xpm, trunk/client/pixmaps/unlock.xpm, trunk/client/sound-src/alsa9.c, trunk/client/sound-src/cfsndserv.c, trunk/client/sound-src/common.c, trunk/client/utils/mdk.sh, trunk/client/x11/sound.c, trunk/client/x11/x11.c, trunk/client/x11/xutil.c Apply patch #1430279 (code-cleanup: const, static, etc) by Stefan Huehner.
  • 2006-02-12 11:46 akirschbaum
  • [r4447] trunk/client/ChangeLog, trunk/client/common/metaserver.c Apply patch #1429975 (patch to support port numbers in metaserver host names)
    by Marc Lehmann.
  • 2006-02-12 09:23 akirschbaum
  • [r4446] trunk/client/ChangeLog, trunk/client/common/metaserver.c, trunk/client/common/metaserver.h common/metaserver.c, common/metaserver.h: Make cached_servers_loaded static
    since it is not used elsewhere.
  • 2006-02-12 09:14 akirschbaum
  • [r4445] trunk/client/common/metaserver.c General cleanup -- just whitespace changes; should not affect behavior.
  • 2006-02-09 01:47 cavesomething
  • [r4436] trunk/client/ChangeLog, trunk/client/gtk-v2/src/inventory.c, trunk/client/gtk/inventory.c, trunk/client/x11/x11.c make the mesage displayed on trying to drop locked items more descriptive
  • 2006-01-31 21:11 cavesomething
  • [r4412] trunk/client/ChangeLog, trunk/client/common/init.c, trunk/client/gtk/config.c, trunk/client/gtk/gx11.c remove option to display resistances without a scrollbar
  • 2006-01-31 14:22 cavesomething
  • [r4411] trunk/client/ChangeLog, trunk/client/common/client.h, trunk/client/common/init.c, trunk/client/gtk-v2/src/info.c, trunk/client/gtk-v2/src/inventory.c, trunk/client/gtk/config.c, trunk/client/gtk/gtkproto.h, trunk/client/gtk/gx11.c, trunk/client/gtk/inventory.c, trunk/client/x11/x11.c, trunk/client/x11/x11proto.h, trunk/client/x11/xutil.c remove coloured inventory and text options and support for black and white monitors, change cfclient to a grey colourscheme
  • 2006-01-29 05:01 mwedel
  • [r4409] trunk/client/ChangeLog, trunk/client/gtk-v2/src/opengl.c gtk-v2/src/opengl.c: For opengl mode, create a subwindow of the map window
    with the needed visual. On many systems, the visual that glXChooseVisual()
    returns doesn't match the default visual of the system, thus resulting
    in opengl not being able to create a context.
    MSW 2006-01-28
  • 2006-01-21 23:52 cavesomething
  • [r4407] trunk/client/ChangeLog, trunk/client/gtk/gx11.c add a 'spell options' box to allow extra options to be passed to spells, make any mouse button change the spell description, not just the left one and reorder some gtk function calls to improve clarity
  • 2006-01-19 21:50 ryo_saeba
  • [r4404] trunk/client/ChangeLog, trunk/client/gtk/gx11.c, trunk/client/gtk/inventory.c Fix compilation for some compilers.
  • 2006-01-19 18:02 cavesomething
  • [r4403] trunk/client/ChangeLog, trunk/client/common/commands.c fix bug with reading the wrong bytes on an updspell packet
  • 2006-01-19 17:17 cavesomething
  • [r4402] trunk/client/ChangeLog, trunk/client/common/client.c, trunk/client/common/client.h, trunk/client/common/commands.c, trunk/client/common/newclient.h, trunk/client/common/proto.h, trunk/client/gtk/gx11.c spell listing suppport for common and gcfclient
  • 2006-01-17 01:13 cavesomething
  • [r4401] trunk/client/ChangeLog, trunk/client/gtk/gx11.c make skills appear in a scroll pane, and show all known skills, not just those with exp
  • 2006-01-16 02:02 cavesomething
  • [r4400] trunk/client/ChangeLog, trunk/client/gtk/inventory.c make the Close button in gcfclient be greyed-out when there is no container open.
  • 2006-01-13 21:37 akirschbaum
  • [r4392] trunk/client/ChangeLog, trunk/client/common/commands.c common/commands.c: In DeleteItem() properly handle more than one item.
  • 2006-01-02 21:39 ryo_saeba
  • [r4262] trunk/client/gtk/win32/GTKClient.dsp, trunk/client/gtk/win32/GTKClient.dsw, trunk/client/gtk/win32/Win32Changes.txt, trunk/client/gtk/win32/config.h, trunk/client/gtk/win32/gtkclient.nsi Commits files, just in case.
  • 2006-01-02 07:04 mwedel
  • [r4258] trunk/client/ChangeLog, trunk/client/x11/png.c x11/png.c: Add same workaround from gtk/png.c to make it work on 64 bit
    MSW 2006-01-01
  • 2005-12-27 14:26 ryo_saeba
  • [r4218] trunk/client/ChangeLog, trunk/client/common/commands.c, trunk/client/common/item.c, trunk/client/common/item.h, trunk/client/common/proto.h Make nrof uint32, like server-side. Fix a crash with get_number.
  • 2005-12-12 02:54 mwedel
  • [r4134] trunk/client/ChangeLog, trunk/client/gtk-v2/src/image.c gtk-v2/src/image.c: Remove call to free fog pixels (SDL) - with call in place,
    client crashes on double free in SDL mode after disconnecting from
    MSW 2005-12-11
  • 2005-12-11 12:44 akirschbaum
  • [r4129] trunk/client/ChangeLog, trunk/client/gtk/map.c, trunk/client/gtk/sdl.c, trunk/client/x11/x11.c gtk/{map.c,sdl.c}, x11/x11.c: General cleanup - just whitespace changes.
  • 2005-11-16 10:25 gros
  • [r4038] trunk/client/common/client.c, trunk/client/common/client.h, trunk/client/common/metaserver.c, trunk/client/gtk/gx11.c, trunk/client/gtk/keys.c Enable per-server, per-character keybindings on both *nix and win32 systems.
    Undefine MULTKEYS at the beginning of client.h to switch back to the old
  • 2005-11-12 13:58 ryo_saeba
  • [r4032] trunk/client/ChangeLog, trunk/client/gtk/gx11.c Patch 1352490 (newpickup rings/amulets client side) courtesy anonymous
  • 2005-11-02 20:00 akirschbaum
  • [r3971] trunk/client/ChangeLog, trunk/client/common/player.c common/player.c: Properly ignore received comc commands with invalid length.
  • 2005-11-02 19:56 akirschbaum
  • [r3970] trunk/client/common/image.c Remove syntax error.
  • 2005-11-02 19:53 akirschbaum
  • [r3969] trunk/client/ChangeLog, trunk/client/gtk-v2/src/image.c, trunk/client/gtk/gx11.c gtk/gx11.c, gtk-v2/src/image.c: Initialize smooth_face field when allocating
    pixmaps array.
  • 2005-11-01 13:46 akirschbaum
  • [r3964] trunk/client/ChangeLog, trunk/client/gtk-v2/gtk-v2.glade, trunk/client/gtk-v2/src/callbacks.h, trunk/client/gtk-v2/src/gtk2proto.h, trunk/client/gtk-v2/src/interface.c, trunk/client/gtk-v2/src/pickup.c, trunk/client/gtk/gx11.c Add support for newpickup PU_NOT_CURSED (ignore cursed items) flag.
  • 2005-11-01 10:32 ryo_saeba
  • [r3956] trunk/client/ChangeLog, trunk/client/gtk/config.c Fallback to PIXMAP mode when SDL is not built in.
  • 2005-10-29 18:44 akirschbaum
  • [r3945] trunk/client/ChangeLog, trunk/client/common/commands.c, trunk/client/gtk/gx11.c Fix bug #1288647 (typing text in password mode). Now hidden input (for
    password entry) is reliably turned off afterwards.
  • 2005-10-29 10:48 akirschbaum
  • [r3943] trunk/client/ChangeLog, trunk/client/common/p_cmd.c, trunk/client/common/p_cmd.h common/p_cmd.{c,h}: Remove superfluous "const" from get_num_commands() return
  • 2005-10-28 20:24 akirschbaum
  • [r3940] trunk/client/ChangeLog, trunk/client/gtk/text.c gtk/text.c: Print MOTD into text window if using -nopopups mode. Previously it
    was discarded in -nopopups mode.
  • 2005-10-28 19:59 akirschbaum
  • [r3939] trunk/client/ChangeLog, trunk/client/Documentation/Scripting.html Documentation/Scripting.html: Clarify the repeat parameter for the issue
  • 2005-10-28 19:36 akirschbaum
  • [r3938] trunk/client/ChangeLog, trunk/client/common/script.c common/script.c: Make parameters passed to scripts work again.
  • 2005-10-16 12:59 ryo_saeba
  • [r3880] trunk/client/ChangeLog, trunk/client/common/script.c Fix Win32 not detecting end of script correctly.
  • 2005-09-22 13:29 qal21
  • [r3692] trunk/client/ChangeLog, trunk/client/common/client.h, trunk/client/common/image.c Avoid using c++ reserved words, in case one wants to link a c++ program to client.h
  • 2005-09-22 04:57 cavesomething
  • [r3691] trunk/client/ChangeLog, trunk/client/common/client.h, trunk/client/common/init.c, trunk/client/gtk/config.c, trunk/client/gtk/gx11.c Implement RFE 1090049 - add client message timestamp option
  • 2005-09-21 13:06 qal21
  • [r3687] trunk/client/common/client-types.h, trunk/crossfire/include/global.h Use #error directive, so certain C processing applications don't complain.
  • 2005-09-21 05:14 cavesomething
  • [r3681] trunk/client/ChangeLog, trunk/client/gtk-v2/src/image.c copy part of gtk1 image.c to fix compile error on mac
  • 2005-09-10 14:19 ryo_saeba
  • [r3617] trunk/client/ChangeLog, trunk/client/common/external.h, trunk/client/gtk/inventory.c Clean compilation warnings.
  • 2005-09-07 06:43 mwedel
  • [r3606] trunk/client/gtk-v2/src/Makefile.am, trunk/client/gtk-v2/src/Makefile.in Update makefile to link in X11 libraries
    MSW 2005-09-06
  • 2005-09-06 06:46 mwedel
  • [r3604] trunk/client/ChangeLog, trunk/client/configure, trunk/client/configure.in configure, configure.in: Move check for X11 early in the process so that
    gtk dependencies on them should be resolved.
    MSW 2005-09-05
  • 2005-09-05 20:16 ryo_saeba
  • [r3603] trunk/client/ChangeLog, trunk/client/common/mapdata.c, trunk/client/gtk/image.c, trunk/client/gtk/map.c Some speed tweaks.
  • 2005-09-05 20:15 ryo_saeba
  • [r3602] trunk/client/gtk/win32/GTKClient.dsp New file
  • 2005-09-04 20:40 ryo_saeba
  • [r3599] trunk/client/ChangeLog, trunk/client/common/misc.c, trunk/client/common/script.c, trunk/client/gtk/gx11.c, trunk/client/gtk/gx11.h, trunk/client/gtk/inventory.c A few tweaks to gain a few ms execution time :p
  • 2005-09-04 14:47 akirschbaum
  • [r3594] trunk/client/ChangeLog, trunk/client/x11/x11.c x11/x11.c: Fix similar problem for x11 client: need_update needs to be cleared
  • 2005-09-04 14:04 ryo_saeba
  • [r3593] trunk/client/ChangeLog, trunk/client/gtk/map.c Fix performance issue.
  • 2005-09-03 15:20 tchize
  • [r3589] trunk/client/common/client.h, trunk/client/common/init.c, trunk/client/gtk/config.c, trunk/client/gtk/text.c added support for no-popups in signs and books management. Added one-key close on sign
    popups too
  • 2005-09-03 13:12 tchize
  • [r3588] trunk/client/Makefile.in, trunk/client/aclocal.m4, trunk/client/common/Makefile.in, trunk/client/gtk-v2/Makefile.in, trunk/client/gtk-v2/src/Makefile.in, trunk/client/gtk/Makefile.in, trunk/client/help/Makefile.in, trunk/client/pixmaps/Makefile.in, trunk/client/sound-src/Makefile.am, trunk/client/sound-src/Makefile.in, trunk/client/utils/Makefile.in, trunk/client/x11/Makefile.in Fixed Makefile problem where soundsdef.h was not autobuild , breaking compilation
  • 2005-09-03 12:50 akirschbaum
  • [r3587] trunk/client/ChangeLog, trunk/client/Makefile.in, trunk/client/aclocal.m4, trunk/client/common/Makefile.in, trunk/client/configure, trunk/client/gtk-v2/Makefile.in, trunk/client/gtk-v2/src/Makefile.in, trunk/client/gtk/Makefile.in, trunk/client/help/Makefile.in, trunk/client/pixmaps/Makefile.in, trunk/client/sound-src/Makefile.in, trunk/client/utils/Makefile.in, trunk/client/x11/Makefile.in *Makefile.in, aclocal.m4, configure: Rebuilt.
  • 2005-08-31 21:57 akirschbaum
  • [r3582] trunk/client/ChangeLog, trunk/client/common/Makefile.am, trunk/client/common/client.c, trunk/client/common/client.h, trunk/client/common/commands.c, trunk/client/common/external.h, trunk/client/common/init.c, trunk/client/common/mapdata.c, trunk/client/common/mapdata.h, trunk/client/common/script.c, trunk/client/gtk-v2/src/gtk2proto.h, trunk/client/gtk-v2/src/image.c, trunk/client/gtk-v2/src/main.c, trunk/client/gtk-v2/src/map.c, trunk/client/gtk-v2/src/opengl.c, trunk/client/gtk-v2/src/sdl.c, trunk/client/gtk/config.c, trunk/client/gtk/gtkproto.h, trunk/client/gtk/gx11.c, trunk/client/gtk/gx11.h, trunk/client/gtk/image.c, trunk/client/gtk/map.c, trunk/client/gtk/sdl.c, trunk/client/x11/x11.c, trunk/client/x11/x11.h, trunk/client/x11/x11proto.h, trunk/client/x11/xutil.c Fix bug #1102991 (Duplicate grapical display of the same monster):
    common/Makefile.am: Add new files mapdata.c and mapdata.h.
    common/{client.c, commands.c}: Tell mapdata module the current display size.
    common/commands.c: Remove functions to handle map updates. Rewrite
    map1_common() to pass information into mapdata module.
    common/init.c, gtk/gx11.c: Add new config options -mapscroll and -nomapscroll
    to enable/disable scrolling the map view with bitmap operations.
    common/mapdata.[ch]: Add new module to handle all updates to the_map.
    gtk/gx11.c: Remove code for #if ALTERNATE_MAP_REDRAW. Initialize question mark
    face for fog of war. Remove code to allocate the_map.
    gtk/image.c: Do not clear the_map in reset_image_data() anymore.
    gtk/map.c: Move code to update map data into mapdata module.
    draw_pixmap(): New function to draw one face.
    drawsmooth(): Check correct layer instead of fixed layer zero. Fix out of
    bounds array access.
    display_mapcell(): New function to draw one cell.
    gtk_draw_map(): Move map drawing code into display_mapcell().
    gtk/sdl.c: Basically the same changes as in gtk/map.c
    gtk-v2/src/image.c: Basically the same changes as in gtk/gx11.c.
    gtk-v2/src/main.c: Add config options -smooth/-nosmooth to enable/disable
    smoothing. Remove code to allocate the_map.
    gtk-v2/src/map.c: Basically the same changes as in gtk/map.c.
    gtk-v2/src/opengl.c: Fix out of bounds array access. Initialize question mark
    face for fog of war.
    gtk-v2/src/sdl.c: Basically the same changes as in gtk/map.c.
    x11/x11.c: Implement map scrolling by using XCopyArea(). Add config options
    -mapscroll/-nomapscroll to enable/disable this. Remove code to allocate or
    clear the_map. Add new function display_mapcell() to draw one cell. Move
    map drawing code from display_map_doneupdate() into display_mapcell().
    Remove two pixel border around map window; is was used inconsistently, and
    the window size was four pixels too small.
    x11/xutil.c: Move code to update map data into mapdata module.
  • 2005-08-30 21:07 akirschbaum
  • [r3578] trunk/client/ChangeLog, trunk/client/gtk-v2/src/stats.c Fix bug #1245535 (negative grace showss up as positive amount):
    gtk-v2/src/stats.c: Clip negative stat values to zero.
  • 2005-08-29 05:19 mwedel
  • [r3572] trunk/client/ChangeLog, trunk/client/Makefile.in, trunk/client/common/Makefile.in, trunk/client/configure, trunk/client/configure.in, trunk/client/gtk-v2/Makefile.in, trunk/client/gtk-v2/src/Makefile.in, trunk/client/gtk/Makefile.in, trunk/client/help/Makefile.in, trunk/client/pixmaps/Makefile.in, trunk/client/sound-src/Makefile.am, trunk/client/sound-src/Makefile.in, trunk/client/utils/Makefile.in, trunk/client/x11/Makefile.in Fix sound compilation so it only tries to compile alsa9 helper if we
    in fact have alsa 9 libs.
    */Makefile.in: Rebuilt
    configure.in, configure: Add ALSA9_TARGET, replacing SOUND_TARGETS which
    was no longer being used.
    sound-src/Makefile.am: add EXTRA_PROGRAMS line for cfsndserv_alsa9 so
    don't get errors from automake, add @ALSA9_TARGET@ to bin_PROGRAMS.
    MSW 2005-08-28
  • 2005-08-21 01:43 cavesomething
  • [r3561] trunk/client/ChangeLog, trunk/client/gtk/config.c, trunk/client/gtk/gtkproto.h, trunk/client/gtk/gx11.c, trunk/client/gtk/inventory.c Commit patch #1265199 from Kevin Rudat to fix client crash when using split window mode
  • 2005-08-14 15:22 akirschbaum
  • [r3544] trunk/client/ChangeLog, trunk/client/common/misc.c, trunk/client/gtk-v2/src/sdl.c, trunk/client/gtk/gx11.c, trunk/client/gtk/sdl.c, trunk/client/gtk/text.c, trunk/client/x11/sound.c common/misc.c, gtk/{gx11.c,sdl.c,text.c}, gtk-v2/src/sdl.c, x11/sound.c:
    Fix non-Ansi C89 code: remove "inline" function specifier, replace "//"
  • 2005-08-14 13:18 akirschbaum
  • [r3543] trunk/client/ChangeLog, trunk/client/common/metaserver.c Fix buffer overflow in metaserver_get_info().
  • 2005-08-14 13:03 akirschbaum
  • [r3542] trunk/client/ChangeLog, trunk/client/x11/x11proto.h, trunk/client/x11/xutil.c x11/x11proto.h, x11/xutil.c: Use correct parameter type "uint16" for
  • 2005-08-12 07:09 mwedel
  • [r3536] trunk/client/ChangeLog, trunk/client/Makefile.am, trunk/client/Makefile.in, trunk/client/common/Makefile.am, trunk/client/common/Makefile.in, trunk/client/configure, trunk/client/configure.in, trunk/client/gtk-v2/Makefile.am, trunk/client/gtk-v2/Makefile.in, trunk/client/gtk-v2/src/Makefile.am, trunk/client/gtk-v2/src/Makefile.in, trunk/client/gtk/Makefile.am, trunk/client/gtk/Makefile.in, trunk/client/help/Makefile.am, trunk/client/help/Makefile.in, trunk/client/pixmaps/Makefile.am, trunk/client/pixmaps/Makefile.in, trunk/client/sound-src/Makefile.am, trunk/client/sound-src/Makefile.in, trunk/client/utils/Makefile.am, trunk/client/utils/Makefile.in, trunk/client/x11/Makefile.am, trunk/client/x11/Makefile.in This commit adds full automake support for the client - previously, only the
    gtk-v2 directory used automake, rest was Makefile.in - now everything is
    automake - makes maintenance and distributions easier.
    common/Makefile.am gtk/Makefile.am help/Makefile.am pixmaps/Makefile.am
    sound-src/Makefile.am utils/Makefile.am x11/Makefile.am pixmaps/Makefile.in
    utils/Makefile.in help/Makefile.in: New Makefiles
    Makefile.am, Makefile.in: Removed unneeded rules, move pixmap, help, util
    handling to makefiles in their own directories.
    configure, configure.in: Update to include pixmap, help, util as
    gtk-v2/Makefile.am, gtk-v2/Makefile.in: Clean up some rules in this makefile.
    common/Makefile.in, gtk/Makefile.in, sound-src/Makefile.in, x11/Makefile.in:
    Rebuilt as part of automake.
    gtk-v2/src/Makefile.am, gtk-v2/src/Makefile.in: Add banner copyright, remove
    uneeded rules.
    MSW 2005-08-11
  • 2005-08-11 08:16 ryo_saeba
  • [r3527] trunk/client/gtk/win32/GTKClient.rc, trunk/client/gtk/win32/Running.txt, trunk/client/gtk/win32/Win32Changes.txt, trunk/client/gtk/win32/config.h, trunk/client/gtk/win32/gtkclient.nsi 1.8.0 release
  • 2005-08-11 06:51 mwedel
  • [r3526] trunk/client/ChangeLog, trunk/client/Makefile.am, trunk/client/Makefile.in, trunk/client/aclocal.m4, trunk/client/configure, trunk/client/configure.in, trunk/client/gtk-v2/Makefile.am, trunk/client/gtk-v2/Makefile.in, trunk/client/gtk-v2/src/Makefile.am, trunk/client/gtk-v2/src/Makefile.in Makefile.am, Makefile.in: Add missing pixmaps, change CHANGES to ChangeLog,
    update archive directive so it works.
    aclocal.m4: updated
    configure, configure.in: Updated for 1.8.0 release. Remove gnome/Makefile
    from list of Makefiles to create.
    gtk-v2/Makefile.am, gtk-v2/Makefile.in: Add archive directive.
    gtk-v2/src/Makefile.{am|in}: Add missing soruces to list so that archive
    works correctly. Add archive directive.
    MSW 2005-08-10
  • 2005-07-30 19:31 ryo_saeba
  • [r3516] trunk/client/ChangeLog, trunk/client/gtk/keys.c Fix text selection issue under Windows.
  • 2005-07-30 16:53 ryo_saeba
  • [r3514] trunk/client/gtk/win32/GTKClient.dsp Use GTK 2.6.x.
  • 2005-07-29 21:31 ryo_saeba
  • [r3510] trunk/client/ChangeLog, trunk/client/gtk/gx11.c Fix a crash if closing login window.
  • 2005-07-21 07:20 akirschbaum
  • [r3489] trunk/client/ChangeLog, trunk/client/gtk/image.c gtk/image.c: Remove stray '+' at beginning of line.
  • 2005-07-18 20:29 akirschbaum
  • [r3475] trunk/client/ChangeLog, trunk/client/x11/x11.c x11/x11.c: Fix crash if display cannot be opened.
  • 2005-07-18 20:10 akirschbaum
  • [r3474] trunk/client/ChangeLog, trunk/client/common/script.c common/script.c: Properly terminate string with '\0' in script_init().
  • 2005-07-18 20:08 akirschbaum
  • [r3473] trunk/client/common/commands.c Fix spelling error in error message.
  • 2005-07-16 17:23 akirschbaum
  • [r3449] trunk/client/ChangeLog, trunk/client/gtk-v2/src/sdl.c, trunk/client/gtk/sdl.c gtk/sdl.c, gtk-v2/src/sdl.c: Fix printf like format specifiers.
  • 2005-07-10 10:19 ryo_saeba
  • [r3421] trunk/client/ChangeLog, trunk/client/common/init.c Win32 uses APPDATA for HOME
  • 2005-07-04 22:42 mwedel
  • [r3395] trunk/client/AUTHORS, trunk/client/ChangeLog, trunk/client/Makefile.in, trunk/client/NEWS, trunk/client/README, trunk/client/aclocal.m4, trunk/client/common/Makefile.in, trunk/client/common/metaserver.c, trunk/client/common/metaserver.h, trunk/client/gtk-v2/Makefile.in, trunk/client/gtk-v2/gtk-v2.glade, trunk/client/gtk-v2/src/Makefile.am, trunk/client/gtk-v2/src/Makefile.in, trunk/client/gtk-v2/src/callbacks.h, trunk/client/gtk-v2/src/interface.c, trunk/client/gtk-v2/src/interface.h, trunk/client/gtk-v2/src/main.c, trunk/client/gtk-v2/src/metaserver.c Bulk of this change is the addition of a pop up window in the gtk-v2
    client for metaserver selection, as well as other updates. The files
    to the common area was really to pull the metaserver defines and data
    structures from the C file to a header file so that the gtk-v2 code
    can access them:
    AUTHORS: New file, required by automake, data pulled README file.
    NEWS: New file, required by automake.
    Makefile.in, aclocal.m4: Rebuilt
    README: Remove author info from this file, move it to AUTHORS.
    common/Makefile.in: add metaserver.h file
    common/metaserver.h: New file containing metaserver defines and structures.
    common/metaserver.c: Pull out defines/structures from this file, moved to
    metaserver.h. Have it strip packets/byte count info from comment
    section that metaserver reports.
    gtk-v2/Makefile.in: Rebuilt.
    gtk-v2/gtk-v2.glade: Added new metaserver window.
    gtk-v2/src/Makefile.am: Add metaserver.c as a standalone file that gets
    gtk-v2/src/Makefile.in: Rebuilt
    gtk-v2/src/callbacks.h, gtk-v2/src/interface.c, gtk-v2/src/interface.h: Updated
    by glade2
    gtk-v2/src/main.c: Remove metaserver.c inclusion. Initialize
    cached_server_file. Change metaserver selection/display code.
    gtk-v2/src/metaserver.c: Lots of new code - have it display window,
    handle selections, connect to server, etc.
    MSW 2005-07-04
  • 2005-06-30 06:58 mwedel
  • [r3394] trunk/client/ChangeLog, trunk/client/gtk-v2/src/keys.c gtk-v2/src/keys.c: Move initialization of global widges to before loading
    keybindings - otherwise, they can end up not being initialized.
    MSW 2005-06-29
  • 2005-06-30 06:46 mwedel
  • [r3393] trunk/client/ChangeLog, trunk/client/gtk-v2/src/info.c gtk-v2/src/info.c: Remove extra lines of code for scrolling. Have
    newlines be inserted in the correct place for the color info tab.
    MSW 2005-06-29
  • 2005-06-30 06:37 mwedel
  • [r3392] trunk/client/ChangeLog, trunk/client/gtk-v2/src/inventory.c gtk-v2/src/inventory.c: Remove call to check to display object in inventory
    tab for container objects - if we show the container object, so
    all objects within the container (bug 1226968)
    MSW 2005-06-29
  • 2005-06-27 06:49 mwedel
  • [r3391] trunk/client/ChangeLog, trunk/client/gtk-v2/src/gtk2proto.h, trunk/client/gtk-v2/src/inventory.c, trunk/client/gtk-v2/src/main.c Add inventory animation to the gtk2 client.
    gtk2proto.h: rebuilt
    inventory.c: Add new function that animates inventory. Have draw_table() take
    a second param that determines if it is doing an animation run or just
    a normal draw.
    main.c: Move PACKAGE_DATA_DIR to be within WIN32 defines. Add call to
    inventory_tick() in do_timeout()
    MSW 2005-06-26
  • 2005-06-25 08:26 ryo_saeba
  • [r3390] trunk/client/ChangeLog, trunk/client/common/metaserver.c Wrong number displayed for cached servers
  • 2005-06-04 20:56 mwedel
  • [r3359] trunk/client/ChangeLog, trunk/client/common/item.c, trunk/client/configure, trunk/client/configure.in configure.in, configure: Turn of the use of dmalloc as the default - if
    dmalloc is disabled, it has to be intentionally set. gtkv2 client runs
    dog slow if dmalloc is used, so that isn't a good default
    common/item.c: Fix bug that resulted in the item names not being updated
    properly - bug introduced in patch 1197437.
    MSW 2005-06-04
  • 2005-06-01 08:22 akirschbaum
  • [r3352] trunk/client/ChangeLog, trunk/client/crossfire-client.spec, trunk/client/gnome/Makefile.in, trunk/client/x11/Makefile.in crossfire-client.spec, gnome/Makefile.in, x11/Makefile.in: Patch from Kari
    Pahula to fix manpage paths.
  • 2005-06-01 06:19 akirschbaum
  • [r3351] trunk/client/ChangeLog, trunk/client/gtk/gx11.h gtk/gx11.h: Patch from Kari Pahula to remove incorrect variable declaration.
  • 2005-05-30 21:01 ryo_saeba
  • [r3337] trunk/client/ChangeLog, trunk/client/common/client.h, trunk/client/common/item.c, trunk/client/common/item.h, trunk/client/common/p_cmd.c, trunk/client/common/proto.h, trunk/client/gtk-v2/src/inventory.c, trunk/client/gtk/Makefile.in, trunk/client/gtk/config.c, trunk/client/gtk/gtkproto.h, trunk/client/gtk/gx11.c, trunk/client/gtk/gx11.h, trunk/client/gtk/inventory.c, trunk/client/gtk/win32/GTKClient.dsp, trunk/client/gtk/win32/Running.txt, trunk/client/gtk/win32/Win32Changes.txt, trunk/client/gtk/win32/config.h, trunk/client/gtk/win32/gtkclient.nsi, trunk/client/x11/x11.c, trunk/client/x11/x11proto.h Patch #1197437 courtesy krudat - inventory-related
  • 2005-05-29 16:42 ryo_saeba
  • [r3335] trunk/client/gtk/png.c Removed unused variables
  • 2005-05-29 16:41 ryo_saeba
  • [r3334] trunk/client/common/client.h MIN already defined sometimes
  • 2005-05-29 16:25 tchize
  • [r3333] trunk/client/gtk-v2/src/png.c, trunk/client/gtk/png.c FIX: applied patch 1207603 and extended it to gtk1 client
    reference: [ 1207603 ] libpng error: Invalid image width
  • 2005-05-29 15:34 tchize
  • [r3331] trunk/client/common/newclient.h, trunk/client/gtk/gtkproto.h, trunk/client/gtk/gx11.c, trunk/client/gtk/gx11.h, trunk/client/gtk/text.c Added support for news and rules in client.
  • 2005-05-26 07:39 tchize
  • [r3306] trunk/client/common/client.h, trunk/client/common/metaserver.c Fixed call to inexistant min() function.

    min is windows(TM) specific Ryo!
  • 2005-05-23 21:40 ryo_saeba
  • [r3293] trunk/client/ChangeLog, trunk/client/common/metaserver.c, trunk/client/gtk/gx11.c Add server cache, keep last 10 connected to servers.
  • 2005-05-22 15:22 tchize
  • [r3292] trunk/client/gtk/gtkproto.h, trunk/client/gtk/gx11.c, trunk/client/gtk/text.c Fix: motd gets cleaned after disconnect from server (for compatibility with old servers)
    Bug track Reference: 1197021
  • 2005-05-21 17:41 tchize
  • [r3283] trunk/client/common/client.c, trunk/client/common/commands.c, trunk/client/common/proto.h, trunk/client/gtk/gx11.c, trunk/client/gtk/text.c, trunk/client/pixmaps/sign_east.xpm, trunk/client/pixmaps/sign_flat.xpm, trunk/client/pixmaps/sign_west.xpm Addon: signs display in a window when you read them
  • 2005-05-12 18:04 ryo_saeba
  • [r3253] trunk/client/ChangeLog, trunk/client/gtk/gx11.c Fix Windows-specific key behaviour broken by new login window
  • 2005-05-12 16:29 tchize
  • [r3252] trunk/client/Makefile.in, trunk/client/aclocal.m4, trunk/client/common/commands.c, trunk/client/configure, trunk/client/gtk-v2/Makefile.in, trunk/client/gtk-v2/src/Makefile.in, trunk/client/gtk/gx11.c Fixed error in playing state with new login windows.
    Now it's possible to play without those annoying unknown state messages.
  • 2005-05-07 21:01 ryo_saeba
  • [r3251] trunk/client/gtk/gx11.c Fix for Win32
  • 2005-05-07 16:21 ryo_saeba
  • [r3248] trunk/client/gtk/text.c Fix potential issue
  • 2005-05-06 20:32 ryo_saeba
  • [r3244] trunk/client/common/commands.c, trunk/client/gtk/text.c, trunk/client/gtk/win32/GTKClient.dsp Variables declared first, then function calls. Add missing header for Win32.
  • 2005-05-06 19:59 tchize
  • [r3243] trunk/client/gtk/gx11.c Removed commented code
  • 2005-05-06 19:55 tchize
  • [r3242] trunk/client/common/client-types.h, trunk/client/common/client.c, trunk/client/common/client.h, trunk/client/common/commands.c, trunk/client/common/newclient.h, trunk/client/common/proto.h, trunk/client/gtk/Makefile.in, trunk/client/gtk/gtkproto.h, trunk/client/gtk/gx11.c, trunk/client/gtk/text.c Added support for upcoming extended text messages. No color support yet!
  • 2005-04-21 18:31 ryo_saeba
  • [r3224] trunk/client/gtk-v2/src/interface.c, trunk/client/gtk-v2/src/main.c, trunk/client/gtk-v2/src/support.c Compilation fixes for Win32
  • 2005-04-17 21:10 mwedel
  • [r3219] trunk/client/ChangeLog, trunk/client/gtk-v2/Makefile.in, trunk/client/gtk-v2/gtk-v2.glade, trunk/client/gtk-v2/src/Makefile.am, trunk/client/gtk-v2/src/Makefile.in, trunk/client/gtk-v2/src/callbacks.h, trunk/client/gtk-v2/src/interface.c, trunk/client/gtk-v2/src/pickup.c Add newpickup support to the gtkv2 client. Didn't add old support (still
    available by specific commands) as I think the interface gets confusing
    to have them both - would be better to extend newpickup logic if necessary
    to support anything old pickup does that newpickup doesn't.
    gtk-v2/Makefile.in: Rebuilt
    gtk-v2/gtk-v2.glade: Add menu options for newpickup
    gtk-v2/src/Makefile.am, gtk-v2/src/Makefile.in: Add pickup.c file
    gtk-v2/src/callbacks.h, gtk-v2/src/interface.c: Rebuilt by glade-2
    gtk-v2/src/pickup.c: New file - handles pickup logic.
    MSW 2005-04-17
  • 2005-04-17 21:08 mwedel
  • [r3217] trunk/client/gtk-v2/src/magicmap.c Add some casts to fix some compiler warnings.
    MSW 2005-04-17
  • 2005-04-17 04:47 mwedel
  • [r3215] trunk/client/ChangeLog, trunk/client/gtk/image.c gtk/image.c: Apply patch from bug 1120881 that fixes pointer operations
    on netbsd/macppc. Changed code still works on linux/x86.
    MSW 2005-04-16
  • 2005-04-11 06:18 mwedel
  • [r3195] trunk/client/ChangeLog, trunk/client/gtk-v2/gtk-v2.glade, trunk/client/gtk-v2/src/info.c, trunk/client/gtk-v2/src/interface.c Improve behaviour of information windows on gtkv2 client - before this patch,
    they would always scroll to bottom when getting new output, making it
    difficult to look at shop listings or other long listings that require
    going back in the scroll buffer. With this change, if the buffer isn't
    at the end, the scroll position isn't changed. IF it it at the end, it
    keeps it at the end.
    gtk-v2/gtk-v2.glade: Chane scrolledwindows used by the textbuffers to
    have a meaningful name.
    gtk-v2/src/info.c: Add code that gets position of scroll bar (adjustment)
    and compares it with maximum, and if not at end, don't scroll window.
    gtk-v2/src/interface.c: Rebuilt.
    MSW 2005-04-11
  • 2005-04-06 06:55 mwedel
  • [r3187] trunk/client/ChangeLog, trunk/client/gtk-v2/gtk-v2.glade, trunk/client/gtk-v2/src/callbacks.h, trunk/client/gtk-v2/src/interface.c, trunk/client/gtk-v2/src/magicmap.c, trunk/client/gtk-v2/src/main.h, trunk/client/gtk-v2/src/map.c Fix so that magic map works properly on the gtkv2 client.
    gtk-v2/gtk-v2.glade: change name of map notebook to map_notebook. Add
    signal to handle expose events of the magic map area.
    gtk-v2/src/callbacks.h: Rebuilt with addition of expose callback.
    gtk-v2/src/interface.c: Rebuilt with addition of expose, change of name.
    gtk-v2/src/magicmap.c: Have magic map switch the notebook page to the
    magic map page to ensure widget is realized - also good for expected
    behaviour. Add some checks for null values so if user switches
    before getting magic map data, doesn't crash. Add check in
    magic_map_flash_pos() to see if still on the magic map notebook page.
    Add expose callback.
    gtk-v2/src/main.h: Add MAGIC_MAP_PAGE which defines which notebook page
    is the magic map one.
    gtk-v2/src/map.c: Have it look up the map_notebook widget.
    MSW 2005-04-05
  • 2005-03-28 06:44 mwedel
  • [r3181] trunk/client/ChangeLog, trunk/client/common/misc.c, trunk/client/configure, trunk/client/configure.in, trunk/client/gtk-v2/src/map.c Various minor bugfixes:
    configure.in, configure: Add warning message if we can't find gtk+ 2.0 or
    later, but continue configure process instead of exiting.
    common/misc.c: Fix code so that it compiles with older C compilers.
    gtk-v2/src/map.c: Change code on need_recenter_map() - use MAX_MAP_OFFSET
    instead of hard coded value of 2 - found a crash here when running
    around the world map - could have been caused by a big image and/or
    the fact my character moved 2 spaces in one tick. either way, this
    change shouldn't impact things, as it is seldom the virtual map needs
    to be recentered.
    MSW 2005-03-27
  • 2005-03-27 20:51 akirschbaum
  • [r3180] trunk/client/ChangeLog, trunk/client/common/image.c, trunk/client/gtk-v2/src/image.c, trunk/client/gtk-v2/src/main.c, trunk/client/gtk/gx11.c, trunk/client/gtk/image.c, trunk/client/x11/png.c, trunk/client/x11/x11.c, trunk/client/x11/x11.h, trunk/client/x11/xutil.c This patch fixes a few memory leaks related to image caching in all clients.
    common/image.c: Declare facetoname[] as static. Add all code accessing this
    array. Print warning if image cannot be created.
    gtk/gx11.c, gtk/image.c, gtk-v2/src/image.c, x11/x11.c, x11/xutil.c: Remove
    code accessing facetoname[].
    gtk/gx11.c, gtk-v2/src/main5H.c, x11/x11.c: Always call init_cache_data() to
    initialize pixmaps[] array.
    gtk/image.c, gtk-v2/src/image.c, x11/png.c: Reject invalid face
    numbers and fix resource leak in create_and_rescale_image_from_data().
    gtk/image.c, gtk-v2/src/image.c, get_map_image_size: Pretend invalid faces to
    be of size 1x1 in get_map_image_size().
    gtk-v2/src/image.c: Properly free opengl resources in free_pixmap(). Fix
    resource leak when freeing old pixmaps in reset_image_data().
    x11/png.c: Properly free resources if an error occurs.
    x11/x11.c: Ignore invalid face numbers.
    x11/x11.h Remove duplicate definition of MAXPIXMAPNUM and facetoname[].
    x11/xutil.c: Initialize size of pixmaps[0].
  • 2005-03-26 19:19 akirschbaum
  • [r3179] trunk/client/ChangeLog, trunk/client/gtk-v2/src/map.c gtk-v2/src/map.c: Fix typo to make it compile without opengl.
  • 2005-03-23 22:19 tchize
  • [r3174] trunk/client/common/client.h, trunk/client/gtk-v2/src/map.c, trunk/client/gtk-v2/src/opengl.c, trunk/client/gtk-v2/src/sdl.c, trunk/client/gtk/map.c, trunk/client/gtk/sdl.c Fixed smoothing on non floor layer.
  • 2005-03-22 07:23 mwedel
  • [r3167] trunk/client/ChangeLog, trunk/client/common/client.h, trunk/client/common/commands.c, trunk/client/common/config.h.in, trunk/client/common/image.c, trunk/client/common/init.c, trunk/client/configure, trunk/client/configure.in, trunk/client/gtk-v2/src/Makefile.am, trunk/client/gtk-v2/src/Makefile.in, trunk/client/gtk-v2/src/config.c, trunk/client/gtk-v2/src/gtk2proto.h, trunk/client/gtk-v2/src/image.c, trunk/client/gtk-v2/src/image.h, trunk/client/gtk-v2/src/info.c, trunk/client/gtk-v2/src/inventory.c, trunk/client/gtk-v2/src/keys.c, trunk/client/gtk-v2/src/main.c, trunk/client/gtk-v2/src/map.c, trunk/client/gtk-v2/src/opengl.c, trunk/client/gtk-v2/src/png.c, trunk/client/gtk-v2/src/sdl.c, trunk/client/gtk/config.c, trunk/client/gtk/gx11.c, trunk/client/gtk/gx11.h, trunk/client/gtk/image.c, trunk/client/gtk/map.c, trunk/client/gtk/sdl.c, trunk/client/x11/xutil.c Main change of this is addition of opengl drawing for the map in the gtk-v2
    client. On my system, the opengl code is about 10 times faster than the
    sdl code was, making it so I can turn on all the bells and whistles (smoothing,
    best lighting) and still use less than 10% cpu time. As part of this, I
    redid the smoothing logic, so the client now requires a new server for
    smoothing to work (needs push logic, as client won't request smoothing
    info as that adds a lot of complication). This change was done because
    the old smoothing code wasn't that efficient - now, we store the smoothing
    face along with the face it smooths, so finding the smoothing info is
    much faster.
    configure.in, configure: Add check for -lglut - indication we have opengl
    libraries available.
    common/client.h: Remove Smooths struct. Change CONFIG_SDL to
    CONFIG_DISPLAY, and add CFG_DM_... to denote different display modes,
    since there is more than just sdl and not sdl now.
    common/commands.c: Don't have SmoothCmd try to update what spaces need
    to be redrawn - for opengl, it doesn't care about that, and for
    most other maps, it will figure it out when it needs to redraw
    common/config.h.in: Addition of HAVE_OPENGL line.
    common/image.c: Remove getsmooth() - rely on push logic.
    common/init.c: Update want_config[CONFIG_SDL] to
    gtk/config.c: Change access to CONFIG_DISPLAYMODE
    gtk/gx11.c: Change access to CONFIG_DISPLAYMODE. Add -smooth command line
    gtk/gx11.h: Add smooth_face to PixmapInfo struct.
    gtk/image.c: Change access to CONFIG_DISPLAYMODE. When getting new
    PixmapInfo struct, use calloc so we are sure all fields are initialized
    to zero. Add addsmooth().
    gtk/map.c: Change access to CONFIG_DISPLAYMODE. Change how we access
    smooth face info.
    gtk/sdl.c: Change how we access smooth face info.
    gtk-v2/src/Makefile.am, gtk-v2/src/Makefile.in: Add addition of OPENGL_LIBS
    to link libs. Add opengl.c file.
    gtk-v2/src/config.c: Add image.h include.
    gtk-v2/src/gtk2proto.h: Rebuilt.
    gtk-v2/src/image.c: Change access to CONFIG_DISPLAYMODE. Add hooks for
    opengl image generation. Change call for pixmap creation from malloc
    to calloc. Add addsmooth().
    gtk-v2/src/image.h. If we have opengl, include GL/gl.h. Add fields
    for opengl texture maps.
    gtk-v2/src/info.c: Update so text line wraps if it is too long.
    gtk-v2/src/inventory.c: Add checks to make sure object face is
    valid before trying to draw. In icon mode, add code to cleanup
    old fields (if you drop an item, it wouldn't erase the list item
    in the list). Also, free callbacks, as they effectively stack,
    and we were using incorrect object pointers (pointer from first
    callback, which didn't match current one).
    gtk-v2/src/keys.c: Add image.h to includes.
    gtk-v2/src/main.c: Add image.h to includes. Change access to
    CONFIG_DISPLAYMODE. Add -opengl command switch. Remove
    +sdl and popups command line options. Relocate setup of
    cache call setup to after we know all windows have been created.
    gtk-v2/src/map.c: Change access to CONFIG_DISPLAYMODE. Add opengl
    drawing hooks. Change access for smooth info. Implement
    button press code for map window (basically grabbed from
    gtk-v2/src/opengl.c: New file containing opengl draw code.
    gtk-v2/src/png.c: Remove some unused code resulting in compile warnings.
    gtk-v2/src/sdl.c: Remove some commented out code. Change access method
    for smoothing code.
    x11/xutil.c: Change access to CONFIG_DISPLAYMODE. Add addsmooth()
    MSW 2005-03-20
  • 2005-03-13 16:44 ryo_saeba
  • [r3131] trunk/client/gtk/win32/gtkclient.nsi Add experimental W95/98 detection, with warning about client issues.
  • 2005-03-13 15:18 ryo_saeba
  • [r3126] trunk/client/ChangeLog, trunk/client/gtk/gx11.c Apply patch #1161817: magic devices pickup flag
  • 2005-03-08 07:18 mwedel
  • [r3106] trunk/client/ChangeLog, trunk/client/gtk-v2/TODO, trunk/client/gtk-v2/src/Makefile.am, trunk/client/gtk-v2/src/Makefile.in, trunk/client/gtk-v2/src/gtk2proto.h, trunk/client/gtk-v2/src/inventory.c, trunk/client/gtk-v2/src/logfile, trunk/client/gtk-v2/src/main.c, trunk/client/gtk-v2/src/map.c, trunk/client/gtk-v2/src/sdl.c More improvements for the gtkv2 client, mostly adding SDL support:
    gtk-v2/TODO: updated
    gtk-v2/src/logfile: Removed - don't need dmalloc logfile.
    gtk-v2/src/Makefile.am, gtk-v2/src/Makefile.in: Change program name from
    'gtk-v2' to 'gcfclient2'. Add sdl.c to list of files.
    gtk-v2/src/gtk2proto.h: Rebuilt
    gtk-v2/src/inventory.c: Fix bug in show_nonmagical() (which corresponds
    to inventory tab) - was showing unpaid objects, not nonmagical objects.
    gtk-v2/src/main.c: Remove time_map_redraw declaration from function, since
    it is declared in map.c. Change map logic to draw when we finish processing
    network data. Change client naem as it reports itself to server to GTK2
    ... Client.
    gtk-v2/src/map.c: Add map_updated variable which is set by display_map_doneupdate -
    used by map draw function to know if anything has changed. Clean up some
    formatting, remove unused code.
    gtk-v2/src/sdl.c: New file containing sdl support.
    MSW 2005-03-07
  • 2005-03-03 20:58 ryo_saeba
  • [r3086] trunk/client/gtk/gx11.c, trunk/client/gtk/win32/GTKClient.dsp, trunk/client/gtk/win32/Win32Changes.txt, trunk/client/gtk/win32/config.h, trunk/client/gtk/win32/gtkclient.nsi Windows 1.7.1 release
  • 2005-03-03 08:09 mwedel
  • [r3085] trunk/client/utils/depcomp Add depcomp - needed by configure in conjunction with automake.
    MSW 2005-03-02
  • 2005-03-02 08:19 mwedel
  • [r3084] trunk/client/configure, trunk/client/configure.in, trunk/client/gtk-v2/Makefile.in, trunk/client/gtk-v2/src/image.h, trunk/client/gtk-v2/src/main.h Minor cleanup related to gtk-v2 commit - remove po/Makefile.in from configure,
    change rcs_id stirngs in .h files to be commented out so they are not used -
    otherwise, they appear in multiple files == errors.
    MSW 2005-03-01
  • 2005-03-02 07:52 mwedel
  • [r3083] trunk/client/CHANGES, trunk/client/ChangeLog, trunk/client/Makefile.am, trunk/client/Makefile.in, trunk/client/aclocal.m4, trunk/client/configure, trunk/client/configure.in, trunk/client/gtk-v2, trunk/client/gtk-v2/Makefile.am, trunk/client/gtk-v2/Makefile.in, trunk/client/gtk-v2/README, trunk/client/gtk-v2/README-dev, trunk/client/gtk-v2/TODO, trunk/client/gtk-v2/gtk-v2.glade, trunk/client/gtk-v2/gtk-v2.gladep, trunk/client/gtk-v2/src, trunk/client/gtk-v2/src/Makefile.am, trunk/client/gtk-v2/src/Makefile.in, trunk/client/gtk-v2/src/callbacks.h, trunk/client/gtk-v2/src/config.c, trunk/client/gtk-v2/src/gtk2proto.h, trunk/client/gtk-v2/src/image.c, trunk/client/gtk-v2/src/image.h, trunk/client/gtk-v2/src/info.c, trunk/client/gtk-v2/src/interface.c, trunk/client/gtk-v2/src/interface.h, trunk/client/gtk-v2/src/inventory.c, trunk/client/gtk-v2/src/keys.c, trunk/client/gtk-v2/src/logfile, trunk/client/gtk-v2/src/magicmap.c, trunk/client/gtk-v2/src/main.c, trunk/client/gtk-v2/src/main.h, trunk/client/gtk-v2/src/map.c, trunk/client/gtk-v2/src/menubar.c, trunk/client/gtk-v2/src/metaserver.c, trunk/client/gtk-v2/src/png.c, trunk/client/gtk-v2/src/sound.c, trunk/client/gtk-v2/src/stats.c, trunk/client/gtk-v2/src/support.c, trunk/client/gtk-v2/src/support.h, trunk/client/utils/config.guess, trunk/client/utils/config.sub, trunk/client/utils/missing Commit for GTKv2 client - please read gtk-v2/README before using this client.
    The bulk of the changes are limited to the gtk-v2 directory (addition),
    but some changes elsewhere as related to using automake. You will need
    to run configure for the gtk-v2 client to be built (it should be built
    automatically if you have the needed libraries)
    Changelog: Replaces CHANGES file to meet automake standards.
    Makefile.am: New file for use with automake.
    Makefile.in: rebult from Makefile.am
    aclocal.m4: Updated with macros to check for gtk-v2.
    configure.in: checks for gtk-v2 added. Chane SUBDIRS to CF_SUBDIRS as
    using SUBDIRS causes conflicts.
    utils/config.guess, utils/config.sub, utils/missing: Updated as part of
    automake changes.
    gtk-v2/*, gtk-v2/src/*: Files related to gtk-v2 client.
    MSW 2005-03-01
  • 2005-03-01 07:35 mwedel
  • [r3082] trunk/client/CHANGES, trunk/client/README.rpm, trunk/client/crossfire-client.spec, trunk/client/gtk/Makefile.in crossfire-client.spec: Update for 1.7.1 release, make some other changes that
    better match my system since I don't think anyone else is using it.
    gtk/Makefile.in: Add crossfire-client.desktop to list of files to add
    to distribution.
    README.rpm: removed - had info that didn't really apply to me making RPM
    MSW 2005-02-28
  • 2005-03-01 06:57 mwedel
  • [r3081] trunk/client/CHANGES, trunk/client/configure, trunk/client/configure.in configure.in, configure: Add --disable-dmalloc option to configure.
    MSW 2005-02-28
  • 2005-02-28 07:31 mwedel
  • [r3078] trunk/client/CHANGES, trunk/client/configure, trunk/client/configure.in, trunk/client/sound-src/Makefile.in Changes for 1.7.1:
    configure, configure.in: Rev for 1.7.1 release
    sound-src/Makefile.in: Add files to EXTRA_DIST, fix typo so that make
    arhive works.
    MSW 2005-02-27
  • 2005-02-27 06:06 mwedel
  • [r3074] trunk/client/CHANGES, trunk/client/common/external.h, trunk/client/common/p_cmd.c, trunk/client/gtk/gtkproto.h, trunk/client/gtk/gx11.c, trunk/client/gtk/sdl.c, trunk/client/x11/x11.c, trunk/client/x11/x11proto.h Add 'show' command back in to list of commands.
    common/external.h: Change prototype of command_show() to match p_cmd.c
    common/p_cmd.c: Add 'show' to command dispatch table.
    gtk/gtkproto.h: rebuilt
    gtk/gx11.c: change declaration of command_show() to take const char *.
    gtk/sdl.c: Make drawsmooth_sdl() static so it won't be put into gtkproto.h
    file, which causes compilations to fail.
    x11/x11.c: change declaration of command_show() to take const char *.
    x11/x11proto.h: rebuilt
    MSW 2005-02-26
  • 2005-02-20 07:17 mwedel
  • [r3068] trunk/client/CHANGES, trunk/client/common/metaserver.c common/metaserver.c: Once we have read in limit of number of
    metaservers, don't do anymore processing - otherwise, client just
    MSW 2005-02-19
  • 2005-02-14 05:42 mwedel
  • [r3067] trunk/client/CHANGES, trunk/client/common/client.c, trunk/client/common/client.h, trunk/client/configure, trunk/client/configure.in, trunk/client/gtk/config.c, trunk/client/gtk/gcfclient.man, trunk/client/gtk/gx11.c, trunk/client/gtk/sound.c, trunk/client/sound-src/Makefile.in, trunk/client/sound-src/alsa9.c, trunk/client/sound-src/cfsndserv.c, trunk/client/sound-src/common.c Sound cleanup and redo for ALSA9. The bulk of this is to break out the
    alsa9 code from the cfsndser.c and compile its own seperate cfsndserv-alsa9
    executable. Add options to config file/gtk client to support setting
    which sound daemon to use. Note that ALSA9 sound now works all
    properly - significant changes had to get made to the code for this
    to happen.
    configure, configure.in: The existence of ALSA9 sound does not preclude
    compilation of OSS sound support (or others for that matter), so change
    the logic accordingly to set variables only used for ALSA9. Add
    SOUND_TARGETS that can be used by the makefile, change logic of
    setting SUBDIRS so we don't put sound-src in multiple times.
    common/client.c, common/client.h: Add sound_server variable.
    gtk/config.c: Add support for loading/saving sound_server line in gdefaults
    gtk/gcfclient.man: Update about -sound_server option.
    gtk/gx11.c: Update help and command line processing to support -sound_server
    gtk/sound.c: Change initialization of sound pipe to use sound_server variable
    (set by options above) instead of hard coded cfsndserv. Path can be
    either be absolute or relative to to bindir. Also change code so that
    pipe is set for non blocking output, so if the sound daemon gets hung
    up, won't effect rest of the client.
    sound-src/Makefile.in: Redone to handle cfsnserv-alsa9 binary. uses
    SOUND_TARGETS to know what to build.
    sound-src/cfsndserv.c: Remove all ALSA9 code, since that is now in
    alsa9.c file.
    sound-src/alsa9.c, sound-src/common.c: Nwe files - alsa9.c contains
    logic for playing sound. common.c is common routines. Idea being
    that other code could get pulled from cfsndserv.c and use the common.c
    routines for parsing sound file, etc.
    MSW 2005-02-13
  • 2005-02-12 22:05 ryo_saeba
  • [r3065] trunk/client/CHANGES, trunk/client/common/script.c, trunk/client/gtk/help.c, trunk/client/gtk/win32/config.h Fix broken script. Make sure help works under W32.
  • 2005-02-10 07:03 mwedel
  • [r3063] trunk/client/CHANGES, trunk/client/Makefile.in, trunk/client/common/Makefile.in, trunk/client/common/external.h, trunk/client/common/init.c, trunk/client/common/p_cmd.c, trunk/client/common/p_cmd.h, trunk/client/common/player.c, trunk/client/common/proto.h, trunk/client/common/script.c, trunk/client/common/script.h, trunk/client/gnome/Makefile.in, trunk/client/gtk/Makefile.in, trunk/client/gtk/gtkproto.h, trunk/client/gtk/gx11.c, trunk/client/gtk/help.c, trunk/client/gtk/keys.c, trunk/client/help/chelp.h, trunk/client/sound-src/Makefile.in, trunk/client/x11/Makefile.in, trunk/client/x11/x11.c, trunk/client/x11/x11proto.h, trunk/client/x11/xutil.c Makefile.in, common/Makefile.in, gnome/Makefile.in, gtk/Makefile.in,
    sound-src/Makefile.in, x11/Makefile.in: Add ${DESTDIR} prefix for
    installation into other directories. Patch from sourcefore #1061895
    MSW 2005-02-09

    common/external.h, common/init.c, common/player.c, common/proto.h,
    common/script.c, common/script.h, common/p_cmd.c (new file),
    common/p_cmd.h (new file), gtk/gtkproto.h, gtk/gx11.c, gtk/help.c (new
    file), gtk/keys.c, help/chelp.h, x11/x11.c, x11/x11proto.h, x11/xutil.c:
    Install command table for client side commands - makes adding commands a
    little easier, but also makes it easier to have better help. Bulk of the
    changes are in p_cmd.c file, which pulled some code out of player.c.
    Other source files modified to clean up function parameters (all now take
    const char * as the command options). Patch from sourceforge 1022245,
    with some work done by me. Addition fix in gtk/keys.c unbind - buffer
    overflow would result if unbinding very long binding.
    MSW 2005-02-09
  • 2005-02-05 23:31 ryo_saeba
  • [r3061] trunk/client/CHANGES, trunk/client/common/client-types.h, trunk/client/common/commands.c, trunk/client/common/misc.c, trunk/client/common/newsocket.c, trunk/client/common/player.c, trunk/client/common/proto.h, trunk/client/gtk/gx11.c, trunk/client/gtk/keys.c, trunk/client/gtk/win32/config.h Fix a buffer overflow in unbind output. Make strings const when possible
  • 2005-02-05 07:29 mwedel
  • [r3060] trunk/client/CHANGES, trunk/client/Makefile.in, trunk/client/common/client-types.h, trunk/client/common/script.h, trunk/client/configure, trunk/client/configure.in, trunk/client/gtk/Makefile.in, trunk/client/sound-src/Makefile.in, trunk/client/x11/Makefile.in Makefile.in: Fix up distclean directive to go into all directories.
    configure.in, configure: Fix configure so the --enable-feature and
    --disable-feature flags follow proper standard (from patch on
    sourceforge). Add check for -lossaudio. Modify check for
    -lSDL_image library - don't require it for SDL support (if we
    have it, we'll use it, but for newer versions of SDL, it doesn't
    seem to exist anymore)
    common/client-types.h: Minor formatting change.
    common/script.h: add defines for PF_LOCAL and AF_LOCAL if they are
    gtk/Makefile.in: Install man page into section 6.
    sound-src/Makefile.in: Fix up depend command - had wrong variable.
    Fix up distclean to remove automatically generated files.
    x11/Makefile.in: Install man page into section 6.
    MSW 2005-02-04
  • 2005-01-17 02:01 crowbert
  • [r3049] trunk/client/common/client.h, trunk/client/common/commands.c, trunk/client/common/script.c fix script interface bugs
  • 2005-01-17 01:52 crowbert
  • [r3048] trunk/client/gtk/gx11.c indentation fix--no impact on the binary
  • 2005-01-08 21:22 ryo_saeba
  • [r3039] trunk/client/gtk/win32/Running.txt, trunk/client/gtk/win32/Win32Changes.txt, trunk/client/gtk/win32/gtkclient.nsi Point to Gaim's GTK package instead of dead Dropline one.
  • 2005-01-07 21:02 ryo_saeba
  • [r3035] trunk/client/gtk/win32/Win32Changes.txt Stupid newline issues...
  • 2005-01-07 20:56 ryo_saeba
  • [r3034] trunk/client/gtk/win32/Win32Changes.txt Password fix
  • 2005-01-07 20:47 ryo_saeba
  • [r3033] trunk/client/CHANGES, trunk/client/gtk/gx11.c Fix party password prompt being blank
  • 2005-01-07 19:45 ryo_saeba
  • [r3031] trunk/client/CHANGES, trunk/client/gtk/gx11.c Fix password dialog bug under WinXP-GTK2.4 (or other configs)
  • 2004-12-21 22:36 ryo_saeba
  • [r3015] trunk/client/CHANGES, trunk/client/common/script.c Fix bug 1061908 (missing include for NetBSD)
  • 2004-12-21 20:20 ryo_saeba
  • [r3014] trunk/client/CHANGES, trunk/client/gtk/keys.c, trunk/client/gtk/win32/GTKClient.dsp, trunk/client/gtk/win32/config.h Fix bug #1085729 ; Win32 macro fix
  • 2004-10-09 15:55 akirschbaum
  • [r2940] trunk/arch/README, trunk/arch/TODO, trunk/client/README Fix typo.
  • 2004-09-19 16:19 akirschbaum
  • [r2921] trunk/client/CHANGES, trunk/client/gtk/win32/config.h gtk/win32/config.h: Add parentheses around arguments of sleep and usleep
  • 2004-08-30 18:31 tchize
  • [r2899] trunk/client/common/player.c, trunk/client/common/proto.h, trunk/client/common/script.c scripting: added script command 'localcmd <command> [<params>]' to call commands handled only by client.
    The list of those commands and their help are available thru the help command (or the script command 'localcmd help' ;).
    e.g. scripts can now issue keybindings, show the last magicmap and so on.
  • 2004-08-16 09:09 ryo_saeba
  • [r2882] trunk/client/CHANGES, trunk/client/common/script.c Apply patch #1001086, say something when script fails (Unix)
  • 2004-05-28 20:11 akirschbaum
  • [r2807] trunk/client/CHANGES, trunk/client/gnome/gnome.c, trunk/client/gtk/gx11.c gnome/gnome.c, gtk/gx11.c: Fix improper access to history buffer variable.
  • 2004-05-22 15:51 tchize
  • [r2790] trunk/client/gtk/image.c, trunk/client/gtk/sdl.c Updated The SDL best per pixel lightning code and changed color -> gray algorithm

    Now less artefacts, still some time around fog of war.
    However looks better than before. Use bilinear interpolation.
    Perhaps should switch to bicubic some time later :)

    I changed the fog of war picture generation to create a gray
    value based on luminescence (More accurate gray, as if picture was
    take from a gray old camera).
  • 2004-05-16 06:09 mwedel
  • [r2780] trunk/client/CHANGES, trunk/client/gtk/gx11.c, trunk/client/gtk/image.c gtk/gx11.c: Comment out printing of size when we receive config event.
    gtk/image.c: Remove some superfluos LIL_ENDIAN code that would never
    be used because it was already in an #ifdef LIL_ENDIAN/#else block.
    Fix up freeing of data - need to free the pixel info before freeing
    the surface, don't free the fog pixels since SDL will do that for us.
    MSW 2004-05-15
  • 2004-05-12 06:43 mwedel
  • [r2766] trunk/client/CHANGES, trunk/client/gtk/image.c gtk/image.c: Patch from bug list to fix compilation on big endian
    MSW 2004-05-11
  • 2004-05-09 07:56 mwedel
  • [r2761] trunk/client/CHANGES, trunk/client/gtk/gx11.c, trunk/client/gtk/map.c gtk/gx11.c: Fix configure_event() to only allocate new data structures if
    the size of the map area has in fact change. This fixes a major memory
    leak, as it seems gtk erroneously generates configure events.
    gtk/map.c: Clean out some commented out code, clean up the formatting of the
    draw_map function - no actual code change.
    MSW 2004-05-08
  • 2004-05-03 03:22 tanner
  • [r2750] trunk/client/README.rpm, trunk/client/crossfire-client.spec Given that Redhat 9 was deprecated on 04/30/2004 and the consumer version of
    Redhat linux no longer exists, I've switched to Debian and will no longer be
    maintaining the .spec file and RPMS for Redhat/Fedora Linux.

    I posted to crossfire-devel asking for someone to take over.
  • 2004-04-25 08:28 ryo_saeba
  • [r2742] trunk/client/CHANGES, trunk/client/common/client.h, trunk/client/gtk/win32, trunk/client/gtk/win32/.cvsignore, trunk/client/gtk/win32/Running.txt, trunk/client/gtk/win32/Win32Changes.txt, trunk/client/gtk/win32/config.h, trunk/client/gtk/win32/gtkclient.nsi Windows 1.7.0 release
  • 2004-04-19 06:35 mwedel
  • [r2736] trunk/client/CHANGES, trunk/client/configure, trunk/client/configure.in, trunk/client/gnome/Makefile.in, trunk/client/gtk/Makefile.in, trunk/client/x11/Makefile.in Various updates for 1.7.0 release - bump version number. Some file names
    renamed/removed/mistypes in the Makefiles - fix those up. Update the
    CHANGES file.
    MSW 2004-04-18
  • 2004-04-19 05:14 mwedel
  • [r2735] trunk/client/x11/png.c, trunk/client/x11/x11.c Minor changes to clean up some compiler warnings.
    MSW 2004-04-18
  • 2004-04-11 09:48 ryo_saeba
  • [r2724] trunk/client/CHANGES, trunk/client/gtk/win32/porting.c Tweaked SDL sound support for Windows
  • 2004-04-11 08:36 ryo_saeba
  • [r2723] trunk/client/CHANGES, trunk/client/gtk/win32/GTKClient.dsp, trunk/client/gtk/win32/porting.c Sound for Windows w/o SDL
  • 2004-04-06 21:32 ryo_saeba
  • [r2712] trunk/client/Documentation/Scripting.html Windows now has script support
  • 2004-04-04 10:07 ryo_saeba
  • [r2707] trunk/client/CHANGES, trunk/client/common/metaserver.c, trunk/client/common/script.c, trunk/client/common/script.h, trunk/client/gtk/gtkproto.h, trunk/client/gtk/gx11.c Fix Win32 scripting
  • 2004-03-12 18:49 ryo_saeba
  • [r2677] trunk/client/CHANGES, trunk/client/common/metaserver.c, trunk/client/gtk/gx11.c Fixes related to failure to connect to server/metaserver
  • 2004-03-07 16:56 ryo_saeba
  • [r2673] trunk/client/gtk/win32, trunk/client/gtk/win32/.cvsignore, trunk/client/gtk/win32/Running.txt, trunk/client/gtk/win32/Win32Changes.txt, trunk/client/gtk/win32/gtkclient.nsi Cleaned installer script, tweaked installed files, updated .txt files
  • 2004-03-04 22:46 ryo_saeba
  • [r2667] trunk/client/gtk/win32/Installer.txt, trunk/client/gtk/win32/gtkclient.nsi Added installer script & basic instructions.
  • 2004-03-04 22:31 ryo_saeba
  • [r2666] trunk/client/CHANGES, trunk/client/gtk/keys.c Key loading issue for Windows
  • 2004-02-06 07:27 mwedel
  • [r2605] trunk/client/CHANGES, trunk/client/aclocal.m4, trunk/client/configure, trunk/client/configure.in configure.in: Remove checks for gnome libraries, since we no longer use
    gnome/build a gnome client.
    aclocal.m4: downgrade requirement for needed autoconf version.
    MSW 2004-02-05
  • 2004-02-01 09:41 ryo_saeba
  • [r2576] trunk/client/gtk/win32/GTKClient.rc, trunk/client/gtk/win32/Running.txt, trunk/client/gtk/win32/Win32Changes.txt, trunk/client/gtk/win32/config.h Getting ready for 1.6.1 release.
  • 2004-02-01 09:31 ryo_saeba
  • [r2575] trunk/client/CHANGES, trunk/client/common/init.c Win32 printf => LOG
  • 2004-01-31 20:13 tchize
  • [r2574] trunk/client/gnome/gnome.c, trunk/client/gtk/keys.c, trunk/client/x11/xutil.c fixed a bug in save_individual_key in which a buf was overflowed when
    a binded command has a size approaching the maximum length (sizeof(bind_buf)).
    Also fixed a potential problem which could arise when loading a keybinds file where
    some commands exceeded maximum command length.
  • 2004-01-31 16:19 tchize
  • [r2573] trunk/client/gnome/gnome.c, trunk/client/gtk/keys.c, trunk/client/x11/xutil.c Added a warning message when keybinding is trucated becasue too long
    Also fixed a bug in rebinding of command/fire/run and other system binding
  • 2004-01-31 10:37 ryo_saeba
  • [r2570] trunk/client/gtk/win32/GTKClient.dsp Added 'gtk/sound.c'
  • 2004-01-31 10:11 tchize
  • [r2569] trunk/client/common/script.c fixed a bug in scripting leading to deferencing of null pointer when
    script was asked watching all command (empty watch parameter)
  • 2004-01-30 22:03 ryo_saeba
  • [r2568] trunk/client/CHANGES, trunk/client/common/image.c, trunk/client/common/rcs-id.h, trunk/client/gtk/rcs-id.h, trunk/client/gtk/sound.c Win32 fixes
  • 2004-01-30 18:59 tchize
  • [r2567] trunk/client/CHANGES Documented recent changes concerning LOG() and Documentation
  • 2004-01-30 18:43 tchize
  • [r2566] trunk/client/common/Makefile.in, trunk/client/common/client.c, trunk/client/common/commands.c, trunk/client/common/image.c, trunk/client/common/init.c, trunk/client/common/item.c, trunk/client/common/metaserver.c, trunk/client/common/misc.c, trunk/client/common/newsocket.c, trunk/client/common/player.c, trunk/client/common/rcs-id.h, trunk/client/common/script.c, trunk/client/gtk/Makefile.in, trunk/client/gtk/config.c, trunk/client/gtk/gx11.c, trunk/client/gtk/image.c, trunk/client/gtk/keys.c, trunk/client/gtk/map.c, trunk/client/gtk/png.c, trunk/client/gtk/rcs-id.h, trunk/client/gtk/sdl.c, trunk/client/gtk/sound.c, trunk/client/sound-src/cfsndserv.c, trunk/client/x11/Makefile.in, trunk/client/x11/png.c, trunk/client/x11/rcs-id.h, trunk/client/x11/sound.c, trunk/client/x11/x11.c, trunk/client/x11/xutil.c Logging of source files version on client. Removed need for scripting in Makefile

    Better used way which didn't use Makefile and a script. Simply ask each .c file
    to create a char * rcsid_directory_file_c and collected them as an array in main()
  • 2004-01-30 13:30 tchize
  • [r2565] trunk/client/Makefile.in, trunk/client/common/Makefile.in, trunk/client/gtk/Makefile.in, trunk/client/gtk/gx11.c, trunk/client/gtk/sound.c, trunk/client/x11/Makefile.in, trunk/client/x11/sound.c, trunk/client/x11/x11.c, trunk/client/x11/xutil.c LOG cleanup, source version infos in logs

    Cleanup some printf remaining in x11. Also changed x11/sound.c to use raiseChild and so
    have messages from child showed thru log. Modified root Makefile.in to include bugreport.h.
    Modified common/Makefile.in, gtk/Makefile.in and x11/Makefile.in so they generate
    a rcs-id.h file in their respective directory. This file has info on cvs version
    of .c files used at compile time. Usefull to track bug in outdated client and check
    they are corrected. Modified gtk/x11 clients so they show those informations at startup.
  • 2004-01-29 22:06 tchize
  • [r2564] trunk/client/Documentation, trunk/client/Documentation/Scripting.html, trunk/client/Documentation/examples, trunk/client/Documentation/examples/script, trunk/client/Documentation/examples/script/first.c, trunk/client/Documentation/examples/script/second.c First documentation on scripting interface
  • 2004-01-29 21:32 ryo_saeba
  • [r2563] trunk/client/CHANGES, trunk/client/common/image.c, trunk/client/gtk/win32/config.h Win32 fixes
  • 2004-01-29 21:28 ryo_saeba
  • [r2562] trunk/client/CHANGES, trunk/client/common/commands.c, trunk/client/common/image.c, trunk/client/common/misc.c, trunk/client/common/player.c, trunk/client/gtk/gx11.c, trunk/client/gtk/keys.c Win32 fixes
  • 2004-01-29 18:50 tchize
  • [r2560] trunk/client/common/misc.c did put some code in a function before declaring variable, compiled, but was
    dangerous. fixed
  • 2004-01-29 11:04 tchize
  • [r2559] trunk/client/aclocal.m4, trunk/client/configure, trunk/client/configure.in, trunk/client/utils/config.guess, trunk/client/utils/config.sub Changed a bit configure.in, somme calls in it were deprecated and version was incorrect.
    Also rerun aclocal,autoconf and autoheader.
    Couldn't run automake since makefile.am missing
  • 2004-01-29 11:02 tchize
  • [r2558] trunk/client/common/misc.c Fixed a bug in child handling. Chained lsit corrupted when cleaning dead childs
  • 2004-01-28 22:16 tchize
  • [r2557] trunk/client/common/client.h, trunk/client/common/misc.c, trunk/client/common/proto.h, trunk/client/gtk/gx11.c, trunk/client/gtk/sound.c Added generic support to instanciate child process and get redirected I/O.

    Added generic support so you can create a child executing a command (like
    does the sound server communications). All I/O (stdin,stdout,stderr) can be
    redirected and handled by the logging facilites (stdout/stderr) and the stdin
    can be used to give orders to the child. Clients are supposed to call
    monitorChilds() on a regular basis to purge the communications queues handled
    by logging facilities. Killed child are automatically removed from Logging and
    an INFO log entry is generated.
    Exemple log of gtk client invoking the cfsndserver:

    [ INFO ] (Child17575::/usr/local/develop/cf/tosmooth//bin/cfsndserv::2) Settings: bits: 8, unsigned, mono, frequency: 11025, device: /dev/dsp
    [ INFO ] (Child17575::/usr/local/develop/cf/tosmooth//bin/cfsndserv::2) Couldn't set audio format
    [ INFO ] (Child17575::/usr/local/develop/cf/tosmooth//bin/cfsndserv::2) bits: 16, signed, stereo, freq: 11025, smpl_size: 4, 0level: 0
    [ INFO ] (Child17575::/usr/local/develop/cf/tosmooth//bin/cfsndserv::2) Unable to open /home/tchize/.crossfire/sounds - will use built in defaults
  • 2004-01-28 09:26 tchize
  • [r2556] trunk/client/common/client.c, trunk/client/common/client.h, trunk/client/common/commands.c, trunk/client/common/image.c, trunk/client/common/init.c, trunk/client/common/item.c, trunk/client/common/metaserver.c, trunk/client/common/misc.c, trunk/client/common/newsocket.c, trunk/client/common/player.c, trunk/client/common/proto.h, trunk/client/common/script.c, trunk/client/gtk/config.c, trunk/client/gtk/gx11.c, trunk/client/gtk/image.c, trunk/client/gtk/keys.c, trunk/client/gtk/map.c, trunk/client/gtk/png.c, trunk/client/gtk/sdl.c, trunk/client/gtk/sound.c, trunk/client/help/bugreport.h Added logging support and bug report help

    Remove lots of printf to stderr and replaced them with a LOG call. LOG
    also keep in memory the message, so the client can ask them to help bug
    reporting. If you use the gtk client and click on help -> Report a Bug
    you will see the list of error message in a textarea so you can cut and
    paste in bug tracker.
    Also modified the LOG prototype so it accepts as parameters a loglevel,
    a location (most of time send <partofclient::functionname> in it), a
    format string and parameters used in printf functions.
    Here is a typical log after connecting to a server:

    [ INFO ] (Client Version) GTK Unix Client 1.6.0
    [ INFO ] (gtk::init_cache_data) Init Cache
    [ ERROR ] (Library::Gtk-CRITICAL) file gtkbox.c: line 332 (gtk_box_pack_start): assertion `child->parent == NULL' failed.
    [WARNING ] (common::VersionCmd) Differing C->S version numbers (1022,1023)
    [ INFO ] (common::VersionCmd) Playing on server type Crossfire Server

    [WARNING ] (common::SetupCmd) Server returned FALSE on setup command sexp
    [ INFO ] (commands.c) addme_success received.

    [ ERROR ] (Library::Gtk-CRITICAL) file gtkbox.c: line 332 (gtk_box_pack_start): assertion `child->parent == NULL' failed.

    You may notice the gtk / gdk errors are send to the Logging facilities as well.
    I plan to add additionnal of [INFO] in code so in case of bug we may have useful
    informations like server connected to, server protocol, and config of client.
  • 2004-01-27 20:04 ryo_saeba
  • [r2553] trunk/client/CHANGES, trunk/client/gtk/config.c, trunk/client/gtk/map.c Win32-specific fixes
  • 2004-01-27 19:58 ryo_saeba
  • [r2552] trunk/client/CHANGES, trunk/client/common/client.c Win32 fixes
  • 2004-01-27 19:56 ryo_saeba
  • [r2551] trunk/client/CHANGES, trunk/client/common/metaserver.c Win32 fixes, explicit cast for meta_sort
  • 2004-01-27 08:25 tchize
  • [r2550] trunk/client/sound-src/cfsndserv.c Ooops. SOUND_DEBUG was activated in last commit. Commented it in source.
  • 2004-01-26 23:12 ryo_saeba
  • [r2547] trunk/client/gtk/win32/GTKClient.dsp Tweaked browse info settings
  • 2004-01-26 23:00 ryo_saeba
  • [r2546] trunk/client/gtk/win32/porting.c Added const where needed, changed int to char for match
  • 2004-01-26 22:56 ryo_saeba
  • [r2545] trunk/client/gtk/win32/config.h Fixed Windows definition, and added function prototypes
  • 2004-01-26 22:52 ryo_saeba
  • [r2544] trunk/client/common/client.c, trunk/client/common/metaserver.c, trunk/client/gtk/config.c, trunk/client/gtk/keys.c, trunk/client/gtk/win32/config.h, trunk/client/gtk/win32/porting.c Fixed Windows-newlines to Linux ones.
  • 2004-01-26 19:40 tchize
  • [r2543] trunk/client/gtk/gx11.c, trunk/client/x11/x11.c Clean exit

    Added window closed events checks so the client exits when a window is closed.
    Works with cfclient and gtkclient. In normal mode, when main window is closed,
    exit the client. In split mode, closing any window will exit the program. This
    behaviour is much better than a pack of assert error or a program still working
    without any window to manage.
  • 2004-01-26 16:54 tchize
  • [r2542] trunk/client/common/client.h, trunk/client/common/commands.c, trunk/client/gtk/map.c, trunk/client/x11/xutil.c Building disappear bug fix

    Fixed a bug of buildings disappearing when moving from west to east or
    north to south in cities where building are made of a bigimage,
    covering multisquares. This was because every square entering the map
    view after a scroll was forced to empty, waiting for info from server.
    But bigimage buildings are sended by server before they enter map. Added the flag
    to ask no reset of the bigimage during the erasing of squares and setting flag to
    true for squares entering the map.
  • 2004-01-26 15:19 tchize
  • [r2541] trunk/client/sound-src/cfsndserv.c, trunk/client/sound-src/sounds.dist fixed incomplete ALSA9 support and changed sounds.dist to use .raw

    The ALSA9 support was in configure but the code part wasn't in the cfsndserv.c
    Applied the patch from Tim Hentenaar submitted on mailing list in march 2003 to
    correct this.
    Also changed the default sound file so it uses .raw files and not .au because
    CVS sounds are now .raw.
  • 2004-01-25 16:10 ryo_saeba
  • [r2534] trunk/client/CHANGES, trunk/client/common/item.c Added NULL argument check
  • 2004-01-25 14:05 ryo_saeba
  • [r2533] trunk/client/gtk/win32/GTKClient.dsp, trunk/client/gtk/win32/GTKClient.ico, trunk/client/gtk/win32/GTKClient.rc, trunk/client/gtk/win32/Running.txt, trunk/client/gtk/win32/resource.h Added icon from Somebody's version
  • 2004-01-21 10:24 tchize
  • [r2529] trunk/client/gtk/sdl.c Just cleaned some commented code from a cut and paste
  • 2004-01-21 10:22 tchize
  • [r2528] trunk/client/common/client.h, trunk/client/gtk/map.c, trunk/client/gtk/sdl.c Smoothing. Support in gtk-sdl mode and excluded smoothlevel 0

    Added support for smoothing in the sdl rendering routines of gtk client. Support
    works good with fog of war and lightning.
    Also excluded the smoothlevel 0 of rendering routine. This mean a face having a
    smoothlevel of zero will not be put underneath the one with smoothlevel 1 or higher.
    This also mean a face with smoothlevel 1 will never go on top of another but
    may be partially hidden by other faces with smoothlevel 2 or higher.
    Best way to check those changes is too look at the earth (having smoothlevel 0) in
    the HallOfSelection
  • 2004-01-12 07:23 onefang
  • [r2510] trunk/client/gnome/gnome.c, trunk/client/gtk/keys.c, trunk/client/x11/xutil.c Bind commands longer than the bind buffer no longer crash.
    DVS 2004-01-12
  • 2003-12-07 11:49 ryo_saeba
  • [r2484] trunk/client/gtk/win32/GTKClient.dsp Added script files
  • 2003-11-29 05:41 mwedel
  • [r2475] trunk/client/CHANGES Commit this file also.
    MSW 2003-11-28
  • 2003-11-29 05:40 mwedel
  • [r2474] trunk/client/gnome/map.c, trunk/client/gtk/gx11.c, trunk/client/gtk/map.c gtk/map.c, gnome/map.c: Apply patch by kirschbaum@myrealbox.com which fixes
    improper coordinate comparision.
    gtk/gx11.c: Remove some unused declarations.
    gtk/map.c: always set the cleared flag as spaces come into view.
    MSW 2003-11-28
  • 2003-11-22 17:13 ryo_saeba
  • [r2468] trunk/client/CHANGES, trunk/client/gtk/gx11.c Fixed skill level display in stats for Win32
  • 2003-11-16 08:17 mwedel
  • [r2462] trunk/client/gtk/image.c Store away image data as passed in - needed to fix problem resulting
    from recent change to image.c - SDL mode needs a copy
    of this data to work.
    MSW 2003-11-16
  • 2003-11-13 18:22 gros
  • [r2457] trunk/client/common/image.c Corrected memory leaks (PNG structures not being properly freed)
  • 2003-11-11 08:00 mwedel
  • [r2454] trunk/client/common/newsocket.c Fix problem with 64 bit values not getting decoded properly - only
    happened if the value more than could be held in 32 bits - we weren't
    treating the sign bit properly for the MSB of the 4 byte int.
    MSW 2003-11-10
  • 2003-11-10 20:24 ryo_saeba
  • [r2451] trunk/client/CHANGES, trunk/client/common/client.h, trunk/client/common/script.c Fixed Win32 compilation. Scripting is disabled (dummy empty functions).
  • 2003-11-10 15:11 crowbert
  • [r2450] trunk/client/common/Makefile.in, trunk/client/common/client.c, trunk/client/common/client.h, trunk/client/common/commands.c, trunk/client/common/image.c, trunk/client/common/init.c, trunk/client/common/item.c, trunk/client/common/newsocket.c, trunk/client/common/player.c, trunk/client/common/script.c, trunk/client/common/script.h, trunk/client/gnome/gnome.c, trunk/client/gtk/gx11.c, trunk/client/x11/x11.c add scripting interface
  • 2003-10-27 07:08 mwedel
  • [r2429] trunk/client/CHANGES, trunk/client/x11/x11.c x11/x11.c: Fix button pressing in the game window so it properly deals with
    non standard size maps.
    MSW 2003-10-26
  • 2003-10-26 11:43 ryo_saeba
  • [r2419] trunk/client/CHANGES, trunk/client/Win32-Readme.txt, trunk/client/common/client-types.h, trunk/client/common/client.c, trunk/client/common/image.c, trunk/client/common/init.c, trunk/client/common/metaserver.c, trunk/client/common/newsocket.c, trunk/client/gtk/config.c, trunk/client/gtk/gx11.c, trunk/client/gtk/gx11.h, trunk/client/gtk/image.c, trunk/client/gtk/keys.c, trunk/client/gtk/map.c, trunk/client/gtk/png.c, trunk/client/gtk/win32, trunk/client/gtk/win32/.cvsignore, trunk/client/gtk/win32/Building.txt, trunk/client/gtk/win32/GTKClient.dsp, trunk/client/gtk/win32/GTKClient.dsw, trunk/client/gtk/win32/Running.txt, trunk/client/gtk/win32/config.h, trunk/client/gtk/win32/porting.c, trunk/client/gtk/win32/soundsdef.h Fix for Windows-specific compilation issues. GTK client should now compile ok.
  • 2003-10-26 03:53 mwedel
  • [r2415] trunk/client/CHANGES, trunk/client/common/client.h, trunk/client/common/newsocket.c common/client.h, common/newsocket.c: Remove 'extern in errno' lines -
    errno.h is included, which takes care of the problem.
    MSW 2003-10-25
  • 2003-10-21 08:29 elsbernd
  • [r2408] trunk/client/x11/png.c get_map_image_size: access of width/height when pixmaps[face]==NULL
    results in coredump on IRIX (pixmaps[0] == NULL)
  • 2003-10-10 06:33 mwedel
  • [r2390] trunk/client/CHANGES, trunk/client/common/proto.h, trunk/client/configure, trunk/client/configure.in Update for 1.6.0 release.
    MSW 2003-10-09
  • 2003-10-10 06:18 mwedel
  • [r2389] trunk/client/CHANGES, trunk/client/common/commands.c, trunk/client/common/item.c, trunk/client/common/player.c, trunk/client/gtk/gx11.c common/commands.c: Clean up some formatting.
    common/item.c: Add num_free_items() to try and help see some memory
    common/player.c: Add num_free_items command which calls above routine.
    gtk/gx11.c: Fix movement/firing by using mouse pointer. Map size was
    hard coded in, so didn't work correct if non standard map size was used.
    MSW 2003-10-09
  • 2003-10-09 06:40 mwedel
  • [r2387] trunk/client/CHANGES, trunk/client/common/client.h, trunk/client/common/commands.c, trunk/client/common/init.c, trunk/client/gtk/config.c, trunk/client/gtk/gx11.c Add an option to the gtk client which controls what happens when you use apply
    to cycle through containers. It used to be closed->applied->open->applied.
    Now, if you select the config option, it goes closed->applied->open->close->..
    common/client.h: Add new config variable.
    common/commands.c: Remove some dead commented out code.
    common/init.c: Update save name for config value.
    gtk/config.c: Update to have menu option in config window.
    gtk/gx11.c: Change close_container() to send/not send apply based on setting.
    Add close_container_callback() which is used for the 'close' button,
    which has to always send the apply command.
    MSW 2003-10-08
  • 2003-10-08 07:15 mwedel
  • [r2384] trunk/client/CHANGES, trunk/client/common/commands.c common/commands.c: improve expand_face() - there was the problem if multipart
    object that overlapped not always being drawn properly. This is because
    expand_face would basicaly put the first one it received on the lower
    stack - this is fine if you came from above, but was incorrect if you
    approached from the south. expand_face() now checks to see which one
    should overlap the other, based on where the coordinates would put it.
    MSW 2003-10-07
  • 2003-10-06 07:04 mwedel
  • [r2380] trunk/client/CHANGES, trunk/client/common/client.h, trunk/client/x11/png.c, trunk/client/x11/x11.c, trunk/client/x11/x11.h, trunk/client/x11/xutil.c Bulk of this commit is to fix big image support for the X11 client.
    common/client.h: Add a couple new defines to denote how big the largest
    image may be, minimum reasonable map size for the_map structure,
    and how far off the map a head could be.
    x11/png.c: Remove hard coded values of images being 32 pixels wide/high.
    Also, store away actual size of images, needed for big image stuff
    to get filled in properly.
    x11/x11.c: Add an error handler to make it easier to catch bugs
    (gets real stack trace instead of the program exiting). Fix
    up the gen_draw_face to properly draw big images, change
    call to allocate map to pass in new larger values.
    x11/x11.h: Add width, height values to Pixmap data structure.
    x11/xutil.c: Change the routine to recenter virtual map some - we need
    to take into account that there can be big images, so include that
    value in when seeing if we are too close to the map edge.
    MSW 2003-10-05
  • 2003-10-02 06:53 mwedel
  • [r2365] trunk/client/configure, trunk/client/configure.in Put in proper code for alsa9 support.
    Patch by common/loader.l, applied by MSW 2003-10-01
  • 2003-09-13 05:25 mwedel
  • [r2318] trunk/client/CHANGES, trunk/client/common/commands.c, trunk/client/common/init.c, trunk/client/common/proto.h, trunk/client/gtk/gx11.c, trunk/client/gtk/gx11.h, trunk/client/gtk/sdl.c common/commands.c: Add call to reset_player_data() - necessarily for
    data to be sanely displayed for next time player logs in.
    common/init.c: add reset_player_data - clears out skill data.
    gtk/gx11.c: Add code to erase skills that current player doesn't know.
    Some alternative map drawing code also in place, but disabled.
    gtk/gx11.h: Add ALTERNATE_MAP_REDRAW define.
    gtk/sdl.c: Add check for ALTERNATE_MAP_REDRAW.
    MSW 2003-09-12
  • 2003-09-12 16:12 crowbert
  • [r2313] trunk/client/x11/x11.c remove unused tmp_exceptions and add missing file close
  • 2003-09-12 16:04 crowbert
  • [r2312] trunk/client/gtk/gx11.c remove unused tmp_exceptions and add missing file close
  • 2003-09-11 20:12 crowbert
  • [r2310] trunk/client/gtk/gtkproto.h add SDL prototypes to avoid warnings
  • 2003-09-11 17:12 crowbert
  • [r2309] trunk/client/common/commands.c remove some compiler warnings; no binary changes
  • 2003-08-08 17:06 tchize
  • [r2282] trunk/client/gtk/map.c Fixed a bug in gtk client which cleared multipart object when tail was
    scrolling in the map.
  • 2003-07-16 17:29 tchize
  • [r2252] trunk/client/common/commands.c Fixed a slight bug with animation borders. Now lava, sea, etc have their smooth border animated in
    sync with the mapfaces.
  • 2003-07-16 12:36 tchize
  • [r2251] trunk/client/gtk/map.c Corrected a small bug which implied redrawing the whole map instead of changed parts.
    Increases redraw performances a lot.
  • 2003-07-15 14:49 tchize
  • [r2241] trunk/client/common/commands.c, trunk/client/gtk/map.c Little performances upgrade in smoothing code.
    improves include:
    - don't try to draw if weight is 0 (empty border or empty corner)
    - suppressed a useless gdk_gc_set_clip_mask
    - more intelligent need_resmooth flag.
  • 2003-07-11 11:46 tchize
  • [r2225] trunk/client/gtk/map.c Fixed a bug implying a client crash if smoothing was activated but not
    images cache.
  • 2003-07-08 12:52 tchize
  • [r2211] trunk/client/CHANGES, trunk/client/common/client.c, trunk/client/common/client.h, trunk/client/common/commands.c, trunk/client/common/image.c, trunk/client/common/proto.h, trunk/client/gtk/config.c, trunk/client/gtk/image.c, trunk/client/gtk/map.c Updated smoothing code. Now uses the 32 transitions way instead of the
    first try 8 way.
  • 2003-06-25 17:13 crowbert
  • [r2199] trunk/client/common/client.h, trunk/client/common/init.c, trunk/client/gtk/config.c, trunk/client/gtk/gcfclient.man, trunk/client/gtk/gx11.c add config option for controling generation of the splash screen
  • 2003-06-19 12:23 tchize
  • [r2195] trunk/client/common/client.c, trunk/client/common/client.h, trunk/client/common/commands.c, trunk/client/common/image.c, trunk/client/common/init.c, trunk/client/common/newclient.h, trunk/client/common/newsocket.c, trunk/client/common/proto.h, trunk/client/gtk/config.c, trunk/client/gtk/gtkproto.h, trunk/client/gtk/map.c, trunk/client/gtk/png.c, trunk/client/x11/x11proto.h Added support for smoothing
    common part: added protocol modification + structures add-ons
    gtk part: updated non SDL drawing routines to draw smoothing (SDL still
    to be done)

    Client have been test with older servers to ensure backward
  • 2003-05-25 23:37 mwedel
  • [r2158] trunk/client/CHANGES, trunk/client/gtk/gx11.c, trunk/client/x11/x11.c, trunk/client/x11/xutil.c gtk/gx11.c: Change skill experience display - instead of skill
    name and exp/level being the same string and same table element,
    add additional columns, so the skill name is in one, the exp/level
    in another. IMO, this makes for cleaner display, as the exp
    totals for the different skills then line up better. Also, fix
    some display bug when new skills need to be displayed.
    x11/x11.c: Fix bug where stipple patterns where being improperly
    displayed/retained in fog of war and darkness modes.
    x11/xutil.c: always set cleared and need_update flag for map scrolls -
    fixes bug of big objects (griffons for example) not being drawn
    MSW 2003-05-25
  • 2003-05-24 13:58 jbontje
  • [r2143] trunk/client/gtk/gx11.c Fixed typo (thanks buzzsaw)
    mids 2003-05-25
  • 2003-05-19 03:24 mwedel
  • [r2131] trunk/client/CHANGES, trunk/client/x11/x11.c x11/x11.c: Add darkness and fog of war tiling stipling, so it is now
    clearer what spaces are dark and which spaces are fog of war
    spaces. Add -fogofwar and -nofogofwar command line options.
    MSW 2003-05-18
  • 2003-05-18 05:59 mwedel
  • [r2128] trunk/client/CHANGES, trunk/client/common/Makefile.in, trunk/client/common/client-types.h, trunk/client/common/client.c, trunk/client/common/client.h, trunk/client/common/commands.c, trunk/client/common/config.h.in, trunk/client/common/external.h, trunk/client/common/init.c, trunk/client/common/newclient.h, trunk/client/common/newsocket.c, trunk/client/common/proto.h, trunk/client/configure, trunk/client/configure.in, trunk/client/gtk/gx11.c, trunk/client/x11/x11.c Bulk of this change is to support the upcoming split skill experience system.
    skill names are now sent to the client. Backwards compatibility with older
    servers is in place - however, the client will now only show those skills
    which the player has a non zero exp total in the stat window.
    configure, configure.in: Add checks for size of long and long long - needed to
    have 64 bit types.
    common/Makefile.in: modify proto to define CPROTO so we can avoid including
    proto.h when cproto runs.
    common/client-types.h: Add checks to define uint64/sint64 types.
    common/client.c: Modify setup command to send 'exp64' request. Change
    definition of skill_names.
    common/client.h: Make MAX skilled tied in with CS_NUM_SKILLS. update exp and
    skill_exp to 64 bit types. Don't include proto.h if CPROTO is defined.
    common/commands.c: Add get_skill_info() which gets skill number->name mapping.
    Add code to handle exp64 setup request/failure. Update StatsCmd to support
    64 bit exp for new skill mapping, as well as 64 bit overall exp for player.
    common/config.h.in: Add SIZEOF_LONG and SIZEOF_LONG_LONG for autoconf.
    common/external.h: Add menu_clear() protoype.
    common/init.c: Add code to init skill values/names.
    common/newclient.h: Resync from server code.
    common/newsocket.c: Add GetInt64_String() function.
    common/proto.h: rebuilt.
    gtk/gx11.c: always include errno.h. Modify layout of skill exp table
    (properly set up rows/columns). Add some padding to the entries, and don't
    pre-set the names. Modify draw logic to handle 64 bit values. Modify draw
    to only draw skills which player has exp in.
    x11/x11.c: update draw logic to handle 64 bit exp values, only draw
    skill exp when player has exp in the category.
    MSW 2003-05-17
  • 2003-03-24 08:03 mwedel
  • [r2075] trunk/client/CHANGES, trunk/client/common/client.c common/client.c: Add some usleeps() in negotiate_connection() - this reduces
    cpu load when negotiating the connection (given 10 ms for data to actually
    come in before checking for new data). Also, add a count and if we don't
    get a response back from the server in the time frame, bail out.
    MSW 2003-03-24
  • 2003-03-24 06:01 mwedel
  • [r2073] trunk/client/CHANGES, trunk/client/common/client.c, trunk/client/configure, trunk/client/configure.in, trunk/client/gtk/gx11.h, trunk/client/gtk/image.c, trunk/client/gtk/sdl.c, trunk/client/x11/x11.c 276 draw_info(" savewinpos - save window positions - ", NDI_BLACK);
    277 draw_info(" split windows mode only", NDI_BLACK);
    278 draw_info(" savedefaults save various defaults into", NDI_BLACK);
    279 draw_info(" ~/.crossfire/defaults", NDI_BLACK);
    280 draw_info(" show - determine what type of items", NDI_BLACK);
    281 draw_info(" to show in inventory", NDI_BLACK);
    317 void command_take (const char *command, char *cpnext)
    318 {
    319 /* If the player has specified optional data, or the player
    320 * does not have a container open, just issue the command
    321 * as normal
    322 */
    323 if (cpnext || cpl.container == NULL)
    324 send_command(command, cpl.count, 0);
    325 else {
    326 if (cpl.container->inv == NULL)
    327 draw_info("There is nothing in the container to move", NDI_BLACK);
    328 else
    329 cs_print_string(csocket.fd,"move %d %d %d", cpl.ob->tag,
    330 cpl.container->inv->tag, cpl.count);
    331 }
    332 }
    335 /* This is an extended command (ie, 'who, 'whatever, etc). In general,
    336 * we just send the command to the server, but there are a few that
    337 * we care about (bind, unbind)
    338 *
    339 * The command past to us can not be modified - if it is a keybinding,
    340 * we get passed the string that is that binding - modifying it effectively
    341 * changes the binding.
    342 */
    344 void extended_command(const char *ocommand) {
    345 const char *cp = ocommand;
    346 char *cpnext, command[MAX_BUF];
    348 if ((cpnext = strchr(cp, ' '))!=NULL) {
    349 int len = cpnext - ocommand;
    350 if (len > (MAX_BUF -1 )) len = MAX_BUF-1;
    352 strncpy(command, ocommand, len);
    353 command[len] = '\0';
    354 cp = command;
    355 while (*cpnext == ' ')
    356 cpnext++;
    357 if (*cpnext == 0)
    358 cpnext = NULL;
    359 }
    361 /* cp now contains the command (everything before first space),
    362 * and cpnext contains everything after that first space. cpnext
    363 * could be NULL.
    364 */
    366 /* I alphabetized the list of commands below to make it easier to
    367 * find/see what the extended commands are and what they do.
    368 */
    369 if (!strcmp(cp,"autorepeat")) set_autorepeat(cpnext);
    370 else if (!strcmp(cp, "bind")) bind_key(cpnext);
    336 * we just send the command to the server, but there are a few that
    337 * we care about (bind, unbind)
    338 *
    339 * The command past to us can not be modified - if it is a keybinding,
    340 * we get passed the string that is that binding - modifying it effectively
    341 * changes the binding.
    342 */
    344 void extended_command(const char *ocommand) {
    345 const char *cp = ocommand;
    346 char *cpnext, command[MAX_BUF];
    348 if ((cpnext = strchr(cp, ' '))!=NULL) {
    349 int len = cpnext - ocommand;
    350 if (len > (MAX_BUF -1 )) len = MAX_BUF-1;
    352 strncpy(command, ocommand, len);
    353 command[len] = '\0';
    354 cp = command;
    355 while (*cpnext == ' ')
    356 cpnext++;
    357 if (*cpnext == 0)
    358 cpnext = NULL;
    359 }
    361 /* cp now contains the command (everything before first space),
    362 * and cpnext contains everything after that first space. cpnext
    363 * could be NULL.
    364 */
    366 /* I alphabetized the list of commands below to make it easier to
    367 * find/see what the extended commands are and what they do.
    368 */
    369 if (!strcmp(cp,"autorepeat")) set_autorepeat(cpnext);
    370 else if (!strcmp(cp, "bind")) bind_key(cpnext);
    371 else if (!strcmp(cp,"cwindow")) set_command_window(cpnext);
    Jove (C) [image.c:3] "common/player.c" - /export/home/crossfire/client-CVS (23:25)
    [hugin:/export/home/crossfire/client-CVS] (137) % l
    CHANGES Makefile.in aclocal.m4 config.status* gmon.out macros/ x11/
    COPYING NOTES autom4te-2.53.cache/ configure* gnome/ pixmaps/
    CVS/ README autom4te.cache/ configure.in gtk/ sdl/
    License README.rpm common/ crossfire-client.spec help/ sound-src/
    Makefile TODO config.log cscope.out logfile utils/
    [hugin:/export/home/crossfire/client-CVS] (138) % more README
    Install Steps:

    0) Prerequisites:
    You will need the XPM library to compile the client.
    If you want to run the gtk client, you will need to install the gtk
    If you want png support, you will need to install the png
    If you want sdl support ( recommended) you will need both gtk and png
    as well as the main SDL library and the SDL_image library, both of
    which can be found at http://www.libsdl.org if not already installed
    on your system.

    1) type './configure' to configure for your OS/system. Most options
    normally understood by configure should be available.
    The configure script will try to make all the right decisions. It will
    search for the needed libraries and headers. You may need to give
    hints on the locations of some files (png library, gtk library).

    If configure finds gtk libraries, it will build the gcfclient in addition
    to the cfclient. If you don't want this (only cfclient), use the
    --disable-gtk (there is no way to disable the cfclient at this time -
    if you are able to compile the gtk client, you also have all the tools for
    for the cfclient).

    If SDL libraries are found on your system, SDL support is automatically
    compiled it (Note: only the gcfclient supports sdl). Use --disable-sdl
    if you don't want this.

    The system will use the new sound system if available (this is a seperate
    sound daemon). If you want to use the builtin sound system, use
    the --enable-old-sound. See sound notes further down.

    To specify additional places to find header files, use the
    --with-includes=value - this includes any -I or other options to provide
    the compiler. Example:
    ./configure --with-includes="-I/usr/local/include -I/opt/xpm/include"

    Similarly, there is a --with-ldflags option. Example:
    ./configure --with-ldflags="-L/usr/local/lib -R/usr/local/lib"
    -R is used on many systems to specify run location for libraries so
    you don't need to set LD_LIBRARY_PATH.

    Generally, if you are setting --with-includes, your probably need to
    set --with-ldflags, as if one is not in a standard place, the other
    probably is not either.

    The client works with the 0.5 version of the ALSA sound system.
    If you are using a newer version and are having troubles compiling,
    try running configure with the '--disable-alsa' option.

    2) Type 'make depend; make' to compile the client. If you get link errors,
    it may be because you have an older version of the gtk libraries. If
    you get errors like 'can't find target client.c', your make program
    isn't very good and use should get/use gnu make instead.

    3) Type 'make install' to install the binaries.

    4) The client can be run by typing 'cfclient' for the X11 version, gcfclient
    for the gtk client, gcfclient -sdl for the SDL version.

    Converting keybindings from old save files for use with the client:

    1) You will need to get a copy of your character file.

    2) Type "mkdir ~/.crossfire". This will automatically be done the first
    time you run the client.

    3) Type awk 'BEGIN {ORS=" "} /^key /
    {for (i=2; i<=NF; i++) print $i;printf "\n"}'
    infile > ~/.crossfire/keys
    (Note that this should all be entered on one line, but is broken up
    here to be more readable.)
    'infile' is the name of the character file.

    Note that the client use global keybindings, and not per character. This
    means that the same keybindings will be for all characters you play with the

    The gtk client and x11 client both use the same keybindings file.

    Sound support:

    If you wnat sound support (only useful if you have a system that has good
    sound hardware), you will also need to get some sounds for the program.
    You will need the raw sound files - the .au files no longer work with the

    The sounds file determines what file is played for what sound. The default
    location for the sound files is <prefix>/share/cfclient/sounds. <prefix>
    is the -prefix= option given when running configure, default of /usr/local.

    You can set this to another directory at the configure stage by using
    --with-sound-dir=/some/directory. This file is only used for compiled in
    defaults. If you have a ~/.crossfire/sounds file (some format), that file
    will be used instead of the built in defaults.

    Sound are now played by separate process invoked from crossfire client.
    The process - called sound server - adjusts sounds' volume according to
    relative position of player and sound source on map and mixes the sounds
    together, so many sounds can be played simultaneously.


    The config file ~/.crossfire/sndconfig contains some configurable settings. If
    there is no such file, one with default settings will be created.

    The file contains following fields:

    stereo: 1 means stereo sound, 0 - mono

    bits: bitrate of generated sound - 8 or 16
    16 means better quality, especially when more sounds
    are to be played simultaneously, but takes more memory

    signed: if we should sent signed data to the soundcard. 1 means yes.

    frequency: speed of playing data. This should be 11025, or sound pitch
    will change

    buffers: how many buffers to allocate
    buflen: how big the buffers should be. buffers*buflen shouldn't be
    smaller than the longest sound to be played.

    simultaneously: home many sound can be played at the same time. When this
    setting is bigger, each sound volume will decrease.


    The sound server gets information about sounds to be played on standard input.
    The information is a line:
    <sound number> <sound type> <relative x> <relative y>
    All those numbers are hex.
    The file ~/.crossfire/sounds contains description of sound numbers and types.
    For example:
    3 0 5 0
    Means that normal sound SOUND_FUMBLE spell should be played as it's source was
    5 units to the right of player.

    Sounds are mixed in special buffers, which are in fact one buffer, which should
    be big enough for the biggest sound to be played.

    The buffers, if contain anything, are sent one by one to the sound device.
    Each buffer is cleaned after playing.

    Sounds data is multiplied by some ratio (<1) evaluated from it's position and
    volume and added to the buffers, starting from the next after the one being

    So bigger buffer means bigger delay, before th sound is actually played, but
    the smaller buffer is, the bigger is possibility, we won't succeed filling the
    next buffer, before last is played.


    The client will get any images that it is missing from the server. This
    can include the entire image set.

    To decrease bandwidth used when actually playing the sounds, it is suggested
    you download the image archive and install it. The default location
    for the archive is <prefix>/share/cfclient/, where <prefix> is deteremined
    by the -prefix= option given when running configure.

    The mechanism the client uses to find a matching image file when the
    server tells it an image name is thus:

    1) Look in ~/.crossfire/gfx. If an image is found here, irrespective of the
    set and checksum of the image on the server, it will be used. The only
    way images are placed into the gfx directory is by the user actually
    copying them to that directory. The gfx directory allows a user to override
    images with versions he prefers.

    2) Look in ~/.crossfire/crossfire-images then <prefix>/share/cfclient/crossfire-images.
    If the checksum matches the image from the
    respective directory is used. Note that if the checksums match, it really doesn't
    matter what image location we use, as it is the same image.

    4) Get the image from the server. If -cache is set, a copy of it is put into

    Authors of the client:

    Mark Wedel (mwedel@sonic.net) - general client source and Xlib client
    David Sundqvist (azzie@netpolicy.com) - GTK+ port
    Raphael Quinet (Raphael.Quinet@eed.ericsson.se) - Configure scripts and
    Jacek Konieczny <jajcus@zeus.polsl.gliwice.pl> - New Sound System support.
    Eric Anderson did a lot of initial work on the client.
    Scott MacFiggen (smurf@CSUA.Berkeley.EDU) - SDL support
    [hugin:/export/home/crossfire/client-CVS] (139) %
    [hugin:/export/home/crossfire/client-CVS] (139) % ls
    CHANGES Makefile.in aclocal.m4 config.status gmon.out macros x11
    COPYING NOTES autom4te-2.53.cache configure gnome pixmaps
    CVS README autom4te.cache configure.in gtk sdl
    License README.rpm common crossfire-client.spec help sound-src
    Makefile TODO config.log cscope.out logfile utils
    [hugin:/export/home/crossfire/client-CVS] (140) % cvs update -dP
    Warning: Remote host denied X11 forwarding.
    ? autom4te-2.53.cache
    ? autom4te.cache
    ? cscope.out
    ? gmon.out
    ? logfile
    dark0 = the_map.cells[mx][my].darkness;

    if (y-1 < 0 || !the_map.cells[mx][my-1].have_darkness) dark1 = dark0;
    else dark1 = the_map.cells[mx][my-1].darkness;

    if (x+1 >= use_config[CONFIG_MAPWIDTH] || !the_map.cells[mx+1][my].have_darkness) dark2 =!
    else dark2 = the_map.cells[mx+1][my].darkness;

    if (y+1 >= use_config[CONFIG_MAPHEIGHT] || !the_map.cells[mx][my+1].have_darkness) dark3 !
    else dark3 = the_map.cells[mx][my+1].darkness;

    if (x-1 < 0 || !the_map.cells[mx-1][my].have_darkness) dark4 = dark0;
    else dark4 = the_map.cells[mx-1][my].darkness;

    /* If they are all the same, processing is easy */
    if (dark0 == dark1 && dark0 == dark2 && dark0 == dark3 && dark0 == dark4) {
    dst.x = x * map_image_size;
    dst.y = y * map_image_size;
    dst.w = map_image_size;
    dst.h = map_image_size;

    if (dark0 == 255) {
    SDL_FillRect(mapsurface,&dst, SDL_MapRGB(mapsurface->format, 0, 0, 0));
    } else if (the_map.cells[mx][my].darkness != 0) {
    SDL_FillRect(lightmap,NULL, SDL_MapRGBA(lightmap->format, 0, 0, 0, the_map.cells[!
    SDL_BlitSurface(lightmap, NULL, mapsurface, &dst);

    if (use_config[CONFIG_LIGHTING] == CFG_LT_PIXEL ) {
    /* This almost works as well as the per pixel code below, but does have some various
    * artifacts in the drawing. It uses the same logic as the per pixel code below,
    * bit since SDL does the blit, the alpha handling ends up being different
    Jove (C) [sdl.c:3] "sdl.c" - /export/home/crossfire/client-CVS/gtk (23:34)
    [hugin:/export/home/crossfire/client-CVS/gtk] (145) %
    [hugin:/export/home/crossfire/client-CVS/gtk] (145) % l
    CVS/ config.o gcfclient.man gx11.h keys.c png.c sound.c
    Makefile crossfire-client.desktop gtkproto.h gx11.o keys.o png.o sound.o
    Makefile.in cscope.out gx11.c image.c map.c sdl.c
    config.c gcfclient* gx11.c~ image.o map.o sdl.o
    [hugin:/export/home/crossfire/client-CVS/gtk] (146) % l *.h
    gtkproto.h gx11.h
    [hugin:/export/home/crossfire/client-CVS/gtk] (147) % more gx11.h
    * static char *rcsid_gx11_h =
    * "$Id: gx11.h,v 1.6 2002/05/22 04:58:26 mwedel Exp $";
    Crossfire client, a client program for the crossfire program.

    Copyright (C) 2001 Mark Wedel & Crossfire Development Team

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

    The author can be reached via e-mail to crossfire-devel@real-time.com

    #ifndef GX11_H
    #define GX11_H

    #include "client-types.h"
    #include "item.h"

    extern int map_size, image_size, map_image_size, map_image_half_size;
    extern uint8 map_did_scroll;
    extern uint8 updatekeycodes, time_map_redraw,redraw_needed;
    extern int updatelock;

    /* Pixmap data. This is abstracted in the sense that the
    /* Pixmap data. This is abstracted in the sense that the
    * code here does not care what the data points to (hence the
    * void). The module using this data should know whether it
    * is these point to png data or image data of whatever form.
    * The module is not required to use all these fileds -
    * as png data includes transperancy, it will generally not
    * use the mask fields and instead just put its data into the
    * appropiate image fields.
    * As images can now be of variable size (and potentially re-sized),
    * the size information is stored here.
    #define DEFAULT_IMAGE_SIZE 32
    #define MAXPIXMAPNUM 10000
    typedef struct {
    void *icon_mask, *icon_image;
    uint16 icon_width, icon_height;
    void *map_mask, *map_image;
    uint16 map_width, map_height;
    void *fog_mask, *fog_image;
    } PixmapInfo;

    extern PixmapInfo *pixmaps[MAXPIXMAPNUM];

    /* Some global widgetws */
    extern GtkWidget *gtkwin_root,*drawingarea,*run_label,*fire_label;
    extern GtkWidget *gtkwin_info, *gtkwin_stats, *gtkwin_message;
    extern GtkWidget *gtkwin_look, *gtkwin_inv, *gtkwin_config;
    extern GtkWidget *entrytext, *counttext;
    extern GdkPixmap *mapwindow,*dark;
    extern GdkBitmap *dark1, *dark2, *dark3;
    extern GdkGC *mapgc;
    extern GtkWidget *ckentrytext, *ckeyentrytext, *cmodentrytext,*cnumentrytext, *cclist;
    extern GtkTooltips *tooltips;

    #define TYPE_LISTS 9
    Jove (C) [gx11.h:3] "gx11.h" - /export/home/crossfire/client-CVS/gtk (23:39)
    /* Pixmap data. This is abstracted in the sense that the
    * code here does not care what the data points to (hence the
    * void). The module using this data should know whether it
    * is these point to png data or image data of whatever form.
    * The module is not required to use all these fileds -
    * as png data includes transperancy, it will generally not
    * use the mask fields and instead just put its data into the
    * appropiate image fields.
    * As images can now be of variable size (and potentially re-sized),
    * the size information is stored here.
    #define DEFAULT_IMAGE_SIZE 32
    #define MAXPIXMAPNUM 10000
    typedef struct {
    void *icon_mask, *icon_image;
    uint16 icon_width, icon_height;
    void *map_mask, *map_image;
    uint16 map_width, map_height;
    void *fog_mask, *fog_image;
    } PixmapInfo;

    extern PixmapInfo *pixmaps[MAXPIXMAPNUM];

    /* Some global widgetws */
    extern GtkWidget *gtkwin_root,*drawingarea,*run_label,*fire_label;
    extern GtkWidget *gtkwin_info, *gtkwin_stats, *gtkwin_message;
    extern GtkWidget *gtkwin_look, *gtkwin_inv, *gtkwin_config;
    extern GtkWidget *entrytext, *counttext;
    extern GdkPixmap *mapwindow,*dark;
    extern GdkBitmap *dark1, *dark2, *dark3;
    extern GdkGC *mapgc;
    extern GtkWidget *ckentrytext, *ckeyentrytext, *cmodentrytext,*cnumentrytext, *cclist;
    extern GtkTooltips *tooltips;

    #define TYPE_LISTS 9
    [hugin:/export/home/crossfire/client-CVS/gtk] (148) % man printf
    <standard input>:45: a newline character is not allowed in an escape name
    <standard input>:48: a newline character is not allowed in an escape name
    <standard input>:57: cannot use newline as a starting delimiter
    <standard input>:60: warning: numeric expression expected (got `N')

    printf - format and print data

    printf FORMAT [ARGUMENT]...
    printf OPTION

    Print ARGUMENT(s) according to FORMAT.

    --help display this help and exit

    output version information and exit

    FORMAT controls the output as in C printf. Interpreted sequences are:

    double quote

    NNN character with octal value NNN (0 to 3 digits)

    b backslash
    c.... alert (BEL)
    s.TP produce no further output
    form feed

    new line
    carriage return

    horizontal tab

    vertical tab

    N character with hexadecimal value NNN (1 to 3 digits)

    %% a single %

    %b ARGUMENT as a string with `<B4> escapes interpreted

    and all C format specifications ending with one of diouxXfeEgGcs, with ARGU<AD>
    MENTs converted to proper type first. Variable widths are handled.

    Report bugs to <bug-sh-utils@gnu.org>.

    The full documentation for printf is maintained as a Texinfo manual. If the
    info and printf programs are properly installed at your site, the command

    info printf

    should give you access to the complete manual.

    Copyright <A9> 1999 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO

    GNU sh-utils 2.0 July 2000 PRINTF(1)
    PRINTF(3) Linux Programmer's Manual PRINTF(3)

    printf, fprintf, sprintf, snprintf, vprintf, vfprintf, vsprintf, vsnprintf -
    formatted output conversion

    #include <stdio.h>

    int printf(const char *format, ...);
    int fprintf(FILE *stream, const char *format, ...);
    int sprintf(char *str, const char *format, ...);
    int snprintf(char *str, size_t size, const char *format, ...);

    #include <stdarg.h>

    int vprintf(const char *format, va_list ap);
    int vfprintf(FILE *stream, const char *format, va_list ap);
    int vsprintf(char *str, const char *format, va_list ap);
    int vsnprintf(char *str, size_t size, const char *format, va_list ap);

    The functions in the printf family produce output according to a format as
    described below. The functions printf and vprintf write output to stdout, the
    standard output stream; fprintf and vfprintf write output to the given output
    stream; sprintf, snprintf, vsprintf and vsnprintf write to the character
    string str.

    The functions vprintf, vfprintf, vsprintf, vsnprintf are equivalent to the
    functions printf, fprintf, sprintf, snprintf, respectively, except that they
    are called with a va_list instead of a variable number of arguments. These
    functions do not call the va_end macro. Consequently, the value of ap is unde<AD>
    fined after the call. The application should call va_end(ap) itself after<AD>

    These eight functions write the output under the control of a format string
    that specifies how subsequent arguments (or arguments accessed via the vari<AD>
    able-length argument facilities of stdarg(3)) are converted for output.

    Return value
    These functions return the number of characters printed (not including the
    trailing '\0' used to end output to strings). The functions snprintf and
    vsnprintf do not write more than size bytes (including the trailing '\0'). If
    the output was truncated due to this limit then the return value is the number
    of characters (not including the trailing '\0') which would have been written
    to the final string if enough space had been available. Thus, a return value
    of size or more means that the output was truncated. (See also below under

    Format of the format string
    The format string is a character string, beginning and ending in its initial
    shift state, if any. The format string is composed of zero or more direc<AD>
    tives: ordinary characters (not %), which are copied unchanged to the output
    stream; and conversion specifications, each of which results in fetching zero
    or more subsequent arguments. Each conversion specification is introduced by
    the character %, and ends with a conversion specifier. In between there may
    be (in this order) zero or more flags, an optional minimum field width, an
    optional precision and an optional length modifier.

    The arguments must correspond properly (after type promotion) with the conver<AD>
    sion specifier. By default, the arguments are used in the order given, where
    each `*' and each conversion specifier asks for the next argument (and it is
    an error if insufficiently many arguments are given). One can also specify
    explicitly which argument is taken, at each place where an argument is
    required, by writing `%m$' instead of `%' and `*m$' instead of `*', where the
    decimal integer m denotes the position in the argument list of the desired
    argument, indexed starting from 1. Thus,
    printf("%*d", width, num);
    printf("%2$*1$d", width, num);
    are equivalent. The second style allows repeated references to the same argu<AD>
    ment. The C99 standard does not include the style using `$', which comes from
    the Single Unix Specification. If the style using `$' is used, it must be
    used throughout for all conversions taking an argument and all width and pre<AD>
    cision arguments, but it may be mixed with `%%' formats which do not consume
    an argument. There may be no gaps in the numbers of arguments specified using
    `$'; for example, if arguments 1 and 3 are specified, argument 2 must also be
    specified somewhere in the format string.

    For some numeric conversions a radix character (`decimal point') or thousands'
    grouping character is used. The actual character used depends on the
    LC_NUMERIC part of the locale. The POSIX locale uses `.' as radix character,
    and does not have a grouping character. Thus,
    printf("%'.2f", 1234567.89);
    results in `1234567.89' in the POSIX locale, in `1234567,89' in the nl_NL
    locale, and in `1.234.567,89' in the da_DK locale.

    The flag characters
    The character % is followed by zero or more of the following flags:

    # The value should be converted to an ``alternate form''. For o conver<AD>
    sions, the first character of the output string is made zero (by pre<AD>
    fixing a 0 if it was not zero already). For x and X conversions, a
    non-zero result has the string `0x' (or `0X' for X conversions)
    prepended to it. For a, A, e, E, f, F, g, and G conversions, the
    result will always contain a decimal point, even if no digits follow it
    (normally, a decimal point appears in the results of those conversions
    only if a digit follows). For g and G conversions, trailing zeros are
    not removed from the result as they would otherwise be. For other con<AD>
    versions, the result is undefined.

    0 The value should be zero padded. For d, i, o, u, x, X, a, A, e, E, f,
    F, g, and G conversions, the converted value is padded on the left with
    zeros rather than blanks. If the 0 and - flags both appear, the 0 flag
    is ignored. If a precision is given with a numeric conversion (d, i,
    o, u, x, and X), the 0 flag is ignored. For other conversions, the
    behavior is undefined.

    - The converted value is to be left adjusted on the field boundary. (The
    default is right justification.) Except for n conversions, the con<AD>
    verted value is padded on the right with blanks, rather than on the
    left with blanks or zeros. A - overrides a 0 if both are given.

    ' ' (a space) A blank should be left before a positive number (or empty
    string) produced by a signed conversion.

    + A sign (+ or -) always be placed before a number produced by a signed
    conversion. By default a sign is used only for negative numbers. A +
    overrides a space if both are used.

    The five flag characters above are defined in the C standard. The SUSv2 spec<AD>
    ifies one further flag character.

    ' For decimal conversion (i, d, u, f, F, g, G) the output is to be
    grouped with thousands' grouping characters if the locale information
    indicates any. Note that many versions of gcc cannot parse this option
    and will issue a warning. SUSv2 does not include %'F.

    glibc 2.2 adds one further flag character.

    I For decimal integer conversion (i, d, u) the output uses the locale's
    alternative output digits, if any (for example, Arabic digits). How<AD>
    ever, it does not include any locale definitions with such outdigits

    The field width
    An optional decimal digit string (with nonzero first digit) specifying a mini<AD>
    mum field width. If the converted value has fewer characters than the field
    width, it will be padded with spaces on the left (or right, if the left-
    adjustment flag has been given). Instead of a decimal digit string one may
    write `*' or `*m$' (for some decimal integer m) to specify that the field
    width is given in the next argument, or in the m-th argument, respectively,
    which must be of type int. A negative field width is taken as a `-' flag fol<AD>
    lowed by a positive field width. In no case does a non-existent or small
    field width cause truncation of a field; if the result of a conversion is
    wider than the field width, the field is expanded to contain the conversion

    The precision
    An optional precision, in the form of a period (`.') followed by an optional
    decimal digit string. Instead of a decimal digit string one may write `*' or
    `*m$' (for some decimal integer m) to specify that the precision is given in
    the next argument, or in the m-th argument, respectively, which must be of
    type int. If the precision is given as just `.', or the precision is nega<AD>
    tive, the precision is taken to be zero. This gives the minimum number of
    digits to appear for d, i, o, u, x, and X conversions, the number of digits to
    appear after the radix character for a, A, e, E, f, and F conversions, the
    maximum number of significant digits for g and G conversions, or the maximum
    number of characters to be printed from a string for s and S conversions.

    The length modifier
    Here, `integer conversion' stands for d, i, o, u, x, or X conversion.

    hh A following integer conversion corresponds to a signed char or unsigned
    char argument, or a following n conversion corresponds to a pointer to
    a signed char argument.

    h A following integer conversion corresponds to a short int or unsigned
    short int argument, or a following n conversion corresponds to a
    pointer to a short int argument.

    l (ell) A following integer conversion corresponds to a long int or
    unsigned long int argument, or a following n conversion corresponds to
    a pointer to a long int argument, or a following c conversion corre<AD>
    sponds to a wint_t argument, or a following s conversion corresponds to
    a pointer to wchar_t argument.

    ll (ell-ell). A following integer conversion corresponds to a long long
    int or unsigned long long int argument, or a following n conversion
    corresponds to a pointer to a long long int argument.

    L A following a, A, e, E, f, F, g, or G conversion corresponds to a long
    double argument. (C99 allows %LF, but SUSv2 does not.)

    q (`quad'. BSD 4.4 and Linux libc5 only. Don't use.) This is a synonym
    for ll.

    "$Id: CHANGES,v 1.97 2003/02/25 07:52:21 mwedel Exp $"
    Top of CVS tree:

    configure.in, configure: checks added for alsa9 sound - update for cfsndserv.c
    should come shortly.
    common/client.c: Fix setup problem - it was using FOGWAR setting when
    determining if client wanted darkness - should have been using darkness
    setting. This was resulting in darkness not being used if fog of war was
    turned off.
    x11/x11.c: Modify handling of mouse button press logic - rather than only
    modifier being shift, do appropriate logic if the shift mask is set,
    but does not have to be only modifier set.
    The following bits changes how fog of war looks in SDL mode. Now, fog of
    war spaces are drawn in greyscale, instead of half darkness. This makes
    it clearer what the status of the space is (fog of war/darkness). This change
    probably uses less cpu to draw, but uses more memory for the images (as it
    now has to store a rendered greyscale image). If not using SDL, you'll still
    have the old behaviour (dimmed spaces for fog of war), and no significant
    amount of extra memory will be used.
    gtk/gx11.h: Add fog_image pointer to PixmapInfo structure.
    gtk/image.c: Add code to render greyscale image. Also add code to free
    greyscale image.
    gtk/sdl.c: Modify map draw code to use grey fog image if space is fog of
    war space. Disable dimming of fog spaces - no longer necessary as
    space now looks different.
    MSW 2003-03-24
  • 2003-02-27 04:20 tanner
  • [r2047] trunk/client/crossfire-client.spec * Wed Feb 26 2003 Bob Tanner <tanner@real-time.com>
    + crossfire-client-1.5.0-1.realtime
    - new release 1.5.0
  • 2003-02-25 07:52 mwedel
  • [r2044] trunk/client/CHANGES, trunk/client/TODO, trunk/client/configure, trunk/client/configure.in Update for 1.5.0 release.
    MSW 2003-02-24
  • 2003-02-21 17:26 crowbert
  • [r2035] trunk/client/gtk/gx11.c display pickup mode code with setting new pickup mode
  • 2003-02-21 17:15 crowbert
  • [r2034] trunk/client/common/player.c, trunk/client/x11/x11.c add "clearinfo" command for gtk client
  • 2003-02-20 07:55 mwedel
  • [r2030] trunk/client/CHANGES, trunk/client/gtk/png.c, trunk/client/x11/png.c gtk/png.c, x11/png.c: Fix bug in rescale_rgba_data() that was potentially
    causing a 1 byte overrun of malloc'd data, that could result
    in crashes or other odd problems.
    MSW 2003-02-19
  • 2003-02-10 03:31 crowbert
  • [r2009] trunk/client/gtk/gx11.c fix stupid mistake
  • 2003-02-05 08:13 mwedel
  • [r2002] trunk/client/CHANGES, trunk/client/common/init.c, trunk/client/gtk/gx11.c, trunk/client/sound-src/Makefile.in common/init.c: Make sure we initalize all the config values.
    gtk/gx11.c: fix foodbeep - now only beep when food is low, and continue
    to beep when food reaches 0.
    sound-src/Makefile.in: Remove gx11.c in depend statement.
    MSW 2003-02-04
  • 2003-01-30 15:55 crowbert
  • [r1986] trunk/client/gtk/gx11.c fix savewinpos for windowmanagers like twm
  • 2003-01-23 08:17 mwedel
  • [r1967] trunk/client/CHANGES, trunk/client/gtk/config.c, trunk/client/gtk/gx11.c, trunk/client/gtk/keys.c gtk/config.c, gtk/gx11.c: remove including some files which we don't need included.
    gtk/keys.c: Modify to not use X11 for keybinding - instead, uses gdk
    functionality - this should make it more portable.
    MSW 2003-01-22
  • 2003-01-13 07:23 mwedel
  • [r1945] trunk/client/CHANGES, trunk/client/common/client.h, trunk/client/common/init.c, trunk/client/gtk/config.c, trunk/client/gtk/gtkproto.h, trunk/client/gtk/gx11.c Patch by scachi@gmx.de to add different display options for the players
    common/client.h: increase CONFIG_NUMS and add CONFIG_RESISTS
    common/init.c: extend resists_table, initialize resist value to proper
    gtk/config.c: Add config option for selecting different options for
    resistance displays. Add comment about radio button usage. Increase
    size of config window.
    gtk/gtkproto.h: rebuilt.
    gtk/gx11.c: Update get_message_display to support different resistance
    display options. Add resisze_resistance_table function. Disable
    code the causes the message window to get relocated next to the
    stats display on wide displays.
    MSW 2003-01-12
  • 2003-01-13 04:54 mwedel
  • [r1941] trunk/client/common/client.c Add proper checking of socket fd after call do DoClient in negotiate connection.
    MSW 2003-01-12
  • 2003-01-04 01:00 mwedel
  • [r1914] trunk/client/CHANGES, trunk/client/common/client.c, trunk/client/common/newsocket.c, trunk/client/x11/x11.c x11/x11.c: Patch by Jochen Suckfuell that fixes problem of lines
    printed out while entering extended commands causes the extended command
    line to get overwritten - the extended command line is now copied to the
    next line.
    common/client.c: Add handling of client if it loses its connection to
    server during setup phase.
    common/newsocket.c: Have SockList_ReadPacket return -1 if it gets
    a real error on read - in this way, callers can tell if error is
    terminal or retryable (return code 0)
    MSW 2003-01-03
  • 2002-12-01 03:52 mwedel
  • [r1858] trunk/client/CHANGES, trunk/client/common/player.c, trunk/client/gtk/gx11.c, trunk/client/gtk/keys.c, trunk/client/help/about.h common/player.c: Break out some of the extended commands into there
    own function to make the extended_command function more readable.
    Alphabetize strcmps in extended_command. Add special processing
    for the 'take' command so that it handles open containers properly.
    gtk/gx11.c: Add version information to the About dialogue box.
    gtk/key.c: Fix bug in that extended commands (') didn't work right and
    would crash the client if not entered in info window. Entering
    these now works properly, and crashes are removed. Clean up formatting
    of affected function keyfunc().
    help/about.h: Add extra newline to text to make it look better with
    the version string above.
    MSW 2002-11-30
  • 2002-10-04 06:19 mwedel
  • [r1745] trunk/client/CHANGES, trunk/client/gtk/gx11.c tk/gx11.c: Add patch by jshelley@ictransnet.com that fixes save window
    positions. MSW 2002-10-03
  • 2002-09-15 04:40 mwedel
  • [r1724] trunk/client/CHANGES, trunk/client/Makefile.in, trunk/client/common/image.c, trunk/client/configure, trunk/client/configure.in, trunk/client/x11/x11.c common/image.c: Fix bug of not fulling clearing the cache entry
    data after allocation. This resulted in various random crashes
    when using cached image mode.
    x11/x11.c: Add note about -facset.
    CHANGES, Makefile.in, configure, configure.in: Update for 1.4 release
    MSW 2002-09-14
  • 2002-08-22 12:36 jbontje
  • [r1685] trunk/client/gtk/gx11.c Pickups: created submenus and added pickups for spellbooks,skillscrols,normal book/scroll. Patch created by Aprogas
    mids 2002/08/22
  • 2002-08-14 04:37 mwedel
  • [r1680] trunk/client/CHANGES, trunk/client/common/item.c, trunk/client/gtk/gx11.c common/item.c: Update comment about possible sorting improvements.
    gtk/gx11.c: Add missing foodbeep functionality to GTK client.
    MSW 2002-08-13
  • 2002-07-26 05:39 mwedel
  • [r1671] trunk/client/CHANGES, trunk/client/gtk/config.c, trunk/client/gtk/sound.c gtk/config.c: Fix crash when trying to apply config changes when compiled
    with SDL support but user is not using it. Fix bug where settings
    were not being properly updated.
    gtk/sound.c: initialize sound_pipe to NULL, and have init_sounds close
    the sound pipe if there is currently one open - fixes bug when switching
    sound control many times in that multiple cfsndserv processes could get
    MSW 2002-07-25
  • 2002-07-26 04:46 tanner
  • [r1669] trunk/client/gtk/crossfire-client.desktop * Wed Jul 25 2002 Bob Tanner <tanner@real-time.com>
    + crossfire-client-1.3.1-realtime.4
    - fixed crossfire-client.desktop entry
  • 2002-07-11 04:21 mwedel
  • [r1655] trunk/client/CHANGES, trunk/client/Makefile.in, trunk/client/README Makefile.in: if no makedepend, don't run make depend directive.
    README: Add not about ALSA revisions and possible problems compiling.
    MSW 2002-07-10
  • 2002-07-10 18:38 tanner
  • [r1654] trunk/client/crossfire-client.spec * Wed Jul 10 2002 Bob Tanner <tanner@real-time.com>
    + crossfire-client-1.3.1-realtime.3
    - fixed location of sound files [kbulgrien@worldnet.att.net]
  • 2002-07-10 18:35 tanner
  • [r1653] trunk/client/README.rpm Added SF Notes file.
  • 2002-07-10 01:11 tanner
  • [r1652] trunk/client/crossfire-client.spec New .spec file to support KDE icons.
  • 2002-07-10 00:55 tanner
  • [r1651] trunk/client/gnome/client.gnome *** empty log message ***
  • 2002-07-10 00:54 tanner
  • [r1650] trunk/client/gnome/crossfire-client.desktop, trunk/client/gnome/gnome-cfclient.desktop Renamed file
  • 2002-07-10 00:28 tanner
  • [r1649] trunk/client/gnome/gnome-cfclient.desktop, trunk/client/pixmaps/16x16.png, trunk/client/pixmaps/32x32.png, trunk/client/pixmaps/48x48.png, trunk/client/pixmaps/shield.png * Wed Jul 02 2002 Bob Tanner <tanner@real-time.com>
    + crossfire-client-1.3.1-realtime.2
    - added 16x16, 32x32, 48x48 icons for proper KDE support
  • 2002-07-07 19:53 tanner
  • [r1647] trunk/client/crossfire-client.spec * Wed Jul 02 2002 Bob Tanner <tanner@real-time.com>
    + crossfire-client-1.3.1-realtime.1
    - released 1.3.1 client
    - BUG Fix
    - Enhancement
  • 2002-07-05 03:25 mwedel
  • [r1644] trunk/client/CHANGES, trunk/client/common/client.h, trunk/client/common/init.c, trunk/client/gtk/config.c, trunk/client/gtk/gtkproto.h, trunk/client/gtk/gx11.c This commit adds graduated colored statbars to the gtk client. What
    this means is that the color of the statbar goes smoothly from red to yellow
    to green depending on what percentage of your hp/sp/grace/food is compared
    to your maximum. To use this, you need to go to the config pane and hit
    the 'gradually change stat bar color' button.
    common/client.h: Add CONFIG_ value for this, increase CONFIG_NUMS.
    common/init.c: Add "grad_color_bars" to config_names array.
    gtk/config.c: Add button to select this behaviour. Move all the
    special config checks to beyond the for loop that checks the values
    in apply_config(). There is no need to check all the values on each
    gtk/gtkproto.h: Rebuilt for inclusion of reset_stat_bars()
    gtk/gx11.c: Add two styles to the Vitals (stat bar) structure so we can
    alternate between them. Default is to initialize one for green and the
    other for red (in non graduated color mode). This should be more efficient
    then allocating a new one each time we need to change the value. add
    reset_stat_bars() to reset the colors of the styles to red and green -
    needed because the graduated color code will change the colors of these.
    Remove code that freed these styles. Modify draw_stat_bar() to draw them
    in color or simple mode, in simple mode, we now just need to use the
    appropriate style and not allocated a new one. Modify
    draw_message_window() to pass bar values greater than 1 to the
    draw_stat_bar() function - in graduated color mode, we draw such values
    with a blue tinting (more blue the more over it is). draw_stat_bar() knows
    how to properly deal with these higher values.
    MSW 2002-07-04
  • 2002-07-03 21:10 mwedel
  • [r1643] trunk/client/CHANGES, trunk/client/gtk/config.c, trunk/client/gtk/map.c, trunk/client/gtk/sdl.c gtk/config.c: Fix setting of radio button set state - it was always setting
    the same (last) radio button as the active button, which did not match
    state - now it sets the proper button active - this is for the lighting
    control toggle.
    gtk/map.c: Add/subtract 2 to the need_recenter_map function - in this
    way, code that checks known display position +/-1 will still be within
    map array.
    gtk/sdl.c: Fix per pixel (fastest and best) lighting code - this got
    broken quite a while - it was looking to see if the coordinates for the
    map structure where within range, and not the real coordinates. Since
    the map coordinates would almost never be within range, the effect was
    that the per pixel effects more ore less looked like the per tile
    MSW 2002-07-03
  • 2002-07-03 07:41 tanner
  • [r1642] trunk/client/crossfire-client.spec Rolled new rpm release.
  • 2002-07-01 23:54 mwedel
  • [r1640] trunk/client/CHANGES, trunk/client/configure, trunk/client/configure.in Update for 1.3.0 release.
    MSW 2002-07-01
  • 2002-07-01 23:35 mwedel
  • [r1639] trunk/client/x11/png.c If passed face to get_map_image_size is face 0, return default size
    values. Sometimes needed for the caching logic.
    MSW 2002-07-01
  • 2002-05-31 07:26 mwedel
  • [r1609] trunk/client/gtk/image.c Fix last checkin - new code didn't really do anything, as was missing
    the else clause.
    MSW 2002-05-30
  • 2002-05-31 06:38 mwedel
  • [r1607] trunk/client/gtk/config.c, trunk/client/gtk/image.c config.c: when user is switching download all images, have it update
    the use_config field immediately.
    image.c: if image 0 is passed to get_map_image_size, just set the
    values to 1.
    MSW 2002-05-30
  • 2002-05-31 03:44 mwedel
  • [r1603] trunk/client/CHANGES, trunk/client/common/client.c, trunk/client/common/commands.c, trunk/client/common/item.c, trunk/client/common/item.h, trunk/client/common/proto.h Add support for the 'item2' command. This lets us get the item type
    from the server so that we don't need to figure it out for ourselves.
    Also, remove support for the 'item' command - that has long since
    been obseleted by the 'item1' command.
    common/client.c: Remove 'item' from dispatch table, add 'item2'.
    Add 'itemcmd 2' as part of setup command we send to server.
    common/commands.c: Add handling for response of 'itemcmd' setup command from
    server. Remove ItemCmd() function. Add type to calls to update_item().
    Change Item1Cmd() function to be called common_item_command() since both
    item1 and item2 use almost exactly the same logic. Add Item1Cmd() and
    Item2Cmd() which just call common_item_command()
    common/item.c: Init item types to 'NO_ITEM_TYPE'. Remove get_nrof() as it was
    no longer being used. Add type argument to set_item_values() and
    update_item(). Simplify code in case of name handling, since we know that
    we will be using at least the 'itemcmd'. Don't worry about getting proper
    nrof for the player object - its nrof isn't really meaningful anyways.
    common/item.h: Add #define NO_ITEM_TYPE. Update type field in item
    to be 16 bits.
    common/proto.h: rebuilt.
    MSW 2002-05-30
  • 2002-05-22 04:58 mwedel
  • [r1597] trunk/client/CHANGES, trunk/client/TODO, trunk/client/common/client.c, trunk/client/common/client.h, trunk/client/common/commands.c, trunk/client/common/external.h, trunk/client/common/init.c, trunk/client/common/proto.h, trunk/client/gtk/config.c, trunk/client/gtk/gtkproto.h, trunk/client/gtk/gx11.c, trunk/client/gtk/gx11.h, trunk/client/gtk/image.c, trunk/client/gtk/map.c, trunk/client/gtk/sdl.c, trunk/client/x11/png.c, trunk/client/x11/x11.c, trunk/client/x11/x11.h, trunk/client/x11/x11proto.h, trunk/client/x11/xutil.c The bulk of this checkin adds support in the client for the map1a protocol
    command and the display of big images properly in the map window. A lot
    of code cleanup was also done however, including removal for the support
    of the 'map' (original) command. The map1 has been in the server code for
    quite a while.

    TODO: Update what needs to be done for the x11 client.
    common/client.c: Remove map command, add map1a command to dispatch table.
    Modify setup we send to server to always try to use the map1a command -
    there is no reason not to use it.
    common/client.h: Change some of the CONFIG_ values - basically, change it
    so that there is just one entry for lighting configuration, but it can
    have any number of values. Modify MapCell so that instead of having
    multiple arrays for the different values (faces, sizes), add a MapCellLayer
    structure that contains the specific face information for that layer.
    Move the PlayerPosition struct and value to this function so that more
    of the map decompress logic can be handled in the common code.
    Remove count value from MapCell since it wasn't really being used.
    common/commands.c: Add code to set the use_config[CONFIG_CACHE] value based on
    what we get back from the server. Add code to check the setup response for
    the for the map1a and map1 options. Add code to deal with expanding big
    images into appropriate spaces. Move some functions from the gui portion to
    (display_map_clearcell, set_map_face). Add code for map1_common function to
    deal with map1a extensions.
    common/external.h: Remove display_map_clearcell and set_map_face from list of
    external functions. Add get_map_image_size function.
    common/init.c: change some values of the config values. Update initialization
    of config values for lighting.
    common/proto.h: rebuilt.
    gtk/config.c: Add new button for lighting - best per pixel. Modify code
    to properly deal with how lighting preference is now stored. Add legacy
    support for loading of per_tile_lighting and per_pixel_lighting values
    from config file. Add diagnostic of bad value if selected map/width
    is out of range.
    gtk/gtkproto.h: rebuilt.
    gtk/gx11.c: Change formatting of draw_list. Modify it so that it adjusts
    the column/row width based on the largest image it needs to display - In
    this way, if a player stands on a big building, the entire building is
    displayed in the look list. add row_height and column_width values so we
    only need to call the function to change them if they are in fact different.
    Add +sdl command line option to disable sdl code. Modify gtk_draw_map to
    include redraw parameter.
    gtk/gx11.h: remove PlayerPosition structure. add row_height, column_width
    elements to itemlist structure.
    gtk/image.c: Add table that is used to determine the scaling used for big
    images in the look list - in this way, big images still appear big, but not
    necessary 2 or 3 times bigger. Modify create_and_rescale_image_from_data to
    use this logic. Add get_map_image_size which the common code uses to
    determine the number of spaces an image may be.
    gtk/map.c: remove display_map_clearcell and set_map_face functions - now in
    common code. Modify the dump map/darkness routines to use the new format of
    the MapCell structure. Modify set_darkness to only set adjoining spaces for
    needing an update if lighting type is set that needs this. Remove
    display_map_addbelow - only used for 'map' command. Modify logic of
    fog of war code to have it done all at display time - not when setting/clearing
    a cells contents. Modify gtk_draw_map - this basically follows the same
    logic of sdl_draw_map - it is now better optimized to only draw the spaces
    that have changed, and not the entire map - this should improve performance
    gtk/sdl.c: Remove #if 0 around putpixel - used for best lighting. Change
    indention of init_SDL - modify it so that if just_lightmap is true,
    that really is the only thing that is changed. Modify per_pixel_light
    code to use both methods of per pixel lighting depending on player prefernce.
    Modify sdl_gen_map to properly handle draw portion of big images.
    x11/png.c: Add get_map_image_size function.
    x11/x11.c: modify display_mapcell_pixmap to use new format of MapCell
    structure. Remove reference to count in MapCell structure.
    x11/x11.h: Remove PlayerPosition information - now in common code.
    x11/x11proto.h: rebuilt.
    x11/xutil.c: Remove display_map_clearcell and set_map_face functions. Modify dump map
    code for new MapCell structure layout. Remove display_map_addbelow funtion.
    MSW 2002-05-21
  • 2002-05-07 07:07 tanner
  • [r1588] trunk/client/common/image.c Removed the hard coded crosssfire-image from the system-wide default image cache
    location. This will allow people to --datadir define where they want the files.
  • 2002-05-03 23:21 reeve
  • [r1586] trunk/client/gtk/gx11.c Adjusted width/height limits to better allow WM decorations.
  • 2002-04-29 04:18 mwedel
  • [r1583] trunk/client/CHANGES, trunk/client/Makefile.in, trunk/client/configure, trunk/client/configure.in Changes for 1.2.1:
    Makefile.in: Add pixmaps/question.sdl to archive list.
    configure, configure.in: Update for 1.2.1 release.
    MSW 2002-04-28
  • 2002-04-29 03:18 mwedel
  • [r1581] trunk/client/CHANGES, trunk/client/gtk/config.c gtk/config.c: Allocate string data for want_faceset - data returned by
    gtk_entry_get_text is non persistent. MSW 2002-04-28
  • 2002-04-20 05:13 mwedel
  • [r1576] trunk/client/CHANGES, trunk/client/gtk/gx11.c gtk/gx11.c: Fix bug in that the wrong variable was being passed to
    negotiate_connection, resulting in the sound not being properly
    communicated to the client. MSW 2002-04-19
  • 2002-04-03 07:46 mwedel
  • [r1572] trunk/client/CHANGES, trunk/client/common/client.c, trunk/client/common/client.h, trunk/client/common/commands.c, trunk/client/common/image.c, trunk/client/common/init.c, trunk/client/common/metaserver.c, trunk/client/common/player.c, trunk/client/gtk/Makefile.in, trunk/client/gtk/config.c, trunk/client/gtk/gtkproto.h, trunk/client/gtk/gx11.c, trunk/client/gtk/gx11.h, trunk/client/gtk/image.c, trunk/client/gtk/keys.c, trunk/client/gtk/map.c, trunk/client/gtk/sdl.c, trunk/client/gtk/sound.c, trunk/client/x11/x11.c, trunk/client/x11/x11.h, trunk/client/x11/xutil.c Main change is to make all the configuration options now available in the
    configure window in the gtk client. The way all the various values was
    stored was changed around, so it is now pretty trivial to add any future
    options. For the most part, most of the logic of the other code is
    unchanged - one thing that is different is that the clients use the larger
    virtual maps that are normally used for fog of map - this means that fog
    of war can be turned on and off.
    There are probably some bugs in this, but it seems to basically work -
    no horrendous bugs that I noticed that prevent it from working at all.
    common/client.c: replaced config values with new system. Always
    send setup mapredraw 1 to server to make toggling for fog of war easier,
    and it doesn't use any significant bandwidth.
    common/client.h: Add new value configuration system/defines. remove
    the old values.
    common/commands.c, common/image.c,common/metaserver.c,common/player.c
    : update for new configuration value system
    common/init.c: Add config_names which is used for the load/save logic.
    update the init and clear functions to set up new values.
    gtk/Makefile.in: add config.c file.
    gtk/gtkproto.h: rebuilt.
    gtk/config.c: New file - holds the config creating code, as well as the
    load and save for the gdefaults file.
    gtk/gx11.c: Remove some widgets now in config.c, move itemlist to
    gx11.h, remove some other values that are in the new configuration
    gtk/gx11.h: Moved several structures and externs from gx11.c to gx11.h
    so they are available to config.c. Remove several values that
    are done with the new config arrays.
    gtk/image.c, gtk/keys.c, gtk/sdl.c, gtk/sound.c:
    : update for new configuration value system
    gtk/map.c: update for new configuration value system, modified so that
    fog of war map logic is used all the time. Change allocate_map to
    no longer refer to map_size global - use the x and y values in the
    map structure.
    x11/x11.c: update for new configuration value system - the x11 portion
    still uses the old load/save method - this should get converted.
    Many of the options available in the gtk client have no corresponding
    use in the x11 client.
    x11/x11.h: update for new configuration value system
    x11/xutil.c: update for new configuration value system. Most of the map
    logic is now synced up with the gtk/map.c
    MSW 2002-04-03
  • 2002-04-01 05:08 mwedel
  • [r1571] trunk/client/CHANGES, trunk/client/configure, trunk/client/configure.in configure.in, configure: Fix the --disable-sound configure option (when used,
    it won't look for sound support, and will not build the sound-src directory).
    Likewise, if that option is not used but configure does not find any supported
    sound systems, it also will not build the sound-src directory. MSW 2002-03-31
  • 2002-03-29 06:47 mwedel
  • [r1570] trunk/client/common/image.c Fix copying wrong variable to basename. MSW 2002-03-28
  • 2002-03-29 06:00 mwedel
  • [r1569] trunk/client/common/client.c Fix improper ANSI C construct of declaring variables in mid code.
    MSW 2002-03-28
  • 2002-03-29 05:55 mwedel
  • [r1568] trunk/client/pixmaps/question.sdl Add missing file. MSW 2002-03-28
  • 2002-03-27 07:56 mwedel
  • [r1567] trunk/client/CHANGES, trunk/client/common/client.c, trunk/client/common/external.h, trunk/client/common/image.c, trunk/client/gtk/gtkproto.h, trunk/client/gtk/gx11.c, trunk/client/gtk/image.c, trunk/client/x11/png.c, trunk/client/x11/x11.c, trunk/client/x11/x11.h, trunk/client/x11/x11proto.h, trunk/client/x11/xutil.c Various fixes/enhancements:
    1) For the files stored in the players cache, include the image set suffix
    (eg, base, clsc) when saving the file.
    2) Add a gui update element to the gtk client when running with -download_all_faces.
    For the cfclient, print the updates to the window.
    3) Apply patch by 'Alfie' that shows skill experience in the cfclientp
    4) Fix caching bugs with the cfclient that caused it to not work right.
    common/client.c: Add callbacks to image_update_download_status from the
    download all image routine. It is this callback that provides whatever
    update mechanism for the player.
    common/external.h: add image_update_download_status
    common/image.c: Modify display_newpng to put in the image set name of the
    saved cache files if that information is available.
    gtk/gtkproto.h: rebuilt.
    gtk/gx11.c: Make get_window_coord non static so other files can use it.
    gtk/image.c: Add image_update_download_status that draws a progress bar.
    Convenient side effect is that other GUI elements are now updated
    as part of this, so player can access other menu items.
    x11/png.c: Fix some bugs when using cached images - rgba_to_xpixmap was
    using initialized bpp value - we now know this is always 4.
    create_and_rescale_image_from_data did not match the parameters
    as the common routines use. Also missing some logic for
    allocating the data and linking it back to the cache entry.
    x11/x11.c: Add display for skill experience. This necessitated making
    some of the windows bigger.
    x11/x11.h: Remove now unused fields from PixmapInfo structure (fg, bg,
    x11/x11proto.h: rebuilt
    x11/xutil.c: Remove code that was storing data into the unusued
    fields in the PixmapInfo structure. Add missing call to
    init_common_cache_data. Add image_update_download_status
    function that just does a draw info.
    MSW 2002-03-26
  • 2002-03-26 08:15 mwedel
  • [r1566] trunk/client/CHANGES, trunk/client/README, trunk/client/common/Makefile.in, trunk/client/common/cconfig.h, trunk/client/common/client.c, trunk/client/common/client.h, trunk/client/common/commands.c, trunk/client/common/config.h.in, trunk/client/common/external.h, trunk/client/common/image.c, trunk/client/common/init.c, trunk/client/common/proto.h, trunk/client/configure, trunk/client/configure.in, trunk/client/gnome/gnome-cf.h, trunk/client/gtk/gcfclient.man, trunk/client/gtk/gtkproto.h, trunk/client/gtk/gx11.c, trunk/client/gtk/gx11.h, trunk/client/gtk/image.c, trunk/client/gtk/map.c, trunk/client/gtk/sdl.c, trunk/client/gtk/sound.c, trunk/client/x11/png.c, trunk/client/x11/sound.c, trunk/client/x11/x11.c, trunk/client/x11/x11.h, trunk/client/x11/x11proto.h, trunk/client/x11/xutil.c Many changes to image handling. The most noteworthy are:
    1) Ability to use different image sets.
    2) Ability to get checksums of all images and download missing images
    before play starts.
    3) Storing cache information for images in a bmaps.client file so that
    it can know if it has a match without needing to load the image
    and checksum it.
    4) Can use crossfire-image archives to bootstrap the client with a large
    number of images to save the time of downloading them later.
    README: Update some out of data information about sounds, add section
    describing the image handling.
    configure,configure.in: Make the SOUNDDIR be based and datadir and not
    an absolute path - this means using a different -prefix changes
    the location of where it will find the sound file. Moved some
    of the defines into the config.h file so that we don't need to pass
    them as -D compiler options. Add code to properly substitute
    DATADIR and BINDIR values.
    common/Makefile.in: Add image.c to list of files. Fix depend
    common/cconfig.h: Remove some options that no longer did anything.
    common/client.c: clean up some unused global variables, add a few new ones.
    and support for replyinfo protocol command. Modify negotiate connection
    to issue requestinfo requests, set up face set to use, use
    setup command to set caching behaviour, and support for it to download
    all image sums and missing images before play starts.
    common/client.h: Update VERSION_SC to 1027. Remove some unused
    global externs. Add FaceSets structure, Face_Information structure,
    the later which holds some user preferences. Add Cache_Entry
    structure, as well as some state when negotiating the connection.
    common/commands.c: Add ReplyInfoCmd function. Move FaceCmd
    to common/image.c. Add handling of received setup command for
    faceache and faceset information. Remove some dead code.
    common/config.h.in: Add BINDIR and DATADIR defines so we don't need to
    pass them on the command line.
    common/external.h: Add some more functions that are called back from the
    common area.
    common/image.c: New file - cache logic, png image load code, and protocol
    image related commands in this file. This removes some of the code
    that was previously in the GUI area of the client into a common area.
    common/init.c: Add TEST_FREE_AND_CLEAR macro. Add code to clear
    some of the newly added structures.
    common/proto.h: rebuilt.
    gnome/gnome-cf.h: remove cache_images extern.
    gtk/gcfclient.man: Update man page for new options (-download_all_faces,
    gtk/gtkproto.h: rebuilt.
    gtk/gx11.c: add redraw_needed flag so the map window is properly redrawn
    when caching images and new images show up. Change some other
    variables to deal with new image code. pixmaps changed to a pointer
    so that a copy can be held in the common cache structure. Add support
    for new options. Remove some code that is now in the common/image.c
    gtk/gx11.h: Remove keepcache, change cache_images, add redraw_needed,
    and change type of pixmaps to be a pointer.
    gtk/image.c: Move requestface to the common/image.c, change pixmaps
    to pointer type. remove finish_face_cmd and ReadImages command.
    gtk/map.c: Change pixmaps to pointer types.
    gtk/sdl.c: add redraw paramter to sdl_gen_map. change pixmaps type
    to pointer.
    gtk/sound.c: Add missing / when running cfsndserv.
    x11/png.c: Remove gdk related code from the file. Add rgba_to_xpixmap
    data so tha the common area can load the png file.
    x11/sound.c: Add missing / when running cfsndserv.
    x11/x11.c: change pixmap type to pointer. Add new options (-faceset and
    -download_all_faces). Remove -keepcache option. change
    cache_images to face_info.cache_images. Change how the
    pixmaps are generated
    x11/x11.h: remove keepcache and cache_images variables. Change
    pixmaps to pointer type.
    x11/x11proto.h: rebuilt.
    x11/xutil.c: remove keepcache option. Change pixmap type to pointer.
    Move requestface and finish_face_cmd to common/image.c
    MSW 2002-03-25
  • 2002-03-20 07:01 mwedel
  • [r1562] trunk/client/CHANGES, trunk/client/Makefile.in, trunk/client/configure, trunk/client/configure.in, trunk/client/crossfire-client.spec Makefile.in: add missing pixmaps file for archive.
    crossfire-client.spec, configure.in: Update for 1.2.0 release.
    MSW 2002-03-19
  • 2002-02-15 22:23 tanner
  • [r1535] trunk/client/crossfire-client.spec, trunk/client/gnome/gnome-cfclient.desktop New release for Con of the North gaming convention.

    Updated desktop entry for GNOME and Ximian GNOME installs.

    Using latest snapshop from CVS.
  • 2002-01-16 01:25 jbontje
  • [r1509] trunk/client/gtk/gx11.c gx11.c: Fix for error with Count when nopopups is enabled.
    After picking up with Count the label Count wasn't resetted to 0 but
    cpl.count is. After dropping with Count both the label and cpl.count are
    resetted to 0. Now it is always made 0 after pickup/drop, just like with
    mids 2002-01-16
  • 2002-01-15 07:33 mwedel
  • [r1508] trunk/client/CHANGES, trunk/client/common/client-types.h, trunk/client/common/client.c, trunk/client/common/client.h, trunk/client/common/commands.c, trunk/client/common/external.h, trunk/client/common/init.c, trunk/client/common/item.c, trunk/client/common/newsocket.c, trunk/client/common/player.c, trunk/client/common/proto.h, trunk/client/configure, trunk/client/configure.in, trunk/client/gnome/gnome.c, trunk/client/gnome/map.c, trunk/client/gtk/gtkproto.h, trunk/client/gtk/gx11.c, trunk/client/gtk/image.c, trunk/client/gtk/map.c, trunk/client/gtk/png.c, trunk/client/pixmaps/applied.xbm, trunk/client/pixmaps/clear.xbm, trunk/client/pixmaps/close.xbm, trunk/client/pixmaps/cursed.xbm, trunk/client/pixmaps/damned.xbm, trunk/client/pixmaps/locked.xbm, trunk/client/pixmaps/magic.xbm, trunk/client/pixmaps/question.111, trunk/client/pixmaps/unpaid.xbm, trunk/client/sound-src/cfsndserv.c, trunk/client/x11/cfclient.man, trunk/client/x11/png.c, trunk/client/x11/x11.c, trunk/client/x11/x11.h, trunk/client/x11/x11proto.h, trunk/client/x11/xutil.c Most of the changes are by Edgar Toernig - I've just applied them and
    checked them in. The stripping out of the display_mode variable is
    my doing however.
    configure.in, configure: Add check for zlib before png lib check, as on
    some systems, png requires -lz.
    common/client-types.h: Add #ifdef check for SOL_TCP
    common/client.c: Add fast_tcp_send variable, comment out printing of error
    from socket EOF. Use TCP_NODELAY for sending data to the server
    if TCP_NODELAY is available. cs_write_string modified to use
    common/client.h: Remove display_mode enum, add fast_tcp_send extern.
    common/commands.c, common/init.c,gtk/image.c, gtk/map.c
    cs_write_sting modified to use cs_print_string
    common/external.h: set_autorepeat extern added.
    common/newsocket.c: Modified to be better optimized for using TCP_NODELAY -
    cs_print_string function added.
    common/player.c: modified to use cs_print_string , autorepeat client side
    command added.
    common/proto.h, gtk/gtkproto.h: updated with new functions
    gnome/gnome.c: display_mode variable removed, cs_write_string
    replaced with cs_print_string
    gtk/gx11.c: display_mode variable removed, cs_write_string replaced with
    cs_print_string, -nofog option added
    pixmaps/question.111: Resized to be 32x32
    pixmaps/*.xbm - used for inventory icons in X11 client, replacing xpm
    sound-src/cfsndserv.c: Better error handling, include time.h
    x11/cfclient.man: -font and -noautorepeat options added.
    x11/png.c: better error checking for rescaling images
    x11/x11.c: noautorepeat variable added, display_mode removed, image icon
    functionality re-enabled, images now created from xbm files,
    set_autorepeat function added, add ability to set font, add mouse
    wheel support
    x11/x11.h: remove screen_num extern.
    x11/x11proto.h: Updated with new functions.
    x11/xutil.c: Modified to use image_size instead of hardcoded 24x24 value
    for the status icons. cs_write_replaced with cs_print_string, no
    auto repeat functionality added.
    MSW 2001-01-14
  • 2002-01-01 05:10 tanner
  • [r1492] trunk/client/crossfire-client.spec - Fixed typo in install target for x11 client.
    - Make all clients Provide: crossfire-client
    - Make sounds dependent on crossfire-client.
  • 2001-12-31 09:42 tanner
  • [r1490] trunk/client/crossfire-client.spec Changed to build 1.1.0 client.
  • 2001-12-31 09:02 tanner
  • [r1489] trunk/client/x11/Makefile.in Typo in install: target.

    Was installing x11/cfclient as gcfclient.
  • 2001-12-29 01:41 mwedel
  • [r1486] trunk/client/CHANGES Add banner line for 1.1.0 changes. MSW 2001-12-28
  • 2001-12-28 08:56 mwedel
  • [r1485] trunk/client/CHANGES, trunk/client/README, trunk/client/configure, trunk/client/configure.in, trunk/client/gnome/gnome-cfclient.man, trunk/client/gtk/gtkproto.h, trunk/client/gtk/gx11.c, trunk/client/gtk/image.c, trunk/client/gtk/png.c, trunk/client/help/about.h, trunk/client/pixmaps/stipple.111, trunk/client/pixmaps/stipple.112, trunk/client/sound-src/Makefile.in, trunk/client/x11/cfclient.man, trunk/client/x11/png.c, trunk/client/x11/x11.c, trunk/client/x11/x11.h, trunk/client/x11/x11proto.h, trunk/client/x11/xutil.c README: Update notes on needing png (and not xpm) library. Update mailing
    configure.in, configure: As the seperate sound program (cfsndserv) is the
    only supported sound configuration, remove new_sound_system defines
    and ability to use the old (now non existant) sound system.
    Have configure exit with error message if png library is not found,
    as it is critical to the build process. Change it so that
    gnome/Makefile is always built so that making of releases works.
    gnome/gnome-cfclient.man, help/about.h, x11/cfclient.man: Update mail address.
    gtk/gtkproto.h, x11/x11proto.h: Rebuilt, prototypes for some changed for
    signed to unsigned characters.
    gtk/gx11.c, gtk/png.c, pixmaps/stipple.111, x11/png.c, x11/x11.c, x11/xutil.c,
    pixmaps/stipple.111 pixmaps/stipple.112:
    Mostly changes to fix compile warnings and make sure we are passing the
    right types to the various image creation functions (8 bit data).
    sound-src/Makefile.in: Add soundsdef.h to list of things to build.
    x11/x11.h: Remove extra semicolon.
    MSW 2001-12-28
  • 2001-12-28 03:40 mwedel
  • [r1481] trunk/client/common/client.c, trunk/client/x11/x11.c Include errno.h in some files. MSW 2001-12-27
  • 2001-12-04 02:39 reeve
  • [r1446] trunk/client/gtk/gx11.c Scott Barnes: Another modification to the window sizing code, now it will not set
    the window's default size larger than the display.
  • 2001-11-26 02:21 mwedel
  • [r1439] trunk/client/CHANGES, trunk/client/common/config.h, trunk/client/common/player.c, trunk/client/gnome/gnome-cfclient.soundlist, trunk/client/gtk/gx11.c, trunk/client/gtk/keys.c, trunk/client/sound-src/sounds, trunk/client/sound-src/soundsdef.h common/config.h, gnome/gnome-cfclient.soundlist, sound-src/sounds,
    sound-src/soundsdef.h: Remove from CVS as it gets automatically generated
    as part of configure/build process.
    common/player.c, gtk/keys.c: Send valid count values when sending a fire
    command. Some spells use the count value (eg dimension door).
    gtk/gx11.c: Minor change to the trim_info_window code - still causes
    periodic crashes in the gtk code however. Modify style code so that
    if we don't get a valid style, we don't crash the client.
    MSW 2001-11-25
  • 2001-11-21 16:00 reeve
  • [r1437] trunk/client/CHANGES, trunk/client/common/config.h, trunk/client/gtk/gx11.c Scott Barnes: Changed the inventory lists to respect the user's GTK font
    settings, and made the window and display sizes judged by the font size.
  • 2001-11-06 00:14 mwedel
  • [r1384] trunk/client/CHANGES, trunk/client/configure, trunk/client/configure.in onfigure.in, configure: Modified so that if not compiling the
    gnome client, we don't create the gnome Makefile. MSW 2001-11-05
  • 2001-11-05 08:09 mwedel
  • [r1382] trunk/client/CHANGES, trunk/client/gtk/gcfclient.man, trunk/client/gtk/gx11.c, trunk/client/gtk/gx11.h, trunk/client/gtk/map.c, trunk/client/gtk/sdl.c gtk/gcfclient.man: Add -timemapredraw documentation to man page.
    gtk/gx11.c: Update size of buffers to 100k, instead of 10k. Add some
    debugging information to when info window is trimmed. Add -timemapredraw
    command instead of it being a compile time option.
    gtk/gx11.h: Add extern for time_map_redraw.
    gtk/map.c,gtk/sdl.c: use time_map_redraw variable instead of define option.
    MSW 2001-11-04
  • 2001-11-04 06:49 mwedel
  • [r1376] trunk/client/CHANGES, trunk/client/gtk/gcfclient.man, trunk/client/gtk/gx11.c, trunk/client/gtk/map.c, trunk/client/x11/Makefile.in, trunk/client/x11/cfclient.man, trunk/client/x11/client.man gtk/gcfclient.man: Update man page to include all options supported
    by gtk client.
    gtk/gx11.c: remove some unused #defines. add -trim_info_window option which
    takes place of compile time option. Re-order command line switches to
    be in alphabetical order. Add support for client to load/save most all
    new options to the gdefaults file.
    gtk/map.c: Some refinements to fog of war so if a space is empty, don't
    mark it as a fog space to improve performance. Modify gdk draw routine
    so that it also supports fog of war. There is still some problem in
    that the client will really bog down in some circumstances when
    drawing the map.
    x11/Makefile.in: Add cfclient.man to list of files.
    MSW 2001-11-03
  • 2001-11-04 03:58 mwedel
  • [r1375] trunk/client/gtk/gcfclient.man Test for updated cvs log_accum.
  • 2001-11-04 03:57 mwedel
  • [r1374] trunk/client/gtk/gcfclient.man Update e-mail address. MSW 2001-11-03
  • 2001-11-04 03:31 mwedel
  • [r1373] trunk/client/x11/png.c, trunk/client/x11/sound.c, trunk/client/x11/x11.c, trunk/client/x11/x11.h, trunk/client/x11/xutil.c More fixes to headers for the various files - MSW 2001-11-03
  • 2001-11-04 03:25 mwedel
  • [r1372] trunk/client/sound-src/cfsndserv.c Add copyright comment. MSW 2001-11-03
  • 2001-11-04 03:18 mwedel
  • [r1371] trunk/client/gnome/Makefile.in, trunk/client/gtk/gx11.c, trunk/client/gtk/gx11.h, trunk/client/gtk/image.c, trunk/client/gtk/keys.c, trunk/client/gtk/map.c, trunk/client/gtk/png.c, trunk/client/gtk/sdl.c, trunk/client/gtk/sound.c More comment/banner fixing, also modify gnome/Makefile.in to
    put a - in front of the echo. MSW 2001-11-03
  • 2001-11-04 02:53 mwedel
  • [r1370] trunk/client/common/cconfig.h, trunk/client/common/client-types.h, trunk/client/common/client.c, trunk/client/common/client.h, trunk/client/common/commands.c, trunk/client/common/external.h, trunk/client/common/init.c, trunk/client/common/item.c, trunk/client/common/item.h, trunk/client/common/items.pl, trunk/client/common/main.c, trunk/client/common/metaserver.c, trunk/client/common/misc.c, trunk/client/common/newclient.h, trunk/client/common/newsocket.c, trunk/client/common/player.c, trunk/client/x11/x11.c Clean up/add copyright/contact information to the files. Other
    than some minor typos, no real code changes.
    MSW 2001-11-03
  • 2001-11-02 20:42 gros
  • [r1368] trunk/client/gtk/gx11.c, trunk/client/gtk/image.c, trunk/client/gtk/map.c Minor corrections allowing the client to be compiled without SDL - Chechkoff Y. 11/02/01
  • 2001-11-02 08:22 mwedel
  • [r1365] trunk/client/sounds Remove sounds file - MSW 2001-11-01
  • 2001-11-02 08:22 mwedel
  • [r1364] trunk/client/CHANGES, trunk/client/Makefile.in, trunk/client/TODO, trunk/client/acconfig.h, trunk/client/cconfig.h, trunk/client/cfsndserv.c, trunk/client/client.c, trunk/client/client.gnome, trunk/client/client.h, trunk/client/client.man, trunk/client/clientbmap.h, trunk/client/commands.c, trunk/client/common, trunk/client/common/Makefile.in, trunk/client/common/cconfig.h, trunk/client/common/client-types.h, trunk/client/common/client.c, trunk/client/common/client.h, trunk/client/common/commands.c, trunk/client/common/config.h, trunk/client/common/config.h.in, trunk/client/common/def-keys, trunk/client/common/def-keys.h, trunk/client/common/external.h, trunk/client/common/init.c, trunk/client/common/item-types, trunk/client/common/item-types.h, trunk/client/common/item.c, trunk/client/common/item.h, trunk/client/common/items.pl, trunk/client/common/main.c, trunk/client/common/metaserver.c, trunk/client/common/misc.c, trunk/client/common/newclient.h, trunk/client/common/newsocket.c, trunk/client/common/player.c, trunk/client/common/proto.h, trunk/client/config.h, trunk/client/config.h.in, trunk/client/configure, trunk/client/configure.in, trunk/client/def-keys.h, trunk/client/def_keys, trunk/client/gnome, trunk/client/gnome-cfclient.desktop, trunk/client/gnome-cfclient.soundlist.in, trunk/client/gnome-sound.c, trunk/client/gnome.c, trunk/client/gnome/Makefile.in, trunk/client/gnome/client.gnome, trunk/client/gnome/gnome-cf.h, trunk/client/gnome/gnome-cfclient.desktop, trunk/client/gnome/gnome-cfclient.man, trunk/client/gnome/gnome-cfclient.soundlist, trunk/client/gnome/gnome-cfclient.soundlist.in, trunk/client/gnome/gnome-sound.c, trunk/client/gnome/gnome.c, trunk/client/gnome/gnomeproto.h, trunk/client/gnome/map.c, trunk/client/gtk, trunk/client/gtk/Makefile.in, trunk/client/gtk/gcfclient.man, trunk/client/gtk/gtkproto.h, trunk/client/gtk/gx11.c, trunk/client/gtk/gx11.h, trunk/client/gtk/image.c, trunk/client/gtk/keys.c, trunk/client/gtk/map.c, trunk/client/gtk/png.c, trunk/client/gtk/sdl.c, trunk/client/gtk/sound.c, trunk/client/gx11.c, trunk/client/init.c, trunk/client/item.c, trunk/client/item.h, trunk/client/item_types, trunk/client/item_types.h, trunk/client/items.pl, trunk/client/metaserver.c, trunk/client/misc.c, trunk/client/newclient.h, trunk/client/newsocket.c, trunk/client/pixmaps/shield.png, trunk/client/player.c, trunk/client/png.c, trunk/client/proto.h, trunk/client/shield.png, trunk/client/sound-src, trunk/client/sound-src/Makefile.in, trunk/client/sound-src/cfsndserv.c, trunk/client/sound-src/sounds, trunk/client/sound-src/sounds.dist, trunk/client/sound-src/soundsdef.h, trunk/client/sound.c, trunk/client/sounds.dist, trunk/client/soundsdef.h, trunk/client/x11, trunk/client/x11.c, trunk/client/x11/Makefile.in, trunk/client/x11/client.man, trunk/client/x11/clientbmap.h, trunk/client/x11/png.c, trunk/client/x11/sound.c, trunk/client/x11/x11.c, trunk/client/x11/x11.h, trunk/client/x11/x11proto.h, trunk/client/x11/xutil.c, trunk/client/xutil.c Complete client re-org. Create common, gtk, gnome, sounds, and x11 subdirs.
    Gtk client: only image support is png. Also add resizing options for
    the images (-mapscale/-iconscale), remove pngximage, update sdl
    image and normal draw image to support arbitrary image sizes.
    sound: Only support new sound system.
    MSW 2001-11-01
  • 2001-11-02 07:32 mwedel
  • [r1363] trunk/client/sound Remove sound file - part of client re-org - also looks like this file was
    not used anymore. MSW 2001-11-01
  • 2001-08-29 07:15 mwedel
  • [r1265] trunk/client/CHANGES, trunk/client/gx11.c gx11.c: Modified to know about new pickup mode (frontend - most all the
    work is still done on the server). Patch by Nils Lohner.
    MSW 2001-08-28
  • 2001-08-13 06:44 mwedel
  • [r1258] trunk/client/CHANGES, trunk/client/client.c, trunk/client/proto.h, trunk/client/xutil.c Add reset_map_function into xutil.c that gets called after we lose a
    connection to the server. This fixes a problem of some leftover images
    from the previous session appearing in the map windows. MSW 2001-08-12
    client.c: add call to reset_map_data
    proto.h: rebuilt
    xutil.c: Add reset_map_function (mostly a copy of reset_map), make some
    other functions 'static' so they don't show up in proto.h
  • 2001-08-05 06:03 mwedel
  • [r1253] trunk/client/gx11.c Add -fog support for pngximage mode. Performance on it is not very
    good however - if your going to use -fog, you should really use
    sdl mode if possible. MSW 2001-08-04
  • 2001-07-24 23:40 smacfiggen
  • [r1242] trunk/client/xutil.c Fixed bug in sdl client where scrolling in the left-right direction
    while using a non rectangular view caused redraw problems. I was
    making a bad assumption about how the scanlines in the SDL surface
    were being padded. This fix should be tested more on non 32bit
    displays though.
    SMACFIGGEN 2001-07-24
  • 2001-07-24 15:26 reeve
  • [r1241] trunk/client/gnome.c Scott Barnes: Removed some unused variables to eliminate warnings.
  • 2001-07-23 21:52 smacfiggen
  • [r1240] trunk/client/xutil.c Bug fix for fog of war code. Only affected client when using
    the map1cmd. Tiles that went out of view then came back into
    view weren't always marked as cleared so stale map layer data
    could appear on the screen.
    SMACFIGGEN 2001-07-23
  • 2001-07-22 18:44 smacfiggen
  • [r1238] trunk/client/CHANGES, trunk/client/client.c, trunk/client/client.h, trunk/client/commands.c, trunk/client/gnome.c, trunk/client/gx11.c, trunk/client/proto.h, trunk/client/x11.c, trunk/client/xutil.c Added fog of war code. A fairly complex checkin so I suspect I may have
    broken something. Note, this code only works in conjunction with the
    SDL client for now. The infrastructure is all there for the other
    blitters to take advantage of it though. This code also requires the
    cooperation of the server, a new protocol command was added 'newmap' to
    let the client know when to reset the state of the map (which should
    happen every time the player enters a new map with the exception of
    tiled maps). To use, give the -fog command line option along with
  • 2001-06-24 02:13 smacfiggen
  • [r1220] trunk/client/CHANGES, trunk/client/gx11.c Speed optimization to the SDL rendering code. sdl_add_png_face
    now exits when all 5 dark[] array values are set to full bright.
    gx11.c: Added a line in the per_pixel lighting section that exits
    right away if all darkness values are set to 255.
    SMACFIGGEN 2001-06-23
  • 2001-06-20 06:07 smacfiggen
  • [r1216] trunk/client/CHANGES, trunk/client/gx11.c Quick fix to the get_metaserver function. It was originally calling
    gtk_main_interation() in a while loop. This is really really really
    slooooow. I replaced it with a call to gtk_main(). gtk_main_quit
    for this invocation of gtk_main is called in enter_callback() when
    the user types in the metaserver he wants to play on. This is WAY
    faster then the old method.

    gx11.c: Changed get_main_interation to gtk_main in get_metaserver.
    Added call to gtk_main_quit() in enter_callback() when
    state changes from Metaserver_Select to Playing.
    SMACFIGGEN 2001-06-19
  • 2001-06-20 04:37 smacfiggen
  • [r1213] trunk/client/README Added notes on what is needed for SDL support.
  • 2001-06-20 04:29 smacfiggen
  • [r1212] trunk/client/xutil.c Fixed bug in both sdl and pngximage versions of the gtk client where
    mapscrolls would be redrawn incorrectly on servers using the old map
    command. Basically new tiles coming onto the map would be draw with old
    information if they were now blank. Whatever was on that view tile before
    the scroll would be redrawn again.

    xutil.c: Modifed display_mapscroll so that new cells just coming onto
    the screen would be marked as the_map.cells[ax][ay].need_update= 1.
    For cells that are already on screen and just moving, we still leave
    need_update= 0.
  • 2001-06-18 23:30 reeve
  • [r1211] trunk/client/configure, trunk/client/configure.in Scott Barnes: Changed the gnome-config test from -n to -z so that it actually
    works :)
  • 2001-06-18 04:40 smacfiggen
  • [r1208] trunk/client/configure, trunk/client/configure.in Changed no_sdl = yes to no_sdl=yes. Configure thought it meant
    yes as in the shell command.
  • 2001-06-18 04:17 smacfiggen
  • [r1207] trunk/client/gx11.c, trunk/client/xutil.c This checkin adds two speed optimizations to the SDL code in the
    Gtk client. The mapscrolling now does a memcpy of the pixels instead
    of regenerating the whole image and the sdl_add_png_face function
    now starts blitting at the top most fully opaque tile.
    It also fixes a minor bug in the grid overlay code, it wasn't
    drawing the bottom and rightmost grid border on the edge of the screen.

    gx11.c: Holds the sdl_add_png_face function
    xutil.c: In display_mapscroll, added code to memcpy SDL pixel data
  • 2001-06-17 23:00 mwedel
  • [r1206] trunk/client/png.c Fix some compiler warnings in this file. MSW 2001-06-17
  • 2001-06-17 22:28 mwedel
  • [r1205] trunk/client/configure Fix error in script preventing it from running. MSW 2001-06-17
  • 2001-06-17 07:09 mwedel
  • [r1203] trunk/client/CHANGES, trunk/client/aclocal.m4, trunk/client/client.man, trunk/client/config.h, trunk/client/config.h.in, trunk/client/configure, trunk/client/configure.in, trunk/client/gx11.c, trunk/client/xutil.c This checkin puts Scott MacFiggen's SDL support into the gtk client.
    I've made some enhancements to the code - it can now co-exist with
    the other image formats (so if all the libraries are available, you can
    choose from -xpm, vanilla -png, -png -pngximage or -sdl (which also
    forces -png).
    aclocal.m4, configure, configure.in: Add checks for SDL.
    client.man: Update with -sdl option.
    config.h, config.h.in: Add HAVE_SDL define
    gx11.c, xutil.c: Support for SDL drawing. A lot of the code in
    xutil.c is command with that of pngximage. gx11.c adds some additional
    options beyond just the drawing - per tile darkness and gridline options
    available under the client config window.
    MSW 2001-06-17
  • 2001-06-17 04:34 mwedel
  • [r1201] trunk/client/CHANGES, trunk/client/client.c, trunk/client/client.h, trunk/client/client.man, trunk/client/commands.c, trunk/client/gx11.c, trunk/client/x11.c client.c,client.h: Add want_darkness global variable, include when in setup
    command we send server.
    client.man,gx11.c,x11.c: Update to include -darkness/-nodarkness command
    line options
    commands.c: Change handling of negative results from server on setup
    MSW 2001-06-16
  • 2001-06-13 07:01 mwedel
  • [r1187] trunk/client/CHANGES, trunk/client/cconfig.h, trunk/client/client.c, trunk/client/client.h, trunk/client/commands.c, trunk/client/gx11.c, trunk/client/metaserver.c, trunk/client/png.c, trunk/client/sounds, trunk/client/soundsdef.h, trunk/client/x11.c, trunk/client/xutil.c The main thing this fixes is a major memory corruption problem when using
    -pngximage with the client. Better darkness display is also when
    using -pngximage, but it depends on a server change (the change basically
    lets the client do blending from completely dark spaces.
    cconfig.h: add METASERVER define option which determines if client should
    try to contact metaserver or not (useful to turn off if behind a firewall
    so you don't have to wait for the timeout)
    client.c: add metaserver_on, map1cmd to global variables
    commands.c: divide by mapy value instead of 11 when using old map
    command - needed if playing with smaller maps. set map1cmd
    value on/off depending on type of map command we receive from server.
    gx11.c: Add BPP define for internal testing to see if using 4 bytes/pixel
    gives any speed of 3 (answer is performance is the same or slightly
    worse with 4bpp). when run with mapsize with x>15, create windows
    with bigmap outlook (message & stats above map, and not above/below).
    Fix bug in -mapsize processing which would set invalid sizes.
    Various cleanups to use image_size instead of 32. Changes in
    drawing to also use BPP define value instead of 3 is various
    areas. Optimizations for darkness rendering. Use map1cmd global
    variable to know the packing form instead of looking at map size.
    Improved darkness handling to know if adjoining spaces have valid
    darkness information instead of looking at number of tiles.
    metaserver.c: if metaserver_on isn't set, don't try to get metaserver
    png.c: remove end_ptr processing - wasn't getting used, so not allocating/
    freeing it should improve performance a little. Also, move
    png_set_filler call to before calling png_read_update_info - this
    fixes a memory corruption problem.
    x11.c: use map1cmd for determine packing information in map,
    fix bug in -mapsize command processing which could result in invalid
    values being used.
    xutil.c: add have_darkness value to mapcell structure. Set
    value when we have valid darkness information for this space. This
    allows the client to use darkness for blocked spaces if the server
    provides it. update to use BPP instead of 3 for copies of image
    MSW 2001-06-12
  • 2001-06-07 23:20 mwedel
  • [r1176] trunk/client/configure, trunk/client/configure.in Put proper check in for gnome-config using appropriate macros.
    method which was done (using which) results in false positives at least
    on solaris systems, and probably many other systems.
    MSW 2001-06-07
  • 2001-06-07 20:13 reeve
  • [r1175] trunk/client/configure, trunk/client/configure.in Scott Barnes: Adjusted configure.in so now ./configure tells you if it didn't find Gnome.
  • 2001-06-07 20:03 reeve
  • [r1174] trunk/client/configure, trunk/client/configure.in Scott Barnes: Made ./configure not fail if it can't find Gnome.
  • 2001-06-07 19:21 reeve
  • [r1173] trunk/client/Makefile.in, trunk/client/gnome.c Scott Barnes: Fixed the problem of not creating the install directories and also fixed a problem with loading the user's preferences.
  • 2001-06-05 21:48 reeve
  • [r1171] trunk/client/gnome.c Added support to the Gnome client for larger viewable maps.
  • 2001-06-05 16:59 reeve
  • [r1170] trunk/client/gnome.c More fixes to sync up with the other clients.
  • 2001-06-05 16:23 reeve
  • [r1169] trunk/client/gnome.c Fixed display_map_doneupdate for the new proto.h
  • 2001-06-05 06:57 mwedel
  • [r1168] trunk/client/xutil.c Fix for lighting code with pngximage. Wasn't working properly before
    as you moved around because not all the spaces would get their lighting
    updated. MSW 2001-06-04
  • 2001-06-05 06:24 mwedel
  • [r1167] trunk/client/CHANGES, trunk/client/cconfig.h, trunk/client/client.c, trunk/client/client.h, trunk/client/client.man, trunk/client/commands.c, trunk/client/gx11.c, trunk/client/png.c, trunk/client/proto.h, trunk/client/x11.c, trunk/client/xutil.c This is actually a fairly big checkin:
    1) add large map support into the client (use -mapsize option)
    2) using GdkRgb structure for drawing the map. This prevents some more
    advanced map handling functions (like true alpha) as well as much
    better darkness support (use -pngximage option)

    cconfig.h: add TIME_MAP_REDRAW define. I originally used this to benchmark
    my improvements with the gdkrgb code, but throught it may be useful to
    client.c: add map sizing global variables. Add map1 protocol pointer.
    request different mapsize of server.
    client.h: add map sizing variables to extern declarations.
    client.man: add description of -mapsize and -pngximage
    commands.c: Make it more forgiving about extra spaces in setu command.
    and support for mapsize option of setup command. Add option
    to map_doneupdate which controls if we want a full redraw or not.
    Add Map1Cmd command which handles map1 protocol command.
    gx11.c: Add support for big maps as well as gdkrgb backing images.
    Add support for -mapsize and -pngximage command line options. Lots
    of new image drawing code for pngximage. Add resize_map_window
    function which is called when new map size is negotiated with server -
    depending on new and old values, re-arrange some windows.
    png.c: add png_to_data function which takes the png image and and returns
    rgba data. used by pngximage code.
    x11.c Add big map support (-mapsize option). It otherewise lacks many
    of the other features I added to gx11.c
    xutil.c: add png_data to image structure, and have data put here when
    using pngximage mode. Move some of the basic map handling functions
    here - not the stuff that draws the map, but what sets up the
    server idea of wha the map looks like in terms of spaces.
    MSW 2001-06-04
  • 2001-06-05 03:01 reeve
  • [r1166] trunk/client/Makefile.in, trunk/client/acconfig.h, trunk/client/aclocal.m4, trunk/client/cconfig.h, trunk/client/config.h, trunk/client/config.h.in, trunk/client/configure, trunk/client/configure.in, trunk/client/gnome-cfclient.desktop, trunk/client/gnome-cfclient.soundlist.in, trunk/client/gnome-sound.c, trunk/client/gnome.c, trunk/client/sounds, trunk/client/soundsdef.h *** empty log message ***
  • 2001-06-05 02:57 reeve
  • [r1165] trunk/client/pixmaps/dot.xpm Intital Gnome client checkin.
  • 2001-06-05 02:52 reeve
  • [r1164] trunk/client/macros, trunk/client/macros/.cvsignore, trunk/client/macros/Makefile.am, trunk/client/macros/Makefile.in, trunk/client/macros/aclocal-include.m4, trunk/client/macros/autogen.sh, trunk/client/macros/compiler-flags.m4, trunk/client/macros/curses.m4, trunk/client/macros/gnome-bonobo-check.m4, trunk/client/macros/gnome-common.m4, trunk/client/macros/gnome-fileutils.m4, trunk/client/macros/gnome-gettext.m4, trunk/client/macros/gnome-ghttp-check.m4, trunk/client/macros/gnome-gnorba-check.m4, trunk/client/macros/gnome-guile-checks.m4, trunk/client/macros/gnome-libgtop-check.m4, trunk/client/macros/gnome-objc-checks.m4, trunk/client/macros/gnome-orbit-check.m4, trunk/client/macros/gnome-print-check.m4, trunk/client/macros/gnome-pthread-check.m4, trunk/client/macros/gnome-support.m4, trunk/client/macros/gnome-undelfs.m4, trunk/client/macros/gnome-vfs.m4, trunk/client/macros/gnome-x-checks.m4, trunk/client/macros/gnome-xml-check.m4, trunk/client/macros/gnome.m4, trunk/client/macros/linger.m4, trunk/client/macros/need-declaration.m4 Initial Gnome client checkin.
  • 2001-05-29 04:17 mwedel
  • [r1156] trunk/client/CHANGES, trunk/client/Makefile.in, trunk/client/Protocol, trunk/client/client.c, trunk/client/client.h, trunk/client/commands.c, trunk/client/gx11.c, trunk/client/metaserver.c, trunk/client/newclient.h, trunk/client/proto.h The three main things this checkin does:
    Ability to save relative sizes of gtk subwindows, and have those restored
    when re-running the client.
    Use of the setup protocol command to set configuration values.
    Receipt of skill experience information, and display of that in the
    gtk client.
    Makefile.in: Remove Protocol entry
    Protocol: Removed - now located in server/doc directory.
    client.c: Add value to determine if we want this option, initialize global
    array that maps the number to skill names. Add support for 'setup'
    protocol command. Send sound selection using new setup command.
    client.h: add MAX_SKILL to no max number of skills. And skill experience
    and level total to Stats structure, put extern for skill_names
    array and want_skill_exp value.
    commands.c: Add SetupCmd function which handles processing of
    'setup' protocol command. If sound setting fails with setup command,
    fall back to old method. In StatsCmd, add code to get skill
    experience and level totals.
    gx11.c: Add ability to save window size and relative pane positions
    in non split mode, as well as loading and setting of those
    values (required moving pane information widgets from create_windows
    to global values) - while at it, renamed this to be more descriptive.
    Have client now display skill experience totals in stats window.
    metaserver.c: Make meta_sort a static function so that it does not
    get put into proto files. Its only used within the metaserver.c
    file in any case.
    newclient.h: Add CS_STAT_SKILL* values (to keep in sync with server
    version of this file)
    proto.h: automatic rebuild needed for SetupCmd function.
    MSW 2001-05-28
  • 2001-05-26 07:35 mwedel
  • [r1155] trunk/client/CHANGES, trunk/client/gx11.c, trunk/client/pixmaps/unlock.xpm, trunk/client/xutil.c gx11.c: remove some unused code. Add color for cursed/magic items in
    the unlocked inventory pain (makes it easier to sort items picked up)
    Add support for trimming the info window buffers - now gtk just has
    to be fixed. Have the second information window do the seem freeze
    logic as the first. Fix problem of trying to access to many resistance
    labels (may fix some reliability problems). Remove -scrolllines command
    line option since the client does not use it.
    xutil.c: Don't load/save scrolllines line in config file when included
    with gx11.c - gtk client has no use for it. At newline to error
    message about lines in default file we did not process.
    MSW 2001-05-25
  • 2001-05-18 05:54 mwedel
  • [r1138] trunk/client/CHANGES, trunk/client/Makefile.in, trunk/client/client.c, trunk/client/client.h, trunk/client/commands.c, trunk/client/gx11.c, trunk/client/metaserver.c, trunk/client/player.c, trunk/client/proto.h, trunk/client/x11.c, trunk/client/xutil.c Merge post-1-0 release into main branch. MSW 2001-05-17
  • 2001-05-14 07:43 tanner
  • [r1125] trunk/client/crossfire-client.spec Added sample files for sounds location.
  • 2001-05-14 07:29 tanner
  • [r1124] trunk/client/crossfire-client.spec Small hack to spec file to prevent the name collision between sound files.
  • 2001-05-14 07:06 tanner
  • [r1123] trunk/client/crossfire-client.spec 1.0.0 release!

    I changed the revision markers in the .spec file.
  • 2001-05-13 22:02 mwedel
  • [r1120] trunk/client/CHANGES, trunk/client/configure, trunk/client/configure.in Commit for 1.0.0 release. msw 2001-05-13
  • 2001-05-11 06:08 mwedel
  • [r1105] trunk/client/gx11.c Add call to gtk_timeout_remove. Call was missing, not sure of
    ramifications of that fact. MSW 2001-05-10
  • 2001-05-11 05:24 mwedel
  • [r1104] trunk/client/player.c Fix bug introduced that prevents local commands from working. This
    patch should now have the desired effect to prevent client crashes and
    still have everything work. MSW 2001-05-10
  • 2001-05-10 06:12 mwedel
  • [r1100] trunk/client/CHANGES, trunk/client/player.c player.c: Fix for client crashes if player enters really long commands
    (like say .....). MSW 2001-05-08
  • 2001-05-05 07:26 mwedel
  • [r1076] trunk/client/CHANGES, trunk/client/commands.c, trunk/client/gx11.c, trunk/client/item_types, trunk/client/item_types.h gx11.c,command.c: Remove some debug statements which really should not be
    there for 1.0, and which are not really useful anyways.
    items_types, item_types.h: Varioius minor updates.
    MSW 2001-05-04
  • 2001-05-03 05:29 mwedel
  • [r1067] trunk/client/CHANGES, trunk/client/gx11.c, trunk/client/metaserver.c gx11.c: Fix bug that causes gtk client not to update weapon speed.
    metaserver.c: Have the listing get sorted by hostname to make it easier to
    find the host the user may want.
    MSW 2001-05-02
  • 2001-04-18 00:39 mwedel
  • [r987] trunk/client/configure configure out of date with respect to configure.in - this
    puts them back in sync. MSW 2001-04-17
  • 2001-04-14 23:41 mwedel
  • [r973] trunk/client/Makefile.in Remove extra colon from sound.o directive - was causing compiles to fail.
    MSW 2001-04-14
  • 2001-04-10 23:45 tanner
  • [r963] trunk/client/crossfire-client.spec Added changelog to spec file.
  • 2001-04-10 23:42 tanner
  • [r962] trunk/client/crossfire-client.spec 0.98.0 rpm release.
  • 2001-04-10 16:50 elsbernd
  • [r959] trunk/client/Makefile.in sound.o and cfsndserv depend on soundsdef.h and should be compiled,
    if the definitions changed
  • 2001-04-10 16:48 elsbernd
  • [r958] trunk/client/configure.in, trunk/client/sound.c Call cfsndserv with prefix/bin=bindir so bindir need not to be in PATH
  • 2001-04-08 05:21 mwedel
  • [r947] trunk/client/CHANGES, trunk/client/configure, trunk/client/configure.in Updates for 0.98.0 release. MSW 2001-04-07
  • 2001-04-07 05:34 mwedel
  • [r938] trunk/client/CHANGES, trunk/client/item_types, trunk/client/item_types.h item_types,item_types.h: Change matching for sword - hopefully this should
    fix problems with dancing sword spellbooks. MSW 2001/04/06
  • 2001-03-31 18:49 anonymous
  • [r919] trunk/client/bladibla.txt This was the other test.
  • 2001-03-31 18:47 anonymous
  • [r918] trunk/client/bladibla.txt This is another test.
  • 2001-03-31 18:44 anonymous
  • [r917] trunk/client/test.txt This was the test.
  • 2001-03-31 18:42 anonymous
  • [r916] trunk/client/test.txt This is a test.
  • 2001-03-29 07:25 mwedel
  • [r901] trunk/client/CHANGES, trunk/client/gx11.c, trunk/client/item.c gx11.c, item.c: move animations of the look window to the client. All
    the necessary was already being sent to the client - it was just needed
    for the client to use this information. Also remove some
    #if 0 code from gx11.c. MSW 2001/03/28
  • 2001-03-23 20:32 mwedel
  • [r896] trunk/client/CHANGES, trunk/client/item.c item.c: set_item_values - only resort items based on name if the name
    has changed. This fixes a problem with items moving around in the
    inventory if you lock/apply/unapply/unlock them. MSW 2001/03/23
  • 2001-03-23 10:53 rower
  • [r892] trunk/client/player.c Small patch for those with dmalloc dated 15May2000-13Sep2000 (e.g. debian 'sid')
  • 2001-03-20 05:58 mwedel
  • [r881] trunk/client/CHANGES, trunk/client/configure, trunk/client/configure.in Minor changes/updates for 0.97.0 release.
    MSW 2001-03-19
  • 2001-03-20 05:33 mwedel
  • [r879] trunk/client/item_types Commit of changes by Klaus Elsbernd - adds a few items and fixes
    a few others up. Commited by mark wedel, 2001-03-19
  • 2001-03-19 07:52 mwedel
  • [r874] trunk/client/CHANGES, trunk/client/commands.c, trunk/client/item.c, trunk/client/item.h MSW 2001/03/18
    Change so that containers on the ground still keep proper contents even if the
    map space itself changes (spells or other objects going onto the space). This
    is done by using the cpl.container pointer and when getting an updated map
    space, seeing if one of the map space object tags match that.
    commands.c: update the cpl.container tags when opening/closing containers.
    item.c: Have locate_object see if the container matches the tag. Don't have
    remove_item remove the object contents of other attributes if it is the
    container, but still remove it from the list it is on.
    item.h: remove function prototypes - these are in proto.h
  • 2001-03-14 07:38 mwedel
  • [r864] trunk/client/CHANGES, trunk/client/gx11.c, trunk/client/png.c, trunk/client/x11.c, trunk/client/xutil.c MSW 2001/03/13:
    png.c: New png -> X11 (or gdk) creation routines that are much faster. This
    should make a noticable difference in performance. Note that the X11
    and gdk implementations are very different now - the gdk implementation
    lets the gdk library do most of the work.
    gx11.c: remove some dead code, add call to gdk_rgb_init() if using
    png images - needed by new png loader.
    x11.c: Add call to init_pngx_loader if running in png mode. Also pass colormap
    by pointer so png_to_xpixmap can modify it.
    xutil.c: pass colormap by pointer to init_pngx_loader (same reason as above)
  • 2001-03-10 23:00 rower
  • [r844] trunk/client/configure, trunk/client/configure.in Added --disable-alsa option. Also some rearrange/prettyprint stuff
  • 2001-03-07 06:58 mwedel
  • [r838] trunk/client/CHANGES, trunk/client/Makefile.in, trunk/client/config.h, trunk/client/configure, trunk/client/configure.in MSW 2001/03/06:
    Makefile.in: Add DMALLOC_LIB definition instead of it going in with the
    the default libraries. cfsndserv will now get properly linked with
    configure.in, configure: add --disable-sound option, and make relevant
    changes to use that option (which basically amounts to not checking
    for any of the sound systems). Add check for dmalloc.h. change
    substitution for -ldmalloc.
  • 2001-03-05 02:11 mwedel
  • [r837] trunk/client/CHANGES, trunk/client/cfsndserv.c cfsndserv.c: Modified so it now compiles with the modern ALSA sound system.
    No idea if it actually works. MSW 2001/03/04
  • 2001-03-02 05:58 mwedel
  • [r832] trunk/client/CHANGES, trunk/client/metaserver.c metaserver.c: Modified so it uses the value of -port if that command
    line option is given by a user. MSW 2001/03/01
  • 2001-03-01 08:03 mwedel
  • [r831] trunk/client/CHANGES, trunk/client/x11.c x11.c: Fixes for info window resizing. This should fix some crashes
    and the code is a bit simpler now. MSW 2001/02/28
  • 2001-02-23 05:16 mwedel
  • [r816] trunk/client/CHANGES, trunk/client/Makefile.in, trunk/client/item.c, trunk/client/item_types, trunk/client/item_types.h, trunk/client/x11.c Makefile.in: Modify so that it installs the target (cfclient, gcfclient,
    cfsndserv) one at a time so it works with the install script.
    item.c: add insert_item_before_item function. Modify the sorting function
    so it first sorts by type, then by locked/unlocked status, and then
    by alphabetical order (not including the number prefix).
    item_types, item_types.h: More updates of missing objects or ones that
    need more specific matching rules.
    x11.c: Remove a lot of duplicate code that was in place for metaserver
    support - instead, just add checks to the existing X event handling
    code to know not to do some things if we're in metaserver selection
    mode. This fixes a bug in that resize events would not be handled
    if in metaserver selection mode.
    MSW 2001-02-22
  • 2001-02-15 03:51 cvs
  • [r807] trunk/client/gx11.c Remove -image from the list of possible options. MSW 2001-02-14
  • 2001-02-13 07:11 tanner
  • [r805] trunk/client/crossfire-client.spec Added Changelog entried to spec file.
  • 2001-02-13 06:56 tanner
  • [r802] trunk/client/NOTES, trunk/client/crossfire-client.spec Notes for sourceforge posting.

    Changes for 0.96.0 release.
  • 2001-02-13 05:57 cvs
  • [r796] trunk/client/CHANGES, trunk/client/configure, trunk/client/configure.in, trunk/client/crossfire-client.spec, trunk/client/item_types, trunk/client/item_types.h CHANGES, configure configure.in crossfire-client.spec: Update for 0.96.0
    item_types item_types.h: Add some additional items.
    MSW 2001-02-12
  • 2001-02-13 05:50 cvs
  • [r795] trunk/client/player.c If compiled with dmalloc, add 'dmalloc command that verifies the
    heap. Makes checking for memory corruption easier. MSW 2001-01-12
  • 2001-02-03 05:25 cvs
  • [r777] trunk/client/CHANGES, trunk/client/Protocol, trunk/client/client.c, trunk/client/client.h, trunk/client/commands.c, trunk/client/gx11.c, trunk/client/item.c, trunk/client/item_types, trunk/client/item_types.h, trunk/client/proto.h, trunk/client/x11.c, trunk/client/xutil.c MSW 2001/02/02:
    Protocol: Update with new face1 command that includes checksum.
    client.c: add face1 protocol command.
    client.h: Update version_sc to 1026.
    commands.c: Move FaceCmd from gx11.c/x11.c to this file, since it
    now only does decoding of data and passes rendering off to appropriate
    file. Also add Face1Cmd function that deals with checksum. Both
    of these functions pass off the rendering to the same function.
    gx11.c: add keepcache variable, re-do facing loading/caching - if
    we have local version of face, generate checksum of it and compare
    to that against what server has. finish_face_command added to
    do this - called by the face functions in commands.c. Add
    -keepcache command line option which will have it not request
    images from server if checksum is different. Add usleep
    in metserver selection area to prevent client from hogging all the cpu
    item.c: Add support for ^ in items file to say only match at start of
    line. Useful for 'bolt' - doing substring also matched against firebolt.
    item_types, item_types.h: make bolt ^bolt, add Head and hauberk to matching
    proto.h: automatic regen.
    x11.c: As gx11.c above, plus: Use one font for all windows - reduces
    complexity. Add easy selection of font to use with -font command
    line option.
    xutil.c: As gx11.c for relevant functions that are located in this file
    and not x11.c
    End of MSW 2001/02/02 checkin.
  • 2001-02-01 06:31 cvs
  • [r766] trunk/client/CHANGES, trunk/client/client.c, trunk/client/gx11.c, trunk/client/player.c, trunk/client/x11.c, trunk/client/xutil.c MSW 2001/01/31:
    client.c: Clear player inventory and look windows after disconnection
    from server. Prevents client crashes.
    gx11.c: various fixes - window placement no longer always centered on screen
    (very obnoxious if running xinerama), various prototypes fixed up,
    clear map data after clearing image data.
    player.c: Add suport for 'mapredraw' command. Not that this should ever
    really be needed, but the server supports it, so its nice to be able to
    use it.
    x11.c: Fixes prototype/casting problems when clearing pixmaps. Like gx11.c,
    clear map data.
    xutil.c: add better description to the unbind command.
  • 2001-01-15 12:58 mids
  • [r708] trunk/client/README Fixed a typo in the configure explanation
  • 2001-01-14 05:00 cvs
  • [r703] trunk/client/CHANGES, trunk/client/Makefile.in, trunk/client/Protocol, trunk/client/config.h, trunk/client/config.h.in, trunk/client/gx11.c, trunk/client/png.c, trunk/client/x11.c MSW 2000/1/13 (except as mentioned, all changes by MSW):
    Makefile.in: Create destination dirs, remove extra tab. Patch also by Dave.
    Protocol: typo fixed.
    config.h, config.h.in: Add HVAE_DMALLOC_H #ifdefs. Checks currently
    disable in configure.in, as with it, the sound won't like properly since
    it needs -ldmalloc, and I haven't bothered investing that much time
    into fixing the Makefile.
    gx11.c: Patches by Dave Peticolas - mostly code cleanup, but one new feature is
    support of wheel mice to move the scrollbars.
    png.c: No real code change, just adjustments in some ordering which I think
    makes the code appear a little simpler.
    x11.c: Minor code cleanups, some formatting changes, some to make better
    error messages.
    End of MSW 2000/1/13 checkin.
  • 2001-01-13 23:25 cvs
  • [r702] trunk/client/gx11.c Minor change to prevent compiler warnings. MSW 2000-1-13
  • 2001-01-09 07:46 tanner
  • [r666] trunk/client/NOTES, trunk/client/crossfire-client.spec Bundled in the client 16 bit change.

    Added NOTES files so I can easily keep it up to date rather then edit on
  • 2001-01-09 06:51 cvs
  • [r665] trunk/client/CHANGES, trunk/client/client.h MSW 2001/1/8:
    client.h: Change damage type to be 16 bits.
  • 2001-01-05 02:50 tanner
  • [r648] trunk/client/crossfire-client.spec First "official" RPM spec file.
  • 2001-01-04 02:52 tanner
  • [r647] trunk/client, trunk/client/.cvsignore, trunk/client/client.gnome, trunk/client/shield.png Getting things ready for a 0.95.8 GNOME aware client release.
  • 2000-12-24 09:46 cvs
  • [r635] trunk/client/CHANGES, trunk/client/png.c MSW 2000/12/24:
    png.c: Fix a major memory corruption issue - the png function
    was re-allocing for a larger hunk of data, but did not update the
    pointer and was still using the pointer to the smaller hunk.
    Severity of this bug depended on luck - if the first png downloaded
    happened to have the full 4 bytes/pixel, it never needed to do a realloc
    so would work fine. Otherwise, a matter of luck what data got stomped
    over. Also, modified the main function in this file so that it
    you can compile against it and it now works with the new in memory
    data read.
  • 2000-12-24 00:05 cvs
  • [r632] trunk/client/cconfig.h Update to use crossfire.real-time.com at metaserver.
    MSW 2000-12-23
  • 2000-12-20 07:03 cvs
  • [r625] trunk/client/CHANGES, trunk/client/Makefile.in, trunk/client/cconfig.h, trunk/client/client.c, trunk/client/client.h, trunk/client/gx11.c, trunk/client/init.c, trunk/client/metaserver.c, trunk/client/proto.h, trunk/client/x11.c, trunk/client/xutil.c MSW 2000/12/19:
    Metaserver update. Most files updated. This change has the client
    connect the metaserver and lets the user choose which server to connect
    to. Also, if the client loses a connection (either because the player
    has quit playing or the server died), the client will no longer exit and
    instead go back to the server selection screen.
    A few unrelated changes (cfclient): when running cache, non downloaded
    images should look better. Also, client starts up with larger window in
    Png mode to take into account the extra space png images takes up in the
    game window.

    Changes by file:
    Makefile.in: Add metaserver.c file.
    cconfig.h: Add metaserver configuration information.
    client.c: Add meta_ variables, move resists_name to this file, no longer
    have DoClient exit if it gets an error on the socket (instead
    mark the fd as -1 and return), change main loop such that if
    connection to server has been lost, go through loop to establish
    a new connection.
    client.h: Add Metaserver_Select input state. Change resists_name from
    a static to extern.
    gx11.c: Remove some unused code, various code cleanups, and additions to
    support the metaserver connection process.
    init.c: Add reset_client_vars - call it between connections to servers.
    proto.h: rebuilt for new functions.
    x11.c: Update for metaserver connection status. If running Png mode,
    have windows created larger.
    xutil.c: When creating default images for cache, create 32x32 images for
    png mode, not 24x24 images.
    metaserver.c: New file for metaserver code.
    End MSW 2000/12/19 checkin.
  • 2000-12-19 04:30 cvs
  • [r623] trunk/client/Protocol Update magicmap command to describe the bitmasks for the high
    nibble. MSW 2000/12/18
  • 2000-12-11 10:43 pjka
  • [r580] trunk/client/cfsndserv.c cfsndserv didn't compile on sgi
  • 2000-12-11 09:40 pjka
  • [r579] trunk/client/Makefile.in removed a bogus file, so make archive works
  • 2000-12-11 07:32 cvs
  • [r577] trunk/client/CHANGES, trunk/client/gx11.c, trunk/client/png.c, trunk/client/x11.c, trunk/client/xutil.c MSW 2000/12/10:
    png.c, gx11.c, x11.c, xutil.c: modified to use in memory loading of
    png's. This means that if not caching images, we don't need to write it out
    to a temp file. This should result in a minor performance gain, but
    also remove the need of using tmpnam. Also, modified gx11.c so that
    it uses same logic as the x11 client for extended command key (').
    Before gx11.c client would use both ' and ", and there was no way to unbind
    the later - since one can always bind the command key, I found that a bit
  • 2000-12-03 22:28 cvs
  • [r551] trunk/client/CHANGES, trunk/client/Protocol, trunk/client/client.h, trunk/client/commands.c, trunk/client/gx11.c, trunk/client/newclient.h, trunk/client/player.c, trunk/client/x11.c Updated to display resistance values in the message window. Except for
    armour, this is only displayed when running against serves with PR
    code. Change for both cfclient and gcfclient. Files affected:
    Protocol client.h commands.c gx11.c newclient.h player.c
    sounds soundsdef.h x11.c
    MSW 12-3-2000
  • 2000-11-29 06:20 cvs
  • [r548] trunk/client/CHANGES, trunk/client/configure, trunk/client/configure.in Update version numbers for 0.95.8 release.
    MSW 2000-11-28
  • 2000-11-08 07:22 cvs
  • [r476] trunk/client/CHANGES, trunk/client/item.h Checkin on 2000-11-7 by MSW:
    item.h: Update NAME_LEN to 128, as the server may send us names that
    long. Also, terminate the name after we copy it.
  • 2000-11-04 05:17 cvs
  • [r471] trunk/client/CHANGES, trunk/client/cconfig.h, trunk/client/client.c, trunk/client/client.h, trunk/client/gx11.c, trunk/client/png.c, trunk/client/x11.c, trunk/client/xutil.c Checking on 11/3 by MSW:
    Remove remaining font support for x11 client.
    Allow setting default display mode and server to connect to in the
    cconfig.h file.
    Files affected: CHANGES, cconfig.h, client.c, client.h, gx11.c, x11.c,
  • 2000-09-21 05:45 cvs
  • [r379] trunk/client/CHANGES, trunk/client/Makefile.in Makefile.in: Update to include png.c when packing up distributions.
  • 2000-09-21 05:41 cvs
  • [r378] trunk/client/CHANGES, trunk/client/configure, trunk/client/configure.in Update for 0.95.7 release. MSW 9/20/2000
  • 2000-08-28 08:02 cvs
  • [r377] trunk/client/item.c Fixed a client crashing bug.
    <= used on an array: indexes start from 0! sizeof counts from 1.

  • 2000-08-25 05:57 cvs
  • [r375] trunk/client/CHANGES, trunk/client/README, trunk/client/client.man, trunk/client/configure, trunk/client/configure.in, trunk/client/gx11.c, trunk/client/xutil.c configure.in, configure: Move check for -lm before png check, and
    libpng on sparc/solaris systems require math library for proper linking.
    Also, change the -with-xpm* to -with-ldflags and -with-includes to be
    more general since extra values may be needed for more than just xpm
    client.man: Updated for information about png images and
    cwindow command.
    README: Updated with changes mentioned above with the --with-png options.
    gx11.c: Remove all support for pixmap images. They didn't work anyways,
    but you could specify -pix on the command line and get no images -
    now it will at least result in an error message. Also, savedefaults
    will now save png status properly.
    xutil.c: Modified so that it will save png status when savedefaults
    is issued.
    MSW 8/24/2000
  • 2000-08-14 04:42 cvs
  • [r372] trunk/client/CHANGES, trunk/client/config.h, trunk/client/config.h.in, trunk/client/configure, trunk/client/configure.in, trunk/client/gx11.c, trunk/client/png.c, trunk/client/x11.c, trunk/client/xutil.c The following change removes imlib as are png loading/rendering library -
    instead, we use our own local function located in png.c. libpng is
    still needed, but it removes the dependancy on imlib. Also, my home
    spun function renders all the png images crossfire uses correctly, while
    imlib had several it did not do properly. MSW 8/13/2000
    Files affected:
    config.h, config.h.in: Change HAVE_IMLIB_H to HAVE_LIBPNG
    configure, configure.in: Change check from imlib to libpng.
    gx11.c,x11.c,xutil.c: Changed to use our functions and not imlib.
    png.c: new file that has our png support in it.
  • 2000-08-11 03:57 cvs
  • [r371] trunk/client/CHANGES, trunk/client/cfsndserv.c cfsndserv.c: Make some changes so that sound on ultrasparc systems is played
    properly. Missing FD_SET call to re-add the soundfd, as well as a missing
    wrap check for first_free_buffer. MSW 8/10/2000
  • 2000-08-07 05:27 cvs
  • [r367] trunk/client/CHANGES, trunk/client/Protocol, trunk/client/client.h, trunk/client/commands.c, trunk/client/gx11.c, trunk/client/item.c, trunk/client/item.h, trunk/client/player.c, trunk/client/x11.c The following matches a change made to the server which includes two
    piece item names to make the item names in the client appear more perfect.
    Protocol: Updated to document the new item name transmission method.
    client.h: Update SC version to 1024.
    item.h: Remove name and o_name from item structure, instead there is now
    d_name, s_name, and p_name, representing the display name, singular name,
    and plural name. display name is derived from the s/p names plus nrof value.
    commands.c: Chance strncpy to memcpy, as a null character is used to seperate
    the two name values. UpdateItemCmd is also modified to supply an empty
    string to set_item_values instead of the same name if the name is unchanged.
    gx11.c, player.c, x11.c: use d_name instead of name to correspond with
    changes to item.h
    item.c: Update item initialization and clearing functions with new name
    elements. Update set_item_values with new two piece name support.
    remove adding 'a' and 'an' prefix to singular objects, as it generally
    doesn't look good in the look window and isn't all that useful in the
    inventory window either.
    Mark Wedel 8/6/2000
  • 2000-07-20 06:49 cvs
  • [r361] trunk/client/item_types, trunk/client/item_types.h, trunk/client/player.c item_types, item_types.h: Update with new item types - MSW 7/19/2000

    player.c: Comment out command buffering output - MSW 7/19/2000
  • 2000-06-21 04:45 cvs
  • [r345] trunk/client/CHANGES, trunk/client/README, trunk/client/configure, trunk/client/configure.in, trunk/client/x11.c configure.in: Update for 0.95.6 release.

    x11.c: Change MAX_BUF definition in to match that in config.h

    Update README for necessary libraries.
  • 2000-06-17 06:28 cvs
  • [r328] trunk/client/CHANGES, trunk/client/configure, trunk/client/configure.in Update README for necessary libraries.
    configure.in, configure: Re-order testing of Xext, Imlib where we still
    have the any special link flags set. Also, when finding these, explicity
    set them in the X_LIBS variable and not the default, since they are only
    needed for the X11 client. MSW 6/16/2000
  • 2000-06-03 07:20 cvs
  • [r288] trunk/client/CHANGES, trunk/client/Protocol, trunk/client/client.c, trunk/client/client.h, trunk/client/commands.c, trunk/client/config.h, trunk/client/config.h.in, trunk/client/configure, trunk/client/configure.in, trunk/client/gx11.c, trunk/client/newclient.h, trunk/client/proto.h, trunk/client/x11.c, trunk/client/xutil.c Protocol: Update for png information - addition of image command.
    client.c: Add support for image command. Change initializing so we get
    the protocol from the server early on - we need to know it before
    we tell it what facemode we want, as it may not support png
    images. do protocol version check and if the server does not
    support it and the user request png, fail out.
    client.h: Increase versions of protocol. Add Png_Display to possible display
    command.c: Add ImageCmd function which processes the image command
    (used for receipt of png images). the use of the image command
    can be abstracted in the future for other image formats quite easily.
    config.h.in (& config.h): Add HAVE_IMLIB_H define which lets us know if
    the imlib is available.
    configure.in (& configure): Add detection for imlib and set the appropriate
    variables so that they get linked properly. Also add check
    for Imlib.h
    gx11.c: Update for png support - add display_newpng command, change
    XPM_SIZE to image_size and make it a variable and not a define.
    Pull in appropriate imlib support, as well as rendering of
    png data. Some dead code removed. display_usepng,
    display_usxpm, and display_newpng functions added.
    newclient.h: Add CF_FACE_PNG constant for CS communication.
    proto.h: Updated for new png functions.
    x11.c: Many of the same changes as gx11.c above. More work was done here
    as the 24 image size was hardcoded into this file - it is
    now a variable also, so supporting other image sizes in the future
    should also be quite easy. Once the Png's are rendered, they are
    drawn the same was as the Xpm's are, so many checks for
    display_mode==Xpm_Display also check for Png_Display.
    xutil.c: Support for PNG images added. Changes are mostly related to
    caching code.
    Changes by Mark Wedel, 6/2/2000
  • 2000-05-30 05:07 cvs
  • [r283] trunk/client/CHANGES, trunk/client/Makefile.in Makfile.in: Have cfsndserv.o removed when make clean is done.
    Also add a 'distclean' directive which removes the config.cache/log/status
    files as well as the executables. MSW 5/29/2000
  • 2000-05-25 16:44 cvsread
  • [r268] trunk/client/README Changed mark's email address.
  • 2000-05-08 03:12 cvs
  • [r239] trunk/client/CHANGES Update for x11.c, xutil.c changes - msw 5/8/2000
  • 2000-05-08 03:11 cvs
  • [r238] trunk/client/x11.c x11.c: Fix bug introduced in 4/20 update which would cause xpm display
    mode to fail with no such face warnings - code check was in the
    wrong place - MSW 5/7/2000
  • 2000-05-08 03:10 cvs
  • [r237] trunk/client/xutil.c xutil.c: Improve logic for built in keybindings - if the
    def_keys specifies a unique keycode, we don't update the keycode - this
    is necessary for some keyboards to have working keybindings (for example,
    sun Type 5 keyboards use the Up keysym for both the arrows and the keypad,
    so we can't get the keycode for both with the XKeysymToKeycode file -
    MSW 5/7/2000
  • 2000-04-22 07:08 cvs
  • [r228] trunk/client/CHANGES, trunk/client/item_types, trunk/client/item_types.h Add key ring to item_types and item_types.h file in the container
    category. MSW 4/21/2000
  • 2000-04-22 07:00 cvs
  • [r227] trunk/client/CHANGES, trunk/client/Makefile.in Change Makefile.in to use perl that configure has found when
    running items.pl script - MSW 4/21/2000
  • 2000-04-21 07:01 cvs
  • [r225] trunk/client/CHANGES, trunk/client/License License: Add license file for the client - MSW 4/20/2000
  • 2000-04-21 06:58 cvs
  • [r224] trunk/client/CHANGES Many updates - MSW 4/20/2000
  • 2000-04-21 06:58 cvs
  • [r223] trunk/client/config.h, trunk/client/config.h.in config.h, config.h.in: Add WORDS_BIGENDIAN define to file. MSW 4/20/2000
  • 2000-04-21 06:57 cvs
  • [r222] trunk/client/gx11.c gx11.c: Update so that it
    has the same set of command line options that x11.c does (-nocache, -nosound)

    Only update keycodes for the
    local keyboard for standard keybindings. Custom keybindings will keep their
    old/original keycodes, which is often needed. Add -updatekeycodes option so
    have it update all keycodes. MSW 4/20/2000
  • 2000-04-21 06:50 cvs
  • [r221] trunk/client/client.man x11.c, xutil.c, client.h, client.man: Only update keycodes for the local
    keyboard for standard keybindings. Custom keybindings will keep their
    old/original keycodes, which is often needed. Add -updatekeycodes option so
    have it update all keycodes. client.man updated to describe the
    -updatekeycodes command. MSW 4/20/2000
  • 2000-04-21 06:47 cvs
  • [r220] trunk/client/cfsndserv.c cfsndserv.c: Various changes
    1) Add support for sound on Sun (solaris) systems - another init_audio
    function added.
    2) If in SOUND_DEBUG mode, also print out the audio device we would try to
    use. Also, add x,y coordinates when printing debug information when
    playing a sound.
    3) Add various casts to reduce compiler warnings on going from
    signed char to unsigned char data types.
    4) For 16 bit output, big endian (sparc) should now work - have two
    sections when packing the sound information to pack it the write direction
    depending on endianess of the machine.
    5) Ignore the device entry in the .crossfire/sndstat file - using that
    resulted in incompatibilities between system types. If player needs
    to use a specific audio device, the AUDIODEV environmental variable
    can be used.
    --MSW 4/20/2000
  • 2000-04-21 06:40 cvs
  • [r219] trunk/client/configure, trunk/client/configure.in configure.in (and configure): Many fixes:
    1) On solaris, add -R flag to linker options if --with-xpm-lib=dir is
    used - needed to run the client when dynamic linking is used.
    2) Add AC_C_BIGENDIAN check - we need to know the byte order for sound
    to work on both sparc and other systems properly. NOTE - when running
    autoconf, you will get a warning about that line.
    3) Add detecition for solaris audio include, and add appropriate declarations
    to use it.
    4) Fix for xpm check - if X11 includes are in a nonstandard place,
    it would fail to find xpm.h since that includes some standard X11 files.
    Add X_CFLAGS which includes any necessary -I options for this to work.
    --MSW 4/20/2000
  • 2000-04-21 06:29 cvs
  • [r218] trunk/client/client.h, trunk/client/x11.c, trunk/client/xutil.c x11.c, xutil.c, client.h: Only update keycodes for the local keyboard
    for standard keybindings. Custom keybindings will keep their old/original
    keycodes, which is often needed. Add -updatekeycodes option so have
    it update all keycodes. MSW 4/20/2000
  • 2000-04-21 04:38 cvs
  • [r217] trunk/client/x11.c add closing comment - the missing close comment was just resulting
    in warnings of 'comment detected inside comment' - the change does not
    affect the execution of the code. MSW 4/20/2000
  • 2000-04-19 06:20 cvs
  • [r215] trunk/client/item.c Remove extra semicolor that was resulting in compiler warnings.

    Update mail address/copyright date.

    Mark Wedel 4/18/2000
  • 2000-04-13 07:09 cvs
  • [r202] trunk/client/CHANGES update fiel for animation update, x11.c and removal of some files.
    Mark Wedel 4/12/2000
  • 2000-04-13 07:09 cvs
  • [r201] trunk/client/x11.c x11.c: Add code into gen_draw_face so if a request to draw a nonexistant face
    is performed, it will handle the problem gracefully. Mark Wedel, 4/12/2000
  • 2000-04-13 07:08 cvs
  • [r200] trunk/client/client.h, trunk/client/commands.c commands.c, client.h: Change animation code to dynamically allocate space
    needed for animations instead of using a statically defined/sized array to
    contain the face information. This fixes a bug with icors causing the client
    to crash (it had more animations than the static array had), and this method
    is just generally a good idea. Mark Wedel, 4/12/2000
  • 2000-04-13 07:07 cvs
  • [r199] trunk/client/config.cache, trunk/client/config.status Makefile, config.cache, config.status: Removed from CVS tree it should not be
    distributed - rather each person should generate it on their own by using the
    configure script. One advantage of removing these is that a 'cvs diff'
    of the directory won't show the diffs of these automatically generated
    files. Mark Wedel, 4/12/2000
  • 2000-04-13 07:04 cvs
  • [r198] trunk/client/Makefile Removing Makefile - it should not be distributed - rather each person
    should generate it on their own by using the configure script.
    Mark Wedel, 4/12/2000
  • 1999-12-01 04:55 cvs
  • [r157] trunk/client/Makefile.in Updated Makefile.in to that it uses the perl that is found as part of the
    configure process when running the utils/deftoheader.pl line. MSW
  • 1999-07-12 06:08 cvs
  • [r48] trunk/client/CHANGES, trunk/client/Makefile, trunk/client/client.man, trunk/client/clientbmap.h, trunk/client/config.status, trunk/client/configure, trunk/client/configure.in, trunk/client/gx11.c, trunk/client/misc.c, trunk/client/newclient.h, trunk/client/newsocket.c, trunk/client/sound.c, trunk/client/utils/mkinstalldirs, trunk/client/x11.c, trunk/client/xutil.c Global commit to sync up my private and the cvs revisions for 0.95.4
  • 1999-07-12 06:05 cvs
  • [r47] trunk/client/logfile remove logfile - this just contains malloc debugging as is not needed
    in the cvs tree.
  • 1999-07-12 06:05 cvs
  • [r46] trunk/client/config.log remove automatically generated log that isn't needed.
  • 1999-07-12 05:54 cvs
  • [r45] trunk/client/cfclient, trunk/client/cfsndserv, trunk/client/gcfclient Removing executable files since they are not needed/desirable.
  • 1999-06-14 00:00 cvs
  • [r34] trunk/client/CHANGES, trunk/client/xutil.c Add checks to xutil.c to verify we have a valid keysym before trying
    to convert it to a string and print it out. Before, this could result
    in trying to print null strings, which would cause a crash - msw.
  • 1999-06-13 22:37 cvs
  • [r33] trunk/client/CHANGES, trunk/client/Makefile.in, trunk/client/xutil.c fix unbind and bind in xutil.c so they properly skip over leading spaces
    - msw.

    fix Makefile.in so make depend will pick up x11.c dependencies - msw.
  • 1999-06-13 22:19 cvs
  • [r32] trunk/client/CHANGES, trunk/client/player.c Fix 'help command so that the draw info commands are formatted to fit
    on the default window width (player.c - msw).

    Fix so that cwindow without options results in a message that an option
    is needed instead of causing the program to crash (player.c - msw)
  • 1999-06-02 07:10 cvs
  • [r24] trunk/client/CHANGES, trunk/client/Makefile.in Update Makefile.in so that make install works again - msw
  • 1999-05-17 14:21 hfukui
  • [r22] trunk/client/player.c Fix Segmentation fault Bug, when cwindow command is used without arguments.
  • 1999-05-08 09:32 azzie
  • [r20] trunk/client/CHANGES Updated changes file with gx11.c changes.
  • 1999-05-08 09:28 azzie
  • [r19] trunk/client/gx11.c Major updates, first checkin in a long time. Improvements include major
    performance increases during text updates and speedups during drawing.
    Also prepared for 32x32 graphics (change the XPM_SIZE define).
  • 1999-05-08 09:23 azzie
  • [r18] trunk/client/newsocket.c Fixed client side buffering bug. It should never happen anyway since the client
    is unlikely to reach a buffering state, but it might as well be fixed.
  • 1999-04-29 04:04 cvs
  • [r10] trunk/client/newclient.h Adding missing newclient.h file in.
  • 1999-03-29 05:13 uid200
  • [r4] trunk/client, trunk/client/CHANGES, trunk/client/COPYING, trunk/client/Makefile, trunk/client/Makefile.in, trunk/client/Protocol, trunk/client/README, trunk/client/aclocal.m4, trunk/client/cconfig.h, trunk/client/cfclient, trunk/client/cfsndserv, trunk/client/cfsndserv.c, trunk/client/client.c, trunk/client/client.h, trunk/client/client.man, trunk/client/clientbmap.h, trunk/client/commands.c, trunk/client/config.cache, trunk/client/config.h, trunk/client/config.h.in, trunk/client/config.log, trunk/client/config.status, trunk/client/configure, trunk/client/configure.in, trunk/client/def-keys.h, trunk/client/def_keys, trunk/client/gcfclient, trunk/client/gx11.c, trunk/client/help, trunk/client/help/about.h, trunk/client/help/chelp.h, trunk/client/help/shelp.h, trunk/client/init.c, trunk/client/item.c, trunk/client/item.h, trunk/client/item_types, trunk/client/item_types.h, trunk/client/items.pl, trunk/client/logfile, trunk/client/misc.c, trunk/client/newsocket.c, trunk/client/pixmaps, trunk/client/pixmaps/all.xpm, trunk/client/pixmaps/applied.xpm, trunk/client/pixmaps/bg.xpm, trunk/client/pixmaps/close.xpm, trunk/client/pixmaps/coin.xpm, trunk/client/pixmaps/crossfiretitle.xpm, trunk/client/pixmaps/cursed.xpm, trunk/client/pixmaps/damned.xpm, trunk/client/pixmaps/hand.xpm, trunk/client/pixmaps/hand2.xpm, trunk/client/pixmaps/lock.xpm, trunk/client/pixmaps/locked.xpm, trunk/client/pixmaps/mag.xpm, trunk/client/pixmaps/magic.xpm, trunk/client/pixmaps/nonmag.xpm, trunk/client/pixmaps/question.111, trunk/client/pixmaps/question.xpm, trunk/client/pixmaps/skull.xpm, trunk/client/pixmaps/stipple.111, trunk/client/pixmaps/stipple.112, trunk/client/pixmaps/test.xpm, trunk/client/pixmaps/unpaid.xpm, trunk/client/player.c, trunk/client/proto.h, trunk/client/sound, trunk/client/sound.c, trunk/client/sounds, trunk/client/sounds.dist, trunk/client/soundsdef.h, trunk/client/utils, trunk/client/utils/config.guess, trunk/client/utils/config.sub, trunk/client/utils/deftoheader.pl, trunk/client/utils/install-sh, trunk/client/utils/mdk.sh, trunk/client/utils/missing, trunk/client/utils/mkinstalldirs, trunk/client/x11.c, trunk/client/xutil.c Initial revision