May 2006 Commit Log

Number of Commits:
56
Number of Active Developers:
5
mwedel 2006-05-30 01:16 Rev.: 4608

Various bug fixes, related to the new map display code.
common/loader.c, common/loader.l: Add map_layer attribute so object can
override what layer it should go on (fix for levitation boots).
common/map.c: Add support for map_layer to override layering. Fix bug
where if there were more objects than would fit on a layer, not all
would be drawn (same object was duplicated onto multiple layers).
common/object.c: Add check for ob->map_layer in can_merge()
include/map.h: Add extern declaration for map_layer_name[]
include/object.h: Add map_layer to object.
socket/request.c: In map1 compatibility mode, make sure we always
send the player.
MSW 2006-05-29

88 lines of code changed in 7 files:

mwedel 2006-05-30 01:12 Rev.: 4607

Only call animate_object() if object is animated - otherwise,
animate_object() spews bunch of error about being called with non
animated object.
MSW 2006-05-29.

2 lines of code changed in 1 file:

mwedel 2006-05-30 00:58 Rev.: 4606

Update visibility info for many archetypes. Split out destruction
vs manabolt images, as visibility is face attribute and not object.
Likewise, split out cause vs heal faces.
MSW 2006-05-29

86 lines of code changed in 17 files:

mwedel 2006-05-30 00:56 Rev.: 4605

Add specific layer info for this object.
MSW 2006-05-29

1 lines of code changed in 1 file:

mwedel 2006-05-30 00:56 Rev.: 4604

Add client side animation support for these objects.
MSW 2006-05-29

3 lines of code changed in 2 files:

akirschbaum 2006-05-26 17:13 Rev.: 4603

Monsters now cannot anymore see through earthwalls/monsters. This restores the
behavior to what it was before the new movement code. For players this
basically means that monsters will not anymore cast spells though earthwalls or
other monsters.

11 lines of code changed in 2 files:

akirschbaum 2006-05-26 16:29 Rev.: 4602

Make attacking with melee in 'fire command work again. Now attacking with
<shift>+<direction> works again.

11 lines of code changed in 2 files:

ryo_saeba 2006-05-26 02:52 Rev.: 4601

Better this way, actually.

225 lines of code changed in 32 files:

ryo_saeba 2006-05-26 02:40 Rev.: 4600

Another test, feel free to revert :)

442 lines of code changed in 33 files:

akirschbaum 2006-05-25 11:49 Rev.: 4599

Make swarm spells work again. These spells did not work anymore on tiles which
had a move_block type set (for example cobblestones).

10 lines of code changed in 2 files:

ryo_saeba 2006-05-25 09:31 Rev.: 4598

Fix monster facing bug.

10 lines of code changed in 2 files:

ryo_saeba 2006-05-25 05:03 Rev.: 4597

New spider, first Blender try.

502 lines of code changed in 33 files:

akirschbaum 2006-05-22 14:56 Rev.: 4596

Remove skill scroll_set_traps since it is a disabled/unimplemented skill in the server.

0 lines of code changed in 1 file:

mwedel 2006-05-21 18:41 Rev.: 4595

gtk/gx11.c, gtk-v2/src/main.c: Add checks for csocket.fd==-1 after return
of DoClient. With change in DoClient to close the socket, the network
routines are not called again (like they used to be), and thus the
GUI was't really aware the socket was closed, and wouldn't prompt for
metaserver selection.
MSW 2006-05-21

29 lines of code changed in 3 files:

akirschbaum 2006-05-21 14:09 Rev.: 4594

Fix typo in comment.

1 lines of code changed in 1 file:

akirschbaum 2006-05-21 13:58 Rev.: 4593

Simplify expression.

1 lines of code changed in 1 file:

akirschbaum 2006-05-21 13:56 Rev.: 4592

Fix typo in comment.

1 lines of code changed in 1 file:

akirschbaum 2006-05-21 13:38 Rev.: 4591

Properly declare prototype for rmap_yval().

1 lines of code changed in 1 file:

akirschbaum 2006-05-21 13:17 Rev.: 4590

Remove trailing white space from attack messages.

3 lines of code changed in 1 file:

akirschbaum 2006-05-21 13:06 Rev.: 4589

Improve comment.

3 lines of code changed in 1 file:

akirschbaum 2006-05-21 08:02 Rev.: 4588

Fix comment.

1 lines of code changed in 1 file:

akirschbaum 2006-05-21 07:44 Rev.: 4587

Improve comment.

1 lines of code changed in 1 file:

akirschbaum 2006-05-21 06:54 Rev.: 4586

Use 'NULL' for pointers.

1 lines of code changed in 1 file:

akirschbaum 2006-05-21 06:50 Rev.: 4585

Fix typo in parameter name.

3 lines of code changed in 1 file:

akirschbaum 2006-05-21 06:44 Rev.: 4584

Remove useless sizeof() operator.

1 lines of code changed in 1 file:

akirschbaum 2006-05-21 06:43 Rev.: 4583

