<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>atanks Code changes</title><link>https://sourceforge.net/p/atanks/atanks/</link><description>Recent changes to Code repository in atanks project</description><atom:link href="https://sourceforge.net/p/atanks/atanks/feed" rel="self"/><language>en</language><lastBuildDate>Wed, 09 Aug 2023 12:51:10 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/atanks/atanks/feed" rel="self" type="application/rss+xml"/><item><title>Merge request: Big overhaul and many fixes</title><link>https://sourceforge.net/p/atanks/atanks/merge-requests/4/?limit=25#12d0</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This sourceforge editor is driving me nuts... ^^&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sven Eden</dc:creator><pubDate>Wed, 09 Aug 2023 12:51:10 -0000</pubDate><guid>https://sourceforge.net250e308ff56cfab4bcbe82e68e0adfe296da76ee</guid></item><item><title>Merge request: Big overhaul and many fixes</title><link>https://sourceforge.net/p/atanks/atanks/merge-requests/4/?limit=25#e67c</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Description&lt;/strong&gt;:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Diff:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="gd"&gt;--- old&lt;/span&gt;
&lt;span class="gi"&gt;+++ new&lt;/span&gt;
&lt;span class="gu"&gt;@@ -13,7 +13,7 @@&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;* Fixed a bug that caused the AI to use the first guess on their last attack planning attempt without actually planning it through.
&lt;span class="w"&gt; &lt;/span&gt;* Fixed a bug that could cause a segfault when fast-forward-play ends.

&lt;span class="gd"&gt;-&amp;amp;#39;&amp;amp;#39;Additions:**&lt;/span&gt;
&lt;span class="gi"&gt;+**Additions:**&lt;/span&gt;

&lt;span class="w"&gt; &lt;/span&gt;* The Makefile got some debugging targets for easier debug mode building.
&lt;span class="w"&gt; &lt;/span&gt;* Random number generation has been modernized and was made thread local.
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sven Eden</dc:creator><pubDate>Wed, 09 Aug 2023 12:50:44 -0000</pubDate><guid>https://sourceforge.netd9218dd27fde5f96e48f5b9c36d41aa12c7e30ce</guid></item><item><title>Merge request: Big overhaul and many fixes</title><link>https://sourceforge.net/p/atanks/atanks/merge-requests/4/?limit=25#7062</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Description&lt;/strong&gt;:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Diff:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="gd"&gt;--- old&lt;/span&gt;
&lt;span class="gi"&gt;+++ new&lt;/span&gt;
&lt;span class="gu"&gt;@@ -8,11 +8,12 @@&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;* Fixed a bug that allowed AI players to have a ton of amps but no armour and vice versa.
&lt;span class="w"&gt; &lt;/span&gt;* Remove C89 style TRUE/FALSE integers where possible.
&lt;span class="w"&gt; &lt;/span&gt;* Fixed typo: Swapper costs 4 grand, not 40k.
&lt;span class="gd"&gt;-* Fixed a bug that caused AI to ignore 90% of the items they might have wanted to save their money on. just to shoot a Riot Bomb anywhere.&lt;/span&gt;
&lt;span class="gi"&gt;+* Fixed a bug that caused AI to ignore 90% of the items they might have wanted to save their money on.&lt;/span&gt;
&lt;span class="gi"&gt;+* Fixed a bug that caused the AI to break off their attack planning early  just to shoot a Riot Bomb anywhere.&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;* Fixed a bug that caused the AI to use the first guess on their last attack planning attempt without actually planning it through.
&lt;span class="w"&gt; &lt;/span&gt;* Fixed a bug that could cause a segfault when fast-forward-play ends.

&lt;span class="gd"&gt;-**Additions:**&lt;/span&gt;
&lt;span class="gi"&gt;+&amp;amp;#39;&amp;amp;#39;Additions:**&lt;/span&gt;

&lt;span class="w"&gt; &lt;/span&gt;* The Makefile got some debugging targets for easier debug mode building.
&lt;span class="w"&gt; &lt;/span&gt;* Random number generation has been modernized and was made thread local.
&lt;span class="gu"&gt;@@ -20,7 +21,8 @@&lt;/span&gt;

