cala 0.9.0

Make portable apps and video games in Rust!
Documentation
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>Changelog</title><base href="../"><link rel="icon" href="icon.svg"><link rel="stylesheet" href="style.css"/></head><body><div class="menu"><p><a href="https://libcala.github.io"><img src="https://libcala.github.io/logo.svg" alt="Cala" /></a><a href="https://libcala.github.io/cala">About</a><a href="https://github.com/libcala/cala">Source</a><a href="https://libcala.github.io/cala/changelog">Changelog</a><a href="https://libcala.github.io/tutorials">Tutorials</a></p>
</div><div class="content"><div class="page"><h1><a href="#changelog" aria-hidden="true" class="anchor" id="changelog"></a><a href="changelog#changelog">Changelog</a></h1>
<p>All notable changes to this project will be documented in this file.</p>
<p>The format is based on <a href="https://keepachangelog.com/en/1.0.0/">Keep a Changelog</a>,<br />
and this project adheres to <a href="https://code.plopgrizzly.com/semver/">Semantic Versioning</a>.</p>
<h2><a href="#unreleased" aria-hidden="true" class="anchor" id="unreleased"></a><a href="changelog#unreleased">[Unreleased]</a></h2>
<h3><a href="#todo" aria-hidden="true" class="anchor" id="todo"></a><a href="changelog#todo">TODO</a></h3>
<ul>
<li>Possibly redesign the controller API to be event based using a message queue.</li>
</ul>
<h2><a href="#060---2019-10-24" aria-hidden="true" class="anchor" id="060---2019-10-24"></a><a href="changelog#060---2019-10-24">[0.6.0] - 2019-10-24</a></h2>
<h3><a href="#added" aria-hidden="true" class="anchor" id="added"></a><a href="changelog#added">Added</a></h3>
<ul>
<li><code>aspect()</code> for getting aspect ratio</li>
</ul>
<h3><a href="#fixed" aria-hidden="true" class="anchor" id="fixed"></a><a href="changelog#fixed">Fixed</a></h3>
<ul>
<li>Some warnings</li>
</ul>
<h3><a href="#changed" aria-hidden="true" class="anchor" id="changed"></a><a href="changelog#changed">Changed</a></h3>
<ul>
<li>Replaced instances with groups.</li>
</ul>
<h2><a href="#050---2019-08-02" aria-hidden="true" class="anchor" id="050---2019-08-02"></a><a href="changelog#050---2019-08-02">[0.5.0] - 2019-08-02</a></h2>
<h3><a href="#added-1" aria-hidden="true" class="anchor" id="added-1"></a><a href="changelog#added">Added</a></h3>
<ul>
<li>Toolbar</li>
<li><code>draw_graphic()</code> - for textures.</li>
<li><code>texture_coords()</code> - for texture atlas.</li>
<li><code>set_camera()</code> - for camera.</li>
<li><code>key()</code> - for getting keyboard input.</li>
</ul>
<h3><a href="#fixed-1" aria-hidden="true" class="anchor" id="fixed-1"></a><a href="changelog#fixed">Fixed</a></h3>
<ul>
<li><code>clock</code> feature not compiling.</li>
<li>Examples not compiling</li>
</ul>
<h2><a href="#040---2019-07-07" aria-hidden="true" class="anchor" id="040---2019-07-07"></a><a href="changelog#040---2019-07-07">[0.4.0] - 2019-07-07</a></h2>
<h3><a href="#added-2" aria-hidden="true" class="anchor" id="added-2"></a><a href="changelog#added">Added</a></h3>
<ul>
<li><code>graphics</code> feature and support for graphical user interfaces.</li>
<li><code>clock</code> feature and support for getting date and time.</li>
</ul>
<h2><a href="#030---2019-05-23" aria-hidden="true" class="anchor" id="030---2019-05-23"></a><a href="changelog#030---2019-05-23">[0.3.0] - 2019-05-23</a></h2>
<h3><a href="#added-3" aria-hidden="true" class="anchor" id="added-3"></a><a href="changelog#added">Added</a></h3>
<ul>
<li><code>controllers()</code> which returns a <code>ControllerIter</code>.</li>
<li><code>Loop</code> and <code>loop_init!()</code>.  Together they handle the program’s control flow.  It also makes it easier in the future to port to Android and other platforms that don’t use <code>main()</code>.  Besides that, it’s a nice abstraction that works similarly to Android activities.</li>
<li>Multi-threaded support.  You should now be able to do IO calls from multiple threads.</li>
</ul>
<h3><a href="#removed" aria-hidden="true" class="anchor" id="removed"></a><a href="changelog#removed">Removed</a></h3>
<ul>
<li><code>App</code> type.</li>
</ul>
<h3><a href="#changed-1" aria-hidden="true" class="anchor" id="changed-1"></a><a href="changelog#changed">Changed</a></h3>
<ul>
<li>Instead of <code>App</code> type everything is in a module, and must be enabled with a feature.  This makes it so you don’t have to compile the parts of the project you don’t need.</li>
</ul>
<h2><a href="#021---2019-05-13" aria-hidden="true" class="anchor" id="021---2019-05-13"></a><a href="changelog#021---2019-05-13">[0.2.1] - 2019-05-13</a></h2>
<h3><a href="#fixed-2" aria-hidden="true" class="anchor" id="fixed-2"></a><a href="changelog#fixed">Fixed</a></h3>
<ul>
<li>L &amp; R triggers on controllers always returning 0.</li>
</ul>
<h2><a href="#020---2019-05-12" aria-hidden="true" class="anchor" id="020---2019-05-12"></a><a href="changelog#020---2019-05-12">[0.2.0] - 2019-05-12</a></h2>
<h3><a href="#added-4" aria-hidden="true" class="anchor" id="added-4"></a><a href="changelog#added">Added</a></h3>
<ul>
<li>Joystick / controller support with API for emulation (not complete yet).</li>
</ul>
<h2><a href="#010---2019-05-01" aria-hidden="true" class="anchor" id="010---2019-05-01"></a><a href="changelog#010---2019-05-01">[0.1.0] - 2019-05-01</a></h2>
<h3><a href="#added-5" aria-hidden="true" class="anchor" id="added-5"></a><a href="changelog#added">Added</a></h3>
<ul>
<li>Getting user information (Linux, Windows, MacOS).</li>
<li>Playing / recording audio (Linux).</li>
<li>Filesystem loading / saving ZIP files (Linux, Windows).</li>
</ul>
</div></div></body>