June 2001 Commit Log

Number of Commits:
67
Number of Active Developers:
8
gros 2001-06-30 14:36 Rev.: 1226

Corrected map-corruption problem with the Town Portal - Gros 2001-06-30

2 lines of code changed in 1 file:

mwedel 2001-06-29 00:59 Rev.: 1225

common/object.c, common/player.c, include/object.h, server/skill_util.c:
Remove the unused LINKED_SKILL code.
common/Makefile.in: Use cproto to make prototypes - cextract fails for
some reason and now seems unsupported. Cproto generates a bunch
of warnings, but does do the job.
common/arch.c,server/apply.c, server/main.c, server/monster.c: cleanup some
compile warnings (unusued variables, returns without value
doc/playbook/Makefile.in: Create proper dependencies for files.
doc/playbook/treas2-extract: Add player_force to value to ignore.
doc/spoiler-html/spoiler.html: rebuilt
server/skill_util.c: Remove the unused LINKED_SKILL code. Prevent
characters that have meditation skill from learning melee weapon skill.
MSW 2001-06-28

964 lines of code changed in 17 files:

jbontje 2001-06-28 10:11 Rev.: 1224

Fixed typo's MiDS 2001-06-28

4 lines of code changed in 3 files:

jbontje 2001-06-28 09:52 Rev.: 1223

Fixed typo. MiDS 2001-06-28

1 lines of code changed in 1 file:

jbontje 2001-06-28 09:31 Rev.: 1222

Removed space. MiDS 2001-06-28

1 lines of code changed in 1 file:

jbontje 2001-06-28 09:20 Rev.: 1221

Removed space. MiDS 2001-06-28

2 lines of code changed in 2 files:

smacfiggen 2001-06-23 21:13 Rev.: 1220


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

15 lines of code changed in 2 files:

gros 2001-06-23 08:02 Rev.: 1219

Corrected the script associated with the Ring of Occidental Mages - Gros 2001-06-23

4 lines of code changed in 1 file:

gros 2001-06-23 07:59 Rev.: 1218

Added support for script_str_... structures in artifact file - Gros 2001-06-23

36 lines of code changed in 1 file:

gros 2001-06-23 05:57 Rev.: 1217

Added bounds checking for some script instructions. Also added Copyright/GPL header comment - Gros 2001-06-23

334 lines of code changed in 2 files:

smacfiggen 2001-06-20 01:07 Rev.: 1216



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

42 lines of code changed in 2 files:

mwedel 2001-06-20 00:01 Rev.: 1215

commit updated version - MSW 2001-06-19

7989 lines of code changed in 1 file:

mwedel 2001-06-19 23:50 Rev.: 1214

Add note about possible changes that need to be made to tetex to
generate the spoiler. MSW 2001-06-19

11 lines of code changed in 1 file:

smacfiggen 2001-06-19 23:37 Rev.: 1213



Added notes on what is needed for SDL support.

11 lines of code changed in 1 file:

smacfiggen 2001-06-19 23:29 Rev.: 1212



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.

10 lines of code changed in 1 file:

reeve 2001-06-18 18:30 Rev.: 1211

Scott Barnes: Changed the gnome-config test from -n to -z so that it actually
works :)

2 lines of code changed in 2 files:

mwedel 2001-06-18 00:53 Rev.: 1210

Add missing file - MSW 2001-06-16

0 lines of code changed in 1 file:

mwedel 2001-06-18 00:15 Rev.: 1209

Quantize colors down to that of xpm template - image was using too many
colors before, confusing the spoiler generation script. MSW 2001-06-17

42 lines of code changed in 1 file:

smacfiggen 2001-06-17 23:40 Rev.: 1208


Changed no_sdl = yes to no_sdl=yes. Configure thought it meant
yes as in the shell command.

2 lines of code changed in 2 files:

smacfiggen 2001-06-17 23:17 Rev.: 1207


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

89 lines of code changed in 2 files:

mwedel 2001-06-17 18:00 Rev.: 1206

Fix some compiler warnings in this file. MSW 2001-06-17

10 lines of code changed in 1 file:

mwedel 2001-06-17 17:28 Rev.: 1205

Fix error in script preventing it from running. MSW 2001-06-17

1214 lines of code changed in 1 file:

jbontje 2001-06-17 15:42 Rev.: 1204

