## ihhub/fheroes2 — fheroes2-osx-sdl2_dev…fheroes2-psv-sdl2_dev

_1278+ commits._

### Features
- **Add deployment for PSV build (#3062)** (e3d8f2f)
- **Add PlayStation Vita support (#1616)** (6e9ebcd)
- **Reformat installation instruction and add Gentoo (#3026)** (d8dec25)
- **Add initial implementation of View spells (#2965)** (f39452b)
- **Add some game-related objects to .gitignore (#2952)** (d0cc550)
- **Add executable file description and icon on Windows (#2950)** (c12b766)
- **AI: support additional harmful combat spells (#2922)** (4605647)
- **Add new button sprites (#2912)** (b36a5f4)
- **Add barrier fading animation (#2884)** (2d95db6)
- **Add Playstation Vita icon (#2892)** (7f42b58)
- **Add PS Vita background image (#2891)** (eee4c1b)
- **Add experimental image loading and speed up rendering** (f4445d5)
- **Add Visual Studio 2019 support (#2875)** (76d8496)
- **Add missing shadow for arrow cursor on SDL2 (#2872)** (c73e4d0)
- **Castle screen, animation of emerging boat always goes simultaneously with new building appeared (#2847)** (63dc2c7)
- **Add middle resolution status support (#2841)** (295939d)
- **Remember scenario difficulty while restarting or choosing a new scenario (#2796)** (7a2d5fa)
- **Add multiple compilation flags (#2811)** (5a9d06c)
- **Add asynchronous execution of MIDI calls (#2828)** (c812d3b)
- **Add resizable window support on SDL2 (#2829)** (809cf02)
- **PS Vita support in endian_h2.h (#2819)** (b123a9f)

### Fixes
- **Fix compilation of tools for makefile (#3060)** (3732d53)
- **Fix tools applications (#3047)** (6e6d686)
- **Fix creature recture window UI (#3052)** (c65826a)
- **Fix VS compilation on 32-bit OSes (#3050)** (f636b59)
- **Fix rendering of Arm of the Martyr (#3044)** (1cb44e9)
- **Fix blind spell logic (#3033)** (56c555d)
- **Hypnotize spell behavior & description fix (#3029)** (7b79aa0)
- **Fix possibly incorrect arrow direction from shooters (#3024)** (80d2c31)
- **Fix scrollbar position in multiple places (#3025)** (1a199d6)
- **Fix Max/Min button position in monster recruit dialog (#3023)** (9d3b5e4)
- **Fix logic of placing monsters for a New Month (#3013)** (50b1901)
- **Fix Kingdom Overview selection drawings (#3012)** (45e8dab)
- **Fix distance calculation during battle (#3011)** (4ed6e56)
- **Fix boat drawing issue (#2883)** (9359e05)
- **Fix incorrect drawings for battle OKAY button (#3005)** (15cf2a3)
- **Fix rendering of the Castle Captain's spell points bar (#3000)** (f62cb01)
- **Fix missing sounds within System dialog (#3002)** (4447e32)
- **Fix interaction with the castle bridge for flying units (#2960)** (1b47019)
- **Fix last focus option (#2988)** (6656c9f)
- **Fix incorrect icon over ally's castle (#2978)** (4667031)
- **Fix multiple SonarQube code smells (#2977)** (f727d1a)
- **Fix multiple SonarQube (#2970)** (9431121)
- **Fix playing background music during video playback on SDL1 (#2955)** (27f1bb1)
- **Fix ArenaPathfinder backwards move and penalty (#2948)** (6153776)
- **Fix City of the dead incorrect monster info (#2941)** (92e6d92)
- **Fix double exit dialog appearence (#2928)** (f1b5696)
- **Fix missing cursor in Army Bar for SDL 1 (#2927)** (6fd4ab4)
- **Fix double hex attack target for AI troops (#2916)** (708dc37)
- **Fix the pathfinding near monsters: do not allow the hero to pass through the monster. (#2913)** (6b4cfa7)
- **Fix MIN and MAX button drawings (#2914)** (fa69f05)
- **Fix Wildcard warnings by Visual Studio (#2911)** (29e2ebd)
- **Fix inability to reorganize troops in Kingdom View dialog (#2897)** (6d6a213)
- **Fix endian.h include, absent in MinGW (#2894)** (80d561d)
- **Fix "Artifacts" category in Oracle Screen (#2887)** (1d444d5)
- **Fix Split-related issues, and Implement some new ones (#2850)** (f4e8e5a)
- **Fix assertion at the start of battle (#2889)** (78c6d48)
- **Fix object's visited info and grammar (#2867)** (927bcec)
- **Fix compilation output for Visual Studio (#2876)** (50296f5)
- **Fix ACCEPT button font for Good Interface (#2869)** (1b62c18)
- **Fix summon boat logic (#2859)** (d730aa5)
- **Fix hero shadow drawing on world map (#2856)** (12dd0a1)
- **Fix multiple code smells (#2853)** (471830c)
- **Fix missing animation frame for wince (#2855)** (4e5b333)
- **Fix object fading animation (#2641)** (0d9bfff)
- **Fix missing last lost hero condition reset (#2848)** (d200009)
- **Fix save loading crash for broken saves (#2845)** (cfc7d9d)
- **Fix post Daemon Cave music (#2839)** (3b9e264)
- **Fix well's max button (#2838)** (55c3731)
- **Fix incorrect castle focus while visiting by a hero (#2837)** (c049b1f)
- **Fix fog drawings (#2836)** (7fceaf3)
- **Fix compilation with SDL image (#2834)** (853e74e)
- **Fix autosave option logic (#2833)** (63bc39b)
- **Fix overlapped battleground objects (#2832)** (0574c98)
- **Add days passed to Campaign SaveData and fix unsaved CampaignID (#2793)** (c0e4aa5)

### Backend
- **Archers shouldn't lose shots when attacking in melee (#3055)** (503c233)
- **Check that the hero is able to move before focusing him and starting his movement (#3053)** (7f56834)
- **Respect initial order of units (from top to bottom) when determining the order of unit moves in battle (#3056)** (d60f762)
- **AI: implement missing combat spells (#3030)** (8e146ae)
- **Remove unused code (#3048)** (41ae27a)
- **Remove extra redraw for heroes (#3021)** (5fbd264)
- **Reset hero spellpoints when restarting a battle (#3045)** (286837c)
- **Update Visual Studio project settings and configuration (#2219)** (e24f2aa)
- **Do not give additional 500 experience to the hero who won the battle if the opposing hero surrenders or flees (#3038)** (7dc80c8)
- **Update positions of monster sprites and numbers on army status panel (#3028)** (0efaf99)
- **Standartize icon position in town's dialog (#3022)** (3f84e22)
- **Show the surrender dialog even if there is not enough gold to surrender (#3008)** (989a737)
- **Don't apply morale penalty to a hero if he wins a battle in a Graveyard, Shipwreck or Derelict Ship (#3018)** (5043eba)
- **Implement Cross army drag split (#2991)** (233ba13)
- **Reset player focus if focused hero or castle was removed (#3020)** (cda4b4d)
- **Rewrite player switching in multiplayer dialog (#3006)** (e8e86e2)
- **Allow to use mouse wheel anywhere for split troop dialog (#3014)** (6706257)
- **Don't hide mouse cursor if the Skill Info dialog called from the Level Up dialog contains OK button (#3010)** (f3179c8)
- **Use rule of 9 for Ultimate Artifact placement (#2989)** (d72f6a6)
- **Restructure AGG code (#2969)** (9cf67ac)
- **Show normal monster names in Visions spell (#2964)** (cc55eaa)
- **Show full 1-pixel black border for Show Interface option (#2963)** (83d7de2)
- **Remove Interface options from the list (#2962)** (5e65713)
- **Show more detailed morale and luck description (#2925)** (bcd71e2)
- **AI: predict double cell attacks in combat (#2943)** (87f08c0)
- **Reset blind upon taking any damage (#2949)** (c313126)
- **Allow to place units in moat in front of the bridge (#2932)** (ddbaf64)
- **Align spells in the magic book (#2921)** (fd82263)
- **Replay auto battle manually if outcome is negative (#2896)** (30e4b23)
- **Sound off when minimized (#2830)** (1e48ff7)
- **Change damage description log message for some mass spells (#2730)** (bb302a7)
- **Update 82m extractor tool and project (#2942)** (af85e48)
- **Remove Qt-based editor (#2940)** (576062e)
- **Update editor images (#2939)** (f86dd7a)
- **Code cleanup and decoupling (#2938)** (37ca85a)
- **Update no data error message (#2937)** (cb4a8e9)
- **Do not allow to manage monsters in unhired hero dialog. (#2920)** (67601d8)
- **Don't open the hero screen in readonly mode if it was opened from the meeting screen, just disable the DISMISS button instead. (#2933)** (a623c8a)
- **Do not show external music option with an absent folder (#2930)** (1eb34dc)
- **Wait for user input at the end of Winning video (#2929)** (d8d8aee)
- **AI: ranged troops should move when blocked by a strong unit (#2915)** (89f4ba0)
- **If the unit attacks twice, apply the second attack to the same cell as the first attack. (#2923)** (2ed9686)
- **Show the build window with the OKAY button disabled if there is not enough resources to build this building - to match the original game in this aspect. (#2924)** (4f1ef53)
- **AI: use mass damage spells in combat (#2903)** (11e3cf2)
- **AI: improvements for wide unit pathfinding (#2908)** (afc3e08)
- **Don't give an extra day of life to a player without castles. (#2909)** (0d6f16b)
- **Cache released disabled button sprite (#2818)** (141030a)
- **Simplify handling of mouse events, make MouseRelease* events non-recurring. (#2895)** (89a81c8)
- **Preserve unit direction in battle if it moves strictly vertically. (#2902)** (b637a53)
- **Do not allow the visiting hero to learn Library spells if the Library hasn't been built yet (#2898)** (ff57048)
- **Update to 0.9.1 verson (#2877)** (f73ba73)
- **AI: improve retreat condition (#2890)** (8fc132b)
- **Update image tools (#2893)** (7ef42ee)
- **Remove few buggy experimental options (#2882)** (881d3bd)
- **Disable retreat for auto battle mode (#2881)** (cef14e2)
- **Stop color cycling in "View World" mode (#2878)** (240868e)
- **Optimize army placement only during AI turn (#2874)** (d01be00)
- **Pathfinder should know that moat consumes all remaining movement (#2870)** (83c6e5c)
- **Combat screen, logs list, indicate "Ballista" instead of "Turret" when referring to the Ballista (#2849)** (c6f9321)
- **AI wide units pathfding and moat logic (#2868)** (ee39768)
- **Allow to modify a hero during level up (#2866)** (341b434)
- **Check if space is taken when selecting a moat cell (#2862)** (dadf692)
- **AI: do not chase after faster units (#2861)** (5ef5a43)
- **Make names more explicit for macOS builds (#2854)** (c1656cf)
- **Remove unused exception class (#2852)** (23c65ee)
- **Focus on hero after exiting castle window (#2846)** (6c357d9)
- **Change logic in monster hiring window (#2844)** (352d84a)
- **Don't show waiting cursor for an exhausted hero (#2840)** (09a9f9f)
- **Reduce income window area in towns (#2835)** (655667b)
- **Speed up SDL installation via scripts (#2805)** (904e2ec)
- **Speed up MacOS buils (#2831)** (4fef544)
- **Refactor battle AI code to prepare for future changes (#2806)** (01ed21f)
- **Speed up file reading (#2827)** (2781fe3)
- **Speed up apt-get step for Travis-CI and GitHub Actions (#2812)** (5d0ea57)
- **Persist AI variables in savegames (#2798)** (ff2f106)

_Recap by [Repo Wrapped](https://repowrapped.com/gh/ihhub/fheroes2?utm_source=github-action)._