Do not crash in strdup_local() in out of memory condition.

2 lines of code changed in 1 file:

akirschbaum 2006-05-21 06:41 Rev.: 4582

Fix error message.

1 lines of code changed in 1 file:

akirschbaum 2006-05-21 06:37 Rev.: 4581

Properly declare prototype for yval().

1 lines of code changed in 1 file:

akirschbaum 2006-05-21 06:27 Rev.: 4580

Skip some processing if NEW_MATERIAL_CODE is undefined.

7 lines of code changed in 2 files:

akirschbaum 2006-05-21 06:23 Rev.: 4579

Declare missing variable if NEW_MATERIAL_CODE is defined.

1 lines of code changed in 1 file:

akirschbaum 2006-05-21 06:22 Rev.: 4578

Declare some functions as "static".

7 lines of code changed in 3 files:

akirschbaum 2006-05-21 04:35 Rev.: 4577

Make socket handling more robust.

126 lines of code changed in 14 files:

akirschbaum 2006-05-21 04:07 Rev.: 4576

Fix reference to undefined type name.

1 lines of code changed in 1 file:

ryo_saeba 2006-05-20 09:47 Rev.: 4575

Log hook for plugins. Use it for Python & cfanim.

99 lines of code changed in 9 files:

ryo_saeba 2006-05-20 06:37 Rev.: 4574

Add a bot flag, to not count in metaserver information

38 lines of code changed in 7 files:

ryo_saeba 2006-05-20 04:51 Rev.: 4573

Snapshot

14 lines of code changed in 2 files:

ryo_saeba 2006-05-20 04:37 Rev.: 4572

Snapshot

1 lines of code changed in 1 file:

ryo_saeba 2006-05-20 04:32 Rev.: 4571

Fix declaration

7 lines of code changed in 1 file:

ryo_saeba 2006-05-20 03:56 Rev.: 4570

Win32 snapshot

9 lines of code changed in 2 files:

ryo_saeba 2006-05-20 03:53 Rev.: 4569

Fix Win32 compilation

3 lines of code changed in 1 file:

mwedel 2006-05-17 23:27 Rev.: 4568

This commit adds support for the map2 protocol command (10 layer map).
This changes how the data is stored and sent to the client. This also
implements the idea of client handling map animations, so adds some object
flags so that the server knows if it should let the client handle animations
or not. Support for the original map protocol command is removed.
---
aclocal.m4: rebuilt
configure.ac: Add checks for zlib.h, libz - not used right now, but will
probably be used in the future, so no reason to remove it.
common/loader.l: Add client_anim_sync, client_anim_random FLAGS.
common/map.c: Add add_face_layer() to set face for a layer. Redo/simplify
update_position to store faces away based on layering criteria.
common/time.c: Replace long pticks with a uint32, since size of a long will
vary, and we now send pticks to the client as a 32 bit value.
crossedit/CrEdit.c: Update the draw logic based on the fact there are more
layers now.
crossedit/Edit.c: Comment out some code that probably should be fixed.
Replace calls of SET_MAP_FACE with SET_MAP_FACE_OBJ
doc/Developers/protocol: Updated with map2, tick protocol additions.
Reorganize the parameters in the setup protocol command so they are now
listed in alphabetical order.
include/autoconf.h.in: Add HAVE_ZLIB_H define.
include/define.h: Update for the FLAG_CLIENT_ANIM values.
include/face.h: Remove MapLook structure - no longer used.
include/global.h: change extern type for pticks from long to uint32
include/map.h: Change MAP_LAYERS to 10. Add definitions for what each
map layer is. Remove GET/SET_MAP_FACE macro - no longer used,
GET/SET_MAP_FACE_OBJ replaces it. Add GET_MAP_FACE_OBJS which
returns pointer to all the object info for the space. Remove
faces from MapSpace structure.
include/newclient.h: Update with new defines used for map2 protocol
command.
include/newserver.h: Change type of faces in map_cell_struct to be
uint16 to be consistent. Change 'count' to 'darkness' to more
accurately describe what it represents. Add MAP2_COORD_OFFSET
define. Add Map2Cmd to MapMode enum. Add map_scroll_x/y
to socket structure so we send those as part of map2 command.
Add tick field to socket structure to know if we should send
tick data to the client.
server/login.c: Remove extern long pticks declaration - declared
in global.h - don't need to declare it again locally.
socket/info.c: Rewrite magic map code to use GET_MAP_FACE_OBJ
instead of GET_MAP_FACE macros.
socket/init.c: Initialize new fields in socket structure to 0.
socket/loop.c: If client wants tick data sent, send one each tick.
socket/request.c: Add setup responses for tick, map2 requests. Remove some
extra code in Map1a setup. Send error message to client if not using
at least Map1 protocol level. Modify map_newmap_cmd() to clear
scroll information when using Map2. Remove original (map0) protocol
logic. Update map_clearcell() to clear all 10 layers. Replace
MAX_LAYERS with MAP_LAYERS. Add add_head() to remove some of the
complication from update_space(). Add code in draw_client_map1()
to find which 3 layers to send to the client from the 10 we now have.
Add map2_add_ob(), map2_delete_layer(), check_space_for_heads(),
draw_client_map2() to handle map2 protocol. Add send_tick() -
sends tick to client, but also forces flush of data to reduce lag.
utils/config.guess.utils/config.sub,utils/ltmain.sh: rebuilt
MSW 2006-05-15

