head 1.10; access; symbols pkgsrc-2026Q2:1.6.0.6 pkgsrc-2026Q2-base:1.6 pkgsrc-2026Q1:1.6.0.4 pkgsrc-2026Q1-base:1.6 pkgsrc-2025Q4:1.6.0.2 pkgsrc-2025Q4-base:1.6 pkgsrc-2025Q3:1.5.0.6 pkgsrc-2025Q3-base:1.5 pkgsrc-2025Q2:1.5.0.4 pkgsrc-2025Q2-base:1.5 pkgsrc-2025Q1:1.5.0.2 pkgsrc-2025Q1-base:1.5 pkgsrc-2024Q4:1.4.0.2 pkgsrc-2024Q4-base:1.4 pkgsrc-2024Q3:1.3.0.2 pkgsrc-2024Q3-base:1.3; locks; strict; comment @# @; 1.10 date 2026.09.02.19.02.09; author wiz; state Exp; branches; next 1.9; commitid vXszxoxOqka005UG; 1.9 date 2026.07.17.12.59.49; author wiz; state Exp; branches; next 1.8; commitid 9jQKIcknCns8w0OG; 1.8 date 2026.07.16.05.53.08; author wiz; state Exp; branches; next 1.7; commitid qzd7K4BI3pZybQNG; 1.7 date 2026.07.13.04.35.47; author wiz; state Exp; branches; next 1.6; commitid KzpMRouvb2DLQrNG; 1.6 date 2025.10.23.20.37.01; author wiz; state Exp; branches; next 1.5; commitid 1V2hBZn9ypXaCJfG; 1.5 date 2025.02.12.06.44.52; author ryoon; state Exp; branches; next 1.4; commitid wrOiT0jBBwBs99JF; 1.4 date 2024.10.01.10.39.53; author nia; state Exp; branches; next 1.3; commitid aUaYFAa6bO9vLWrF; 1.3 date 2024.09.09.07.38.31; author nia; state Exp; branches; next 1.2; commitid 2FAtDMsYfjQ7t6pF; 1.2 date 2024.08.29.19.31.43; author nia; state Exp; branches; next 1.1; commitid mZlrHngm073ELKnF; 1.1 date 2024.08.19.22.09.32; author nia; state Exp; branches; next ; commitid 3YJOwTVyR3WIXtmF; desc @@ 1.10 log @*: recursive bump for pcre2 10.48 @ text @# $NetBSD: Makefile,v 1.9 2026/07/17 12:59:49 wiz Exp $ DISTNAME= fheroes2-1.1.17 PKGREVISION= 1 CATEGORIES= games MASTER_SITES= ${MASTER_SITE_GITHUB:=ihhub/} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://ihhub.github.io/fheroes2/ COMMENT= Recreation of Heroes of Might and Magic II game engine LICENSE= gnu-gpl-v2 USE_TOOLS+= gmake msgfmt pkg-config USE_LANGUAGES= c c++ USE_CXX_FEATURES+= c++17 filesystem # work with netbsd-9 compiler BUILDLINK_TRANSFORM+= rm:-Wextra-semi .include "../../devel/cmake/build.mk" .include "../../audio/SDL2_mixer/buildlink3.mk" .include "../../devel/SDL2/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" .include "../../graphics/SDL2_image/buildlink3.mk" .include "../../graphics/hicolor-icon-theme/buildlink3.mk" .include "../../sysutils/desktop-file-utils/desktopdb.mk" .include "../../mk/atomic64.mk" .include "../../mk/bsd.pkg.mk" @ 1.9 log @fheroes2: needs msgfmt @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2026/07/16 05:53:08 wiz Exp $ d4 1 @ 1.8 log @fheroes2: update to 1.1.17. From Bartosz Kuzma in PR 60450 Changes since 1.1.1: version 1.1.17 (30 June 2026) - update the Russian translation - greatly speed up application startup - update the German translation - update the Ukrainian translation - fix terrain reset on exit for the Battle Only mode - fix New Creature Week right-click delay - fix status window layout alignment on the Adventure Map - swap Archery Range Building sprites to match the colors of units - match castle's hero/building fade animation delay to classic H2 - fix assertion hit for AI battle during Teleport spell evaluation - make AI heroes stay in castles if they get a movement bonus the next day - fix the title alignment in the resolution window - add an initial version of the Auto Playtest feature for the Editor - fix validation issue when updating enemy army in Battle Only mode - update the Swedish translation - remove assertion as it leads to a crash while loading a map - do not allow to start a battle in Battle Only mode if the START button is disabled - update the application exiting confirmation dialog in the Editor to include potential unsaved map changes - allow scrolling among all objects in a group using the mouse wheel in the Editor - fix spell sprite position in the first spell animation frame on the battlefield - improve AI decision making when using damage spells for Mirror Image monsters - speed up object evaluation for AI on the Adventure Map - do not allow placing Adventure Map Events on other objects - add "?" to the random terrain icon in Battle Only mode - show object highlighted area while moving or copying it - update the Hungarian translation - do not place roads under the obstacles in Random Map Generator - keep hero sprite invisible after hero fade-out animation - add Adventure Map smooth scrolling option - add the ability to directly extract all assets from the GOG installer on Android version 1.1.16 (17 May 2026) - update the Brazilian Portuguese translation - update the Russian translation - update the Polish translation - update castle mound after new terrain being placed in the Editor - fix missing tile passability update while removing objects in the Editor - allow to select certain artifacts to be buried as Ultimate Artifact in the Editor - fix the first editing of the hero when cancelling in the Editor - expand detail mode in the Editor to support editing, moving and copying brushes - add separate hotkeys to merge troops in castle - display all maps, even duplicates for both the game and the Editor - sort maps alphabetically by file name in the Editor - make hero turning animation depend on the animation speed - reduce application resources usage for object update actions in the Editor - make Eraser tool in the Editor more granular - fix castle entrance road update on placing/erasing a castle in the Editor - speed up eraser functionality in case of no objects to be erased in the Editor - add a popup dialog to confirm unsaved changes for hero in the Editor - allow placement of non-action objects over the edges of the map in the Editor - add ability to move an object in the Editor - update the Ukrainian translation - add drag-to-draw ability to Roads and Streams in the Editor - add a confirmation window while exiting castle's window in the Editor - add application exiting logic for the Editor's Main Menu - reduce the application startup time - add Esperanto translation version 1.1.15 (12 April 2026) - fix inconsistency in the Editor's window titles - add "Ravenhold" map to the fheroes2 bundle - add "Apocalypse" map to the fheroes2 bundle - add "Final Invasion" map to the fheroes2 bundle - update the Ukrainian translation - update the Russian translation - consolidate all translated versions of the "Eruption" map into a single map file - add ability to show Turn Order window below the battlefield - add popup windows for all buttons for the Virtual Keyboard - rework Battle Only interface - add ability to select artifacts for Random Artifact objects in the Editor - fix rendering deadlock for vertical text when a character width is bigger than the maximum width - fix issues for the text input window - consolidate all translated versions of the "7 deserts" map into a single map file - add NBSP character to all fonts - update the Greek translation - update the Belarusian translation - make the ABOUT button available from the scenario info during gameplay - speed up engine loading and language switching - recalculate hero path after "Dimension Door" spell usage - fix rendering of dead monsters during Resurrection spell animation - make AI heroes sort artifacts from worst to best to minimize losses on defeat - separate battle animation Speed string from monster Speed - add Brazilian Portuguese language support for the Virtual Keyboard - remove death monster animation in the castle's well dialog - adjust castle image and castle name in Town's dialog - add Norwegian language support for the Virtual Keyboard - add Swedish language support for the Virtual Keyboard - add Hungarian language support for the Virtual Keyboard - add Spanish language support to Virtual Keyboard - add Bulgarian language support for the Virtual Keyboard - update CP-1253 fonts for the Greek language - loosen the conditions for action object placement in the Editor - improve adventure map spells message order - move scrollbar only to discrete positions corresponding to the list items - avoid terrain objects being placed under road objects in the Random Map Generator - update object passabilities after the Random Map Generator finishes generating map - compress fheroes2 assets data in h2d file - add Timidity PAT files to PS Vita package - generate new sprites for diagonal road crossings - update the Portuguese Translation - adjust morale and luck descriptions - update the Polish translation - show water percentage limit in Random Generator - fix vertical offset for small monster images - make it possible to change terrain type in the Battle Only mode with the mouse wheel - fix animation freezing while playing the sound of Petrification spell - set 'exchange all troops' default hotkey to 'X' to avoid conflicting with Mage Guild - update the Swedish translation version 1.1.14 (24 February 2026) - fix hero removal leftovers from the map in the Editor - add new variants of Abandoned Mines - enable several hardware buttons for all Virtual Keyboards - fix an assertion crash while viewing a Puzzle with The Succession Wars resources - update the Russian translation - add a battle option to highlight the creature's movement area - update the Polish translation - properly render the moat water effect for troops during a castle siege - fix invalid logic for future value of objects on the Adventure Map - add an extra check for Navigation skill in Witch's Hut to avoid AI heroes wasting resources - modify the check for Well to take into account days to reach it, rather than assuming it takes one day - do not allow the random map generator to place more than one action object on a tile - add all possible road directions using original assets - add multi-language support for maps - place free pickup objects during random map generation - add Evil interface buttons to the High Scores dialog - fix the direct attacking up and down cursor offset in battles - add missing translation of some texts - disable the Standard/Campaign button in the High Score dialog for the demo version of the game or when campaign files aren't present - speed up AI computations - speed up the check whether a tile contains water terrain - speed up game type switching in High Scores dialog - make AI heroes not move around blindly if they are on patrol - fill empty areas with decorative/flavour objects on randomly generated maps - make Liches avoid wasting friendly units while under AI control - update the Hungarian translation - AI no longer wastes spells on mirrored monsters while retreating - add ability to select terrain type for Battle Only mode - fix the inability to save files on iOS - do not do screen fading within the High Scores dialog - update the German translation - fix an assertion failed crash in the German version when line breaking after hyphens - show damage info dialog popup when targeting enemy unit with damage spells - adjust Guardian Spell usage by AI - add Screen Scaling Type to the graphics settings dialog and Interface Type to the game settings dialog - update the Ukrainian translation - fix two bad pixels on Jezebel's portrait - reduce memory usage for single-layer images version 1.1.13 (21 December 2025) - update the Russian translation - add several missing letters for the CP-1251 code page - improve the use of certain battle spells by the AI - fix several iOS-related issues and bring the iOS build into a playable state - improve road network and verify object placement immediately for the random map generator - set starting hero and player information for RMG maps - update the Hungarian translation - show a dialog when there are no items to select to avoid a crash after pressing OK in the empty list - reduce overall RAM usage by the engine - speed up the CRC32 algorithm to improve translation file loading times - fix an assertion issue with original corrupted maps - add a UI screen to configure the random map generator - add drag-to-draw functionality to the Terrain and Erase brushes - add missing popups for the second hero control in Battle Only mode - display Traveller's Tent and Barrier colors in popups in the Editor - avoid using Shield spell by AI when it has no effect - document compilation steps for iOS - significantly reduce RAM usage by the Editor when doing actions - show map type explicitly, as icons are too small to differentiate for some players - make the interactive area for each building in the Castle window consist of multiple rectangles - fully render the FPS text on the screen on every frame render call - make AI use the Earthquake spell in battles - speed up several instances of button generation - truncate text within the Monster Info dialog to avoid incorrect rendering - truncate building names for building image within the Castle window to avoid incorrect rendering - do not show troop counter during elementals' summoning animation - teach the AI how to use the Teleport spell - improve random map generator consistency and treasure distribution - update the Swedish translation - speed up the AI pathfinder algorithm - update the Belarusian translation - fix "E with 2 dots on top" letter for CP-1251 small font - do not react to world scroll keys when scrolling is disabled - fix status bar flickering in the main Castle Window when switching castles - move the Adventure Map view area to the center of the map in hot-seat mode - fix rendering while toggling the Turn Order option during battles - fix a case when AI was not using the Disrupting Ray spell when the enemy defense value is equal to 2 - update FPS counter and color cycling synchronization logic - implement custom monster levels for the random map generation - update the Ukrainian translation - fix an assertion when opening map info for maps with defeat hero condition or capture/lose castle condition version 1.1.12 (09 November 2025) - add a hot key modifier to move hero portrait to the top of the heroes list - increase the limit for event messages, map description and about section, Sphinx riddle and Sign text to 999 - make AI not cast Curse and Mass Curse spells on monsters with no damage range - add a button inside multi-monster selection window to toggle all on/off - add basic random map generator support - add army estimation mode option - display month, week and day in the castle construction screen - add ability to switch between towns/castles in Mage Guild - update calculation display of hero's remaining spell points in the spell point bar - improve the Town Gate description - add "4 Dimensions" map - add new Mass Dispel icon - fix Castle dialog's status bar flickering - use bigger EXIT button for Puzzle dialog - update the French translation - update Random Ultimate Artifact icon - add translation support for Hero's and Town's names for Resurrection maps - add a button to toggle on/off all Secondary Skills in Witch's Hut - fix incorrect AI army pre-battle optimization for flying units - add missing button mapping for Switch - use ISO 639-1 standard for language abbreviations - add army swap hot-key support inside the Castle dialog - update the Swedish translation - fix incorrect text area calculation for hot key dialog - make AI heroes on patrol return to their original position if there's nothing to do - add a button to toggle on/off all spells in the Shrines and Castles for the Editor - add Restart and Quick Save buttons in File Options dialog - make Adventure Options button resizable for better translation support - allow to use Backward and Forward mouse buttons as hot key buttons - do not cancel Marketplace resource selection if no gift was made - add startup text mode message - make AI heroes predict weekly object states - add extra conditions on hiring AI heroes - fix blinking cursor while scrolling with keyboard in the Editor - remove hanging shadow part of the Ultimate Artifact - show hero levels in the Hero Meeting dialog - allow to hold a character to repeat an action in the Virtual Keyboard - add a new resolution icon - show Turn Order dialog above the arena if there is enough space - add missing popups for all buttons in the Hero Meeting dialog - add missing popup dialog for Exit button in the Puzzle dialog - set a limit on multi-line text input to avoid going beyond the dialog - align Save Map right-click info with scenario selector - update the Danish translation - add support for simultaneous playback of multiple videos - add ability to delete maps from the map lists - do not show cell selection frame when no monster is selected for a brush in the Editor - update the German translation - add up and down arrows for multiline dialog - retry other spells from the guaranteed list if the chosen spell was not added - update the Ukrainian translation - update the Hungarian translation - grammar fix for winning condition - add initial iOS support - remove translation need to numbers - fix an assertion for maps that were made with a previous engine version - fix changing the resource amount in the Editor for newly placed resources version 1.1.11 (14 September 2025) - update the Russian translation - allow to customize and ban spells for the Mage Guild in the Editor - update the Portuguese translation - allow to select monsters for Random Monster objects in the Editor - expand the pop-up message for objects with an owner in the Editor - fix invalid cursor while choosing an object in the Editor - fix Hero Dialog EXIT button flickering - fix incorrect sentence for Mines and Observation Tower popup message for OKAY button - update the Ukrainian translation - fix logic for hero selection window in the Editor - add extra checks to avoid corrupted MP2 maps from being loaded - allow to cast the Summon Boat spell on more tiles - make the Toolset activities compatible with Android 15 edge-to-edge enforcements - show the creature image in the "Week of..." and "Month of..." dialog windows - update the Hungarian translation - reduce the size of the bundled resurrection.h2d resource file - update the configuration file to be more human-readable - fix the shifted by 16 pixels position of a map for the first opening in the Editor - limit all resolutions to the currently selected resolution in the system in software rendering mode - bring back compilation of x86_64 for macOS - add a pop-up window when right-clicking a scenario title in the campaign window - rename strings in the Editor to use "class" instead of "race" - fix Wagon object evaluation for the AI when it contains resources - improve video processing logic - fix incorrect boat setting logic on a map tile - save days spent value for each scenario of a campaign - add popup messages for buttons in the Count Selection dialog - update the Swedish translation - fix the desynchronization of results between instant combat and auto/quick combat - bring the logic of calculating experience and losses in line with the logic of the original game - rename the "always retaliates" unit ability to "unlimited retaliation" - don't let heroes reuse the Whirlpools while standing on them - add stack highlight on arena or in queue when user hovers over it - set the proper object layer when placing a digging hole - fix loss condition regression for MP2/MX2 maps - do not show "View previous/next page" message when no pages can be listed in the Magic Book - show the unit upgrade cost in the quick info window of the "UPGRADE" button version 1.1.10 (20 July 2025) - limit maximum number of heroes and jails allowed to place in the Editor - fix a crash when setting victory condition "One side defeats another" and then removing all players from the map - fix a crash when the number of placed castles in the Editor exceeds the limit - add the Good, Bad, Magne map - update the Eruption map - update the Spanish translation - update the Hungarian translation - show the proper message when picking-up an empty water chest - implement the hotkey to toggle the display of the battle turn order - allow heroes to disembark on proper tiles even if they aren't marked as coast - remove or move to the nearest water the boats that are placed on land in hacked maps - update the Russian translation - fix passability issue for a mountain object - fix rendering bug for a particular crack object - use engine-generated Russian fonts and buttons even when Russian assets are present - update the German translation - add a frame to the Swordsman walking animation to make it smoother - allow to exit Town Settings without applying changes in the Editor - fix map and players' info update when restarting the map that was changed and saved in the Editor - fix erasure of object by clicking on its flag in the Editor - fix placement of an object that overlaps with a flag of an existing object in the Editor - add a new keyboard icon to the button that opens Virtual Keyboard - fix the position adjustment logic in case of a tail attack in battles - fix passabilites update after erasing an object in the Editor - update the Swedish translation - remember the position of the game window after closing the application - fix scroll cursor ("arrow") positioning on screen edges for software rendered cursor - update the Hungarian translation - support 8-directions of attack for wide creatures in battles - use original button sizes as the minimum size for Editor and Main Menu generated buttons - add hero casting animation to Teleport, Summon Elemental, Mirror Image, and Earthquake spells animation - make Editor's File Dialog buttons' size auto-adjustable - add straight corners to the Magic Book to indicate that a player cannot switch to the next page - update the Ukrainian translation - fix white pixels in Sorceress castle sky and rainbow - add missing bay artwork for Wizard castle - do not place monsters during the "Month of" event on tiles with Adventure Events - fix incorrect event removal after removing a nearby object on a map in the Editor - make random generation code platform-independent - fix button font generation when using non-English assets - speed up rendering in battles - add the ability to sort save files by name or date - rework New Game, Load Game and Editor menus version 1.1.9 (10 June 2025) - update the Swedish translation - fix showing one 1st level troop in hero's army during the hero fade-out animation after losing a battle - bundle several maps with fheroes2 - update the Ukrainian translation - update the Russian translation - add the Barrel object - reduce map reloads when erasing objects or placing terrain in the Editor - remove the rumor about the latest update - add the Black Cat object - fix map centering when AI interacts with an action object - render hero's Spell Points on two lines if they don't fit on one line - fix rendering of tall obstacles in battles - add Greek translation support - fix button behavior when pressing and holding them - update the German translation - allow AI to dig for Ultimate Artifact and win via the "Find a particular artifact" victory condition - do not allow units to cause zero damage in case of a bad luck event - add an optional field for map creator's notes - add the ability to set owner color for capturable objects in the Editor - add the Danish language to the Virtual keyboard - fix troop count display during monster animation in battles - make Bad Luck animation closer to the original game - make Disrupting Ray and Teleport spells animation closer to the original game - center the map on a hero before rendering action object's event - significantly speed up language switching operation - optimize rendering and timers - add UP and DOWN hotkeys support in "Select Count" dialogs - Android: optimize the asset extraction process - fix a conflict between scrolling by dragging and regular scrolling - fix Barbarian castle's Shipyard rendering - fix incorrect pixels near the SKIP button when Hero's options are opened - fix unit overlap in battles when a unit is moving to the row above another unit - make the scouting area match the original game version 1.1.8 (04 May 2025) - add defense penalty to moat building info and adjust wording - add the translation of buttons in Editor's main menu - implement scrollable text input - allow to navigate item lists using keyboard keys - allow to close a dialog with a single OK or CANCEL button in a button group using OK and CANCEL hotkeys - if a hero was moved to a castle when loading the map, train him in the Mage Guild - fix cursor positioning for the Virtual Keyboard - add a shadow for the Heroes Meeting dialog - add color name to Traveler Tent's popup message - allow the use of a hardware keyboard when Virtual Numpad is opened - fix the scroll bar behavior after visiting a castle - do not ask for additional confirmation if Auto Combat or Quick Combat have been started from the GUI dialog - add stat bonus values to Battle Garb of Anduran information - update the Swedish translation - improve the input of numbers from the hardware keyboard - fix status bar offset to prevent text from overlapping the status bar bottom border - fix missing height values in Czech assets - allow to move the Virtual Keyboard cursor using the hardware keyboard buttons - add German language support for Virtual Keyboard - update the Czech translation - update the Russian translation - fix clearing diacritic signs in the status bar - update the Hungarian translation - update the German translations related to artifacts - fix multiple sound issues while playing MIDI on Windows OS - change text input cursor from '_' to '|' - update the Danish translation - replace "gold only" chest dialog with "gold or exp" one in case when a hero has no space for an artifact - update the Belarusian translation - end game immediately during AI turn if there are changes in the game results version 1.1.7 (23 March 2025) - add French virtual keyboard - fix broken tiles with mines at the time of loading maps - update the Russian translation - campaign: allow to raise the game difficulty during the campaign - add shadow to Damage Popup Info dialog during battles - make an effort to retain the artifact position when swapping artifacts between heroes - AI heroes should buy spellbook if there isn't one - add disable/enable logic for Editor's undo/redo buttons - fix resetting heroes icons focus after opening Castle - fix an assertion crash for hacked mines on old saves - fix creature info dialog shadow draw on right click - implement Dragon Slayer spell casting for the AI - make the AI share visit info about some objects on the Adventure Map - fix a delay during battle after having displayed the monster info dialog by right clicking - make the AI use Guardian spells on Mines and Abandoned Mines - fix Golden bow sprite's glowing pixels - fix object visiting marking logic - fix visited status for certain Adventure Map objects for the AI - fix rendering of tall objects and extra objects (ghosts and flags) over the top map edge - update the Hungarian translation - add proper translation support for Sign objects - allow to activate Czech virtual keyboard - do not center on the defeated hero after an instant movement - update the Portuguese translation - fix the logic of transferring artifacts after battle - check the contents of the resurrection.h2d file for correctness - add dynamic interface option - fix several button issues and do more button code cleanup - avoid stacking units when defending archers for the AI - update the Swedish translation - fix the operation of MIN/MAX buttons in various dialogs - clean up Russian empty guild/well button version 1.1.6 (16 February 2025) - fix Ultimate Artifact being erased for any action done on a map - fix Editor buttons not being translated - fix an assertion regarding maximum spell points - update the French translation - update the Czech translation - add return to the Main Menu and Play Map buttons to the Editor - replace "max" text with MIN and MAX buttons for integer input dialog - check Loss conditions before Victory conditions - expand the functionality of the Adventure map event - update the Swedish translation - show a proper icon for music and audio settings when they are off - rework rendering of experience indicator - increase the maximum allowed map name length from the original 17 characters to 50 - show a range of available values in the input dialog - fix the interface not being updated in time in the Editor - show the total obelisk number while clicking on the Adventure Map object - update the Spanish translation - add a script to extract resources from CD images - fix rendering of text for several checkboxes - display monster count for the Monster object for the Editor - update the Hungarian translation - add more game options for the Editor - use a single button to switch between castle and town in the Editor dialog - make the "Week of Monster" deterministic - fix text rendering for the level-up dialog - display the chosen resource amount in the right-click popup info in the Editor - fix the Main Menu rendering after calling the Settings dialog - add a dialog pop-up when pressing standing horse - add button shine to engine-generated buttons - shorten hero name if name plus level is too long - add Undo and Redo icons in the Editor - show the Artifact description window when clicking on it in the Editor - add info about 50% retaliation damage to the Blind spell description - update Hero Movement button - fix Mine flag rendering on the Adventure Map - fix a crash in the View World mode for the Editor - add dialog to choose between Auto Combat and Quick Combat - fix the project version not being properly displayed in the PSV port of the engine - fix overlap of the FPS info and popup message in the Editor - fix selected Ore mine resetting in the Mine placement dialog - fix the Hideous Mask behavior causing neutral units to never flee - fix issues with pressed button states on the battle screen - improve morale UI for the undead army - update the background image for the PSV port of the engine - display spell name in the dialog for spell casting error - remove additional passability marks on the bottom part of tiles - improve side tile passability logic - modify Button layout to be similar to the original game - Android: gracefully handle errors when the system chooser does not start for some reason - add swap army and swap artifacts to the heroes meeting screen - expand Text Support mode for New Map selection dialogs version 1.1.5 (30 December 2024) - add 3 new variants of the Observation Tower object - show Monster and Artifact names in the popup dialog of the Editor - show the minus sign for the numeric keypad only if a range allows the use of negative values - fix Spell Scroll artifact horizontal position on the Adventure Map - update the Portuguese translation - update the Swedish translation - fix the spell cost displayed in the quick info window when a hero has an artifact that reduces this cost - add the ability to set Secondary Skills in Witch's Hut inside the Editor - fix the mouse interaction in the Editor's spell selection and castle properties windows - fix cursor positioning with non-English characters and improve positioning at the end of the line - display a description of the mechanics of right-clicking on devices with touch input - fix assertion while loading different maps in the Editor - add the ability to edit spells in Pyramid inside the Editor - add the ability to set the amount in the Resource object in the Editor - add the ability to set spells in Shrine in the Editor - add a new variant of Stone Liths object - update the Russian translation - show a warning dialog upon map file loading failure - fix spell randomization logic for Artifacts and the Adventure Map objects - fix text input cursor setting for multi-line text input with many spaces at the line end - fix scrollbars being shifted while changing resolution on the Adventure Map - reset the damage info popup when spellcasting is cancelled - fix a bug when picking up an object whose type does not match its sprite on the map - update the Hungarian translation - add range values for default experience within the Editor - add missing CP1254 button letters - fix French and German ultimate staff sprite with PoL assets - updated the Czech translation - update the Turkish translation - improve the castle reinforcement logic for AI - synchronize the maximum allowed number of characters for input and the Virtual Keyboard - fix PS Vita touchpad usage - add file support for non-quite-POSIX-compliant filesystems (such as Amiga FS) - put several dialog box headers in order - enable the number input dialog for the recruitment window - use the platform-dependent byte order for the SDL audio format version 1.1.4 (27 November 2024) - add Virtual Numpad support for integer inputs - add new Lean-To object variant - update the Czech translation - add Belarusian language support for the Virtual Keyboard - improve & speed up the translation-related logic - update the German translation related to the Price of Loyalty Campaign - update the Swedish translation - update initial passability logic - fix the attack value estimation for a Hypnotized unit with the ALL_ADJACENT_CELL_MELEE_ATTACK ability - improve the retreat logic for archers - update the Portuguese Translation - fix overlapping text in the High Scores dialog - add support of Evil interface for the Scenario Information dialog - fix the penalty calculation for enemy units that can evade the engagement during battle - fix passability for several objects on maps made the original Editor - center Magic Book artifact on the Adventure Map - speed up ICN image decoding - do not download the wing32.dll for HoMM2 demo version - add u with two dots to buttons and translate and improve German buttons version 1.1.3 (23 October 2024) - fix invalid behavior and crash during interaction with whirlpools by heroes on boats - fix French small font i with circumflex - add Czech Virtual Keyboard support - fix rendering of overlapped UI elements - shorten map title when too long in several places - add missing popup dialogs to buttons within View World mode - update the Hungarian translation - speed up language switching I/O operations - update the Swedish translation - fix Sorceress Statue construction fade-in animation - fix map titles not being cleared when changing map - add language support for fh2m map format - update the Portuguese translation - use an original image to draw hexagons on the battlefield - improve Dismiss button for French and Spanish languages - fix event handling for dialogs in No Interface mode - improve error handling for I/O operations - increase most of object selection windows in the Editor by 50 pixels - update army information after battle before showing any dialogs - add missing sand animation for hourglass while waiting for a turn - speed up AI calculations on the Adventure Map - improve AI decision making while using Dimension Door spell - ease object requirements while erasing them in the Editor - split long phrases into two lines for battle log - fix blinking arrow cursor during scrolling in Editor - properly show damage info pop-up dialog for 2-hex monsters during battle - make default knowledge value for random hero 1 - fix inability to erase monsters on the map under certain conditions within the Editor - fix the triggering of invalid drag events for the game area when casting certain spells - fix out of mini-map mouse dragging behavior in the Editor - update the Russian translation - add vertical gradient fonts - add a popup dialog to the list of resolutions - allow to resize vertical buttons for translations - fix issues with non-English path detection on Windows - center sprites and text in adventure map treasure chest dialog - do not discard area selection while moving mouse out of the map in the Editor - fix a crash while trying to distribute an army with 1 unit version 1.1.2 (15 September 2024) - preserve the order of artifacts when adding the Spell Book to the artifacts bag - update the Portuguese translation - speed up MIDI file processing - update the German translation - update visited status for Tree of Knowledge object - update New Secondary Skill dialog - add an extra check to verify the game resources not being corrupted - update the Hungarian translation - limit the use of the Summon Boat by AI for the original maps - do not create an undo action in the Editor if nothing was changed for an object - allow to undo any castle modifications in the Editor - improve AI castle protection logic on the Adventure Map - render mirrored troop in dialog properly - update resources before showing construction animation inside castle dialog - update the Swedish translation - fix the audio playback and distance calculation in the 3D Audio mode - fix Cliff Nest glowing pixel - update Earthquake spell animation and improve its logic to allow bridge and nearby towers demolition - disable mouse popup for empty space in map selection window - fix AI heroes ignoring patrol limit - AI should determine best skill when leveling up heroes - update hero spell points indicator after the battle and before performing defeated opponent fade animation - fix creature and header overlap in recruit window - fix map special conditions render after drop list is closed - implement alliances in the Editor - fix original maps bottom layer (hacky) placed resources and artifacts - add Backslash character to normal and small fonts - add missed Small Cliff (Dirt terrain) to the Landscape Miscellaneous objects in the Editor - add Ukrainian language virtual keyboard - fix inability to save maps within the Editor for some installations - add monster statistics popup window inside the Editor monster information dialog - Android Toolset: add Russian translation for FH2M file manager - fix Anti-Magic spell description - update the Polish translation - fix mini-map updates while picking up certain objects on the Adventure Map - fix invalid animation while picking up an artifact hidden by another object on the Adventure Map - remove scouting & movement bonuses for AI-controlled players - fix rendering issues in mine selection dialog for the Editor - allow to input "/", "*", "-", "+" and "." from the keypad - add new River Deltas objects - add Slovak virtual keyboard support - update the Russian translation - fix lagging input controls on some devices - AI: properly evaluate the enemy heroes defending the castles @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2026/07/13 04:35:47 wiz Exp $ d12 1 a12 1 USE_TOOLS+= gmake pkg-config @ 1.7 log @*: recursive bump for libmpg123 dependency in lame @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2025/10/23 20:37:01 wiz Exp $ d3 1 a3 2 DISTNAME= fheroes2-1.1.1 PKGREVISION= 3 d12 1 a12 1 USE_TOOLS+= pkg-config @ 1.6 log @*: recursive bump for pcre2 Running an old binary against the new pcre doesn't work: /usr/pkg/lib/libpcre2-8.so.0: version PCRE2_10.47 required by /usr/pkg/lib/libglib-2.0.so.0 not defined @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2025/02/12 06:44:52 ryoon Exp $ d4 1 a4 1 PKGREVISION= 2 @ 1.5 log @*: Recursive revbump from audio/flac-1.5.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2024/10/01 10:39:53 nia Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.4 log @fheroes2: needs atomic64 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2024/09/09 07:38:31 nia Exp $ d4 1 @ 1.3 log @fheroes2: needs std::filesystem @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2024/08/29 19:31:43 nia Exp $ d27 1 @ 1.2 log @fheroes2: remove compiler warning option unsupported by gcc-7 in netbsd-9 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2024/08/19 22:09:32 nia Exp $ d15 1 a15 1 USE_CXX_FEATURES+= c++17 @ 1.1 log @Import games/fheroes2 fheroes2 is a recreation of the Heroes of Might and Magic II game engine. This open source multiplatform project, written from scratch, is designed to reproduce the original game with significant improvements in gameplay, graphics and logic (including support for high-resolution graphics, improved AI, numerous fixes and user interface improvements), breathing new life into one of the most addictive turn-based strategy games. @ text @d1 1 a1 1 # $NetBSD$ d17 3 @