[Introduction]   [Screenshots]   [Manual]   [Download]   [Mailing lists]   [Links]   [Project page] 

ChangeLog for heroes 0.18

2001-12-15  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* configure.ac: Bump version to 0.18.
	* ANNOUNCE, NEWS: Update.

2001-12-15  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* po/de.po: Update copying/warranty message.
	From Ingo van Lil <inguin@gmx.de>.

2001-12-14  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* po/fr.po: Update (use new latin-1 characters).

2001-12-14  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* src/camera.c (compute_corner): Don't take two_player into
	account while we are in_menu.  (Fix a bug introduced in 0.12c.)
	Reported by Ingo van Lil <inguin@gmx.de>.

2001-12-14  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* src/fontdata.c (initialize_deck_font): Revert change from
	2001-12-12.
	Reported by Ingo van Lil <inguin@gmx.de>.

2001-12-14  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* po/de.po: Update (use new latin-1 characters).
	From Ingo van Lil <inguin@gmx.de>.

2001-12-13  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* configure.ac: Bump version to 0.17a.
	* NEWS, HACKING: Update.

2001-12-12  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* tests/defs: Don't assume heroes has been built in $srcdir.

	* Makefile.am (my-distcheck-nodisplay, my-distcheck-ggi):
	Run make check.
	(my-distcheck-allegro): New target.
	(distcheck-hook): Depend upon my-distcheck-allegro.

	* doc/heroes.texi (Libraries): Add an entry for Allegro.
	(configure options): Document --with-allegro.
	(Machines): Pretend that Heroes-Allegro works on Linux/i386.
	* m4/h-allegro.m4: "unhide" the check for Allegro.

2001-12-12  Alexandre Duret-Lutz  <duret_g@epita.fr>

	Support Latin-1 characters in help reader and big fonts.

	* src/rsc_files.gperf: Add big-font.
	* src/fontdata.c (big_font_img): New variable.
	(uninit_fonts): Free big_font_img.
	(initialize_menu_font): Use big_font_img.
	(initialize_deck_font): Don't convert lowercase	letters to
	upper case letters in DEBUG mode.
	(compute_text_width): Use UCHAR.
	* src/sprtext.c (compile_sprtext, compile_sprtext_color):
	Test whether width[ch]!=0 to make sure character ch is supported,
	not upper_left[ch]!=0.
	(compile_sprtext_color): Use UCHAR.

2001-12-12  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* src/media/allegro/joystick.c (get_joystick_state): Reset
	joystick axes when needed.

2001-12-11  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* po/de.po: Update.
	From Ingo van Lil <inguin@gmx.de>.

2001-12-10  Alexandre Duret-Lutz  <duret_g@epita.fr>

	Joystick support for Allegro.  (Untested yet, I have no joystick
	on this host...)

	* m4/h-joystick.m4: Add LIBALT support for the Allegro joystick
	driver (allj).
	* m4/h-allegro.m4: Don't handle allj here.
	* m4/h-media.m4: Consider allk for selection.

	* src/media/allegro/joystick.c: New file.
	* src/media/allegro/video.c (heroes_init_allegro): New function.
	(init_video_low): Call heroes_init_allegro() instead of init_allegro().
	* src/media/Makefile.inc (EXTRA_LIBRARIES): Add media/libhallj.a.
	(media_libhallj_a_CFLAGS, media_libhallj_a_SOURCES): New variables.

2001-12-10  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* src/media/allegro/keyb.c (process_input_events): Call	clear_keybuf().
	* src/heroes.c (play_game): Call keycode_to_ascii().

2001-12-09  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* src/media/allegro/video.c (init_allegro): Call install_mouse ().
	* src/media/allegro/keyb.c (enable_mouse): Remove.

2001-12-09  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* src/media/keyb.h (keycode_to_ascii): Declare.
	* src/media/dummy/keyb.c (keycode_to_ascii): Define.
	* src/media/sdl/keyb.c (keycode_to_ascii): Define.
	* src/media/ggi/keyb.c (keycode_to_ascii): Define.
	* src/media/allegro/keyb.c (keycode_to_ascii): Define.
	* src/menus.c (editor_menu, enter_your_name): Use it.