1753 lines of code changed in 25 files:

ryo_saeba 2006-05-17 11:58 Rev.: 4567

Fix unitialized variable.

4 lines of code changed in 2 files:

mwedel 2006-05-14 23:57 Rev.: 4566

This commit adds client side support for the map2 & tick protocol commands.
In additional the the necessary decode logic, more layers are also added
to the map.
--
common/Makefile.am/.in: Fix proto directive
common/client.c: Add global tick variable. Add links to handle map2
and tick protocol commands. Update setup request sent to server
to request to use the tick and map2 commands.
common/client.h: Add additional fields to Animations structure. Increase
MAX_MAP_OFFSET to match the value on the server.
common/commands.c: Add parsing of return of map2 failures on setup command
so that client can fall back. Add additional initializations for
new fields in AnimCmd(). Change definition of NUM_LAYERS to match
what the map1 command wants/expects. Add Map2Cmd() to decode
map2 protocol command. Do some whitepsace clean of ExtSmooth().
Add TickCmd()
common/init.c: Add seeing of random number generator.
common/mapdata.c: Rewrite CLEAR_CELLS macro to handle additional layers.
Clear animation data in expand_clear_face(). Change MAXLAYERS to
MAP1_LAYERS since map2 increase MAXLAYERS. Add support functions for
setting data in the map2 command.
common/mapdata.h: Increase MAXLAYERS, add MAP1_LAYERS define to old number
of layers. Add animation data to MapCellLayer.
common/newclient.h: Add various defines related to the map2 data.
common/proto.h: Rebuilt
gtk/gx11.c: Add cleint_tick() to handle map animations. Update
do_timeout() to not do animations if we are getting tick data.
gtk-v2/src/config.c: Fix bug in config code where it wasn't enabling
darkness when player switched back from no darkness mode to some
mode.
gtk-v2/src/main.c: Add client_tick() to handle animations. Update
do_timeout() to not do animations if tick is set.
gtk-v2/src/opengl.c: Fix drawing logic where objects which were visible
but in which the bottom right corner was off the map was not being
drawn - only a problem in opengl since it only draws the object
when it finds the head, does not draw each piece.
sound-src/Makefile.am/.in: Fix creation of sounds file - was using
wrong variable name.
x11/xutil.c: Add basic client_tick() that is a callback from the common code.
MSW 2006-05-14

854 lines of code changed in 18 files:

akirschbaum 2006-05-13 15:21 Rev.: 4565

Fix server crash when sending addspell command(s).

16 lines of code changed in 3 files:

akirschbaum 2006-05-13 14:44 Rev.: 4564

Fix typo; add default value for facecache command.

3 lines of code changed in 1 file:

qal21 2006-05-12 23:18 Rev.: 4563

correct bug in previous commit.

1 lines of code changed in 1 file:

qal21 2006-05-12 23:02 Rev.: 4562

Disallow town portal while in transports (caused map corruption, crashes and other nasty things)

10 lines of code changed in 2 files:

ryo_saeba 2006-05-05 04:14 Rev.: 4561

Fix for bug #1473941 (Damnation bug)

5 lines of code changed in 2 files:

ryo_saeba 2006-05-05 03:47 Rev.: 4560

Third and last part of patch #1453869 courtesy Stefan Huehner (shuehner)

44 lines of code changed in 11 files:

ryo_saeba 2006-05-05 03:41 Rev.: 4559

Second part of patch #1453869 courtesy Stefan Huehner (shuehner)

24 lines of code changed in 10 files:

ryo_saeba 2006-05-05 03:26 Rev.: 4558

First part of patch #1453869 courtesy Stefan Huehner (shuehner)

4074 lines of code changed in 45 files:

ryo_saeba 2006-05-05 03:21 Rev.: 4557

No need to fail when autorun.xml doesn't exist :)

7 lines of code changed in 7 files:

ryo_saeba 2006-05-05 02:52 Rev.: 4556

Add Map.Insert(object,x,y) and Player.CanPay( ) to Python plugin

57 lines of code changed in 9 files:

ryo_saeba 2006-05-05 02:52 Rev.: 4555

Patch #1456016 courtesy schmorp.de development team

25 lines of code changed in 1 file:

tchize 2006-05-03 15:50 Rev.: 4554



Added autogeneration of html and text report for test process.

5757 lines of code changed in 173 files:

qal21 2006-05-02 18:51 Rev.: 4553

removed redundant check and fixed an uninitialized variable in attack.c

2 lines of code changed in 1 file:

April 2006 »

Generated by StatSVN 0.7.0