&lt;span class="w"&gt; &lt;/span&gt;**Changes:**

&lt;span class="gd"&gt;-* Source code is now formatted uniformly using clang-format. performance is non-critical).&lt;/span&gt;
&lt;span class="gi"&gt;+* Source code is now formatted uniformly using clang-format.&lt;/span&gt;
&lt;span class="gi"&gt;+* Got rid of C90 style pointer juggling where possible (aka where performance is non-critical).&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;* Bot values have been lowered and the spread between worst and best AI player has been increased. The DEADLY player is also no longer immune to making errors.
&lt;span class="w"&gt; &lt;/span&gt;* SDI will no longer shoot a missile down that is going to be repulsed.
&lt;span class="w"&gt; &lt;/span&gt;* Some recursive functions have been rewritten to be non.recursive.
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sven Eden</dc:creator><pubDate>Wed, 09 Aug 2023 12:50:32 -0000</pubDate><guid>https://sourceforge.net74665690f449f5c33bb6bc5a0c75127f7633d731</guid></item><item><title>Merge request: Big overhaul and many fixes</title><link>https://sourceforge.net/p/atanks/atanks/merge-requests/4/?limit=25#f99e</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Description&lt;/strong&gt;:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Diff:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="gd"&gt;--- old&lt;/span&gt;
&lt;span class="gi"&gt;+++ new&lt;/span&gt;
&lt;span class="gu"&gt;@@ -1,17 +1,35 @@&lt;/span&gt;
&lt;span class="gd"&gt;-Hey Jesse,&lt;/span&gt;
&lt;span class="gd"&gt;-I have taken the liberty of upgrading the code vastly, making it C++17 ready, and fixing a handful of bugs on the way. I also split up some of the overly long spaghetti code into maintainable portions.&lt;/span&gt;
&lt;span class="gi"&gt;+**Fixes:**&lt;/span&gt;

&lt;span class="gd"&gt;-There are two more things, however, I&amp;amp;#39;d like to take care of before the merge.&lt;/span&gt;
&lt;span class="gd"&gt;-But I figured it would be a good idea to let you have a look already.&lt;/span&gt;
&lt;span class="gi"&gt;+* Fixed a bug that caused background updates to glitch.&lt;/span&gt;
&lt;span class="gi"&gt;+* Added missing Theft Bomb missile image, that caused an assertion failure whenever someone tried to shoot one.&lt;/span&gt;
&lt;span class="gi"&gt;+* Fixed all g++ and clang-tidy warnings.&lt;/span&gt;
&lt;span class="gi"&gt;+* Fixed a bug where global.surface was being used as height instead of the surface y-coordinate.&lt;/span&gt;
&lt;span class="gi"&gt;+* Fixed a bug in land creation that caused possible crashes.&lt;/span&gt;
&lt;span class="gi"&gt;+* Fixed a bug that allowed AI players to have a ton of amps but no armour and vice versa.&lt;/span&gt;
&lt;span class="gi"&gt;+* Remove C89 style TRUE/FALSE integers where possible.&lt;/span&gt;
&lt;span class="gi"&gt;+* Fixed typo: Swapper costs 4 grand, not 40k.&lt;/span&gt;
&lt;span class="gi"&gt;+* Fixed a bug that caused AI to ignore 90% of the items they might have wanted to save their money on. just to shoot a Riot Bomb anywhere.&lt;/span&gt;
&lt;span class="gi"&gt;+* Fixed a bug that caused the AI to use the first guess on their last attack planning attempt without actually planning it through.&lt;/span&gt;
&lt;span class="gi"&gt;+* Fixed a bug that could cause a segfault when fast-forward-play ends.&lt;/span&gt;

&lt;span class="gd"&gt;-When I have taken care of the following issues, I will write a detailed changelog here.&lt;/span&gt;
&lt;span class="gi"&gt;+**Additions:**&lt;/span&gt;

