{"id":808,"date":"2023-08-08T00:25:00","date_gmt":"2023-08-07T22:25:00","guid":{"rendered":"https:\/\/colobot.info\/?p=808"},"modified":"2024-12-25T02:13:10","modified_gmt":"2024-12-25T01:13:10","slug":"gotofixes","status":"publish","type":"post","link":"https:\/\/colobot.info\/pl\/2023\/08\/08\/gotofixes\/","title":{"rendered":"Update 0.2.1 \u2013 \u201cPlan B: goto(fixes)\u201d"},"content":{"rendered":"\n<p>Click the \u201eRead more\u201d button for a full changelog.<\/p>\n\n\n\n<p>A smaller patch addressing some of the issues of the previous release, in addition to long overdue goto pathfinding improvements and macOS build fixes.<\/p>\n\n\n\n<p>Huge thanks to all contributors, everyone engaging in discussions, and content creators who showcased our game &#8211; some of the changes included were specifically made to address the issues you encountered. Your feedback is invaluable.<\/p>\n\n\n\n<p>The game is available for download <a href=\"https:\/\/colobot.info\/download-colobot-gold\/\">here.<\/a><\/p>\n\n\n\n<!--more-->\n\n\n<hr class=\"wp-block-separator has-css-opacity\">\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/colobot.info\/wordpress\/wp-content\/uploads\/plus-1.png\" alt=\"\" class=\"wp-image-732\" width=\"558\" height=\"180\" srcset=\"https:\/\/colobot.info\/wordpress\/wp-content\/uploads\/plus-1.png 2230w, https:\/\/colobot.info\/wordpress\/wp-content\/uploads\/plus-1-300x97.png 300w, https:\/\/colobot.info\/wordpress\/wp-content\/uploads\/plus-1-1024x331.png 1024w, https:\/\/colobot.info\/wordpress\/wp-content\/uploads\/plus-1-768x248.png 768w, https:\/\/colobot.info\/wordpress\/wp-content\/uploads\/plus-1-1536x496.png 1536w, https:\/\/colobot.info\/wordpress\/wp-content\/uploads\/plus-1-2048x661.png 2048w\" sizes=\"auto, (max-width: 558px) 100vw, 558px\" \/><\/figure>\n<\/div>\n\n\n<ul class=\"wp-block-list\">\n<li>Fixed missing icons for completed but not unlocked research programs. Icons will still be missing when cheating.<\/li>\n\n\n\n<li>Removed redundant research programs in Missions+: <em>Plan B<\/em>\n<ul class=\"wp-block-list\">\n<li>Originally most technologies were available from the get-go and players found it confusing. With the aforementioned issue fixed those were no longer necessary.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><code>Phaser<\/code> research plan is now unlocked in Missions+ and Free game as a reward for completing Missions chapter 9.<\/li>\n<\/ul>\n\n\n\n<br>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/colobot.info\/wordpress\/wp-content\/uploads\/cbot-1.png\" alt=\"\" class=\"wp-image-729\" width=\"558\" height=\"180\" srcset=\"https:\/\/colobot.info\/wordpress\/wp-content\/uploads\/cbot-1.png 2230w, https:\/\/colobot.info\/wordpress\/wp-content\/uploads\/cbot-1-300x97.png 300w, https:\/\/colobot.info\/wordpress\/wp-content\/uploads\/cbot-1-1024x331.png 1024w, https:\/\/colobot.info\/wordpress\/wp-content\/uploads\/cbot-1-768x248.png 768w, https:\/\/colobot.info\/wordpress\/wp-content\/uploads\/cbot-1-1536x496.png 1536w, https:\/\/colobot.info\/wordpress\/wp-content\/uploads\/cbot-1-2048x661.png 2048w\" sizes=\"auto, (max-width: 558px) 100vw, 558px\" \/><\/figure>\n<\/div>\n\n\n<ul class=\"wp-block-list\">\n<li>Rewritten <code>goto()<\/code>&#8217;s pathfinding algorithm [<em>@rasmusgo<\/em>].<\/li>\n\n\n\n<li>Added <code>isnan(value)<\/code> function to check if a value is <code>NaN<\/code>.<\/li>\n\n\n\n<li><code>strfind()<\/code> now returns -1 instead of <code>NaN<\/code> when substring can&#8217;t be found.<\/li>\n\n\n\n<li>Fixed <code>space()<\/code> being unable to find free space on <code>SpaceShip<\/code> [<em>@rasmusgo<\/em>].<\/li>\n\n\n\n<li><code>space()<\/code> now returns a point with <code>NaN<\/code>s if it cannot find free space.<\/li>\n\n\n\n<li>Added new <code>team<\/code> parameter to <code>produce()<\/code> [<em>@lolbot-iichan<\/em>].<\/li>\n\n\n\n<li>Added the ability to assign team id to <code>AlienEgg<\/code>s created with <code>produce()<\/code> [<em>@lolbot-iichan<\/em>].<\/li>\n\n\n\n<li>Fixed parsing bool in <code>message()<\/code>.<\/li>\n<\/ul>\n\n\n\n<br>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/colobot.info\/wordpress\/wp-content\/uploads\/misc.png\" alt=\"\" class=\"wp-image-745\" width=\"558\" height=\"180\" srcset=\"https:\/\/colobot.info\/wordpress\/wp-content\/uploads\/misc.png 2230w, https:\/\/colobot.info\/wordpress\/wp-content\/uploads\/misc-300x97.png 300w, https:\/\/colobot.info\/wordpress\/wp-content\/uploads\/misc-1024x331.png 1024w, https:\/\/colobot.info\/wordpress\/wp-content\/uploads\/misc-768x248.png 768w, https:\/\/colobot.info\/wordpress\/wp-content\/uploads\/misc-1536x496.png 1536w, https:\/\/colobot.info\/wordpress\/wp-content\/uploads\/misc-2048x661.png 2048w\" sizes=\"auto, (max-width: 558px) 100vw, 558px\" \/><\/figure>\n<\/div>\n\n\n<ul class=\"wp-block-list\">\n<li>Improved handling of UTF-8 characters [<em>@pestoffne<\/em>].<\/li>\n\n\n\n<li>Improved handling of numpad function keys (home, end, page up, page down) [<em>@rasmusgo<\/em>].<\/li>\n\n\n\n<li>Added new command-line switch <code>-loadsave<\/code> (path is &lt;<code>player&gt;\/&lt;save<\/code>&gt;) [<em>@rasmusgo<\/em>].<\/li>\n\n\n\n<li>Removed black outline in planet sprites [<em>@X64E<\/em>].<\/li>\n<\/ul>\n\n\n\n<br>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/colobot.info\/wordpress\/wp-content\/uploads\/tech.png\" alt=\"\" class=\"wp-image-746\" width=\"558\" height=\"180\" srcset=\"https:\/\/colobot.info\/wordpress\/wp-content\/uploads\/tech.png 2230w, https:\/\/colobot.info\/wordpress\/wp-content\/uploads\/tech-300x97.png 300w, https:\/\/colobot.info\/wordpress\/wp-content\/uploads\/tech-1024x331.png 1024w, https:\/\/colobot.info\/wordpress\/wp-content\/uploads\/tech-768x248.png 768w, https:\/\/colobot.info\/wordpress\/wp-content\/uploads\/tech-1536x496.png 1536w, https:\/\/colobot.info\/wordpress\/wp-content\/uploads\/tech-2048x661.png 2048w\" sizes=\"auto, (max-width: 558px) 100vw, 558px\" \/><\/figure>\n<\/div>\n\n\n<ul class=\"wp-block-list\">\n<li>Fixed macOS compilation (note: ARM builds were not tested).<\/li>\n\n\n\n<li>Fixed wrong variable name in macOS-related code [<em>@vieux<\/em>].<\/li>\n\n\n\n<li>Added support for custom object slots [<em>@immibis<\/em>].<\/li>\n\n\n\n<li>Improved compilation process under MSVC.<\/li>\n\n\n\n<li>Added MSVC compilation instructions [<em>@MrJohn10<\/em>].<\/li>\n\n\n\n<li>Removed redundant quotation marks from CMakeLists [<em>@olokos<\/em>].<\/li>\n\n\n\n<li>Removed MXE support.<\/li>\n\n\n\n<li>Bumped C++ version from C++11 to C++17.<\/li>\n\n\n\n<li>Bumped CMake version to 3.16.<\/li>\n\n\n\n<li>Replaced some code with functions from standard library [<em>@AbigailBuccaneer<\/em>]<\/li>\n\n\n\n<li>Refactored font loading code (file <code>fonts\/fonts.ini<\/code> is now mandatory and must contain definition of all 9 font types).<\/li>\n\n\n\n<li>Updated README files.\n<ul class=\"wp-block-list\">\n<li>Added logo and badges, replaced outdated info.<\/li>\n\n\n\n<li>Mentioned Void Linux package [<em>@tranzystorek-io<\/em>].<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Changed URLs for git submodules from git protocol to https protocol.<\/li>\n\n\n\n<li>Updated translations [<em>@krzysztofrewak<\/em> <em>@zvladru<\/em> <em>@X64E<\/em> <em>@Anton-V-K<\/em> <em>@Z128A<\/em> <em>@AndreiCherniaev<\/em>].<\/li>\n\n\n\n<li>Various code cleanups.<\/li>\n<\/ul>\n\n\n\n<br>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/colobot.info\/wordpress\/wp-content\/uploads\/fixes.png\" alt=\"\" class=\"wp-image-747\" width=\"558\" height=\"180\" srcset=\"https:\/\/colobot.info\/wordpress\/wp-content\/uploads\/fixes.png 2230w, https:\/\/colobot.info\/wordpress\/wp-content\/uploads\/fixes-300x97.png 300w, https:\/\/colobot.info\/wordpress\/wp-content\/uploads\/fixes-1024x331.png 1024w, https:\/\/colobot.info\/wordpress\/wp-content\/uploads\/fixes-768x248.png 768w, https:\/\/colobot.info\/wordpress\/wp-content\/uploads\/fixes-1536x496.png 1536w, https:\/\/colobot.info\/wordpress\/wp-content\/uploads\/fixes-2048x661.png 2048w\" sizes=\"auto, (max-width: 558px) 100vw, 558px\" \/><\/figure>\n<\/div>\n\n\n<ul class=\"wp-block-list\">\n<li>Fixed saving\/loading programs for insects hatched from AlienEggs [<em>@melex750<\/em>].<\/li>\n\n\n\n<li>Fixed bot batteries disappearing after loading a saved game [<em>@melex750<\/em>].<\/li>\n\n\n\n<li>Fixed pause blur and crashes with newer SDL library versions [<em>@olokos<\/em>].<\/li>\n\n\n\n<li>Fixed <code>Scribbler<\/code>&#8217;s green button color [<em>@lolbot-iichan<\/em>].<\/li>\n\n\n\n<li>Fixed <code>TargetBot<\/code> AI script in Exercise 4.5 and Challenge 2.2.<\/li>\n\n\n\n<li>Fixed SatCom content offset on high resolution\/small font size [<em>@nipsufn<\/em>].<\/li>\n\n\n\n<li>Fixed stretched and incorrectly rotated skybox on aspect ratios other than 4:3 [<em>@immibis<\/em>].<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Click the \u201eRead more\u201d button for a full changelog.<\/p>\n<p>A smaller patch addressing some of the issues of the previous release, in addition to long overdue goto pathfinding improvements and macOS build fixes.<\/p>\n<p>Huge thanks to all contributors, everyone engaging in discussions, and content creators who showcased our game &#8211; some of the changes included were specifically made to address the issues you encountered. Your feedback is invaluable.<\/p>\n<p>The game is available for download <a href=\"https:\/\/colobot.info\/download-colobot-gold\/\">here.<\/a><\/p>\n","protected":false},"author":4,"featured_media":68,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"cybocfi_hide_featured_image":"","footnotes":""},"categories":[5,8],"tags":[],"class_list":["post-808","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","category-updates"],"_links":{"self":[{"href":"https:\/\/colobot.info\/pl\/wp-json\/wp\/v2\/posts\/808","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/colobot.info\/pl\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/colobot.info\/pl\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/colobot.info\/pl\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/colobot.info\/pl\/wp-json\/wp\/v2\/comments?post=808"}],"version-history":[{"count":10,"href":"https:\/\/colobot.info\/pl\/wp-json\/wp\/v2\/posts\/808\/revisions"}],"predecessor-version":[{"id":818,"href":"https:\/\/colobot.info\/pl\/wp-json\/wp\/v2\/posts\/808\/revisions\/818"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/colobot.info\/pl\/wp-json\/wp\/v2\/media\/68"}],"wp:attachment":[{"href":"https:\/\/colobot.info\/pl\/wp-json\/wp\/v2\/media?parent=808"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/colobot.info\/pl\/wp-json\/wp\/v2\/categories?post=808"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/colobot.info\/pl\/wp-json\/wp\/v2\/tags?post=808"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}