Developers: smacfiggen

Login name:
smacfiggen
Total Commits:
26 (0.0%)
Lines of Code:
969 (0.0%)
Most Recent Commit:
2001-07-24 18:40

Activity by Clock Time

Activity by Hour of Day for smacfiggen

Activity by Day of Week for smacfiggen

Activity in Directories

Directory Changes Lines of Code Lines per Change
Totals 26 (100.0%) 969 (100.0%) 37.2
trunk/client/ 21 (80.8%) 945 (97.5%) 45.0
trunk/crossfire/socket/ 2 (7.7%) 10 (1.0%) 5.0
trunk/crossfire/ 1 (3.8%) 10 (1.0%) 10.0
trunk/crossfire/server/ 1 (3.8%) 3 (0.3%) 3.0
trunk/crossfire/include/ 1 (3.8%) 1 (0.1%) 1.0

Activity of smacfiggen

Most Recent Commits

smacfiggen 2001-07-24 18:40 Rev.: 1242


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

2 lines of code changed in 1 file:

  • trunk/client: xutil.c (+2 -2)
smacfiggen 2001-07-23 16:52 Rev.: 1240


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

1 lines of code changed in 1 file:

  • trunk/client: xutil.c (+1)
smacfiggen 2001-07-22 13:48 Rev.: 1239


Server side of the fog of war feature to the gtk client. Adds the
protocol command newmap and adds a call to MapNewmapCmd in enter_map()
in main.c. More additionals will need to be made, for example when
someone casts a teleport spell but teleports within the same map.
SMACFIGGEN

24 lines of code changed in 5 files:

  • trunk/crossfire: CHANGES (+10)
  • trunk/crossfire/include: newserver.h (+1)
  • trunk/crossfire/server: main.c (+3)
  • trunk/crossfire/socket: init.c (+1), request.c (+9)
smacfiggen 2001-07-22 13:44 Rev.: 1238


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

773 lines of code changed in 9 files:

  • trunk/client: CHANGES (+50), client.c (+4 -3), client.h (+19), commands.c (+12 -2), gnome.c (+5), gx11.c (+214 -84), proto.h (+2), x11.c (+13 -1), xutil.c (+454 -55)
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:

  • trunk/client: CHANGES (+6), gx11.c (+9 -1)
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:

  • trunk/client: CHANGES (+26), gx11.c (+16 -3)
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:

  • trunk/client: README (+11 -1)
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:

  • trunk/client: xutil.c (+10 -8)
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:

  • trunk/client: configure (+1 -1), configure.in (+1 -1)
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:

  • trunk/client: gx11.c (+27 -6), xutil.c (+62 -3)
Generated by StatSVN 0.7.0