1
"$Id: ChangeLog,v 1.87 2006/02/26 08:30:10 mwedel Exp $"
1
"$Id: ChangeLog,v 1.101 2006/06/29 06:28:09 mwedel Exp $"
3
3
------------------------------------------------------------------------------
5
------------------------------------------------------------------------------
6
------------------------------------------------------------------------------
7
sound-src/alsa9.c: Fix up sound for alsa9+. Not positive exact change that
8
fixed the problem, but following changes made: Add SOUND_DEBUG_WRITES to
9
separate the debug from writes vs all the other debug messags. If using
10
16 bit data, always use unsigned no matter wit the sign config option
11
says. In alsa_recover(), if error is EAGAIN, just do nothing and return.
12
In audio_play(), don't write more bytes than chunk size (basically
13
largest block that alsa wants at one time). In play_sound(), don't
14
decrease volume based on maximum number of sounds that may be played
15
at once - this makes things too quiet.
18
gtk/gx11.c, gtk-v2/src/main.c: Add checks for csocket.fd==-1 after return
19
of DoClient. With change in DoClient to close the socket, the network
20
routines are not called again (like they used to be), and thus the
21
GUI was't really aware the socket was closed, and wouldn't prompt for
25
Make socket handling more robust.
27
common/client.c: In DoClient() properly close the socket if an invalid packet
29
common/newclient.h: Increase the receive buffer size to 65535 bytes. This
30
allows the client to receive any valid packet (even if no currently
31
existing server is supposed to send such big packets).
32
common/newsocket.c: Fix definitions of llevDebug and llevError to make error
34
Andreas Kirschbaum 2006-05-21
36
common/mapdata.c: fix unitialized variable.
39
This commit adds client side support for the map2 & tick protocol commands.
40
In additional the the necessary decode logic, more layers are also added
43
common/Makefile.am/.in: Fix proto directive
44
common/client.c: Add global tick variable. Add links to handle map2
45
and tick protocol commands. Update setup request sent to server
46
to request to use the tick and map2 commands.
47
common/client.h: Add additional fields to Animations structure. Increase
48
MAX_MAP_OFFSET to match the value on the server.
49
common/commands.c: Add parsing of return of map2 failures on setup command
50
so that client can fall back. Add additional initializations for
51
new fields in AnimCmd(). Change definition of NUM_LAYERS to match
52
what the map1 command wants/expects. Add Map2Cmd() to decode
53
map2 protocol command. Do some whitepsace clean of ExtSmooth().
55
common/init.c: Add seeing of random number generator.
56
common/mapdata.c: Rewrite CLEAR_CELLS macro to handle additional layers.
57
Clear animation data in expand_clear_face(). Change MAXLAYERS to
58
MAP1_LAYERS since map2 increase MAXLAYERS. Add support functions for
59
setting data in the map2 command.
60
common/mapdata.h: Increase MAXLAYERS, add MAP1_LAYERS define to old number
61
of layers. Add animation data to MapCellLayer.
62
common/newclient.h: Add various defines related to the map2 data.
63
common/proto.h: Rebuilt
64
gtk/gx11.c: Add cleint_tick() to handle map animations. Update
65
do_timeout() to not do animations if we are getting tick data.
66
gtk-v2/src/config.c: Fix bug in config code where it wasn't enabling
67
darkness when player switched back from no darkness mode to some
69
gtk-v2/src/main.c: Add client_tick() to handle animations. Update
70
do_timeout() to not do animations if tick is set.
71
gtk-v2/src/opengl.c: Fix drawing logic where objects which were visible
72
but in which the bottom right corner was off the map was not being
73
drawn - only a problem in opengl since it only draws the object
74
when it finds the head, does not draw each piece.
75
sound-src/Makefile.am/.in: Fix creation of sounds file - was using
77
x11/xutil.c: Add basic client_tick() that is a callback from the common code.
80
common/image.c: use the same image hashing algorithm that the server uses
81
for archetypes, increase the table size to 8192 to reduce collisions
82
Brendan Lally 2006-04-12
84
common/item.c: fix unitialized variable.
85
common/p_cmd.c: fix memory leak.
86
gtk/keys.c: fix memory leak.
90
Yet more changes for gtkv2 clients, mostly aimed at making it usable on lower
91
resolution displays. Window can now be resized to 800x600, added save window
92
positions so it will remember where you moved the panes to (as well as root
93
window size). Unrelated change to this is that now the inventory list is
94
sortable like the metaserver and spell lists are - you can sort by name,
95
weight, or by item type (click on the icon for item type).
97
gtk-v2/gtk-v2.glade: Add new menu item for save window positions. Change
98
statbar area so there is a pane between stat bar and stat notebooks.
99
Change statbars so they resize smaller/larger.
100
gtk-v2/src/callbacks.h: callback for on_save_window_position_activate() added.
101
gtk-v2/src/config.c: Add on_save_window_position_activate() and
102
load_window_positions()
103
gtk-v2/src/interface.c: rebuilt.
104
gtk-v2/src/inventory.c: Add LIST_TYPE column for sorting. Change
105
table definitions so columns are sortable.
106
gtk-v2/src/main.c: Add code to allow resizing down to 800x600. Add
107
call to load_window_positions()
108
gtk-v2/src/map.c: Try to set map size based on window size - save
113
More updates for the gtkv2 client. Add a config window to change the
114
config options. Note this isn't quite as cluttered as the gtkv1 config
115
window because only the options that affect the gtkv2 client are presented.
117
common/client.h: Add CFG_LT_NONE to use instead of 0.
118
common/init.c: Change 'sdl' config name to 'displaymode'. the CONFIG_
119
parameter was changed a while back, but still used this old name in the
121
gtk/config.c: Add some logic to handle 'sdl' legacy config mode.
122
gtk-v2/gtk-v2.glade: Updated with new config window.
123
gtk-v2/src/callbacks.h: rebuilt by glade-2
124
gtk-v2/src/config.c: Lots of new code to handle setting/getting of config
125
values in config window.
126
gtk-v2/src/gtk2proto.h: Rebuilt.
127
gtk-v2/src/interface.c: Rebuilt by glade-2
128
gtk-v2/src/interface.h: Rebuilt by glade-2
129
gtk-v2/src/main.c: Add call to config_init() to initialize config window.
132
------------------------------------------------------------------------------
134
sound-src/Makefile.in: replaced SOUNDDIR with SOUND_DIR, so that
135
--with-sound-dir will work now
136
Klaus Elsbernd 2006-03-07
138
common/p_cmd.c: Update command table for auto-completion to all (non-DM)
139
server side commands. Also check for client side commands. Add a space
140
after a completed command so the player can enter arguments.
141
Andreas Kirschbaum 2006-03-04
143
Fix bug #1442523 (Crash when pressing TAB during login). Also fix undefined
144
behavior due to overlapping strings passed to strncpy().
145
common/p_cmd.c: In complete_command() remove hack for x11 client and return
146
NULL if no match was found.
147
gtk/gx11.c, gtk-v2/src/keys.c, x11/x11.c: Adapt to changes in
149
x11/x11.c: Replace strncpy() with memmove() to cope with overlapping strings.
150
Andreas Kirschbaum 2006-03-04
152
Apply patch #1424583 (IPv6 patch for client) courtesy Christoph Hohmann -
8
160
Fix server cache which was broken for some reason.