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:
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:
Ooops, last fix had c++ style comments, sorry, fixed
14 lines of code changed in 1 file:
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:
Added 'gtk/sound.c'
4 lines of code changed in 1 file:
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:
Win32 fixes
15 lines of code changed in 5 files:
Documented recent changes concerning LOG() and Documentation
15 lines of code changed in 1 file:
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:
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:
First documentation on scripting interface
2 lines of code changed in 3 files:
Win32 fixes
81 lines of code changed in 10 files:
Added flag to not include unistd.h, thus this file doesn't require any modification anymore
0 lines of code changed in 1 file:
did put some code in a function before declaring variable, compiled, but was
dangerous. fixed
4 lines of code changed in 1 file:
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:
Fixed a bug in child handling. Chained lsit corrupted when cleaning dead childs
2 lines of code changed in 1 file:
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:
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:
- 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:
- merge gryphon images- touchup animation - fix weight
388 lines of code changed in 9 files:
Win32-specific fixes
11 lines of code changed in 3 files:
Win32 fixes
10 lines of code changed in 2 files:
Win32 fixes, explicit cast for meta_sort
8 lines of code changed in 2 files:
Ooops. SOUND_DEBUG was activated in last commit. Commented it in source.
1 lines of code changed in 1 file:
- modify weights
16 lines of code changed in 5 files:
Tweaked browse info settings
1 lines of code changed in 1 file:
Added const where needed, changed int to char for match
4 lines of code changed in 1 file:
Fixed Windows definition, and added function prototypes
5 lines of code changed in 1 file:
Fixed Windows-newlines to Linux ones.
0 lines of code changed in 6 files:
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:
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:
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:
- update changes and add TODO file for arches
40 lines of code changed in 2 files:
- 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:
- merge giant worm images - actually make two new frames to animate
each direction
83 lines of code changed in 5 files:
- merge image for behemoth, fix weight (and facings error)
111 lines of code changed in 7 files:
- adjust mastif weight
1 lines of code changed in 1 file:
- merge giantrat image files, fix weight
142 lines of code changed in 7 files:
Added NULL argument check
6 lines of code changed in 2 files:
Added icon from Somebody's version
164 lines of code changed in 5 files:
Reduced casting time
3 lines of code changed in 3 files:
- 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:
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:
Just cleaned some commented code from a cut and paste
0 lines of code changed in 1 file:
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:
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:
Fix for some map drawing anomalies, mostly related to fog of war.
MSW 2004-01-20
16 lines of code changed in 1 file:
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:
Patch by Andreas Kirschbaum that fixes a bounds error on plugin setup.
MSW 2004-01-19
2 lines of code changed in 1 file:
commit fix by Andreas Kirschbaum that fixes various typos.
MSW 2004-01-19
3 lines of code changed in 1 file:
Let players build on non-unique maps too
7 lines of code changed in 2 files:
Basic building archetypes: builder, remover, woodfloor, wall, gates, pedestals & levers
0 lines of code changed in 11 files:
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:
Added build_map.c
0 lines of code changed in 1 file:
Added map-building code.
795 lines of code changed in 11 files:
- 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:
- 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:
- add some default materials to clock (wood, glass) throne (wood,cloth)
archetypes
3 lines of code changed in 3 files:
Hook strings-related certain crash
10 lines of code changed in 2 files:
Writing inscription fix. Win32-specific stuff
18 lines of code changed in 3 files:
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:
Removed arches from race field, only races should be here.
DVS 2004-01-12
1 lines of code changed in 1 file:
Bind commands longer than the bind buffer no longer crash.
DVS 2004-01-12
11 lines of code changed in 3 files:
*** empty log message ***
6 lines of code changed in 1 file:
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:
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:
- 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:
- 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: