/***********************************************************************\
*                     Changes done to Doom sources                      *
\***********************************************************************/

-------------------------------- 0.60 -----------------------------------

- D_ProcessEvents: Cache result of check for store demo on commercial version.
  (Fix from Badmood project).
- Remove pause on each frame, if machine is too slow.

-------------------------------- 0.59 -----------------------------------

- Fixed SDL double buffer usage
- Atari: Better 060 routines.

-------------------------------- 0.58 -----------------------------------

- Removed '-yieldcpu [on|off]' command-line option, useless now.

-------------------------------- 0.57 -----------------------------------

- Fix compilation for Coldfire CPU.
- Fix compilation for gcc 4.
- Add SDL YUV Overlay support.
- Added '-musexport' command line option to export music as MIDI files.
- Doom 1: Added '-cdmusic' command line option to play music from audio CD.

-------------------------------- 0.56 -----------------------------------

- README: list supported game data files.
- Add -iwad /path/to/gamefile.wad parameter.
- Fixed saving game corrupting memory (was using screen as buffer).

-------------------------------- 0.55 -----------------------------------

- Convert audio if 16bits stereo not available.

-------------------------------- 0.54 -----------------------------------

- Atari: more rendering optimizations, special 060 routine.

-------------------------------- 0.53 -----------------------------------

- Fixed low detail routine for networked player sprites.
- Fixed crash in audio on exit.
- Unrolled 4x rendering loops, a bit faster.
- Atari: tried to make 060 friendly asm rendering routines.

-------------------------------- 0.52 -----------------------------------

- Disable checksum on networked packets, allow networking with machines with
  different endianness.

-------------------------------- 0.51 -----------------------------------

- Document used environment variables.
- SDL_mixer enable/disable check in configure was wrong.
- Fixed uninitialized bottom array for visplane structure, causing R_MapPlane 
  errors.
- Atari: some fixes to compile Doom with old gcc 2.95.

-------------------------------- 0.50 -----------------------------------

- Response file readable as '-response <filename>' also with legacy '@filename'
  parameter. '@' character was not usable in standard Atari desktop dialog
  box for command-line.
- Atari: Reserve 256KB instead of 128KB for audio/video buffers as default.

-------------------------------- 0.49 -----------------------------------

- Configuration file and saved games now loaded/saved to $HOME/.doom directory
  if $HOME is defined.
- Atari: Fixed buggy m68k audio mixing routine (again).

-------------------------------- 0.48 -----------------------------------

- Print audio device name along capabilities.
- Atari: Fixed buggy m68k audio mixing routine.

-------------------------------- 0.47 -----------------------------------

- Open first available joystick, and print its name. Can also select which
  joystick to use (new 'num_joystick' value in doom config file).
- Print audio device capabilities when opening.
- Atari: m68k asm for audio mixing routine.

-------------------------------- 0.46 -----------------------------------

- Added '-yieldcpu [on|off]' command-line option.
- Atari: added FPU 060-friendly routines for integer multiply/divide, to
  avoid the missing instruction exception handler.

-------------------------------- 0.45 -----------------------------------

- Can compile with/without SDL_mixer also under Linux.
- Atari: display memory left in ST-Ram for audio/video subsystems.

-------------------------------- 0.44 -----------------------------------

- Texturing on floors/ceilings can be switched off.

-------------------------------- 0.43 -----------------------------------

- Don't call sound related functions when audio disabled.

-------------------------------- 0.42 -----------------------------------

- Add music replay using Timidity and SDL_mixer (not for Atari).
- Allow changing to fist when owning chainsaw.
- Fixed P_FindNextHighestFloor() for Heretic E3M8, from Doom legacy.
- Atari: Force memory allocation to FastRam if available.

-------------------------------- 0.41 -----------------------------------

- Emulate Pause key with Alt+P.
- Missing autogen.sh in sources.
- Status bar zoomed in big resolutions.
- Does not create shadow buffer of good size.
- Fixed analog joystick usage.
- Fixes for double buffered screen.
- Check for missing lumps in old IWAD files.
- Wait end of rendering to resize screen.
- Caches sounds instead of loading them all at start.
- Fixed screenshot routine.
- Audio switchable on or off.

-------------------------------- 0.40 -----------------------------------

- Throw nearly everything to the bin, restart from the original sources.
- Only use SDL for audio/video/input.
- Dynamic resize of screen possible.
- Many memory leaks fixed using Valgrind.

-------------------------------- 0.31 -----------------------------------

- Updated include/sting/transprt.h to compile with gcc 3.
- Close network sockets on exit.

-------------------------------- 0.30 -----------------------------------

- Added '-listmodes' command: display list of fullscreen modes, then exit

- SDL:
  Added videomode selection: '-videomode <n>' command
  Added support for zoom: '-zoomscreen' command

-------------------------------- 0.29 -----------------------------------

