January 2004 Commit Log

Number of Commits:
68
Number of Active Developers:
5
tchize 2004-01-31 15:13 Rev.: 2574


fixed a bug in save_individual_key in which a buf was overflowed when
a binded command has a size approaching the maximum length (sizeof(bind_buf)).
Also fixed a potential problem which could arise when loading a keybinds file where
some commands exceeded maximum command length.

27 lines of code changed in 3 files:

tchize 2004-01-31 11:19 Rev.: 2573


Added a warning message when keybinding is trucated becasue too long
Also fixed a bug in rebinding of command/fire/run and other system binding

11 lines of code changed in 3 files:

tchize 2004-01-31 07:46 Rev.: 2572


Ooops, last fix had c++ style comments, sorry, fixed

14 lines of code changed in 1 file:

tchize 2004-01-31 07:10 Rev.: 2571


Fixed a bandwidth consuption bug. One was in map1a command the other was
in mapextended command. Both having same reason: empty squares outside of
client visible area were sent with empty layer data. mapextended error
came from a cut and paste, simply deleted it. map1a error came from a
mischeck which considered 'nothing to send' the same as 'send all empty faces'.
Fixed

25 lines of code changed in 1 file:

ryo_saeba 2004-01-31 05:37 Rev.: 2570

Added 'gtk/sound.c'

4 lines of code changed in 1 file:

tchize 2004-01-31 05:11 Rev.: 2569


fixed a bug in scripting leading to deferencing of null pointer when
script was asked watching all command (empty watch parameter)

4 lines of code changed in 1 file:

ryo_saeba 2004-01-30 17:03 Rev.: 2568

Win32 fixes

15 lines of code changed in 5 files:

tchize 2004-01-30 13:59 Rev.: 2567


Documented recent changes concerning LOG() and Documentation

15 lines of code changed in 1 file:

tchize 2004-01-30 13:43 Rev.: 2566


Logging of source files version on client. Removed need for scripting in Makefile

Better used way which didn't use Makefile and a script. Simply ask each .c file
to create a char * rcsid_directory_file_c and collected them as an array in main()

177 lines of code changed in 29 files:

tchize 2004-01-30 08:30 Rev.: 2565


LOG cleanup, source version infos in logs

Cleanup some printf remaining in x11. Also changed x11/sound.c to use raiseChild and so
have messages from child showed thru log. Modified root Makefile.in to include bugreport.h.
Modified common/Makefile.in, gtk/Makefile.in and x11/Makefile.in so they generate
a rcs-id.h file in their respective directory. This file has info on cvs version
of .c files used at compile time. Usefull to track bug in outdated client and check
they are corrected. Modified gtk/x11 clients so they show those informations at startup.

100 lines of code changed in 9 files:

tchize 2004-01-29 17:06 Rev.: 2564


First documentation on scripting interface

2 lines of code changed in 3 files:

ryo_saeba 2004-01-29 16:28

Win32 fixes

81 lines of code changed in 10 files:

ryo_saeba 2004-01-29 15:29 Rev.: 2561

Added flag to not include unistd.h, thus this file doesn't require any modification anymore

0 lines of code changed in 1 file:

tchize 2004-01-29 13:50 Rev.: 2560


did put some code in a function before declaring variable, compiled, but was
dangerous. fixed

4 lines of code changed in 1 file:

tchize 2004-01-29 06:04 Rev.: 2559


Changed a bit configure.in, somme calls in it were deprecated and version was incorrect.
Also rerun aclocal,autoconf and autoheader.
Couldn't run automake since makefile.am missing

4675 lines of code changed in 5 files:

tchize 2004-01-29 06:02 Rev.: 2558


Fixed a bug in child handling. Chained lsit corrupted when cleaning dead childs

2 lines of code changed in 1 file:

tchize 2004-01-28 17:16 Rev.: 2557


Added generic support to instanciate child process and get redirected I/O.

Added generic support so you can create a child executing a command (like
does the sound server communications). All I/O (stdin,stdout,stderr) can be
redirected and handled by the logging facilites (stdout/stderr) and the stdin
can be used to give orders to the child. Clients are supposed to call
monitorChilds() on a regular basis to purge the communications queues handled
by logging facilities. Killed child are automatically removed from Logging and
an INFO log entry is generated.
Exemple log of gtk client invoking the cfsndserver:

[ INFO ] (Child17575::/usr/local/develop/cf/tosmooth//bin/cfsndserv::2) Settings: bits: 8, unsigned, mono, frequency: 11025, device: /dev/dsp
[ INFO ] (Child17575::/usr/local/develop/cf/tosmooth//bin/cfsndserv::2) Couldn't set audio format
[ INFO ] (Child17575::/usr/local/develop/cf/tosmooth//bin/cfsndserv::2) bits: 16, signed, stereo, freq: 11025, smpl_size: 4, 0level: 0
[ INFO ] (Child17575::/usr/local/develop/cf/tosmooth//bin/cfsndserv::2) Unable to open /home/tchize/.crossfire/sounds - will use built in defaults

335 lines of code changed in 5 files:

tchize 2004-01-28 04:26 Rev.: 2556


Added logging support and bug report help

Remove lots of printf to stderr and replaced them with a LOG call. LOG
also keep in memory the message, so the client can ask them to help bug
reporting. If you use the gtk client and click on help -> Report a Bug
you will see the list of error message in a textarea so you can cut and
paste in bug tracker.
Also modified the LOG prototype so it accepts as parameters a loglevel,
a location (most of time send <partofclient::functionname> in it), a
format string and parameters used in printf functions.
Here is a typical log after connecting to a server:

MESSAGES TRACK:
[ INFO ] (Client Version) GTK Unix Client 1.6.0
[ INFO ] (gtk::init_cache_data) Init Cache
[ ERROR ] (Library::Gtk-CRITICAL) file gtkbox.c: line 332 (gtk_box_pack_start): assertion `child->parent == NULL' failed.
[WARNING ] (common::VersionCmd) Differing C->S version numbers (1022,1023)
[ INFO ] (common::VersionCmd) Playing on server type Crossfire Server

[WARNING ] (common::SetupCmd) Server returned FALSE on setup command sexp
[ INFO ] (commands.c) addme_success received.

[ ERROR ] (Library::Gtk-CRITICAL) file gtkbox.c: line 332 (gtk_box_pack_start): assertion `child->parent == NULL' failed.

You may notice the gtk / gdk errors are send to the Logging facilities as well.
I plan to add additionnal of [INFO] in code so in case of bug we may have useful
informations like server connected to, server protocol, and config of client.

501 lines of code changed in 21 files:

temitchell 2004-01-27 21:57 Rev.: 2555

- fix directions on gryphon (blush)
- merge shadowtiger images
- new anim for panther/shadow pup with 2 facings

415 lines of code changed in 31 files:

temitchell 2004-01-27 19:09 Rev.: 2554

- merge gryphon images- touchup animation - fix weight

388 lines of code changed in 9 files:

ryo_saeba 2004-01-27 15:04 Rev.: 2553

Win32-specific fixes

11 lines of code changed in 3 files:

ryo_saeba 2004-01-27 14:58 Rev.: 2552

Win32 fixes

10 lines of code changed in 2 files:

ryo_saeba 2004-01-27 14:56 Rev.: 2551

Win32 fixes, explicit cast for meta_sort

8 lines of code changed in 2 files:

tchize 2004-01-27 03:25 Rev.: 2550


Ooops. SOUND_DEBUG was activated in last commit. Commented it in source.

1 lines of code changed in 1 file:

temitchell 2004-01-26 23:29 Rev.: 2549

- modify weights

16 lines of code changed in 5 files:

ryo_saeba 2004-01-26 18:12 Rev.: 2547

Tweaked browse info settings

1 lines of code changed in 1 file:

ryo_saeba 2004-01-26 18:00 Rev.: 2546

Added const where needed, changed int to char for match

4 lines of code changed in 1 file:

ryo_saeba 2004-01-26 17:56 Rev.: 2545

Fixed Windows definition, and added function prototypes

5 lines of code changed in 1 file:

ryo_saeba 2004-01-26 17:52 Rev.: 2544

Fixed Windows-newlines to Linux ones.

0 lines of code changed in 6 files:

tchize 2004-01-26 14:40 Rev.: 2543


Clean exit

Added window closed events checks so the client exits when a window is closed.
Works with cfclient and gtkclient. In normal mode, when main window is closed,
exit the client. In split mode, closing any window will exit the program. This
behaviour is much better than a pack of assert error or a program still working
without any window to manage.

42 lines of code changed in 2 files:

tchize 2004-01-26 11:54 Rev.: 2542


Building disappear bug fix

Fixed a bug of buildings disappearing when moving from west to east or
north to south in cities where building are made of a bigimage,
covering multisquares. This was because every square entering the map
view after a scroll was forced to empty, waiting for info from server.
But bigimage buildings are sended by server before they enter map. Added the flag
to ask no reset of the bigimage during the erasing of squares and setting flag to
true for squares entering the map.

38 lines of code changed in 4 files:

tchize 2004-01-26 10:19 Rev.: 2541



fixed incomplete ALSA9 support and changed sounds.dist to use .raw

The ALSA9 support was in configure but the code part wasn't in the cfsndserv.c
Applied the patch from Tim Hentenaar submitted on mailing list in march 2003 to
correct this.
Also changed the default sound file so it uses .raw files and not .au because
CVS sounds are now .raw.

333 lines of code changed in 2 files:

temitchell 2004-01-26 01:00 Rev.: 2540

- update changes and add TODO file for arches

40 lines of code changed in 2 files:

temitchell 2004-01-26 00:39 Rev.: 2539

- change weight - apes are a lot lighter than I thought (have to make
a great ape sometime...)

1 lines of code changed in 1 file:

temitchell 2004-01-26 00:37 Rev.: 2538

- merge giant worm images - actually make two new frames to animate
each direction

83 lines of code changed in 5 files:

temitchell 2004-01-25 21:00 Rev.: 2537

- merge image for behemoth, fix weight (and facings error)

111 lines of code changed in 7 files:

temitchell 2004-01-25 20:58 Rev.: 2536

- adjust mastif weight

1 lines of code changed in 1 file:

temitchell 2004-01-25 20:57 Rev.: 2535

- merge giantrat image files, fix weight

142 lines of code changed in 7 files:

ryo_saeba 2004-01-25 11:10 Rev.: 2534

Added NULL argument check

6 lines of code changed in 2 files:

ryo_saeba 2004-01-25 09:05 Rev.: 2533

Added icon from Somebody's version

164 lines of code changed in 5 files:

ryo_saeba 2004-01-25 03:49 Rev.: 2532

Reduced casting time

3 lines of code changed in 3 files:

temitchell 2004-01-25 02:13 Rev.: 2531

- first round of tweeking weights for monsters (also fix some weird
weight -1 entires)
- use large images for bears

141 lines of code changed in 16 files:

mwedel 2004-01-25 01:51 Rev.: 2530

Minor bug fixes
treasure.c: add_abilities() - fix problem with not using the correct event
pointer if an artifact had more than two events tied to it (or perhaps
if the object already had one event tied to it, and we are adding
another event)
server/spell_util.c: put_a_monster() - set map for all parts of a multi
part object. prayer_failure() - remove free_object after call of
cast_magic_storm.
MSW 2004-01-24

2 lines of code changed in 2 files:

tchize 2004-01-21 05:24 Rev.: 2529


Just cleaned some commented code from a cut and paste

0 lines of code changed in 1 file:

tchize 2004-01-21 05:22 Rev.: 2528



Smoothing. Support in gtk-sdl mode and excluded smoothlevel 0

Added support for smoothing in the sdl rendering routines of gtk client. Support
works good with fog of war and lightning.
Also excluded the smoothlevel 0 of rendering routine. This mean a face having a
smoothlevel of zero will not be put underneath the one with smoothlevel 1 or higher.
This also mean a face with smoothlevel 1 will never go on top of another but
may be partially hidden by other faces with smoothlevel 2 or higher.
Best way to check those changes is too look at the earth (having smoothlevel 0) in
the HallOfSelection

168 lines of code changed in 3 files:

mwedel 2004-01-21 03:13 Rev.: 2527

Rebuilt with up to date aclocal/automake/autoconf so that they all work
properly.
MSW 2004-01-20

10836 lines of code changed in 25 files:

mwedel 2004-01-21 03:12 Rev.: 2526

Fix for some map drawing anomalies, mostly related to fog of war.
MSW 2004-01-20

16 lines of code changed in 1 file:

tchize 2004-01-20 09:52 Rev.: 2525


Slight modification to smoothing code.

Now it's possible to desactivate the smoothing on a map adding

nosmooth 1

in map header. Some mapmaker asked for a 'special arch' which would
disable smoothing on a whole region of map. I think disabling for a whole
map is easier. Maps don't look crappy because of the special arch visibility
(think about no_spell). So no special arch, just about 4 additionnal lines
of code :P. No changes to protocol, so no change to client!

6 lines of code changed in 3 files:

mwedel 2004-01-20 00:48 Rev.: 2524

Patch by Andreas Kirschbaum that fixes a bounds error on plugin setup.
MSW 2004-01-19

2 lines of code changed in 1 file:

mwedel 2004-01-20 00:45 Rev.: 2523

commit fix by Andreas Kirschbaum that fixes various typos.
MSW 2004-01-19

3 lines of code changed in 1 file:

ryo_saeba 2004-01-19 16:12 Rev.: 2522

Let players build on non-unique maps too

7 lines of code changed in 2 files:

ryo_saeba 2004-01-18 06:01 Rev.: 2521

Basic building archetypes: builder, remover, woodfloor, wall, gates, pedestals & levers

0 lines of code changed in 11 files:

tchize 2004-01-18 05:51 Rev.: 2520



Rebuilded Makefile.in using autogen.sh because of recent add of a file in server/
Also rebuilded loader.c for linux because loader.l was modified by a windows developper.

26079 lines of code changed in 29 files:

ryo_saeba 2004-01-18 05:37 Rev.: 2519

Added build_map.c

0 lines of code changed in 1 file:

ryo_saeba 2004-01-18 05:36 Rev.: 2518

Added map-building code.

795 lines of code changed in 11 files:

temitchell 2004-01-17 15:58 Rev.: 2517

- fix corpse to not display msg field when examined (turn into magic ear
- make him more annoying)

21 lines of code changed in 1 file:

temitchell 2004-01-17 01:50 Rev.: 2516

- add materials to firepot (iron) and fireplace (stone,iron)
note however fireplace is still no pass so and likely needs to be for
some maps...

2 lines of code changed in 2 files:

temitchell 2004-01-17 01:15 Rev.: 2515

- add some default materials to clock (wood, glass) throne (wood,cloth)
archetypes

3 lines of code changed in 3 files:

ryo_saeba 2004-01-16 18:15 Rev.: 2514

Hook strings-related certain crash

10 lines of code changed in 2 files:

ryo_saeba 2004-01-16 16:17 Rev.: 2513

Writing inscription fix. Win32-specific stuff

18 lines of code changed in 3 files:

mwedel 2004-01-16 02:52 Rev.: 2512

Fix a bunch of crashes observed on metalforge:
server/player.c: do_hidden_move(): Move call to find skill so that it is
always called.
server/skills.c: write_scroll(): Fix freeing of spell object in
scroll - newscroll->inv isn't valid after calling remove_ob, so
need to copy object to temporary pointer first.
server/spell_effect.c: cast_detection(): Pass in skill to use. If no
skill in use, use the caster object - fixes pointer derefence
as op->chosen_skill wasn't always set.
server/spell_util.c: modify caster_level() to always return at least 1.
Fixes pointer potential divide by zero problems - also guarantees
that players will be able to cast first level spells even if
repelled to that spellpath. ok_to_put_more() - Fix to use correct
map pointer variable. find_target_for_friendly_spell() - make it
so it handles tiled maps OK.
MSW 2003-01-15

50 lines of code changed in 6 files:

onefang 2004-01-12 02:49 Rev.: 2511

Removed arches from race field, only races should be here.
DVS 2004-01-12

1 lines of code changed in 1 file:

onefang 2004-01-12 02:23 Rev.: 2510

Bind commands longer than the bind buffer no longer crash.
DVS 2004-01-12

11 lines of code changed in 3 files:

onefang 2004-01-12 01:27 Rev.: 2509

*** empty log message ***

6 lines of code changed in 1 file:

onefang 2004-01-12 01:26 Rev.: 2508

common/object.c: fix the monsters on tiled maps bug that I may have
mentioned a while ago. Seems that the server assumed that all
parts of a multi part monster are on the same map as the head
while moving.
DVS 2004-01-12

2 lines of code changed in 1 file:

temitchell 2004-01-05 21:26 Rev.: 2507

committing bug fix for guilds as reported by RYO
fix gates to trigger properly (walls fire south, increase speed to -0.2)

18 lines of code changed in 1 file:

temitchell 2004-01-01 12:56 Rev.: 2506

- Adding some files for new goddess Ixalovh - chaotic water goddess -
sister/enemy to Ruggilli (still needs a bit more tuning).
Cleaned up Ruggilli graphics - however not currently used...

----------------------------------------------------------------------

225 lines of code changed in 13 files:

temitchell 2004-01-01 12:24 Rev.: 2505

- add negative energy spells for shadow creatures Nega(tive energy)bolt
and Nega(tive energy)ball.
- This is a better way to do spells -thanks Mark.

2 lines of code changed in 16 files:

December 2003 »

Generated by StatSVN 0.7.0