&lt;span class="gd"&gt;-1) Currently the Bots like to senselessly throw Riot Bombs around, even when it makes absolutely makes no sense and a clear firing path would be open. In the next few days I will try to isolate and tackle this issue.&lt;/span&gt;
&lt;span class="gi"&gt;+* The Makefile got some debugging targets for easier debug mode building.&lt;/span&gt;
&lt;span class="gi"&gt;+* Random number generation has been modernized and was made thread local.&lt;/span&gt;
&lt;span class="gi"&gt;+* Beautified land and moon creation.&lt;/span&gt;

&lt;span class="gd"&gt;-2) Some items are not used at all, like teleporters and the rocket. I&amp;amp;#39;d like to know why and to add (sensible) usage of these items.&lt;/span&gt;
&lt;span class="gi"&gt;+**Changes:**&lt;/span&gt;

&lt;span class="gd"&gt;-Something else: The game crashed whenever the Theft Bomb was chosen, because &amp;amp;#34;missile/31.bmp&amp;amp;#34; does not exist. Do you have it lying around? If not I would &amp;amp;#34;repurpose&amp;amp;#34; the stock image bmp for the Theft Bomb.&lt;/span&gt;
&lt;span class="gd"&gt;-&lt;/span&gt;
&lt;span class="gd"&gt;-Cheers&lt;/span&gt;
&lt;span class="gd"&gt;-&lt;/span&gt;
&lt;span class="gd"&gt;-Sven&lt;/span&gt;
&lt;span class="gi"&gt;+* Source code is now formatted uniformly using clang-format. performance is non-critical).&lt;/span&gt;
&lt;span class="gi"&gt;+* Bot values have been lowered and the spread between worst and best AI player has been increased. The DEADLY player is also no longer immune to making errors.&lt;/span&gt;
&lt;span class="gi"&gt;+* SDI will no longer shoot a missile down that is going to be repulsed.&lt;/span&gt;
&lt;span class="gi"&gt;+* Some recursive functions have been rewritten to be non.recursive.&lt;/span&gt;
&lt;span class="gi"&gt;+* Some &amp;amp;#34;spaghetti-code&amp;amp;#34; style functions have been split up.&lt;/span&gt;
&lt;span class="gi"&gt;+* Many C++17 perks have been made use of where they make sense.&lt;/span&gt;
&lt;span class="gi"&gt;+* Got rid of sscanf(). Everywhere.&lt;/span&gt;
&lt;span class="gi"&gt;+* Decoupled many objects that deserved their own compilation unit.&lt;/span&gt;
&lt;span class="gi"&gt;+* SDI repulsor calculation is now independent from AI level of its owner.&lt;/span&gt;
&lt;span class="gi"&gt;+* Enhance armour/amp/weapon boosting, so that AI players no longer forget what they wanted to buy (but couldn&amp;amp;#39;t) between rounds.&lt;/span&gt;
&lt;span class="gi"&gt;+* The maximum SDI range calculation has been rewritten, and the repulsor shields have been strengthened a bit.&lt;/span&gt;
&lt;span class="gi"&gt;+* AI takes target level and already dealt damage ratios more into account. This stops the bots to get &amp;amp;#34;stuck&amp;amp;#34; on a (mainly human) opponent.&lt;/span&gt;
&lt;span class="gi"&gt;+* AI does not longer know the exact coordinates of their opponent, but &amp;amp;#34;drift&amp;amp;#34; a bit according to their level.&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sven Eden</dc:creator><pubDate>Wed, 09 Aug 2023 12:26:15 -0000</pubDate><guid>https://sourceforge.net31dad8bfc82f6e7e161327148ca7be76fa5c3849</guid></item><item><title>Merge request: Big overhaul and many fixes</title><link>https://sourceforge.net/p/atanks/atanks/merge-requests/4/?limit=25#1682</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Found and fixed it. Squashed the fix into an earlier commit, though. (It was about knowing when the &lt;em&gt;real&lt;/em&gt; lat attempt was going on)&lt;/p&gt;
&lt;p&gt;For over 50 rounds the bots did not get "stuck" on attacking me first any more, so people complaining about "never" getting to play should have their well deserved fix now. The bots really could get a bit .. erm... attached.&lt;/p&gt;
&lt;p&gt;I'll whip up a ChangeLog soon.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sven Eden</dc:creator><pubDate>Wed, 09 Aug 2023 11:15:16 -0000</pubDate><guid>https://sourceforge.netacabb8d1eda5cb3845186b706eca4d1878c4a5b6</guid></item><item><title>Merge request: Big overhaul and many fixes</title><link>https://sourceforge.net/p/atanks/atanks/merge-requests/4/?limit=25#07ff</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Yeah... your changes made the AI, even the supposedly "DEADLY" one, dumb as rock. (sorry.)&lt;/p&gt;
&lt;p&gt;I &lt;em&gt;think&lt;/em&gt; I remedied that by a few changes that made the USELESS to DEADLY curve steeper, while adding new error potential and countering situations where bots get "fixed" on one target (mostly human players). And I did not fully revert your changes, the limits are now generally lower and more spread out between USELESS and DEADLY bots.&lt;/p&gt;
&lt;p&gt;There is one odd thing I witnessed, a bot just slammed a Death Head senselessly into a steel-cage wall. Out of frustration, I guess, they couldn't get nowhere, but a 30k ordnance is a bit expensive.&lt;/p&gt;
&lt;p&gt;Once I have fixed what caused this, I think I am ready for the final "ChangeLog" presentation.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sven Eden</dc:creator><pubDate>Wed, 09 Aug 2023 10:29:03 -0000</pubDate><guid>https://sourceforge.net5ee61c4e818b9de2edc76d59cb244ea8e4daa8bc</guid></item><item><title>Merge request: Big overhaul and many fixes</title><link>https://sourceforge.net/p/atanks/atanks/merge-requests/4/?limit=25#7a49</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I checked and I don't have a missle/31.bmp file. I sppose you could toss any appropriate bomb image in there and it'll do the trick.&lt;/p&gt;
&lt;p&gt;Something to keep in mind with regards to your point #1 is that the AI isn't supposed to be perfect. With the last release I ended up making some changes to the AI code which both reduced CPU time and made the AI less precise because it was &lt;em&gt;always&lt;/em&gt; shooting perfectly, even the low-level bots, which made the game not fun at all. The AI should made some bad choices and mistakes.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jesse Smith</dc:creator><pubDate>Tue, 08 Aug 2023 17:11:06 -0000</pubDate><guid>https://sourceforge.net503c7111e519611415b88714e52a90ce289e810b</guid></item><item><title>Merge request: Big overhaul and many fixes</title><link>https://sourceforge.net/p/atanks/atanks/merge-requests/4/?limit=25#830f</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I think that's it.&lt;br/&gt;
A bit more testing, and if everything is alright, I'll update the description with a (hopefully) complete ChangeLog.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sven Eden</dc:creator><pubDate>Tue, 08 Aug 2023 16:42:12 -0000</pubDate><guid>https://sourceforge.net32016c7625447bce5177f7b34125bd0f278dfe02</guid></item><item><title>Merge request: Big overhaul and many fixes</title><link>https://sourceforge.net/p/atanks/atanks/merge-requests/4/?limit=25#895c</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I &lt;em&gt;think&lt;/em&gt; the overhaul is almost ready. I haven't seen any stupid shots into walls for a couple of rounds, but will continue to test some more.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sven Eden</dc:creator><pubDate>Tue, 08 Aug 2023 08:26:28 -0000</pubDate><guid>https://sourceforge.netb92154ca31a3b728e577b80b29a225f141ea21ca</guid></item><item><title>Cleanup and fix addUpdateArea() in virtobj.*</title><link>https://sourceforge.net/p/atanks/atanks/ci/2c13e5323782d7747568c72beb6bff1f4eff8931/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Cleanup and fix addUpdateArea() in virtobj.*&lt;br/&gt;&lt;a href="/p/atanks/atanks/ci/2c13e5323782d7747568c72beb6bff1f4eff8931/"&gt;View Changes&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sven Eden</dc:creator><pubDate>Tue, 01 Aug 2023 11:13:52 -0000</pubDate><guid>https://sourceforge.net/p/atanks/atanks/ci/2c13e5323782d7747568c72beb6bff1f4eff8931/</guid></item></channel></rss>