Fixed 2 typos: resist_paralysis->resist_paralyze
MiDS 2001-06-17

2 lines of code changed in 2 files:

mwedel 2001-06-17 02:09 Rev.: 1203

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

1418 lines of code changed in 9 files:

darth_bob 2001-06-17 00:01 Rev.: 1202

Pungas new high angel graphics for alternate set, dnh

688 lines of code changed in 37 files:

mwedel 2001-06-16 23:34 Rev.: 1201

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
command.
MSW 2001-06-16

52 lines of code changed in 7 files:

mwedel 2001-06-16 02:48 Rev.: 1200

doc/Protocol: Add 'darkness' setup option documentation.
include/newserver.h: add darkness element to socket structure.
include/script.h,server/script.c: remove static declaration from script.h,
move it to script.c
socket/init.c: init darkness element in socket structure.
socket/request.c: Add support in setup command for client to set if it
wants darkness information or not. Modify map update functions such
that if the client does want darkness information, server does not
send it. Improve darkness handling so that if using the map1
protocol command, send darkness for first blocked space due to
darkness - this makes it possible for client to interpolate results
better.
MSW 2001-06-16

84 lines of code changed in 7 files:

gros 2001-06-14 06:12 Rev.: 1199

Added two small items demonstrating script capabilities - Gros 14-06-2001

116 lines of code changed in 1 file:

gros 2001-06-14 05:54 Rev.: 1198

