August 2000 Commit Log

Number of Commits:
13
Number of Active Developers:
1
cvs 2000-08-28 03:02 Rev.: 377

Fixed a client crashing bug.
<= used on an array: indexes start from 0! sizeof counts from 1.

PeterM

1 lines of code changed in 1 file:

cvs 2000-08-25 01:23 Rev.: 376

common/living.c, server/skill_util.c: Patches by Garth Denley:
Fixes divide by zero crash, sets up perm exp when a new player is loaded,
seperates permanent exp code/calculations into another function.
checked in by MSW, 8/24/2000

51 lines of code changed in 3 files:

cvs 2000-08-25 00:57 Rev.: 375

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
library.
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

228 lines of code changed in 7 files:

cvs 2000-08-24 01:37 Rev.: 374

lib/crossfire.png: ground/sea*png - remove transperancies from png images
since they should not be transparent. MSW 8/23/2000

3 lines of code changed in 2 files:

cvs 2000-08-24 01:32 Rev.: 373

ground/sea*png: Remove transperancies from png images since they should not
be transparent. MSW 8/23/2000

12 lines of code changed in 5 files:

cvs 2000-08-13 23:42 Rev.: 372

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.

726 lines of code changed in 9 files:

cvs 2000-08-10 22:57 Rev.: 371

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

10 lines of code changed in 2 files:

cvs 2000-08-09 00:36 Rev.: 370

doc/spoiler.html/(Makefile.in,empty.pbm, makeps.pl, spoiler.html): Modify
to make gif images from png source instead of xpm images. A valid question
to ask is why convert to gif at all and not just keep in PNG format. The
answer right now is that png support in netscape at least still is not very
good, and it displays gifs better. MSW 8/8/2000

46 lines of code changed in 5 files:

cvs 2000-08-08 01:57 Rev.: 369

Add/Remove some LOG calls:
common/living.c: Remove log messages about gen_sp values on armor
server/login.c, server/main.c: Add messages about player logins/logouts with
IP address. Useful for tracking potentially troublesome players and where
they are player from. MSW 8/7/2000

12 lines of code changed in 4 files:

cvs 2000-08-07 00:28 Rev.: 368

Replace wrong date for last checking just done. MSW

1 lines of code changed in 1 file:

cvs 2000-08-07 00:27 Rev.: 367

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

106 lines of code changed in 9 files:

cvs 2000-08-07 00:16 Rev.: 366

The following change basically does the following: When the server sends an
item name to the client, this item name is now two pieces - the first piece
of the name is its singular form, the second piece is the plural name. This
now makes items in the inventory appear more proper in terms of pluralization
and just normal English. I did notice that the server does not know how
to properly make 'torch' plural - it turns it into torchs. A matching
check in for the client has also been done.
include/newserver.h: Update VERSION_SC to 1024
common/item.c: Change query_base_name to take a second option on whether
we should generate a plural version of the name or not.
socket/item.c: Modify functions to use second argument on the query_base_name
function. Update item commands to send two part names (singular & plural).
Modify esrv_send_look to use item1 protocol command instead of item command.
server/c_object.c: Update item_matched_string to use second option to
query_base_name. Modify function to check against both singular and
plural versions of name.
server/shop.c: Modify shop_listing command usage in query_basename to use
second option. It will also generate the singular name, but that is only
used on sorting, so I don't think it will generally cause any problems.
include/libproto.h: rebuilt because query_base_name has an addition opt.
Mark Wedel 8/13/2000

172 lines of code changed in 7 files:

cvs 2000-08-02 01:04 Rev.: 365

include/config.h, include/global.h, common/init.c, common/living.c,
server/init.c, server/player.c, server/skill_util.c: Add permanent
experience and balanced stat loss features (code by Garth Denley).
Permanent experience make some experience in the skills permanent. Balance
stat loss makes stat loss less likely/costly at low level and more costly
at higher levels. These features are by default off, but can be turned
on either in the config.h file or via command line options. Code checked
in by MSW 8/1/2000

275 lines of code changed in 8 files:

July 2000 »

Generated by StatSVN 0.7.0