2001-12-09  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* src/heroes.c (get_input_directions): Don't assume keyboard_map
	contains 0 or 1 (that's not true with Allegro).
	* src/media/Makefile.inc (media_libhallvkm_a_CFLAGS): Don't use
	$(MORE_WARNINGS_CFLAGS).
	* src/sys/Makefile.inc (sys_libhallm_a_CFLAGS): Likewise.

2001-12-07  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* src/Makefile.am (GGI_CFLAGS, GII_CFLAGS, LIBMIKMOD_CFLAGS,
	SDL_CFLAGS, SDL_MIXER_CFLAGS, ALLEGRO_CFLAGS): Define.

	* m4/gccwarn.m4 (CF_GCC_MORE_WARNINGS): Add -Werror.

	* lib/cast.h, lib/cast.c: New files.
	* lib/Makefile.am (libheroes_a_SOURCES): Add them.
	* src/vars.c (var_get_value): Call const_cast_string ().
	* src/musicfiles.c (get_sound_track_from_alias): Likewise.
	* src/media/mikmod/strack.c (init_sound_engine): Likewise.
	* src/media/sdl/video.c (uninit_video_low): Likewise.
	(init_video_low): Cast SDL_ALLEVENTS to Uint8.

2001-12-02  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* configure.ac: Check for declaration of strerror.

	* lib/error.c, lib/hash.c, lib/hash.h, lib/xstrdup.c: Update from
	textutils-2.0.18.

	* lib/unlocked-io.h: New (empty) file.  Needed by lib/error.c.
	* lib/Makefile.am (libheroes_a_SOURCES): Add it.

	* src/musicfiles.c (get_sound_track_from_alias): Use hash_lookup.
	* src/vars.c (var_get_value): Likewise.

2001-11-28  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* src/media/Makefile.inc (media/ggi/keysdef.c, media/sdl/keysdef.c,
	media/allegro/keysdef.c): Allow these file to be built even if their
	source file do not exists.  This is needed by target such as TAGS.

2001-11-28  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* src/Makefile.am, src/media/Makefile.inc, src/sys/Makefile.inc:
	Use $(MUMBLE) instead of @MUMBLE@ for
	AC_SUBST'ed variables.
	* arch/Makefile.inc, tools/Makefile.inc, src/etc/Makefile.inc: Add
	emacs hint for Makefile mode.

	* m4/gccwarn.m4 (CF_GCC_MORE_WARNINGS): Don't include $(CFLAGS) in
	MORE_WARNINGS_CFLAGS.

2001-11-25  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* src/media/Makefile.inc (DISTCLEANFILES): Add media/allegro/keydef.c.
	(media/ggi/keysdef.c, media/sdl/keysdef.c,
	media/allegro/keysdef.c): Depend upon .dirstamp in each directory.

2001-11-19  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* configure.ac: Bump version to 0.17.
	* tests/Makefile.am (EXTRA_DIST): Add $(TESTS).

2001-11-19  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* src/heroes.c (heroes_main): Set system-conf from the
	HEROES_SYSTEM_CONF envvar.
	* tests/Makefile.am (EXTRA_DIST): Add defs.
	* tests/defs: Set HEROES_SYSTEM_CONF to $srcdir/../src/etc/heroesrc,
	otherwise the testsuite would use the (maybe not installed)
	system configuration.

2001-11-18  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* ANNOUNCE, NEWS: Update for 0.17.

2001-11-18  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* tests/demo.test, tests/intro.test, tests/defs,
	tests/Makefile.am: New file.
	* Makefile.am (SUBDIRS): Add tests.
	* configure.ac: Output tests/Makefile.

2001-11-18  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* src/argv.h (a_check, check_what): New.
	* src/argv.c (check): New function.
	(long_options): Add --check.
	(parse_argv): Call check().
	* src/heroes.c (heroes_main): Handle check_intro.
	(main_menu): Handle check_demo.
	* src/const.c (key_or_joy_ready): Handle check_demo.

2001-11-18  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* src/sprglenz.c (compile_sprglenz): Check for src<eol before
	dereferencing *src, not after.
	* src/sprrle.c (compile_sprrle): Likewise.
	* src/sprshade.c (compile_sprshade): Likewise.
	* src/sprunish.c (compile_sprunish): Likewise.
	Suggested by Daniel.

2001-11-18  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* src/render.c (draw_vehicle_tail): Thinko, resulting in a SEGV :(
	Reported by Daniel.

2001-11-18  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* configure.ac: Bump version to 0.16.
	* NEWS, ANNOUNCE: Update for 0.16.

2001-11-18  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* configure.ac: Don't AC_SUBST(LIBOBJS), it's already done.

2001-11-17  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* doc/heroes.texi (Machines): Add a notice for Suse 7.1 users.
	* BUGS: Update.

2001-11-17  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* doc/doc.scm: New file (define import-head and import-tail).
	* doc/Makefile.am (EXTRA_DIST): Add doc.scm.
	(heroes_TEXINFOS, CLEANFILES, debugchn.texi, people.texi): Remove.
	(heroes.texi): Build from debugchn.tpl, people.tpl, and heroes.texi
	itself.
	* doc/heroes.texi: Merge vr and cp at the beginning (it has no effect
	on dvi output otherwise).  Add START and END markers for
	debugchn.texi and people.texi output.
	* src/debugchn.tpl, src/people.tpl: Call import-head and import-tail
	for texi output.

2001-11-16  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* lib/error.c, lib/getopt.c, lib/hash.c, m4/strerror_r.m4: Update
	from fileutils-4.1.1.

2001-11-11  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* BUGS: Suppress Benjamin Preidecker's report about Heroes 0.5
	frozen with KGI error messages.
	Christoph Egger <Christoph_Egger@t-online.de> (GGI devel)
	says it's obsolete.

2001-11-09  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* ChangeLog.01: New file.
	* Makefile.am (EXTRA_DIST): Add it.

2001-11-08  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* src/const.c (trail_way, square_way): Define as an array
	of a_dir8_pair.
	* src/const.h (trail_way, square_way): Likewise.
	* src/heroes.c (reinit_player, update_player): Use DIR8_PAIR.
	(grow_trail): Beautify.
	* src/lvl/lvl.h (DIR8_TAIL, DIR8_HEAD, DIR8_PAIR): New macros.
	* src/render.c (draw_trail_real, draw_vehicle_tail,
	draw_vehicle_head, draw_trail_tail): Use a_dir8_pair, REVERSE_DIR,
	and DIR8_PAIR.

	* src/heroes.c (shrink_trail): Don't redraw the trail tail
	if the trail has been erased.  This completes the fix from
	2001-10-28.

2001-10-28  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* src/heroes.c (update_player): Call erase_trail() before
	shrink_trail() when a player is destroyed.
	Reported by Daniel Burrows.

2001-10-20  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* configure.ac: AC_CHECK_DECLS for strnlen.

2001-10-20  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* configure.ac: Bump version to 0.15.
	* NEWS, ANNOUNCE: Update for 0.15.

	Modernize lib/Makefile.am.

	* lib/Makefile.am (CFLAGS): Remove (useless).
	(EXTRA_DIST, libheroes_a_DEPENDENCIES): Remove (automatically
	filled by Automake).
	(noinst_HEADERS): Merge with libheroes_a_SOURCES.
	* configure.ac: AC_REPLACE_FUNC strndup.

	Avoid duplication of CFLAGS on targets using per-target CFLAGS.

	* src/Makefile.am (CFLAGS): Don't define this variable, but ...
	(AM_CFLAGS): ... define this one instead.
	(parafmt_check_CFLAGS): Remove @CFLAGS@.
	* src/media/Makefile.am (media_libhggivkm_a_CFLAGS,
	media_libhgiij_a_CFLAGS, media_libhmiks_a_CFLAGS,
	media_libhsdlvkm_a_CFLAGS, media_libhsdlj_a_CFLAGS,
	media_libhsdls_a_CFLAGS, media_libhallvkm_a_CFLAGS): Likewise.
	* src/sys/Makefile.inc (sys_libhsdlm_a_CFLAGS,
	sys_libhallm_a_CFLAGS): Likewise.

2001-10-20  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* BUGS: Update with input from Eero Tamminen <oak@welho.fi>.

2001-10-20  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* tools/autogen.sh (moreverb): Use automake --force-missing.
	Don't run autoheader if AC_CONFIG_HEADER is not called.
	Call autoconf before autoheader, so the latter can use
	the traces cached during the run of the former.

2001-10-14  Alexandre Duret-Lutz  <duret_g@epita.fr>

	Rewrite the explosion code (again).  This fix some issues present
	in the old explosion handling: 1- the explosions could propagate
	to the neighboring square already activated (leading to an
	exponential growth of the number of explosions, hindering
	game-play as reported by Daniel); 2- the propagation did not occur
	at a precise time after activation (see comment in the code); 3-
	vanished explosions were not immediately removed from explo_list.

	* src/explosions.c (an_explosion_info): Remove frame_start.
	(allocate_explosions): Reset explo_time.
	(compute_explosion_state, propagate_to_neighbors_maybe,
	trigger_eplosion_at_time): New functions.
	(trigger_explosion, trigger_possible_explosion,
	update_explosions): Rewrite functions.
	* src/explosions.h (square_explo_type, trigger_explosion): Fix type.
	(EXPLOSION_SQUARE_TRIGGERED_P,
	EXPLOSION_SQUARE_TRIGGERABLE_P): New macros.

2001-10-05  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* m4/checkpkg.m4 (AC_caolan_CHECK_PACKAGE): Quote strings.
	* m4/pkgeneric.m4 (AC_adl_PKG_GENERIC): Likewise.
	* m4/w_dirent.m4 (adl_FUNC_READIR): Add missing comma.  I wonder
	how this macro could ever work.
	* m4/h-sdlmixer.m4 (heroes_CHECK_SDL_MIXER): Use $SDL_LIBS.

2001-09-24  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* lib/alloca.c, lib/basename.c, lib/dirname.c, lib/dirname.h,
	lib/error.c, lib/error.h, lib/getopt.c, lib/getopt1.c,
	lib/gnugetopt.h, lib/hash.c, lib/stripslash.c, m4/dos.m4,
	m4/ftruncate.m4, m4/gnu-source.m4, m4/lcmessage.m4, m4/malloc.m4,
	m4/progtest.m4, m4/realloc.m4, m4/strerror_r.m4: Update from
	textutils-2.0.15.
	* HACKING, tools/fetish-sync.sh: Add lib/dirname.c and
	lib/dirname.h.
	* lib/stripslash.h: Delete.
	* lib/Makefile.am (noinst_HEADERS): Remove lib/stripslash.h.
	* src/hedlite.c, src/relocate.c, src/userdir.c: Include
	"dirname.h" instead of "stripslash.h".

2001-09-22  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* configure.ac: Bump to version 0.14.
	* po/fr.po: Update.

2001-09-21  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* ANNOUNCE: Update for 0.14
	* NEWS: Likewise.

2001-09-21  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* HACKING: Update help2man URL.

2001-09-21  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* src/people.def (Romuald Genevois): Update www.

2001-09-21  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* tools/readme.sed: Update License.
	* doc/heroes.texi (Getting Heroes): Update Metalab link, now Ibiblio.
	(Libraries): Update the LibMikMod home page.

2001-09-21  Alexandre Duret-Lutz  <duret_g@epita.fr>

	Change the license from 'GPL version 2 or any later version'
	to 'GPL version 2'.

	* Makefile.am, configure.ac, arch/Makefile.inc, doc/Makefile.am,
	lib/Makefile.am, man/Makefile.am, src/Makefile.am, src/argv.c,
	src/argv.h, src/bonus.c, src/bonus.h, src/bytesex.h, src/camera.c,
	src/camera.h, src/const.c, src/const.h, src/debughash.h,
	src/debugmsg.c, src/debugmsg.h, src/endscroll.c, src/endscroll.h,
	src/errors.c, src/errors.h, src/explosions.c, src/explosions.h,
	src/extras.c, src/extras.h, src/fader.c, src/fader.h,
	src/fastmem.h, src/font.h, src/font_help.h, src/fontdata.c,
	src/fontdata.h, src/gameid.c, src/gameid.h, src/generic_list.h,
	src/hedlite.c, src/hedlite.h, src/helptext.c, src/helptext.h,
	src/hendian.c, src/hendian.h, src/heroes.c, src/heroes.h,
	src/heroeslvl.c, src/intro.c, src/intro.h, src/items.c,
	src/items.h, src/levellst.c, src/levellst.h, src/locales.c,
	src/locales.h, src/menus.c, src/menus.h, src/misc.c, src/misc.h,
	src/musicfiles.c, src/musicfiles.h, src/parafmt.c, src/parafmt.h,
	src/pcx.c, src/pcx.h, src/people.h, src/persona.c, src/persona.h,
	src/pixelize.c, src/pixelize.h, src/readmake.c, src/readmake.h,
	src/relocate.c, src/relocate.h, src/render.c, src/render.h,
	src/renderdata.c, src/renderdata.h, src/rsc_files.c,
	src/rsc_files.h, src/rsc_files_hash.h, src/savegame.c,
	src/savegame.h, src/scores.c, src/scores.h, src/scrtools.c,
	src/scrtools.h, src/sprglauto.c, src/sprglauto.h, src/sprglenz.c,
	src/sprglenz.h, src/sprite.c, src/sprite.h, src/spropaque.c,
	src/spropaque.h, src/sprprog.c, src/sprprog.h, src/sprprogwav.c,
	src/sprprogwav.h, src/sprrle.c, src/sprrle.h, src/sprshade.c,
	src/sprshade.h, src/sprtext.c, src/sprtext.h, src/sprunish.c,
	src/sprunish.h, src/sprzcol.c, src/sprzcol.h, src/structs.h,
	src/system.h, src/timer.c, src/timer.h, src/userconf.c,
	src/userconf.h, src/userdir.c, src/userdir.h, src/vars.c,
	src/vars.h, src/visuals.c, src/visuals.h, src/etc/Makefile.inc,
	src/lvl/Makefile.inc, src/lvl/de_body.c, src/lvl/de_head.c,
	src/lvl/free.c, src/lvl/in_body.c, src/lvl/load.c,
	src/lvl/loadmac.h, src/lvl/lvl.h, src/lvl/lvl_priv.h,
	src/lvl/privacc.c, src/media/Makefile.inc, src/media/joystick.h,
	src/media/keyb.c, src/media/keyb.h, src/media/keyb_low.h,
	src/media/keysdef.h, src/media/keyvalues.h, src/media/sfx.c,
	src/media/sfx.h, src/media/strack.c, src/media/strack.h,
	src/media/video.c, src/media/video.h, src/media/video_low.h,
	src/media/allegro/keyb.c, src/media/allegro/keyvalues.c
	src/media/allegro/video.c, src/media/dummy/joystick.c,
	src/media/dummy/keyb.c, src/media/dummy/keysdef.c,
	src/media/dummy/keyvalues.c, src/media/dummy/sfx.c,
	src/media/dummy/strack.c, src/media/dummy/video.c,
	src/media/ggi/keyvalues.c, src/media/ggi/video.c,
	src/media/gii/joystick.c, src/media/mikmod/sfx.c,
	src/media/mikmod/strack.c, src/media/sdl/joystick.c,
	src/media/sdl/keyb.c, src/media/sdl/keyvalues.c,
	src/media/sdl/video.c, src/media/sdl_mixer/sfx.c,
	src/media/sdl_mixer/strack.c, src/sys/Makefile.inc,
	src/sys/main.h, src/sys/allegro/main.c, src/sys/std/main.c,
	tools/Makefile.inc: Change license.
	* README: Update the license section.

2001-09-21  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* src/levellst.c (print_level_list): New function.
	* src/levellst.h (print_level_list): New function.
	* src/heroes.c (heroes_main): Call print_level_list().
	* src/argv.h (showlevels): New variable.
	* src/argv.c (showlevels): New variable.
	(list): Handle --list=levels.
	* doc/heroes.texi (Invoking heroes): Document --list=levels.

2001-09-21  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* src/argv.c (print_help): Take a 'status' argument and use it as
	exit value.
	(parse_argv): Return -1 instead of 1 when the game must quit but not
	with a non-null exit status.
	(heroes_main): Handle return values of parse_argv().

2001-09-20  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* configure.ac: Rewrite the configuration report.

2001-09-20  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* m4/h-display.m4 (heroes_CHECK_DISPLAY_LIB): Typo preventing
	SDL_mixer to be checked for when Allegro is not used.
	Reported by Daniel Burrows <dburrows@brown.edu>.

	* m4/h-sdl.m4 (heroes_CHECK_SDL): Don't force-append sdlj and sdls
	in the user selections (so that for instance --with-sdl does still
	allow giij or miks to be used without user hints)
	* m4/h-sdlmixer.m4 (heroes_CHECK_SDL_MIXER): Don't append sdlvkm
	and sdlj for similar reason.
	* m4/h-joystick.m4 (heroes_CHECK_JOYSTICK_LIB) <with_sdl>: Add
	sdlj to the user selection.

2001-XX-XX

	Older entries belong to ChangeLog.01.

 Location: / sourceforge / heroes / download / ChangeLog (heroes 0.18)
Hosted by SourceForge. Please, send suggestions and bug reports about Heroes or these web pages to heroes-bugs@lists.sourceforge.net. 2001-12-15 17:05 GMT