This is a list of commits for the KeeperFX 0.5.0 Build 3080 release.
update version to 0.5.0
Fixed LMB sticking after canceleling drag building (#1999)
Updated the multiplayer readme (#1991)
Fixed build warnings in src/roomspace.c (#1984)
Fixed jobserver build warning (#1980)
Fixed network related build warnings (#1981)
Rewrote shuffle_unattached_things_on_slab and move_object_to_nearest_free_position(#1661)
Fix ceilling crash (#1978)
Made sure computer players drop at the correct location to destroy doors (#1975)
Rules for Allies to share territory and vision (#1971)
Rewrote imp_will_soon_be_converting_at_excluding (#1702)
Fixed build warning in trig functions (#1976)
Rewrote computer_look_for_opponent (#1706)
Rewrote slab_explored_flags (#1549)
Rewrote light_render_light_ subs (#1810)
Raised defence values to slow down battles (#1430)
Partial rewrite of ceiling functions (#1663)
Fix coord mistake in check_out_unconverted_drop_place (#1974)
Implement trig functions (#1973)
Build commands 'make all' and 'make clean' now update submodules (#1967)
Rewrote light_render_light_dynamic (#1615)
Level script - fixed alliances, checking if they are broken (#1969)
Add missing extern to frontmenu_ingame_map.h (#1968)
Use a different icon for being scavenged (#1963)
Room icon stays disabled when you have 0 money but build at invalid location(#1965)
Corrected tunneler dots on minimap with delta time (#1960)
Neutral creatures colliding with doors no longer break them (#1957)
Fixed drawfrom on if-statements (#1961)
Added console command !thing.show_id (#1956)
Added Druid and Time Mage as swap creatures (#1954)
Added ENET/UDP as network protocol (#1955)
Make chicken creature spell pretty (#1953)
Reset collided door position before looking for treasure room (#1952)
Log now takes the campaign name from the cfg file rather than the dat file (#1919)
Creature type names used from config files (#1948)
Fixed 320x200 map name for Chinese and Japanese (#1951)
Computers cast spells again in battle (#1950)
Detected best roomspace works properly again (#1947)
Don't slide things through the floor (#1945)
Cancel interpolation if distance to interpolate is too far (#1944)
Followers help attacking doors (#1943)
No Knight drag cinematic in multiplayer (#1932)
Added pre_inc.h + post_inc.h for tricky macro things (#1942)
Various low-res fixes (#1933)
New script commands: MOVE_CREATURE, COUNT_CREATURES_AT_ACTION_POINT (#1902)
Flying units step up instead of slide up (#1935)
Stop resetting heal_requirement to 0 for imps (#1928)
Fixed Flame Breath at close range (#1937)
Winner in multiplayer is declared at victory (#1929)
Always snap north on straight view (#1925)
Transfer & Resurrect Creature menus display creature icons (#1908)
Enemy path no longer blocks digging (#1921)
Hide volume box when cursor is over GUI (#1924)
Fixed multiplayer hang, crash and volume box not showing (#1923)
Fix minimap not rotating to perfectly straight angle in straight view(#1911)
Tutorial flash button now uses delta time (#1910)
Lightning and Drain now work properly again (#1918)
Cursor light extinguished with cursor on menu in straight view (#1904)
Renamed Japanese Tunneller (#1909)
Translated creature level in-game string to Japanese (#1907)
Minimap interpolation fixes (#1905)
Added support for unbreakable space (#1844)
Hand rule check looks beyond first rule (#1893)
Fixed SET_DOOR_CONFIGURATION messing up wrong doors (#1900)
Clear collided door value on cleanup door combat (#1896)
Cleaned out useless code reladed to hand and pickups(#1872)
Music source is no longer saved in save files (#1883)
Fixed rewrite of light_render_light_dynamic_1 (#1847)
Finding any room kind should go per kind too (#1901)
Removed redundant nulls that give build warning (#1888)
Slow effect goes up and down now (#1891)
Fix another tagging issue when moving cursor over gui panel (#1880)
Fixed defend rooms and attack rooms objectives (#1887)
Pan camera slowly when in room paint mode (#1881)
Moved slab_by_players_land to slab_data.c (#1885)
Rebound at creature center (#1876)
Dotted minimap line closer to the center (#1879)
Shots don't get stuck in a wall when fired inside one (#1882)
Enabled click-and-drag Bridge building (#1851)
Added sizes to states arrays (#1867)
Added size to player_instance_info (#1866)
Give imps their original sound back
Armageddon teleports units in torture, no units from portal while spell active (#1855)
Solved two recent build warnings (#1868)
Removed duplicate definition of TRAPDOOR_TYPES_MAX (#1870)
Fixed gold text not showing up when zoomed in too much in straight view (#1869)
Vampire rebirth no longer interpolates (#1857)
_lrotr is non-standard, replaced with equivalent implementation (#1864)
Removed nonstandard data types (#1865)
strlwr is non-standard, replaced with equivalent implementation (#1863)
strupr is non-standard, replaced with equivalent implementation (#1862)
timeGetTime is non-standard, replace with clock (#1861)
ltoa is non-standard, replace with snprintf (#1860)
itoa is non-standard, replace with snprintf (#1859)
Apply camera flip fix to only FrontView (#1856)
Set zoom out default limit to '60'
Fixed looking for neutral dungeon on moving objects (#1838)
Camera zoom cfg setting (#1853)
Made the heroes attack red player again on level 20 (#1848)
No longer look through closed corners (#1852)
Prisoners are released by Armageddon (#1845)
Fixed interpolation issue of Things falling from sky(#1850)
Fixed CTA minimap flag circles, onscreen message time, tagging (#1839)
Translations for new perspective options button tooltip (#1835)
Force wibble in possession mode (#1842)
Cursor light no longer flickers around the map edges (#1836)
Fixes straight view thing lag on camera flip (#1834)
In-game wibble toggle (#1829)
Fixed light glitches around map edges (#1832)
Fix minimap icons when frameskipping (#1830)
Named more thing fields (#1827)
Turned Magic into Enums for sprites (#1828)
Draw shadows for custom sprites (#1753)
New script command: SET_HAND_RULE (#1821)
Made invisible shots configurable (#1816)
Named thing->field_4F (#1826)
Named player->field_460 (#1825)
Hand light on high ground always works again (#1824)
Allow level numbers 08 and 09 (#1820)
Cleaned up light_render_light (#1800)
Removed duplicate code
Window is reset on switching windowed resolutions (#1817)
Exclude fainted creatures as primary targets for aim-assist (#1799)
Scale minimap dotted line (#1809)
Made primary_target from instances configurable (#1798)
Redesigned heal_threshold and heal_requirement (#1783)
Fixed units fighting through corners (#1780)
Moved lightadd to light_data.h (#1813)
Fixed book light glitches (#1812)
Smooth minimap and tooltip position(delta time) (#1803)
Moved frametime to bflib_datetm, added FPS counter (#1763)
Set font and text window on landview before drawing text (#1808)
Recompute ceiling after placing doors (#1805)
Rescaled audio sliders (#1801)
Fixed most of the remaining build warnings (#1764)
Translate voice volume tooltip (#1797)
Added option to set mentor/voice volume (#1768)
Use the slap sounds from the config when units get slapped (#1774)
Remove unneeded trap removal lines (#1795)
Made creature flower/status size configurable(#1787)
Fixed camera movement when paused (delta time) (#1793)
Fixed straight-view health-flower position(#1786)
Gave shots an actual hitbox (#1782)
Leave unseen things alone when placing terrain (#1792)
Removed back and forth encoding of subtiles creature_scavenged_disappear (#1791)
Leave effect elements alone when placing ground territory (#1785)
Added LbPrint (#1775)
Don't let tunnelers escape the map (#1778)
Rewrote get_human_controlled_creature_target + eye height(#1640)
Instant camera movement from parchment view (#1776)
Reduced volumes on extreme zoom out (#1766)
Delta time fixes and further smoothing (#1765)
Unwanted things are now (re)moved when placing terrain (#1739)
Fixed possession palette issues caused by lightning(#1761)
Added subtile pressure trap trigger type (#1744)
Fix wrong Sight of Evil unrevealing (#1760)
Fixed interpolation glitches (#1758)
Fixed time spent flashing red when thing receives damage (#1759)
Flipped what's called 'inverted' mouse (#1757)
Added delta time and interpolation (#1746)
Made sure SelfCasted spells do not reuse the heal sound (#1736)
Moved action points to gameadd and allowed 255 (#1731)
Gave hero gate an AmbienceSound (#1730)
Make a rejection sound when dropping fails. (#1748)
Rewrote check_forward_for_prospective_hugs (#1676)
CREATE_EFFECTS_LINE reaches target and shows up (#1751)
Scale zoom level correctly relative to 640x400 mode (#1030)
Fixed duplicate level name in Conquest of the Artic campaign
Named Polypoint fields (#1745)
Pixels on parchment map blink for neutrals (#1741)
Made Pick Up Offset configurable (#1734)
Restore play_gameturn (#1749)
No log error for AmbienceSound when sound is disabled (#1743)
Stop flowers from displaying in parchment view (#1742)
Rewrote initalise_lighting_tables (#1597)
Fixed build warning and added log error for diagonal digging (#1735)
Use lair size when looking for room the heal in (#1733)
Made diagonal digging in possession possible (#1724)
Reorganised main loop (#1729)
Fixed build error introduced in last commit
Fixed the flickering when walking in possession (#1726)
Further limited classic bug behavior for tunnelers (#1721)
Set old eye height again (#1725)
Display frametime on screen (#1693)
Made 'close enough to see' work based on zoom level (#1718)
Made first-person object ambience configurable (#1719)
Create directories when creating files (#1720)
Rewrote object_update_power_sight (#1589)
Changed line segment calculation to have fewer holes in fancy boundbox (#1711)
Stopped locked in heroes from trying to attack (#1716)
Stopped sound code for hitting heart randomly being the same (#1714)
Enable custom sprites for creatures (#1700)
Rewrote remove_explored_flags_for_power_sight (#1650)
Fixed disabling spells with SET_CREATURE_INSTANCE (#1713)
Fixed possession gold drop, digging up rooms, and digging effect (#1708)
Rewrote player_camera_fp (#1557)
Mark slabs for digging that got skipped over by moving the mouse/camera too fast (#1701)
Fix zoomed_range (flags, flowers & gold numbers) (#1705)
Nicer animation for tunneller reinforcing and claiming (#1684)
Digging sound and effect possession now match digging outside (#1704)
Rewrote other_build_here (#1652)
Added TokingRecovery to config file (#1703)
Make destroy walls spell look and sound better (#1688)
Made destroying walls from anger look nicer (#1687)
Rewrote get_best_position_outside_room (#1649)
Stopped Hatcheries from being counted as unclaimed path (#1697)
Digging a frail subtile now digs the correct slab (#1691)
Stopped units from shooting through corner (#1680)
Gold can be picked up from frail corners by imps (#1689)
You can now pick up gold in frail corners (#1678)
Low health Imps follow commands for a while (#1675)
Replace the black in 1st person view with dark green for smoother fade (#1685)
Always use max view distance in overhead view (#1682)
Stop objects disappearing at certain angles zoomed out (#1683)
Rewrote move_check_can_damage_wall (#1580)
Stopped map 454 from showing errors in the log
Expanded view distance and zoom out (#1572)
Translated campaign names into Japanese (#1670)
Rewrote get_free_task (#1653)
You can now use the directional keys to scroll the front map. (#1673)
Creature no longer resets activity when unrelated room is sold below them (#1674)
infinite chain protection on delete_attached_things_on_slab (#1667)
Tied hearing of flames in possession to the creature's hearing range (#1654)
Fixed deleting torches (#1666)
Translation strings for campaign names (#1660)
Fixed computer players keeping CTA on for too long (#1657)
Rewrote delete_attached_things_on_slab (#1656)
Everything that can flash now does so in Cheat Query mode (#1655)
Rewrote imp_already_reinforcing_at_excluding (#1642)
Rewrote update_flames_nearest_camera, fixes flame sounds (#1646)
Fix map scrolling in corners (#1651)
SWAP_CREATURE remembers sounds after loading (#1647)
Selling Doors no longer randomly plays a slapping sound (#1648)
Cube count extended (#1630)
Corrected string in conquest of artic campaign (east->west) (#1639)
Rewrote get_creature_near and removed get_creature_near_with_filter (#1637)
Added option to disable mouse edge camera panning (#1634)
Rewrite find_next_annoyed_creature (#1627)
Fixed flying units being able to see and shoot through doors (#1636)
Named PCtr_Unknown4000 (#1635)
SWAP_CREATURE remembers animations after loading (#1631)
Fixed line of sight 3d returning false where it should not (#1628)
Objects placed with script have an owner now (#1618)
Stop playing mentor speeches of things happening on screen (#1620)
Sprite and animation speed of hand cursor configurable (#1612)
Fixed script modified traps/doors from being disfunctional (#1623)
Fixed creatures casting out of range spells on the diagonals (#1625)
Rewrote get_creature_near_for_controlling (#1621)
Remove IsRunningMark functions (#1622)
Rewrote convert_world_coord_to_front_view_screen_coord (#1538)
Each column is checked for height to determine rubble (#1617)
Removed some unused symbols (#1614)
If primary dungeon heart is destroyed, potential second takes over(#1609)
Tunnel behavior improved - breaching and map colour and portal look (#1605)
Rewrote move_check_persuade (#1613)
Creature levels not shown in possession anymore (#1607)
Made purple slabs purple on parchment and pannel maps (#1604)
Add campaign name and level number info into log (#1603)
Footstep pitch now from unit configurations (#1602)
Changed sprite related data types to prepare for 64-bit (#1600)
Change in data type in game_load_files to help compile in 64bit (#1599)
Removed duplicate definition of gui_error_text (#1598)
Throw out light_render_light_dynamic_1 (#1596)
Rewrote element_top_face_texture (#1569)
Rewrote move_effect (#1578)
Rewrote search_spiral (#1568)
Introduced settings to skip splash screens and heart zoom (#1577)
Tunnellers keep training (and other jobs) when assigned to it. (#1510)
Renamed all bucket types and the variables triganomy functions(#1593)
Partial rewrite of light_render_light_sub1 (#1571)
Exiting passenger controlled creature (cheat) no longer messes up menu (#1590)
Fixed stuck room cursor graphic (#1591)
Revert "Scale lens, fixes possession screen flicker (#1558)"
Fixed pathfinding related build warning (#1586)
LONG_MAX doesn't fit inside int (#1588)
Creatures will now take pay from locked empty treasure rooms too (#1584)
Stop nagging in the log when using custom icons in script command (#1527)
Scale lens, fixes possession screen flicker (#1558)
Fixed creatures escaping custody under cave-in spell. (#1562)
Rewrote find_base_thing_on_mapwho_excluding_self (#1567)
Allow multiple rooms to share the same role (#1561)
Fixed a build warning in computer_check_enemy_entrances (#1582)
Stopped adding power levels on script loops (#1583)
Implemented One-click drag mode for build/sell (#1500)
Fix recently introduced roomrole bug (#1579)
Correct line played when an Imp cannot reach a Treasure room (#1575)
Commented and clarified display_drawlist (#1563)
Rewrote creature_attempt_to_damage_walls and creature_damage_walls (#1535)
Rewrote count_creatures_for_defend_pickup (#1570)
Added placefiller below menu on square resolutions (#1121)
Updated NG+ 20 to unlock prison door when needed
Rewrote anger_set_creature_anger_all_types (#1511)
Partial rewrite of light_render_area (#1554)
Rewrote check_place_to_pickup_unconscious_body (#1545)
Partial rewrite of do_a_trig_gourad (#1565)
Rewrote do_a_gpoly functions (#1564)
Rewrote line_of_room_move_2d (#1560)
Room roles configurable: GoldStorage, PowersStorage and CratesStorage (#1485)
Fixed three NG+ levels
SWAP_CREATURE script command (#1484)
Rewrote free_room_structure (#1552)
Rewrote find creature for call to arms (#1534)
Rewrote delete_room_slab_when_no_free_room_structures (#1553)
Doors now fully configurable (#1459)
Rewrote check_out_undug_drop_place (#1528)
Fixed spells/specials picked up in possession from neutral land (#1544)
Rewrote i_can_allocate_free_room_structure (#1507)
Rewrote move_check_on_head_for_room (#1506)
Rewrote stop_creatures_around_hand (#1540)
Fixed invent being created based on already destroyed slab
Named a few comp variables (#1516)
Fixed room steal cheats saying moo on most campaigns/packs (#1537)
Added a readme file to the github
Rewrote computer_finds_nearest_room_to_pos (#1509)
Rewrote get_best_new_lair_for_creature (#1508)
Rewrote creature_scavenged_reappear (#1498)
Fixed SET_TRAP_CONFIGURATION not updating TooltipTextID (#1536)
rewrote find_random_thing_in_room and process_prison_food (#1497)
rewrote creature_pretend_chicken_setup_move (#1436)
Rewrote check_out_place_for_pretty_behind_door (#1495)
Display neutral books and mystery boxes on the map (#1523)
Torches no longer block room decoration on the opposite side of the wall (#1504)