2004-01-16  Sylvain Beucler  <beuc@beuc.net>

	* AUTHORS, *.[ch]: Precised the legal informations and only
	included non-trivial changes authors . It appears most of them
	were wrong, because they refered to works that are not used
	anymore in this version (eg pre-SDL versions).

	* THANKS: now uses the outline Emacs mode, and is cleaned-up
	
2004-01-07  Sylvain Beucler  <beuc@beuc.net>

	* autogen.sh: Added messages to explain what is going on
	
	* configure.ac: Started clean-up. Removed/commented lots of
	things. Unsure whether that still works on all systems. Need to
	eat up 'info auto*' :)

	* CPP2C: Added more justification for C+++>C

	* src/Makefile.am: Fixed bug which make Make not to use -Wall
	-ansi -pedantic
	
	* src/dinkedit.c: Finished conversion so that -pedantic compiling
	outputs no warnings.
	
	* src/input.c: (GetKeyboard): Few documentation

2004-01-06  Sylvain Beucler  <beuc@beuc.net>

	* src/dinkedit.c: conversion to C

	* src/dink.c: (gather_events), src/processes.c: (var_equals):
	began documentation

	* Some clean-up

	* src/globals.h: Global variable bActive is now app_active.

	* src/Makefile.am: -Wall -ansi -pedantic are applied to all
	programs, which avoid different .o to be generated for dink and
	dinkedit.
	
	* src/constants.h: Removed * src/processes.c: (init_scripts):
	Added a check so sprite #1000 is not supported - and thus do not
	attempt to access element #1000 of a 300 elements array.

2004-01-05  Sylvain Beucler  <beuc@beuc.net>

	* AUTHORS: added detailed copyright info for Seth A. Robinson

	* Legal clean-up in the copyright notices
	
	* CPP2C: added details on the C++=>C conversion.

	* configure.ac: the main program is now dink.c, not dink.cpp
	
	* src/Makefile.am: added '-Wall -ansi -pedantic' flags
	
	* src/audio.cpp, src/brains.cpp, src/check.cpp, src/constants.h,
	src/dink.cpp, src/dink.h, src/dinkc.cpp, src/dinkedit.cpp,
	src/dinkio.cpp, src/draw.cpp, src/fastfile.c, src/functions.h,
	src/globals.h, src/includes.h, src/input.cpp, src/processes.cpp,
	src/spriteinfo.cpp, src/strings.cpp, src/structures.h,
	src/typedefs.h, src/util.cpp, src/util.h, src/windebug.cpp:
	Conversion of Dink from C++ to C. Changes are detailed in CPP2C,
	so that any error can be tracked back. Dinkedit is not converted
	yet.

2003-12-30  Sylvain Beucler  <beuc@beuc.net>

	* doc/freedink.texi: Fixed a bug in the INFO-DIR entry.

2003-12-27  Sylvain Beucler  <beuc@beuc.net>

	* some CVS changes (.cvsignore, generated files deletion...)

	* src/util.cpp (init_video): Added a title to the main window

2003-12-21  Sylvain Beucler  <beuc@beuc.net>

	* README: Added pointer to the README.* files.
	Cleaned up the document.

	* configure.ac: version set to 0.1.7 - whatever that means

	* src/brains.cpp: removed some of the blank lines introduced by
	CVS misuse thanks to the forked version admin, heh

	* src/processes.cpp (process_line): remade the changes to avoid
	the 'multi-characters constant' warning

	* doc/Makefile.am: added rules for Texinfo documentation. Some
	clean up.

	* autogen.sh: added --gnits automake strict option

