Added CMake definitions to compile with MinGW
Changed CFLAGS to -std=gnu18 -Wextra
Removed obsolete and unused dirs : ai_modules, campaigns, music, terrain
Migrated Makefiles to Autoconf 2.71
Added scenario where Asgard=Soviets
Converter fix
Changed CFLAGS to -std=gnu18 -Wextra
Changed version to 0.9 -> Added personal perks to all Asgard + Chaos units
Rewritten gui_show_combat_odds()
Fixed bug with overlapping Scen/TB/CR Info frames
Added deploy hexes + Fixed un/deployment logic
Terrain changed around Ice Giant and Fire Giant
implemented in ver. 0.8
Run away units disabled for 1 turn
implemented in ver. 0.8
Fixed bug - now AI units when running away are unavailable for 1 turn
Extended 'Combat Rules' window with text about running units
Extended 'Combat Rules' window with detailed text of combat tips
Extended 'Combat Rules' window with example of 3-unit combat scenario
Changed 'Victory Conditions' window into 'Combat Rules' window
Changed 'Unit List' window into 'Terrain Bonus Info' window
Fixed wrong calculation of gui_show_combat_odds()
Updated 'Stick to Hela' routine for AI Player Loki unit to get best hex to 'push'
Added 'Stick to Hela' routine for Loki unit when AI Player
Added Loki personal perk to divert Hela move for PLAYER_CPU
Added Loki personal perk : when near Hela, diverts her random move by 1 hex (only for PLAYER_HUMAN now)
Added Chaos units personal perk : 'Chaos units do NOT surrender!'
Changed CFLAGS to -std=gnu18 -Wextra
Converter fix
Implemented unit healing process (fully unavailable for 1 turn) as additional result of Run-Away combat outcome
Frey Storm Overlay rendering completed, as dark dimmed icon with 2 red markers
Frey Storm Overlay WIP
Added Frey personal perk #1 : Frey Storm disables unit within range=4 + lost: storm attack after move + move after storm attack
Added Modi personal perk : +1 to strength of weakest neighbor + updated logic to render Ice/Fire Lord units bonuses
Added Forseti personal perk : -1 to enemy attack
Fixed Uller arrow direction rendering bug + Fixed multiple attacks of single unit bug
Updated IceGiants & FireGiants personal perks : move points defined in scenario files, not hardcoded
Fixed bug related to wrong calculation of missing coattacker bonuses
Updated Valkyrie & FrekeGere personal perks : no entrenchment bonus
Added Sif & Dwalin personal perks : river move cost = 1 + mountain move cost = 1
Added Vidar personal perk : forest move cost = 1
Added Magni & Tyr personal perks : DR=NH in defence + NH=DR in attack
Added Garm & Fenris & Tyr personal perks : 3-hex move per turn + DR=NH in defence
Added Odin & Yggdrasill personal perks : 1-hex spot/move per turn, every terrain + AR/DR=NH, Hela immune
Added Fire Giants personal perks : forest bonus is canceled when Fire Giant on hex nearby
Improved logic to display winter/fire hexes around Ice/Fire Giants in fogged mode
Added Ice Giants personal perks : river defence is canceled when Ice Giant on hex nearby + winter tiles rendered around Ice Giants
Added Thor & Jormungandr pesonal perks : 1-hex move per turn, every terrain
Changed version to 0.8 -> Designed AI routines to make challanging gameplay
Fixed bug related to Lords blocked movement + Improved AI units logging
Added action_queue_teleport() used by Hela when respawning at airport
Fixed critical bug of unit double-target attacks
Removed Mask_Tile::air_infl/vis_air_infl + Fixed bug with hex eval when Lord is dead
Updated best hex eval for Lords to avoid hexes close to enemy units
Fixed correct display of Undo Attack/Move label, depending on unit action
Fixed move and attack backup to work together. TODO: change undo label if move/attack
Added action_remove_attacker(), action_remove_attack() + TODO: fix to work together : move backup + attack backup
Added ai_check_units_waypoint_reached()
Added case when lord is dead, then calculate swarm average hex X/Y + Fixed bug, Hela destroy air units now
Added ai_check_secondary_targets()
Fixed overlapping units bug when unit moves to fogged hex with enemy unit
Rewritten group target selection logic. Added ai_set_ice_fire_group_targets(), ai_get_strongest_unit(), ai_print_all_groups_dist_targets()
Fixed bug in ai_set_elite_group_target() + Fixed correct order of unit procesing
Added ai_exp_lord_move_hex_taken_by_unit() + logic to process units outside sorted order
Improved processing and hex scoring of all AI units by introducing sorted order. Added 'lord_move_calculated' flag
Give additional bonus to eval hex adjacent to group target
Added safechecks when Ice/Fire Group has no target
Corrected ai_get_best_hex_adjacent_to_target() to find best hex and safe from Hela
Clear coattackers flag from previous round for AI units
Added ai_set_elite_group_target()
Restored correct unit attacks phase + removed ai_tools.c/h
Fixed correct selection of Fire Group target done by Fire Lord
Added ai_get_best_hex_adjacent_to_target() for Ice/Fire Lord with 1-hex buffer
Added logic to find target of Ice/Fire Group before moving.
Fixed lord move X/Y storing/canceling bug, moved Ice/Fire/Elite AI_Groups inside Player struct
Added attack arrows rendering for AI player attacks
Improved AI combat routines, added ai_check_targets(), ai_evaluate_targets()
WIP Debugging AI combat routines
Fixed bugs: 1) units can attack after move + 2) missing coattacker bonus + 3) crash when clearing arrows to dead unit
WIP Debugging AI combat routines
Changed version to 0.7
Converter fix
Changed CFLAGS to -std=gnu18 -Wextra
Added map_get_airfield_xy() + fixed Hela has no bonus icons
Improved crawling algorithm of Fire Giant units
Added Ice Giant strength bonus when Ice Lord on hex nearby
Added terrain bonus icon X/Y offsets, TODO: still misaligned when right-clicked on another unit
Updated combat result formula to include terrain atk/def bonuses
Added terrain unit bonus icons for mountain/forest/river defence + TODO : fix bonus icon alignment bug
Added unit strength bonus when on forrest+mountain terrain hex, TODO: add bonus icon
Removed all references to Campaigns
Added all attacking units to move in run-away combat result case
Removed all references to Map_Tile: deploy_center, damaged, escape_zone, mount
Improved crawling algorithm of Ice Giant units
Fixed combat odds message to show updated odds after new unit joins attack
Removed terrain flags + added internal pg.tdb + added terrain bonuses for Ice/Fire Giants in swamp/river/forest
Converter fix
Changed CFLAGS to -std=gnu18 -Wextra