Corrected map-corruption problem with the Town Portal - Gros 2001-06-30
2 lines of code changed in 1 file:
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:
Fixed typo's MiDS 2001-06-28
4 lines of code changed in 3 files:
Fixed typo. MiDS 2001-06-28
1 lines of code changed in 1 file:
Removed space. MiDS 2001-06-28
1 lines of code changed in 1 file:
Removed space. MiDS 2001-06-28
2 lines of code changed in 2 files:
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:
Corrected the script associated with the Ring of Occidental Mages - Gros 2001-06-23
4 lines of code changed in 1 file:
Added support for script_str_... structures in artifact file - Gros 2001-06-23
36 lines of code changed in 1 file:
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:
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:
commit updated version - MSW 2001-06-19
7989 lines of code changed in 1 file:
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:
Added notes on what is needed for SDL support.
11 lines of code changed in 1 file:
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:
Scott Barnes: Changed the gnome-config test from -n to -z so that it actually
works :)
2 lines of code changed in 2 files:
Add missing file - MSW 2001-06-16
0 lines of code changed in 1 file:
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:
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:
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:
Fix some compiler warnings in this file. MSW 2001-06-17
10 lines of code changed in 1 file:
Fix error in script preventing it from running. MSW 2001-06-17
1214 lines of code changed in 1 file:
Fixed 2 typos: resist_paralysis->resist_paralyze
MiDS 2001-06-17
2 lines of code changed in 2 files:
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:
Pungas new high angel graphics for alternate set, dnh
688 lines of code changed in 37 files:
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:
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:
Added two small items demonstrating script capabilities - Gros 14-06-2001
116 lines of code changed in 1 file:
Added (set-cursed [item] [#t/#f]) script instruction
14 lines of code changed in 2 files:
Added 'out of script stack space' error handling
15 lines of code changed in 1 file:
Removed 'unofficial version' warning message
1 lines of code changed in 1 file:
Replaced non-ANSI C // comments by /* */ ANSI comments
12 lines of code changed in 3 files:
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:
run_win32.bat sets a SET system var for starting GUILE. MT 13-06-2001
1 lines of code changed in 1 file:
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:
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:
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:
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:
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:
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:
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:
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:
change HANDLE to CF_HANDLE
1 lines of code changed in 1 file:
change HANDLE to CF_HANDLE
10 lines of code changed in 5 files:
enable player 8 way direction
9 lines of code changed in 1 file:
update for win32
1 lines of code changed in 1 file:
add option ENABLE_PLAYER_ANIMATION_8
6 lines of code changed in 1 file:
fix it for win32 usage (exclude autoconfig.h)
2 lines of code changed in 1 file:
update VC++ make file
0 lines of code changed in 1 file:
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:
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:
Scott Barnes: Adjusted configure.in so now ./configure tells you if it didn't find Gnome.
97 lines of code changed in 2 files:
Scott Barnes: Made ./configure not fail if it can't find Gnome.
103 lines of code changed in 2 files:
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:
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:
Added support to the Gnome client for larger viewable maps.
65 lines of code changed in 1 file:
More fixes to sync up with the other clients.
49 lines of code changed in 1 file:
Fixed display_map_doneupdate for the new proto.h
2 lines of code changed in 1 file:
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:
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:
*** empty log message ***
7619 lines of code changed in 14 files:
Intital Gnome client checkin.
0 lines of code changed in 1 file:
Initial Gnome client checkin.
0 lines of code changed in 27 files:
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:
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:
re-collect archetyps. MSW 2001-6-03
6796 lines of code changed in 3 files:
Slowed that tail down a wee bit =), dnh
1 lines of code changed in 1 file:
May 2001 »