2003-12-14  Sylvain Beucler  <beuc@beuc.net>

	* configure.ac: some changes due to the new file names

	* src/Makefile.am: added *.h in dink_SOURCES and dinkedit_SOURCES
	- to be cleaned up

	* doc/Makefile.am (EXTRA_DIST): added *.texi

	* Makefile.am (EXTRA_DIST): added w, HISTORY, TODO and doc/,
	changed README.*

	* src/include/*: moved back to the src dir

	* README.W, README.GNU, w: new names to fit the GNU standards,
	plus some updates in the READMEs.

2003-12-02  Sylvain Beucler  <beuc@beuc.net>

	* doc/freedink.1: added an auto-generated help2man manpage (to be
	merged with dink.1)

	* doc/fdl.texi, doc/version.texi, doc/freedink.texi: added a
	customized GNU manual template

2003-12-01  Sylvain Beucler  <beuc@beuc.net>

	* AUTHORS: now comply with GNU policies and only details
	significants contributors and which parts they precisely worked on	

	* HISTORY: added history up to 12/2003, including project forking

	* THANKS: moved small contributions and contact info there

	* NEWS, README, README.linux, README.win32: added all-permissive license notices

	* configure.ac: Changed package name to FreeDink

	* src/dink.cpp (print_help, print_version): added

2003-10-26  Sylvain Beucler  <beuc@beuc.net>

	* util/ffrextract.c: added a small recursive FastFile extractor

2003-10-23  Sylvain Beucler  <beuc@beuc.net>

	* configure.ac: moved AC_CANONICAL_* to avoid warning by autogen.sh

	* configure.in: renamed to configure.ac to follow standard name
	defined in autoconf.info

	* acinclude.m4: Fixed EOLs :/

	* src/processes.cpp: fixed some warnings and added a premilinary
	comments for the 'multi-characters constants'.

	* src/: again some dos2unix to make EOL coherents to CVS; also
	added a EOL to some files to end them and avoid g++ warning.

	* src/dink.cpp: Moved NAME and TITLE there to avoid conflict when
	compiling Dinkedit
	
	* src/dinkio.cpp (save_game, add_time_to_saved_game): (int) cast
	to avoid a warning	

2003-10-05  Andrew Reading   <aerea@users.sourceforge.net>

	* Finished the dinkvar.cpp Split

	* Neatened up the Code a bit

	* BEUC: Emacs Still Sucks. :p

2003-10-04  Shawn Betts  <sabetts@vcn.bc.ca>

	* Makefile.am (EXTRA_DIST): add the config.h file

	* src/windebug.h (print_debug): remove WIN32 #ifdef's

	* src/Makefile.am (noinst_HEADERS): add windebug.h

2003-09-30  Shawn Betts  <sabetts@vcn.bc.ca>

	* src/dinkvar.cpp (initfonts): set font height to 20.

	* src/dink.cpp (doInit): load the font "default.ttf"

	* fonts/Makefile.am (EXTRA_DIST): change font name to default.ttf

2003-09-28  Andrew Reading   <aerea@users.sourceforge.net>
	
	* Added the .D to .C file converter to CVS

	* Split up dinkvar.cpp

	* BEUC: Emacs Sucks. Go VI!!! :p

2003-09-27  Sylvain Beucler  <beuc@beuc.net>

	* Changed a few files to get Dink to compile with MinGW. Now
	Dink.exe crashes just as nice with Visual C++ and MinGW :)

2003-09-26  Sylvain Beucler  <beuc@beuc.net>

	* Applied 'dos2unix' and 'indent -bad -bap -nhnl' on source files
	(next time, 'indent' alone will be enough). If you do not like the
	current indentation you may create a ~/.indent.pro with your
	indent preferences instead of manually re-indent the code. Indent
	does not like DOS files, but CVS should handle EOL - I wonder why
	it was not the case today.

	* Changed the copyright notices and licenses text to apply the
	GPL. Maybe I added somebody in the copyright notice while I
	shouldn't, so you may check them.

	* Added files HISTORY, THANKS and modified AUTHORS. I'd need to
	know what Charles Morton aka ceacus18 is doing, and what Nothan
	Norton contributed.

2003-09-25  Sylvain Beucler  <beuc@beuc.net>

	* util/*.sh: fixed lowercaser bug (was only parsing current
	directory).
	
2003-09-24  Shawn Betts  <sabetts@vcn.bc.ca>

	* src/dinkvar.cpp (load_script): fixed Msg(()) format string

	* src/util.cpp (init_video): init the SDL_ttf library
	(init_video): return a bool. prototype and callers updated.

	* src/dinkedit.cpp (main): return 1 if check_arg or doInit fails.

	* src/dinkvar.cpp (g_fontdir): new global
	(check_arg): parse -fontdir
	(initfonts): use g_fontdir to find the font

	* src/dinkedit.cpp (initFail): move to dinkvar.cpp
	(check_arg): move to dinkvar.cpp

	* src/dink.cpp (check_arg): move to dinkvar.cpp
	(doInit): return false if init_video fails
	(doInit): return false if initfonts fails.
	(doInit): set default font to "n019004l.pfb"
	(main): return 1 if check_arg fails.
	(initFail): move to dinkvar.cpp

2003-09-22  Sylvain Beucler  <beuc@beuc.net>

	* util/*.sh: added a lowercaser tool.
	
2003-09-22  Shawn Betts  <sabetts@vcn.bc.ca>

	* configure.in: bump version to 0.1.0-cvs

	* src/dinkvar.cpp (dversion_string): make it a char* and assign it
	VERSION.

	* src/dinkvar2.h: include ../config.h
	(dversion_string): make it a char*

	* src/util.cpp (strlower): fixed crash bug
	(strdown): likewise
	(process_string): new function.

	* src/dinkvar.cpp (CreateBufferFromWaveFile): call process_string
	on the filename.
	(load_sprites): likewise
	(load_script): likewise
	(show_bmp): likewise
	(PlayMidi): likewise

2003-09-21  Shawn Betts  <sabetts@vcn.bc.ca>

	* src/util.cpp (load_image): use IMG_Load
	(init_video): add SDL_HWPALETTE flag to SDL_SetVideoMode call.
	(init_video): set the 0th and 255th palette elements to black and
	white, respectively.

	* src/dinkvar2.h: include SDL_image.h

	* src/dinkvar.cpp (load_sprite_pak): use IMG_Load_RW

	* src/dinkedit.cpp: replaced 32 with SDLK_SPACE in a GetKeyboard
	call.

	* src/dink.cpp (human_brain): handle map loading
	(CyclePalette): properly cycle the palette
	(up_cycle): likewise

	* configure.in: check for SDL_image

	* win32/Dinkedit.dsp: Add include directories and libraries

	* src/dinkedit.cpp (main): call check_arg.
	(check_arg): rewritten.

	* win32/dink.rc: change path to resource.h in #include

	* configure.in: bump version to 0.0.3-cvs

	* src/dink.cpp: do not include resource.h

	* src/dinkvar.cpp (music_data): new global
	(cbuf): remove global
	(seperate_string): remove \r in string
	(decompress): return a string containing the file. Callers
	updated.
	(decompress_nocomp): likewise
	(load_script): free string returned by decompress_*
	(load_script): set the end of the script to 1+ the strlen (the
	null terminator) of cbuf.
	(playMIDIFile): implement using SDL_mixer
	(PlayMidi): likewise
	(process_line): in force_vision, store the script's current
	location and restore it after calling draw_map_game.

	* src/update_frame.cpp (updateFrame): replace numbers passed to
	GetKeyboard with proper SDLK_* constants.

	* src/util.cpp (map_rgb): add argument surface. all callers
	updated.

Changes in v1.07b8
* Added 2 new DinkC functions:
    * math_power(int base, int exponent)
          ^ Raises base to the exponentth power
    * math_log(double integer)
          ^ Finds the natural logarithm of integer.  NOTE: Will
              always return positive, even if given a negative
              number.

Changes in V1.07b7
* More source clean-up
* Adjustments to include calls
* Bug fixes:
    * Fixed the 1-pixel sprite placement bug above the status bar
    * Fixed the screenlock hardness bug
* Added several of redink1's DinkC addons:
    * load_palette(string filename);  //To load the default 
       palette, do something like load_palette("tiles/ts01.bmp");
       Palette persists even after fade_down()/fade_up().
    * show_inventory(void); //Displays the inventory screen, 
       like when you press the Enter key, except without the
       sound.
    * math_abs(int value);  // Returns absolute value
    * math_mod(int value, int modulo); // Returns modulo
    * math_sqrt(int value); // Returns square root
    * math_sin(int value); // Returns sine
    * math_cos(int value); // Returns cosine
    * math_tan(int value; // Returns tangent

Changes in V1.07b6
	* Major source clean-up.  Still no new features

Changes in V1.07b5
	* Development Release: Retracted

2003-07-18  Christoph Reichenbach  <jameson@linuxgames.com>

	* doc/COPYRIGHT_FILES.txt: Added download instructions for the
	proprietary files we can't include (note that we'll remove the
	requirement to use these as soon as time permits).

Changes in V1.07b4
* Directory Structure changed

Changes in V1.07b3
* Various bug fixes

Changes in V1.07b2
* Various bug fixes

Changes in V1.07b1
* Various bug fixes

----- Below here is the Original Change Log from Dink -----
Changes in V1.06 (the freeware full version)

* Removed copy protection. I hope I didn't break anything.. the protection
  is very complicated, but I wanted to retain the ability to play CD music
  if an original Dink CD is inserted.  So some of the CD check code is still
  there.. it just won't stop the game.
* Fixed the prompt box in Dinkedit to not have a giant black splotch on it.
* Added new midi in tavern (if CD is not inserted it will play)
* Added new midi in bonca caves (if CD is not inserted it will play)
* Added another not so hidden magic potion near Terris (game balance issue)
* Recompiled everything using Directx 7 
* Bowman in Kernsin now gives better directions on how to operate the bow
* Changed strength/defense on a few enemies, making them easy to kill in
  most cases.  
* Added ability for DMOD makers to run a script for nearly AND key on the
  keyboard.  It works just like button6.c, but the filename would be key-80.c
  for key P for example.  Debug mode now shows which keys are hit to make it
  easier to figure out what the numeric format for the key is.  Dink keys are
  not remappable, like punch, spacebar and escape.  6 and 7 also aren't.
  (internal thing with the joystick..don't ask)  But most other keys are
  including F1-F12, the numpad, tilde and even scroll lock if you really
  want to.
* Rebalanced more stuff and added more midi.  I think overall the game plays
  better now - not a real easy boss and than a real hard boss.  Overall
  the game is much easier.  I think the story is easier to enjoy this way.

Changes in V1.05:

New script commands:

set_sound_survive( sound ); - lets you make a sound live past a screen.  Use
                              with looping to make digital music!

set_sound_vol( sound, level) - Lower a sounds volume.

set_sound_kill(sound) - Kills a 'survive' sound.

kill_all_sounds() - Kills all 'survive' sounds.

copy_bmp_to_screen( file )   - Just like it sounds.  I do these with the
                               bigmap.bmp so I can animate the little ship
                               over it. A good way to go, no wasted memory
                               on huge ass sprites.

Other changes:

* playsound now returns the # of the sound created.
* show_bmp now reads the .bmps pallete and switches to it.  (better looking
  stills!)
* Move() now works with Text created with say_xy.
* Fixed bug where if icons were not preloaded (which they are in Dink) it
  would crash when drawing the status. (now it will load them instead)
* Time recorded is more accurate, because it includes DEATH'S also now.
* Max SET_SPRITE commands for dink.ini upped to 600 from 500.
* Max sequences upped to 1000 from 900.
* added playmidi command to dink.ini.  This let's you play a song while
  dink is loaded.  Check the dink.ini in Mystery Island for an example.

Major changes in V1.04:

* Problem with vewing stills (such as the map) on some video cards was
  fixed.

* Super fire ball now burns trees with hidden stairs/etc correctly. (didn't
  notice before because at the stage of the game where you get this weapon,
  there are no more 'secret trees')

* Fixed losing a level raise from walking off the screen too quick.

* Added initfont() dinkc command.  You can set a custom font this way.  It
  does have to be in the Windows fonts dir, though. (this was added to make
  international translations easier)

Minor changes:

* included updated FFCREATE.EXE tool for developers, squishes a whole dir of
  .bmp's into one dir.ff file for dink to read.  Copy this over your old
  one, wherever it is. (if you aren't making Dink worlds, don't worry about
  it! <g> )

* Fixed where you could buy "Speed boots" and not get it because inventory
  was full.. same thing with Super Fire Ball.

* Fixed some hardness holes.

* CD check when running an add-on works a little better, before you got a
  blank screen if the CD wasn't in.

* Showing stills with an optimized pallette will be in the next version.  I
  need to add some new control methods as well. (to make nifter non dink
  related arcade sequences)

* Aunt says more after game is won.

* Added script to the well on 'Treasure Island'

* Fixed some continuity problems in the beginning.  (involving
  the old lady's duck especially)

* Included a slightly updated dinkc.txt.  

Major changes in V1.03:

* Removed all references to Shaurrie Whyte's music, turns out she did not
  own the copyright to the songs she 'composed', the REAL copyright holders
  are allowing us to fix it by issuing this patch, which replaces all of
  her songs. (4)
* Scripts load quicker (Turned off a few MSVC++ 'Optimizations'...)
* Can fix damaged saved files automatically, it will delete 'damaged' items
  from your inventory, so the game will not crash when you hit enter.
* Fixed HUGE memory problem with draw_hard_sprite(); if a sprite was partly
  off screen, it would draw it's hardness in random memory, this caused
  a few crashes and caused the above phenom. (thanks to Travis Roya 
  <blueiguana@mailexcite.com>for giving me the instructions on how to 
  recreate it, I was stumped!)
* Removed a tree that had stairs to an unfinished area and let you walk
  around the map in illegal places.

Minor changes:

* The action STOPS when you are prompted to assign attributes from a level
  raise. (I must have screwed this up just before we printed somehow..)
* The bow shop guy gives clues about Bow lore now.
* Fixed a place where a Goblin says Dink's line.
* Fixed a few 'hardness holes'.
* Added some monsters near the mine shaft near Terris.
* Wanderer near Goodheart castle pops up less often.
* A few shells and things don't disappear from waves now.
* Fixed an invisible chest that gave a potion that couldn't be reached.
  (may not work correctly on old saved games though)
* Added list of preordered people and beta testers to the credits.txt - we
  were going to before but simply forgot!!!
* Added a clue on how to get into the Duck Idol area.
* The guy who sells "Herb boots" now shows the price.
* A 'news' item on a poster found in most healers was fixed, didn't show up
  before.
* Added a little text to the castle guards.
* Fixed a bush that was being drawn to the background instead of being a
  sprite.

Thanks to all of those who emailed about problems helped me work them
out by attaching saved games and such, I really appreciate it.

-Seth (sethable@rtsoft.com)

----- End Original Change Log -----

---
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
