Version 2.2.11:
===============

- Fixed a crash after merging a nearby path into a flag (flag menu) if the flag
  had other paths or a building
- Lists like the save games can be scrolled with the mouse wheel (elsewhere the
  wheel zooms the map as before)


Version 2.2.10:
===============

- Large maps are playable now: only the visible trees, stones etc. get render
  objects (the game stuttered heavily with the largest map size), creating a
  large map takes a few seconds instead of up to half a minute, and the AI
  searches its territory faster
- The AI prioritizes coal and iron if it has no mine for them (without them
  there are no new knights): smart AIs know where the minerals are, build the
  mines at the best spots and expand towards the minerals, and a miner of
  another mine is freed if there is no miner and no pick left
- A special click (left + right button) no longer triggers a normal click
  afterwards (e.g. the map button opened the map after jumping to the castle)
- ImageSharp was replaced by StbImageSharp (no known vulnerabilities)


Version 2.2.9:
==============

- The game texts can be shown in English or German, the language can be changed
  in the options and is applied immediately. Thanks to kadrim!
- The multiplayer host also sees the map size and the random seed. Thanks to kadrim!
- The AI keeps fewer knights in the castle (limited by the free knights, at least 3
  if there are more than 3, always 1), builds a weaponsmith in hard times if there
  is steel, releases the knights of needless military buildings if it has no free
  knights (only if no land is lost), builds military buildings at the growing
  border and splits roads at congested flags (e.g. at the castle)
- Fixed the emergency program blocking all construction sites forever when the
  stones ran out although the essential buildings didn't need any. The AI could
  not expand anymore then.
- Fixed mines which got no food anymore although there was plenty of it
- Fixed flags drawn in front of buildings after scrolling the map
- Fixed roads and other sprites cut off at the top and left edge of the view
- Amiga graphics: the map tiles and roads are displayed properly now
- Better performance with large settlements
- A special click on the build button toggles the possible building sites again
  (it could only be switched on, not off)
- The building filter's third page shows the mill and the butcher at their
  original positions (they were swapped, so the mill was hidden behind the
  butcher)
- Android: the app now supports Android 15+/16 devices with 16 KB memory pages.
  The Silk.NET SDL native libraries (which were only 4 KB-aligned) are replaced
  with 16 KB-aligned builds for arm64-v8a and x86_64, removing the XA0141
  build warning and the load failure on 16 KB-page devices.


Version 2.2.8:
==============

- A special click (left + right button, long press on Android) works as in the
  original: on a build button it shows the possible building sites, on the map
  button it shows the castle, and only a special click demolishes. In the map box
  a special click on the buildings button opens the building filter (Bld1-4) with
  the original's building pictures; the minimap then shows only the chosen
  building type. Ported from freeserf PR #562.
- The game decides a winner and shows the end of the game with the original's
  pictures and texts: the result picture, the result text with the winner's face,
  and after a won mission the mission's picture. A click closes the box and asks
  whether to quit. Ported from freeserf PR #573 and #574.
- The tutorial mode with the original's six tutorials: the game type can be
  selected in the game init box, each tutorial has its own map, goals and castle
  supplies, and the tutorial orders box shows the current goal. Tutorial 6 adds
  a passive enemy. Ported from freeserf PR #575, #576 and #577.