- Added mingw32 support (untested)
- Changed tics (1/35s) display for fps (frames per sec).
- Added cache for palette changes in TrueColour modes ('-cachepal' command).

- Unix:
  Added sleep call to avoid getting 100% cpu usage.

- SDL:
  Added audio support (sounds only)
  Mouse released in windowed mode
  Added '-fullscreen' command

-------------------------------- 0.28 -----------------------------------

- Factorized the different keyboard routines
- Factorized the setup of routines dependent of bit depth
- Added SDL support
- Added configure script
- Screen routines independent of line length

- Atari version:
  Gem routines updated for gemlib-0.40
  Tool to build DSP object file

-------------------------------- 0.27 -----------------------------------

- Document the '@filename' parameter, present in Doom from the beginning,
  which allows you to store parameters in a file. I did not know that
  it was present in the source !

- Atari version:
  Added Gem windowed support from Olivier Landemarre '-video gem'
  Modified includes files. Mint specific includes are now <mint/*.h>

-------------------------------- 0.26 -----------------------------------

- Atari version:
  sting.h missing in previous version, added.
  Source modified to be 68000 compilable, and can use c2p 4 bits in
  320x200x4 bits, should run on any ST with a 100Mhz processor and enough
  memory :-)
  Thanks to Xavier Joubert for help in debugging and testing
  I don't have time to test it extensively, so it is an exercise left to
  the reader...

-------------------------------- 0.25 -----------------------------------

- Atari version:
  Added Sting support for network and optimizations from Ronald Andersson
  (Thanks!)
  Use '-network [unix,sting]` to choose your favorite IP stack. 'unix' is
  the MintNet sockets on Atari.

-------------------------------- 0.24 -----------------------------------

- Modified to be cross-compilable for target m68k-atari-mint
  Just edit the makefile and put cross=y. Some other adjustments may be
  necessary (CROSSBINDIR_IS_y value is the path to cross-compilation tools).
  The new Atari executable is now built with gcc-2.8.1 .

- Atari version:
  Added network support (TCP/IP via MintNet), not tested

-------------------------------- 0.23 -----------------------------------

- Atari version:
  Corrected a bug in Xbios routine for 8 bits mode.

-------------------------------- 0.22 -----------------------------------

- Atari version:
  Corrected a bug in the c2p routine. It was modified to c2p in a screen
  wider than 320 pixels, and was buggy. So it was not working on TT.

-------------------------------- 0.21 -----------------------------------

- After having a look in ADoom sources (Amiga Doom port from Peter McGavin),
  I found that there were still not corrected bugs:

  src/dstrings.c:
	missing commas for end of the game messages (may cause crash when
	you quit the game).
  src/info.c,include/info.h:
	last element of sprname array is not NULL (tested in r_things.c)
  src/st_stuff.c:
	corrected IDCLEVxx cheat code for commercial WAD
  src/hu_stuff.c,src/wi_stuff.c:
	corrected language test: if (french) -> if (language==french)

- Separated string version in ./src/i_version.c
- Added zoom routine
- Added 32 bits support
- Tics are calculated now after complete redraw of screen:
  So now, the time taken to do the final display (copy,double buffer,zoom) is
  taken into account.

- Linux version:
	Svgalib:
	  '-zoomscreen'	for fullscreen mode
	  '-videomode <n>' to choose a video mode
	X11:
	  added program name in window title.
	  now window resize works with the zoom routine.

- Atari version:
	Added bios reading keys
	Xbios
	  '-zoomscreen'	for fullscreen mode
	  '-videomode <n>' to choose a video mode on Falcon.
	Vdi:
	  '-zoomscreen'	for fullscreen mode
	  '-novavdi' to force 15 bits in 16 bits mode
	  modified by Xavier Joubert:
	    - save/restore palette in 256 colours mode.
	    - black border around displayed zone. 
	    - test if AES is present or not.	

-------------------------------- 0.20 -----------------------------------

- Put original documentations files from linuxdoom sources in ./doc
  Added 'Copying': GNU GPL text file (this is the new license).

- Sound samples are now cached, so only used sounds stay in memory
  (Should now work on 4Mb Atari machines).

- Dynamic system routines
  '-sound','-video','-music','-keyboard','-joystick,'-joypad','-mouse'
  can select your preferred routine. Missing features on your system are
  automatically set 'off'. Now you can easily add new routines.

  Atari version:
	-keyboard <param>	param =	ikbd,off
	-mouse <param>		param = ikbd,off
	-joystick <param>	param = ikbd,off
	-joypad <param>		param = on,off
	-sound <param>		param = dma8,sndserver,off
	-video <param>		param = xbios,vdi,off

	ikbd:		Ikbd-6301 interrupt routines for Atari Falcon/TT.
	dma8:		Timer A sound interrupt routine for Atari Falcon/TT.
	sndserver:	The sound server in a multitasking OS.
	joypad on:	Use joypad ports on Atari Falcon.
	xbios:		Xbios display on Atari Falcon/TT.
	vdi:		VDI display for all Atari and clones.
			Use '-nofastblit' to allocate VDI buffers in ST-Ram
			instead of Fast-Ram.

  Linux version:
	-keyboard <param>	param =	svgalib,x11,off
	-mouse <param>		param =	svgalib,x11,off
	-sound <param>		param = audio,sndserver,off
	-video <param>		param = svgalib,x11,off

	svgalib:	Svgalib routines for Linux/x86
	x11:		X11 routines for Linux
	audio:		Linux audio device routine
	sndserver:	Use the sound server

-------------------------------- 0.15 -----------------------------------

- Corrected bugs in 24 bits mode
- Moved assembly m68k sources to ./src/m68k

Atari version:
  - Added VDI display routine from Johan Klockars
    Use '-pixelinv' to use byte reversed pixels in TrueColour.

-------------------------------- 0.14 -----------------------------------

- Changed include <values.h> in m_bbox.h by include "doomtype.h"
  The file values.h may not be available on all systems.

Atari version:
  - Corrected sound mixing bug. Sound is clear now.
  - Corrected interrupts bug (using the mouse could hang everything).
  - Added pro-controller joypad keys (X,Y,Z,L,R)

-------------------------------- 0.13 -----------------------------------

- Changed define -DBLBUFFER in boolean variable dblbuffer

Atari version:
  - Use '-video-8' to force 8 bits mode on Falcon.
  - Corrected a bug in joypad routine (reported by users)
  - Sound with 8 bits DMA (TT and Falcon) (required by users)
    On a standard Falcon, mixing 8 voices take to much time, and the
    keyboard routine can lose control, because the sound routine as a
    higher interrupt level. Avoid using mouse: it generates too many
    keyboard interrupts. 

Svgalib version:
  - use '-video-8' to force 320x240 double buffer mode (Mode X).

-------------------------------- 0.12 -----------------------------------

Atari version:
  - Rewritten keyboard routine
    mouse,joystick and joypad (on Falcon) are usable to play.
  - Removed bogus linux sound routine (slow down under TOS (2x slower !)).

-------------------------------- 0.11 -----------------------------------

Atari version:
  - Falcon version can use 8 bitplanes mode : '-falcon8' switch
  - Should now work on Atari TT in 320x480x8 bits mode (not tested)

-------------------------------- 0.10 -----------------------------------

- Wiping screens now works in double buffer.

Svgalib version:
  - Now can double-buffer in 320x240 mode X style, if compiled for.
    Switchs -svga[15,16,24] don't work in this mode !

-------------------------------- 0.09 -----------------------------------

- Now display tics with '-devparm'
  (one tic = 1/35 sec.)
- If $HOME is defined, configuration and games are saved in "$HOME/.doom/"
  else in "./"

Svgalib version:
  - You can use [-svga15,-svga16,-svga24] to enable 320x200x[15,16,24 bits]
    mode if available (not tested).

Atari version:
  - more ASM routs to get (a bit) faster

-------------------------------- 0.08 -----------------------------------

Linux/x86/PC and [Mint,Tos]/m68k/F30 common sources 
  - Back to C only for this version
  - Some ASM routs for Atari version
  - No more framerate displayed

-------------------------------- 0.07 -----------------------------------

Linux version:
  - Bug in Makefile: Math library was not linked in Svgalib version

-------------------------------- 0.06 -----------------------------------
	
- Recalculated light shading : looks better now

Atari version:
  - VBL rate displayed only if '-devparm' present
  - Crash sometimes when exiting (because of non present sound code):
    this should be ok now
  - Network library removed (was not used) : smaller binary

-------------------------------- 0.05 -----------------------------------
	
Atari version:
  - In VGA mode (320x240), screen is now correctly used. This could
    have provided some bugs.

-------------------------------- 0.04 -----------------------------------

- The sky texture is now correct in Ultimate DOOM.
- Switchs have now their correct texture when used (Ultimate DOOM).

-------------------------------- 0.03 -----------------------------------

- The status bar is better refreshed.
	
Atari version:
  - Modified to work on VGA: 320x200 display in a 320x240 screen.

-------------------------------- 0.02 -----------------------------------
	
- In invulnerability mode, palette is correct. It was a bug in original
  DOOM sources.
- Palettes have been recalculated for TrueColor mode: light shading is
  nicer (dark green is really dark green, and not dark grey like in 256
  colour mode).

Atari version:
  - Configuration is saved in the file "doom.cfg" automatically created
    when you run DOOM.
  - SHIFT key for running works now.

-------------------------------- 0.01 -----------------------------------

- Display is now correct in low detail.
- Demos management is done for old IWADs.
- Dots are correctly displayed when started (call of R_Init function).

Atari version:
  - Internal assembler manager for keyboard, mouse, joystick, 35hz timer.
  - Display 256 colors -> True Color, then directly in True Color, and
    then double-buffer.
  - Display number of VBLs.