Added (set-cursed [item] [#t/#f]) script instruction

14 lines of code changed in 2 files:

gros 2001-06-14 04:04 Rev.: 1197

Added 'out of script stack space' error handling

15 lines of code changed in 1 file:

gros 2001-06-14 03:52 Rev.: 1196

Removed 'unofficial version' warning message

1 lines of code changed in 1 file:

gros 2001-06-14 03:44 Rev.: 1195

Replaced non-ANSI C // comments by /* */ ANSI comments

12 lines of code changed in 3 files:

jbontje 2001-06-13 17:04 Rev.: 1194

bugfix - uninitialized script_... and script_str_... fields
of new objects are now set to NULL by default, patch made by gros
2001-06-14 mids

21 lines of code changed in 1 file:

michtoen 2001-06-13 08:51 Rev.: 1193

run_win32.bat sets a SET system var for starting GUILE. MT 13-06-2001

1 lines of code changed in 1 file:

michtoen 2001-06-13 08:16 Rev.: 1192

Modified Files:
player.c loader.l loader.c init.c request.c newserver.h
Log Message:
Removed 2 compiler warning from Scriptfire patch in loader.l/loader.c
and script.c.

added a new setup cmd: "newanim"
a client giving the newanim cmd, will enable the new animation system.

The interface is open and not server controlled at this moment.
First using is to enable the player moving in 8 direction. Giving this option to a
server without changed arch will invoke broken player animations.
This will be changed in the future.

MT 2001-06-13

3 lines of code changed in 1 file:

michtoen 2001-06-13 07:52 Rev.: 1191

Modified Files:
player.c loader.l loader.c init.c request.c newserver.h
Log Message:
Removed 2 compiler warning from Scriptfire patch in loader.l/loader.c
and script.c.

added a new setup cmd: "newanim"
a client giving the newanim cmd, will enable the new animation system.

The interface is open and not server controlled at this moment.
First using is to enable the player moving in 8 direction. Giving this option to a
server without changed arch will invoke broken player animations.
This will be changed in the future.

MT 2001-06-13

20 lines of code changed in 33 files:

michtoen 2001-06-13 06:02 Rev.: 1190

Modified Files:
aclocal.m4 configure. configure.in Makefile.in
crossfire32.dsw crossfire32.dsp INSTALL_WIN32.txt
common: arch.c loader.c treasure.c loader.l
crossedit: Attr.c
doc: README_EXTENSIONS README_SCRIPT
include: autoconf.h define.h global.h includes.h loader.h
object.h script.h spellist.h spells.h sproto.h
version.h
server: Makefile.in apply.c attack.c c_object.c gods.c init.c
main.c monster.c player.c script.c script_spells.c
script_types.c skills.c spell_effect.c spell_util.c
time.c
Log Message:
Adding Scriptfire 0b11 to Crossfire.
Massive changes. The facts are in the doc files.

MT 2001-06-13

562 lines of code changed in 2 files:

michtoen 2001-06-13 05:52 Rev.: 1189

Modified Files:
aclocal.m4 configure. configure.in Makefile.in
crossfire32.dsw crossfire32.dsp INSTALL_WIN32.txt
common: arch.c loader.c treasure.c loader.l
crossedit: Attr.c
doc: README_EXTENSIONS README_SCRIPT
include: autoconf.h define.h global.h includes.h loader.h
object.h script.h spellist.h spells.h sproto.h
version.h
server: Makefile.in apply.c attack.c c_object.c gods.c init.c
main.c monster.c player.c script.c script_spells.c
script_types.c skills.c spell_effect.c spell_util.c
time.c
Log Message:
Adding Scriptfire 0b11 to Crossfire.
Massive changes. The facts are in the doc files.

MT 2001-06-13

5923 lines of code changed in 28 files:

michtoen 2001-06-13 05:38 Rev.: 1188

Modified Files:
aclocal.m4 configure. configure.in Makefile.in
crossfire32.dsw crossfire32.dsp INSTALL_WIN32.txt
common: arch.c loader.c treasure.c loader.l
crossedit: Attr.c
doc: README_EXTENSIONS README_SCRIPT
include: autoconf.h define.h global.h includes.h loader.h
object.h script.h spellist.h spells.h sproto.h
version.h
server: Makefile.in apply.c attack.c c_object.c gods.c init.c
main.c monster.c player.c script.c script_spells.c
script_types.c skills.c spell_effect.c spell_util.c
time.c
Log Message:
Adding Scriptfire 0b11 to Crossfire.
Massive changes. The facts are in the doc files.

MT 2001-06-13

866 lines of code changed in 9 files:

mwedel 2001-06-13 02:01 Rev.: 1187

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
information.
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
data.
MSW 2001-06-12

562 lines of code changed in 12 files:

mwedel 2001-06-13 01:16 Rev.: 1186

Fix bug in darkness code when client is using non rectangular maps.
Player was not being properly illuminated. MSW 2001-06-12

2 lines of code changed in 1 file:

mwedel 2001-06-11 23:29 Rev.: 1185

common/item.c: Add boots and gloves to items which are not magical just
because they have resist physical. This bug resulted in most all boots
and gloves being shown as magical, even though they had no special
properties.
socket/request.c: remove some dead code. Memset entire map cell
to zero when scrolling and the map is cells is one that was not in
view. This fixes redraw problems when using large viewable maps.
MSW 2001-06-11

15 lines of code changed in 4 files:

michtoen 2001-06-11 13:54 Rev.: 1184

change HANDLE to CF_HANDLE

1 lines of code changed in 1 file:

michtoen 2001-06-11 13:47 Rev.: 1183

change HANDLE to CF_HANDLE

10 lines of code changed in 5 files:

michtoen 2001-06-10 23:13 Rev.: 1182

enable player 8 way direction

9 lines of code changed in 1 file:

michtoen 2001-06-10 22:48 Rev.: 1181

update for win32

1 lines of code changed in 1 file:

michtoen 2001-06-10 22:47 Rev.: 1180

add option ENABLE_PLAYER_ANIMATION_8

6 lines of code changed in 1 file:

michtoen 2001-06-10 22:47 Rev.: 1179

fix it for win32 usage (exclude autoconfig.h)

2 lines of code changed in 1 file:

michtoen 2001-06-10 22:47 Rev.: 1178

update VC++ make file

0 lines of code changed in 1 file:

mwedel 2001-06-08 01:21 Rev.: 1177

doc/Protocol: update information for the mapcmd, add map1cmd to
section of setup commands.
include/newserver.h,socket/init.c: add map1cmd element to socket structure that
determines which protocol (map,map1) will be used for sending the
map.
socket/request.c:add 'map1cmd' to list of setup options. when sending
the map, use the map1cmd element to determine what protocol command
to use to send it.
MSW 2001-06-07

45 lines of code changed in 5 files:

mwedel 2001-06-07 18:20 Rev.: 1176

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

136 lines of code changed in 2 files:

reeve 2001-06-07 15:13 Rev.: 1175

Scott Barnes: Adjusted configure.in so now ./configure tells you if it didn't find Gnome.

97 lines of code changed in 2 files:

reeve 2001-06-07 15:03 Rev.: 1174

Scott Barnes: Made ./configure not fail if it can't find Gnome.

103 lines of code changed in 2 files:

reeve 2001-06-07 14:21 Rev.: 1173

Scott Barnes: Fixed the problem of not creating the install directories and also fixed a problem with loading the user's preferences.

9 lines of code changed in 2 files:

mwedel 2001-06-07 01:08 Rev.: 1172

server/shop.c: Fix bug that resulted in items in shop being paid,
as well as not generating proper listing. MSW 2001-06-06.

12 lines of code changed in 2 files:

reeve 2001-06-05 16:48 Rev.: 1171

Added support to the Gnome client for larger viewable maps.

65 lines of code changed in 1 file:

reeve 2001-06-05 11:59 Rev.: 1170

More fixes to sync up with the other clients.

49 lines of code changed in 1 file:

reeve 2001-06-05 11:23 Rev.: 1169

Fixed display_map_doneupdate for the new proto.h

2 lines of code changed in 1 file:

mwedel 2001-06-05 01:57 Rev.: 1168

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

17 lines of code changed in 1 file:

mwedel 2001-06-05 01:24 Rev.: 1167

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
others
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

1055 lines of code changed in 11 files:

reeve 2001-06-04 22:01 Rev.: 1166

*** empty log message ***

7619 lines of code changed in 14 files:

reeve 2001-06-04 21:57 Rev.: 1165

Intital Gnome client checkin.

0 lines of code changed in 1 file:

reeve 2001-06-04 21:52 Rev.: 1164

Initial Gnome client checkin.

0 lines of code changed in 27 files:

mardahl 2001-06-04 01:48 Rev.: 1163

Cyclopses were too much of an experience gimme for Mostrai players.
Up the godpower resistance to 75.
Up the holyword resistance to 85. Previously 50 each.

--PeterM

2 lines of code changed in 1 file:

mwedel 2001-06-04 01:41 Rev.: 1162

Checkin of code that supports larger map sizes (configurable in
config.h).
common/los.c: update los code since it only handled 11x11 maps. Now
uses formulatic approach so any map size should be supported. This
does result in a few more spaces getting blocked around corners,
but it doesn't seem that bad - certainly not compared to the ability
to have larger viewable maps.
common/map.c, crossedit/CrEdit.c, crossedit/Edit.c, include/global.h,
include/map.h,random_maps/monster.c,random_maps/special.c,
random_maps/standalone.c, server/apply.c,server/c_misc.c,
server/spell_effect.c,socket/info.c:
change mapx,mapy to what they really point to,
as it prevented using those as variable/structure element names.
common/object.c: update_position - if faces for different layers are
duplicate, set the duplicates to be blank to increase client
update efficiency.
doc/Protocol: Add map1 command description, update setup command to
describe setting of mapsize.
include/config.h: add MAP_CLIENT_X/Y to set maximum map size we can
send to the client.
include/newserver.h: add mapx, mapy values to socket structure
include/player.h: Use MAP_CLIENT_X/Y for sizing arrays that hold
map related information in player structure.
server/player.c: As per player.h above, use appropriate sizing when
initializing player stucture.
server/shop.c: Update mapx,mapy like above, but re-do shop listings code as
it was doing a lot more work than necessarily (I think some changes
got put in for sorting, and the old object manipulation was never
removed when that got done)
socket/init.c: set default client map size to 11x11 in the socket.
socket/item.c: LookAt - change checks for position checking (such that
you can only look at things in bounds) use max viewable map size.
socket/request.c: Make setup commands a little more forgiving if there are
extra spaces. Add 'mapsize' command to setup command. Update
old map sending code to use socket map sizes (to support even
smaller than normal maps, or 13x13 or 15x15 maps). add draw_client_map1
command which implements the map1 protocol command.
MSW 2001-06-03

1092 lines of code changed in 26 files:

mwedel 2001-06-04 00:35 Rev.: 1161

re-collect archetyps. MSW 2001-6-03

6796 lines of code changed in 3 files:

darth_bob 2001-06-03 23:29 Rev.: 1160

Slowed that tail down a wee bit =), dnh

1 lines of code changed in 1 file:

May 2001 »

Generated by StatSVN 0.7.0