- Save games keep the game type, the mission/tutorial level and the winning player
- Thanks to dos-ise for the special click, the end of the game and the tutorials!
- Fish only spawn in shallow water next to the shore, so lakes can be overfished:
  2-3 fishers can share a lake of the size of a screen, a 4th one overfishes it (#47)
- Mines also mine the ground below buildings and flags (#158)
- Fixed loading games in which a castle was destroyed (#142)
- Fixed doubled serf counts after loading (#139)
- Fixed a crash with a wrong castle knight count (#130)
- The possible building sites are updated while they are shown (#131)
- Fixed the direction (#138) and position (#152) of the resource chart
- The scroll wheel no longer turns a chart into the minimap (#128)
- Sounds of serfs and buildings outside of the screen are no longer played (#129)
- Parts of a burning mine no longer stay on the screen (#127)
- Serfs waiting inside a building are no longer drawn in front of it
- Linux: the audio libraries are found on more distributions (#87)


Version 2.2.7:
==============

- Serfs leaving a castle or stock and serfs approaching its flag take turns
  (castles with much traffic didn't send out builders, knights and resources anymore)
- Fixed a crash in larger games (CallTransporter), the AI linked flags in a background thread
- Fixed the game getting stuck after conquering a castle (#180)
- Fixed a crash because a building was treated as a stock (#156)
- Multiplayer: loaded games with four players can be joined again. Thanks to kadrim!
- Multiplayer: AI roads are synced right away
- Android: save games are stored in an accessible folder (Android/data/net.freeserf.android/files/saves),
  older save games are still found
- Android: the save games are shown in the Android files app
- The readme explains how to build from source (GLFW)


Version 2.2.6:
==============

- Multiplayer:
  - every player can request to pause, resume or change the game speed, the other players vote on it
  - players who have left a running game can rejoin it and get their settlement back
  - the host saves the game automatically (every 10 minutes and when a player leaves),
    every player can request a vote to save it (F5)
  - multiplayer save games are continued from the load screen, the players get their old players back
  - fixed different game speeds on devices with different frame rates (e.g. Android)
  - fixed invisible serfs after a game update from the host
  - the view starts at the own castle after loading or rejoining
- A road can end on an existing road again by placing a flag there. Thanks to iGEL!
- The window can be resized (the aspect ratio is kept, the size is saved)
- The first window size depends on the monitor, windows outside of the monitor are centred
- Fixed an error when closing the game (MIDI sound font)
- Fixed the OpenGL ES detection on Mesa drivers. Thanks to kadrim!
- OpenGL 3.0 / OpenGL ES 3.0 is required, older drivers get a clear error message
- Android fixes (game speed, sound after restart, sound loop while paused, loading screen). Thanks to dos-ise!
- Save games keep the game time


Version 2.2.5:
==============

- Multiplayer games (LAN) now work and stay in sync (experimental):
  - servers in the local network are found automatically, other addresses can be entered and are saved
  - the server name can be chosen
  - the game speed can't be changed, only the host can pause the game
  - player values are synced in the lobby
  - players are notified when another player leaves the game
- Widescreen support: wide aspect ratios and an evenly scaled, centred GUI
- Android port (separate APK). Thanks to dos-ise!
- The window title shows the app name and version
- Opening a notification closes an open popup and the other way round
- Save dialog: the name field is focused right away and separated from the list,
  saving without a name is no longer possible

Ported bug fixes from the C++ freeserf releases 0.4 and 0.5:

- Fixed a transporter duplicating a resource when switching at a flag
- Fixed serfs being lost when a road is removed (only serfs moving along the removed road are lost)
- Fixed a deadlock of serfs waiting for each other (loop check at flags)
- Fixed no knights being made while a Knight0 is in the stock
- Fixed transporter bits being cleared at a crowded flag
- Fixed the military score of the statistics (overflow and wrong formula)
- Fixed pigs oinking too often (persistent random generator)
- Fixed the DOS smelter sound (clip 62 offset and padding)
- Save games now keep more state so a loaded game goes on as the saved one:
  - building counts of all 24 types (gold smelters were lost)
  - the burning counter of buildings
  - the knight morale, the castle inventory, the send delays, the gold,
    the timers, the messages and the statistics history of the players
  - the knight morale and inventory schedule counters of the game
  - the threat levels of the military buildings (not computed again)
  - the serfs leaving a stock
  Older save games load as before.


Version 2.2.4:
==============

- Added app data path to search paths (e.g. `~/Library/Application Support/freeserf` on macOS)

Thanks to shinra-electric for:
- Adding github CI for macOS builds
- Adding icon and other assets for macOS builds


Version 2.2.3:
==============

Thanks to Christopherianos for:
- Updated bass midi to fix "undefined symbol" error

Thanks to dos-ise for:
- Upgraded to .NET 9
- Added app icon
- Switched to ManagedBass
- Fixed windows taskbar visible in fullscreen
- Added considerating the Ubisoft History Edition path for game data detection
- Fixed OpenGL version detection on some Linux distros
- Added support for game controllers/pads


Version 2.2.2:
==============

- Timed notification buttons (clocks) now work.
- Visually improved the game speed buttons.
- Fixed a bug where the AI got stuck.
- Fixed wrong knight count after game load (which blocked AI from expanding).
- When a serf is requested for a building you can now jump to that serf from the building popup.


Version 2.2.1:
==============

- Windows releases now contain the glfw3.dll so it should run out of the box


Version 2.2.0:
==============

- Fixed fullscreen (now uses full-sized window instead and it uses the window's monitor)
- Window position and monitor are now stored in config (so they are preserved for next start)
- Added nicer game speed buttons
- Fixed missing notifications
- Music and sounds are now muted when window is minimized


Version 2.1.2:
==============

- Updated to .NET 8 (Thanks to dos-ise)
- Fixed crash of missions with starting castle (Thanks to dos-ise)
- Fixed corrupted inventory markers (Thanks to athach)
- Fixed castle defender handling (Thanks to athach)


Version 2.1.1:
==============

- Fixed update of flag items
- Now uses a better log path on Linux


Version 2.1.0:
==============

- Fixed fighting of knights in free space (not at a military building)
    - Fixed missing animation of defending serf
    - Fixed infinite fighting
    - Fixed crash after fight
    - Unfortunately old savegames with free fighting knights won't work with this version


Version 2.0.8:
==============

- Fixed crash with some key combinations like Alt+PrintScreen
- Map cursor on own building will show the possible build icon now
- Improved merging a flag to a nearby path
- Improved linux data path and logging


Version 2.0.7:
==============

- Fixed miner food consumption


Version 2.0.6:
==============

- Fixed resource stats
- Multiplayer fixes
  - Crashes
  - State serialization
  - Road issues
  - Game syncs
- Added all multiplayer client user actions


Version 2.0.5:
==============

- AI improvements
- Added key shortcuts
  - 9: Set game speed to max
  - Shift+P: Opens player overview


Version 2.0.4:
==============

- Performance improvements
- AI improvements
- Fixed several crashes
- Fixed character rotation


Version 2.0.3:
==============

- Fixed scroll hopping on some platforms


Version 2.0.2:
==============

- Multiplayer menu is now availble
  (But this feature is still in early alpha!)
- New colored player faces for multiplayer games
- Fixed missing cursor in AIvsAI


Version 2.0.1:
==============

- When closing a popup box with a mouse click
  (e.g. selecting a building from the build
  menu) the cursor in the map view is not changed
  to the position underneath the popup box anymore.


Version 2.0.0:
==============

- Improved map click position detection
- Fixed possible build icons
- Fixed minimap click positions
- Improved minimap grid drawing
- Improved pathway scrolling
- Improved road building and fixed several issues
- Added command line log filtering and improved
  command line options and documentation
- Added timestamp to logs
- Saved games are immediately visible in load menu
- Double-clicking list items like savegames will
  perform the default action (e.g. loading the game)
- Improved font for savegames or other lists
- Several minor fixed and improvements


Version 2.0.0-preview7:
=======================

- Improved AI
- Improved user config handling
- Improved logging
- Scroll options are also available in main menu


Version 2.0.0-preview6:
=======================

- Implemented fast building
- Improved map scrolling
- Added more ingame options for scrolling
- Fixed special click issues
- GameInitBox will have the same settings after game close
- Lowered single click delay
- Fixed disabled bottom panel in AIvsAI
- Fixed weird bugs with large map sizes
- Fixed black artifacts in map rendering


Version 2.0.0-preview5:
=======================

- Improved fullscreen switching
- Fixed special click issues
- Fixed mouse wheel zooming


Version 2.0.0-preview1-4:
=========================

- Sound and music support for Linux
- Sound and music now uses BASS
- Settings are now saved when using ingame exit button
- Serfs only play sounds when on screen
- Bugfixes


Version 1.9.35:
===============

- UI font is now an embedded resource
  and no external file anymore


Version 1.9.34:
===============

- Fixed missing notifications


Version 1.9.33:
===============

- Fixed a crash
- Improved AI a bit


Version 1.9.32:
===============

- Fixed more issues
- Fixed another game freeze


Version 1.9.31:
===============

- Fixed several issues
- Fixed game freeze


Version 1.9.30:
===============

- Fixed stonecutter bug
- Fixed build system for Windows


Version 1.9.29:
===============

- Fixed serf states
- This fixes many game related bugs


Version 1.9.28:
===============

- Fixed linux build
- Added netcore/Silk.net window/renderer


Version 1.9.27:
===============

- Fixed savegame bugs


Version 1.9.26:
===============

- Fixed stack overflow crash


Version 1.9.25:
===============

- Fixed invisible cursor bug


Version 1.9.24:
===============

- Fixed data loading bug


Version 1.9.23:
===============

- Fixed click event bugs


Version 1.9.22:
===============

- Made amiga music playing nearly correctly
- Data can now be loaded from mixed sources (e.g. DOS graphics and Amiga music)
- Prefered data source for graphics, sounds and music can be specified
  inside the user config file
- Increased max resolution to 1920x1440


Version 1.9.21:
===============

- Fixed amiga data loading (at least game runs now with amiga data)


Version 1.9.20:
===============

- After demolishing buildings, serfs won't get stucked anymore
- Fixed some issues with flag handling after demolishing buildings
- Crashes caused in user events will now also support the save game option


Version 1.9.19:
===============

- When losing land, buildings are demolished before their flags
- Data file can now be changed manually in user config
- Now also amiga files could be used in theory (loading not tested yet)


Version 1.9.18:
===============

- Unhandled exceptions should now be logged
- Fixed wrong animation counter for miners
- Fixed inner exception message
- Flags of burning buildings can no be removed when losing land


Version 1.9.17:
===============

- Serfs won't leave castle/stock if there are waiting serfs around
- Fixed a crash


Version 1.9.16:
===============

- Improved map click position detection
- Fixed loading AI-only savegames
- Fixed wrong player color when removing a player in GameInitBox


Version 1.9.15:
===============

- Fixed non-attacking AIs when only 1 enemy exists
- Adjusted AI attack chance a bit
- Under attack notifications for the same building will only reoccur
  after 45 seconds of not attacking it
- Fixed flickering flags


Version 1.9.14:
===============

- Finally fixed rendering of working miners and the mine elevator
- Fixed a bug where AI orders geologists of other players
- Improved AI performance


Version 1.9.13:
===============

- Added a bonus mission 31
- Improved AI military building rate in progressed game
- AIs will no longer build buildings that could not be connected
- Geologists are not send to flags that are too far away from mountains anymore
- Emergency program will no longer cause abandoned construction sites


Version 1.9.12:
===============

- Improved AI mine building
- Fighting flashes are now displayed correctly
- Inventory modes (in, stop, out) now work correctly


Version 1.9.11:
===============

- Improved AI decisions in early game with low supplies
- Improved AI tool making
- Fixed some bugs
- Fixed traffic loops near a stock or castle


Version 1.9.10:
===============

- Fixed sailor behavior
- Fixed several crashes
- The game window is no longer blocking other windows in fullscreen mode


Version 1.9.9:
==============

- When a building is demolished, the holder now returns back to the castle
- AIs won't build military buildings too close to each other anymore
- The amount of attacking knights is now displayed in the start attack popup


Version 1.9.8:
==============

- Fixed many crashes
- Crashes are better handled
- AIs will now build larger military buildings


Version 1.9.7:
==============

- Fixed exceptions / crashes
- Improved AI performance
- Improved AI disconnected flag linking


Version 1.9.6:
==============

- Fixed exception
- Added some debug info


Version 1.9.5:
==============

- Fixed AI game loading bug
- Fixed crashes associated with multi-threading
- Fixed some other crashes
- Fixed bugs with fights


Version 1.9.4:
==============

- Fixed static AIs after game loading


Version 1.9.3:
==============

- Lists are now scrollable by mouse dragging
- In case of crashs the fullscreen mode is first disabled
  to show the error message properly


Version 1.9.2:
==============

- Fixed UI render bugs (e.g. slidebars, statistic gauges)
- AIs will limit their serf to knight rate to avoid stagnation
- Fixed wrong generic serf count
- Minor bugfixes


Version 1.9.1:
==============

- AIs should now also build a castle on large maps
  in reasonable time
  

Version 1.9.0:
==============

- Patcher now shows a changelog
- Changelog is part of the build
- Patcher is now able to patch itself


Patch 1.8.4:
============

- Added this changelog
- Serfs are now promoted to knights automatically
- Traffic deadlocks should now be resolved


Patch 1.8.3:
============

- Improved render performance
- Improved AI castle locations
- Fixed panel bar color overlay bug
- Adjusted AI gold smelter builds


Patch 1.8.2:
============

- Fixed savegame issues
- Fixed AI stop doing anything
- Fixed crash in loading screen
- Adjusted some AI build decisions


Patch 1.8.1:
============

- Improved game quit dialog


Version 1.8.0:
==============

- Fixed savegame issues
- Improved error handling


Patch 1.7.3:
============

- Fixed savegame issues


Patch 1.7.2:
============

- Bugfix with removed flags


Patch 1.7.1:
============

- Fixed invisible player value bars
- Fixed player statistics display


Version 1.7.0:
==============

- Fixed savegame issues
- Made patcher finally work


Version 1.6.0:
==============

- Added patcher
- Fixed map click to tile transformation
- The delete key can now be used to demolish objects


Version 1.5.0:
==============

- Improved map click to tile transformation
- Fixed text renderer crash with invalid characters in savegame names


Version 1.4.0:
==============

- Fixed savegame issues and made savegames really work
- Popup boxes now are in front of other UI elements
- After game loading the players castle positions are correctly set
- Added save/load status popups
- Added first version of crash handler


Version 1.3.0:
==============

- Fixed and extended saving/loading
- AI values are now also saved/loaded
- AI will now build stocks at better locations
- Added virtual filesystems (will be used later)
- Improved serf fight rendering
- Improved serf and AI logic
- Added rush affinity property for AI characters
- Some bugfixes
- Added AI attacking


Version 1.2.0:
==============

- Fixed map click positions in even map sizes
- Improved path finding performance


Version 1.1.0:
==============

- Improved path finding performance
- Improved exception handling


Version 1.0.0:
==============

- First stable version

