Dune Dynasty
============

Version 1.6.3, 2024-05-12
-------------------------
  - Add new enhancement option for instant wall construction.
    The config-key is "instant_walls".
    This enhancement is disabled by default.
  - Add new enhancement option to increase light vehicle sight range (from 2 to 4 tiles).
    The config-key is "extend_sight_range".
    This enhancement is disabled by default.
  - Add support for new soundtracks:
     o Dune II Amiga Soundtrack.
     o Dune II 5-device mix (PC Speaker, Tandy 3-voice, AdLib, Roland MT-32 and SC-55) by the Sound Card database.
     o Emperor: Battle for Dune Soundtrack.
     o Dune: Part Two (2024) Original Motion Picture Soundtrack
  - Add in-game option "Aspect Ratio Correction". Also changes the config option to not include the ratio anymore (it is now hardcoded to 1.2).
  - Add config option "midi_device_id" to select the MIDI device to be used on Windows (default=0).
  - Add Midi Format option to Music Options to allow type of midi files to be played (config key is `midi_format`):
     o pcs: PC Speaker
     o tan: Tandy 3 voices
     o gm: General Midi (SC-55) (=default)
     o mt32: Roland MT-32
  - Fix hanging notes after song-change with MIDI-playback on macOS.
  - Fix aspect ratio of menus/cutscenes/mentat-screens for modern monitors by using a default ratio of 1.2 instead of 1.1.

Version 1.6.2, 2024-02-24
-------------------------
  - Make enhancement "Raise unit cap" more effective.
    Dune II has 3 types of unit caps:
     o A unit cap defined per house by the scenario (usually 25 for the player, and 20 for the CPU)
     o A hard-coded overall cap of 102
     o And a hard-coded cap per unit/group of units (caryalls and ornithopters: 11, saboteurs: 3, all others/ground units: 80)
    This enhancement sets the scenario unit cap for all houses to 50, raises the overall cap to 322 and allows a total of 300 ground units (incl. saboteurs).
    This enhancement is disabled by default and always enabled in multiplayer/skirmish.
  - Add enhancement option to raise structure cap. (thanks WillSo!):
    Dune II limits total structures on a map to about 70. This enhancement raises that limit by 100.
    This enhancement is disabled by default and always enabled in multiplayer/skirmish.
    NOTE: Games saved with this option enabled will not be able to load, when the option is disabled! An error will be shown in this case.
  - Add teams and AI to multiplayer and skirmish.
    You can now setup matches with up to 6 teams with completely custom human/AI player configurations.
  - Enable worms in multiplayer and add worm-count option (0-3) to multiplayer/skirmish options.
  - Add option to choose starting army in skirmish/multiplayer options:
     o Small option is: 1 trooper, 1 quad
     o Large option is: 1 trooper, 2 quads, 1 tank, 2 siege tanks
  - Add enhancement to show additional info in Outpost text.
    Shows active, standby and max units. 
    Standby units are e.g. in production, ordered in factory, outstanding reinforcements, usually 1 backup-harvester.
    This enhancement is always enabled in multiplayer/skirmish, to provide the actual owned unit count in addition to the default allied count.  
  - Provide macOS ARM64 (Apple Silicon M1) package.
  - Add `setup` script to macOS packages to remove the executable and included libraries from Gatekeeper quarantine.
  - Add support for new soundtracks:
     o Dune II PC speaker recording.
     o 3-card mix (AdLib + MT-32 + AdLib Gold) of Cryo's Dune (1992) by the Sound Card database.
     o 2024 re-release of the Spice Opera soundtrack of Cryo's Dune (1992) by EXXOS.
       (Replacing support for old version.)
  - Remove support for Dune II - The Maker MT-32 soundtrack, since it is a subset of _Shaiwa's_ (FED2k) MT-32 recordings.  
  - Further fixes and improvements:
     o Fix units occasionally not blinking on attack command with true game speed enhancement enabled.
       This particularily happened after loading a savegame more than once per game session.
     o Move name-input-field in lobby to a more prominent location and instead display errors on the top.
     o Display error on invalid house setup in multiplayer/skirmish lobby.
     o Fix lose-condition (structures/units) setting not working in in skirmish mode.
     o Fix multiplayer/skirmish game continuing, if player is dead but ally is still alive.
     o Fix fremen and saboteur superweapons spawning for the wrong house in skirmish.
     o Fix "Dune Variation" from Dune (1992) Adlib soundtrack not playing.
     o Lower "Dune II - The Maker" AdLib recording volume.
     o Fix detection of available music sets in extras menu.
     o Fix some voice samples being played with wrong volume.
     o Fix map generation efficiency with 5 and 6 players/teams.
     o Fix units spawning in structures in multiplayer/skirmish.
     o Change behaviour of initial AI units in multiplayer/skirmish to area guard.
     o Fix several compile warnings.
     o Add minimal distance to allies for human players in multiplayer/skirmish.
  
Version 1.6.1, 2023-11-17
-------------------------
  - Provide macOS package.
  - Add new gameplay enhancement option for consistent directional attack damage. (thanks @gerwin!)
    (see enhancement.txt for details)    
  - Autoplay introduction video on launch and add option to disable it.
  - Display structure layout also on high sidebar scales.
  - Make scale of multiplayer-chat consistent on all resolutions.
  - Fix Atreides superweapon-Fremen attacking Atreides in multiplayer.
    Atreides palace will now spawn Atreides troopers instead of Fremen.

Version 1.6.0, 2023-07-02
-------------------------
  - Many unreleased changes (incl. multiplayer!)
    that were added from 2013-2015 in SourceForge SVN
    (https://sourceforge.net/projects/dunedynasty/)
    mainly by David Wang, the original Dune Dynasty creator.
    (See commits by "dwang" in this timeframe for details.)
  - Merge fixes and improvements from https://github.com/1oom-fork/dunedynasty
    o Ctrl + RMB sets rally points for all similar buildings
    o Ctrl shows rally points for all similar buildings
    o Ctrl + LMB selects all units of the same type
    o Fix AI bug: sandworm wakes AI if seen by AI
    o Gameplay fix: update the unit's vision every time it moves
    o Capture the mouse if the game is not paused
    o New hotkey: select next building of the same type (Tab key)
    o New hotkey: focus viewport on selected structure (Space key)
    o Draw health bars for all visible units in "All units" mode
    o Fix save/load bug: fix fog data loss in saved games
    o Fix pathfinder freeze in case if destination is out of map
    o Action Panel title text no longer reacts to mouse clicks
    o Action Panel title click behavior moved to the portrait
    o Add old style status button to action panel
    o Remove Send Order button from Starport menu (uses status button)
    o Add new status button for Palace menu
    o Pause/Cancel factory task by pressing ESC
    o Pause/Cancel factory task by rmb click on status button
    o Fix critical saveload bug which breaks the behavior of starports
    o Fix attempts to spawn Fremen outside the map
    o Bind hotkey H to Harvest and F4 to select construction yard
    o Add hotkeys for each type of unit/structure
    o Bind unit/structure hotkeys to action panel
    o Add hotkey hints to action panel
  - Merge changes by neg3ntropy and kvr000 (https://github.com/neg3ntropy/dunedynasty)
    o Fix compiler errors due to outdated code.
    o Fix many compiler warnings.
  - Add higher-res icon for executable. 
  - Add scaling options from 1-8 (merged from https://github.com/YuriyGuts/dunedynasty-macos).
  - Add sliders for menubar/sidebar/viewport scaling to in-game control menu.
  - LMB double click selects all units of the same type.
  - Select units of the same type only in current viewport (as this is pretty standard in modern RTS).
  - Fix scroll buttons disappearing on high sidepanel scalings.
  - Fix error sound not playing on "Unable to create more"
  - Fix another critical saveload bug which breaks the behavior of starports.
  - Always display unit/structure hotkeys within picture (to avoid obfuscation by queue-count).
  - Change default window mode to fullscreenwindow.
  - Set monitor resolution as default screen_width/screen_height.
  - Add further default scales for high resolutions.
  - Fix Sardaukar Troopers showing up as Raider Trikes in Dune 2 eXtended.
  - Display custom campaign name as title in options window.
  - Main menu improvements:
    o Reintroduce "Replay Introduction" to main menu.
    o Add arrows to change campaign in main menu.
    o Rename "Skirmish" to "Skirmish & Multiplayer" in main menu.
  - Rework Extras and Options:
    o Add video options (window mode, resolution, hardware cursor).
    o Add music options (enable/disable and show available/unavailable music sets).
    o Change menu layout.
  - Multiplayer fixes and improvements:
    o Add lose condition setting to multiplayer and skirmish (either structures only [default] or structures + ground-units).
    o Fix 2nd construction yard (rocket tower) upgrade not working for non-host players in multiplayer.
    o Fix multiplayer match ending for all players, if host is defeated.
      Now host will lose all units/structures, become observer and will be kicked to lobby, once other players finish the game.
    o Fix blinking of targeted unit to only be visible for player issuing command.
  - Add support for new music packs (with songs sorted into attack/idle music):
    o Dune (1992) game (by Cryo) - Adlib
    o Dune (1992) game (by Cryo) - Spice Opera
    o Dune (1984) Original Motion Picture Soundtrack
    o Dune: Part One (2021) Original Motion Picture Soundtrack
    o Dune: Part One (2021) Sketchbook Soundtrack


Version 1.5.7, 2013-08-18
-------------------------

  - Fix crash on startup when by using Spanish data files.
  - Put nouns before adjectives for Italian and Spanish.
  - Use English audio for Italian and Spanish.


Version 1.5.6, 2013-07-28
-------------------------

  - Fix crash due to scenarios incorrectly using "MaxUnits" when it
    should be "MaxUnit" (e.g. Stefan Hendriks' Atreides Campaign).
  - Implemented true (timer-based) game speed adjustment option.
    Enabling this will fix game-speed-dependent bugs in the original
    game such as the sonic blast range and the launcher's inaccuracy.
  - Fix error sound being played continuously when an AI cannot
    release a saboteur.
  - Launch deathhand missiles from the centre of the selected palace.
  - In skirmish mode, fix walls being revealed to the player.


Version 1.5.5, 2013-05-12
-------------------------

  - Fix crash caused by playing on maps where the AI has a starport.
  - Fix starport sometimes showing items as requiring an upgrade.
  - Fix box selection when mouse released in corner of screen.
  - Fix loss of selection when a unit dies during targetting mode.
  - Fix synth sound for unit acknowledgements and radar (de-)activation.
  - Fix voices when playing in French or German.
  - Always show the exit button in the mentat screen.


Version 1.5.4, 2013-03-31
-------------------------

  - Fix crash caused by completing a level when a config file has not
    been created.
  - Fix crash due to out-of-bound memory access in AdLib driver.
  - Fix carryalls and harvesters disappearing off the map.
  - Fix greyed out version of some structure icons.
  - Fix announcement of the number four in French and German missile
    countdowns.


Version 1.5.3, 2013-03-24
-------------------------

  - Fix crash due to missing strings (sandworm hint and Ordos end game
    cutscene).
  - Fix song titles in jukebox when only AdLib music available.


Version 1.5.2, 2013-03-10
-------------------------

  - Fix crash due to out-of-bound memory access, which can occur after
    deselecting a structure.


Version 1.5, 2013-03-03
-----------------------

Features:

  - Add skirmish mode with random map generator.
  - Add Options and Extras menu, including picture gallery and juke box.
  - Add support for Dune 2 eXtended campaign.

Controls and gameplay:

  - Units return to guard after destroying walls and spice blooms.
  - Fix units on guard command not attacking structures in range.
  - Fix selection issues with left-click orders.
  - If using left-click orders, right-clicking on the selected structure
    will now remove its rally point.
  - In non-auto-scroll mode, dragging a selection box over the
    scrolling region will no longer cause the map to scroll.
  - Fix scrolling regions when using scrolling along viewport edge.
  - A saboteur can now sabotage an allied unit if it is the only unit
    selected and is ordered a context-sensitive command.
  - Fix bug allowing Fremen, Sardaukar, and Mercenaries to build raider trikes.
  - Fix carryalls spinning in circles and failing to deliver reinforcements.
  - Refresh starport list when new stock arrives or prices change.
  - Starport restocks items that are not delivered.
  - Remove option for Ordos getting siege tanks in level 6.  Ordos now
    receive siege tanks one level later than others, like in Dune II.
  - Add Super Dune II Classic's sandworm controls.

Graphics:

  - Shadows darkened and flicker to be more like in the original game.
  - Improve support for the wider US fonts.
  - Centre English menu text, like in the US version.
  - Add options to give a more original look.
  - Add option to use software mouse cursor.

Audio:

  - Add support for system MIDI output (Windows, ALSA).
  - Add support for rcblanke's SC-55 music pack.
  - Disable interactive music if there are no attack songs,
    e.g. when using the Sega Mega Drive music pack only.
  - Fix playing synth effects alongside announcements when using
    digitalised sounds only.
  - Move music volume configuration out of main config file.

Other:

  - Saved games no longer need to be numbered consecutively to be found.
  - Add large window icon.
  - Fix some compilation errors on OS X.


Version 1.4, 2012-11-25
-----------------------

Controls and Gameplay:

  - Add fog of war option.
  - Fix a bug causing units picked up from the repair bay to not regain any health.
  - Fix brutal AI not being loaded from saved games.
  - Fix a bug in the script engine causing harvesters to display the
    "waiting for pickup" status text instead of the "stopped" text.
  - Fix bug causing units to walk back and forth at a large obstacle.
  - Make units more reliably approach and attack a target.
  - Click starport icon to send order.
  - Fix palace countdown being reset without releasing a saboteur.
  - Saboteurs now only detonate when on sabotage command.
    This includes right-clicking on an enemy structure, unit, or wall.
  - Rally points can now be set with left click when using left-click orders.
  - Use same random number generator as Dune II.
  - Use repair cost formula from Dune II v1.07, except that palaces are not free to repair.
  - Use repair cost formula from Dune II v1.0 for Super Dune II campaign.
  - Add option to restore Ordos getting siege tanks one level later
    than other houses, in level 7 instead of level 6. (default: off)

Graphics:

  - Add pixel aspect correction options.
  - Use alternative production sidebar for low resolutions.
  - Improve the look of building rubble when next to sand tiles.
  - Show target cursor for harvester and saboteur actions.
  - Fix loss of backgrounds in Direct3D when toggling screen modes.
  - Fix sonic tank turret being drawn with a slight tint.
  - Use cloaked saboteurs in Super Dune II campaign to mimic Dune II v1.0.
  - Infantry squad death animations now an enhancement option.

Sounds:

  - Add support for MP3 files.
  - Add option to choose between synth and digital sound effects.
  - Mentat screen now plays briefing music.

Other:

  - Strategic map indicates which scenarios you have not yet completed.
  - Add new options to the game controls menu.
  - Subtitle override is now an enhancement option.


Version 1.3, 2012-11-04
-----------------------

Controls and Gameplay:

  - Play as Fremen, Sardaukar, and Mercenaries.
  - Units can now be deviated to non-Ordos houses.
  - Fix mouse drag when released outside of window.
  - Right-mouse-drag pans the viewport.
  - Right-click in minimap issues a generic order.
  - Add option to use left-click generic orders.
  - Add option to only change zoom level when holding control.
  - Add option to scroll along edge of viewport, as in Dune II.
  - Click palace icon to release superweapon.
  - Build queue no longer remains on hold after cancelling an item.
  - Fix regular AI not placing down structures.
  - By default, Fremen, Sardaukar, and Mercenaries now have a starport
    delivery time of 10.

Graphics:

  - Add double-sized and context-sensitive mouse cursors.
  - Current and completed production items now flash.
  - Harvesters, refineries, and silos now have spice meters.
  - Add support for lost Dune II v1.0 repair bay and high-tech factory animations.
  - Add support for transparent rubble graphics.
  - Fix rubble sometimes being cleared during structure explosion.
  - Add infantry squad death animations, as in the Sega Mega Drive version.
  - By default, Fremen, Sardaukar, and Mercenaries now have Cyril,
    Radnor, and Ammon, respectively, as their mentats.

Sounds:

  - Fix bugs causing some warning sounds to not be played.
  - Fix deathhand missile countdown when narrator is interrupted.
  - Add missile launch announcement.
  - By default, Fremen, Sardaukar, and Mercenaries now use the
    Atreides, Harkonnen, and Ordos voices and music, respectively.

Other:

  - Add support for custom campaigns.
  - Add modding support through PROFILE.INI and HOUSE.INI for each campaign.
  - Unit squads, build queues, and rally points are now saved.
  - Add replay cutscene menu.
  - Add three additional letters in the Hall of Fame.
  - Add Direct3D driver (experimental).


Version 1.2, 2012-10-14
-----------------------

Controls and Gameplay:

  - Fix crash when active unit dies while choosing a target.
  - Add starting from mid-way through a campaign.
  - Mouse wheel zooms viewport.
  - Fix keyboard scrolling.
  - Add refinery rally points.
  - Click construction yard icon to place structures.
  - Click repair bay icon to eject unit.
  - Restore maximum saboteur and sandworm unit count to three of each,
    as in Dune II v1.0.
  - Remove unit slow-down when outside of viewport.

Graphics:

  - Fix crater graphics on rock.
  - Fix sandworm and sonic tank blur effect.
  - Improve blur effect on older video cards.
  - Implement screen shakes.

Sounds:

  - Fix crash when playing AUD files on Windows.
  - Add support for default music pack.
  - Add support for Sega Mega Drive music.
  - Add structure captured voice.
  - Fix infantry acknowledgement sound.
  - Restore soldier squish sound and animation.
  - Reduce cracking/choppy/poppy sounds on Windows.

Other:

  - Add reading configuration and saved games from executable directory.
  - Add introduction movie subtitles.
  - Improve startup time.
  - Improve game speed, menu lag.


Version 1.1, 2012-09-29
-----------------------

Controls and Gameplay:

  - Add scalable interface and viewport.
  - Add structure and unit health bars.

Graphics:

  - Add smooth flyer rotation.
  - Add smooth scrolling.

Other:

  - Fix to run on Windows.


Version 1.0, 2012-09-16
-----------------------

  - Initial release.
