Skip to content

v1.2.6 Windows 64 bit

Latest
Compare
Choose a tag to compare
@Mahdijamebozorg Mahdijamebozorg released this 11 Feb 22:37

Features added:

  • Performance improvement:

Performance is improved by the help of multi threading mechanism, file processes now are on another thread.
All file operations are kept in an isolated thread and work concurrently with other processes, and when another file operation is coming, the previews one is forced to finish.
Also most of algorithms used in code are optimized now.

  • Naming system improvement:

The FileManager class algorithms can handle all file conflicts such as file suffixes and same file name in directory.
For example when add file to autosave, if another autosave file exists, a number will be added after the name and before suffix to make name specific.

  • Exception Handling improvement:

The exceptions causes file loading fail, now are showing as file name in load file dialog.

Bugs fixed:

  • Deadlock error caused by threads.
  • AutoSave suffix conflicts.
  • Not checking en-passant move in moves checking mechanism.
  • Thread throwing exceptions that couldn't be caught by try blocks outside of lambda functions.
  • Resetting file manager data in some unwanted lines causing undefined behaviors.
  • Setting file name twice when loading or restarting the game.
  • Checking pieces concurrently caused error because of accessing same variables in different threads.
  • Setting users pieces concurrently caused error because of using static variable in naming pieces