<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>[SH15] Elders of Ethos</title>
		<link>http://www.allegro.cc/forums/view/615499</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Wed, 08 Jul 2015 14:56:04 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p><span class="remote-thumbnail"><span class="json">{"name":"609511","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/8\/0\/80e245fe9794e4f0fc7edda64c2084c3.png","w":799,"h":623,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/8\/0\/80e245fe9794e4f0fc7edda64c2084c3"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/8/0/80e245fe9794e4f0fc7edda64c2084c3-240.jpg" alt="609511" width="240" height="187" /></span></p><p><a href="http://www.speedhack.allegro.cc/entry/13/6152">Source</a><br /><a href="http://www.speedhack.allegro.cc/entry/13/6152/1">Resources</a></p><p><b>Windows Binary</b><br /><a href="http://www.solo-games.org/games/eldersofethos/elders_of_ethos.zip">Version 1.1</a> - speedhack entry (see thread for windows compatibility code modifications)</p><p>I&#39;ll try to put the binary (Mac app) up later.  For now, time to put up the white flag and get a nap in before work. <img src="http://www.allegro.cc/forums/smileys/cool.gif" alt="8-)" /></p><p><b>EDIT:</b><br /><b>=== Some Side Notes===</b>
</p><ul><li><p>You can press the Up key to cycle through previously input commands</p></li><li><p>I did program the BACKSPACE function...for a Mac keyboard.  In windows, this seems to map to the DELETE key.  <img src="http://www.allegro.cc/forums/smileys/sad.gif" alt=":(" /></p></li><li><p>There is a crash that I didn&#39;t solve in time if you press two arrow keys at the same time (or close to the same time).  This is probably the root of other crashes as well.</p></li><li><p>If you are not getting particles in the background, that&#39;s concerning.  The windows build I just uploaded has them fine.</p></li><li><p>To get the annoying sound, put all your spirits to guidance and proceed until ghosts fill up the game.  They make the sound (and flash white as particles in the background)</p></li><li><p>If you get angels, you will start to see them appear as white spirit-particles in the background.  This apparently is less frequent than I intended, so you might have to wait a bit.</p></li><li><p>I was going to have all the levels of <a href="https://en.wikipedia.org/wiki/Maslow%27s_hierarchy_of_needs">The Hierarcy of Needs</a>, but I didn&#39;t make it in time and cut out the planes I couldn&#39;t get to.</p></li><li><p>I was going to have other tribes that were doing the same thing as you and you could see their progress, as well as trade with them or potentially send spirits to slow them down if they were getting ahead of you.</p></li><li><p>My main objective was I wanted the user to feel out where to put spirits based on game feedback, but since I didn&#39;t get the rest in, this usually just takes a single play through to figure out.  I&#39;ve got some random events that can trigger at any moment to try to keep it somewhat exciting.  <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p></li></ul><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Onewing)</author>
		<pubDate>Mon, 29 Jun 2015 15:16:33 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Well done Onewing !<br />Can&#39;t wait to have all SH binaries ^^</p><p>Edit:<br />Mac Only ?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (GullRaDriel)</author>
		<pubDate>Mon, 29 Jun 2015 16:22:31 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/615499/1014395#target">GullRaDriel</a> said:</div><div class="quote"><p>Mac only</p></div></div><p>
For now...yes.  I have a PC at home too that I&#39;ll try to get a functioning windows build, but gonna have to spend family time tonight and got a big site launch tomorrow evening, so that will have to wait a bit.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Onewing)</author>
		<pubDate>Mon, 29 Jun 2015 23:53:16 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;ll wait for your build then ^^
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (GullRaDriel)</author>
		<pubDate>Tue, 30 Jun 2015 00:00:37 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>From the screenshot, looks like you put a lot of effort into the dialog.. Look forward to a windows version when you get around to it..
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (devo_au)</author>
		<pubDate>Tue, 30 Jun 2015 17:04:23 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I too am waiting for a windows binary. I tried building it with CB and MinGW but it fails to compile with several warnings and an error about not being able to find the arc4random function. Also, how do you compile .m files? Are those Obj-C?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Wed, 01 Jul 2015 07:13:09 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Yes, it&#39;s completely nonsensical but .m is an Objective-C file.  No idea how that will ever be able to be ported, I thought Obj-C was an Apple-only thing.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Bruce Pascoe)</author>
		<pubDate>Wed, 01 Jul 2015 07:15:05 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Yeah, I haven&#39;t been coding very much past few years and when I do, I&#39;m coding Objective-C for non-allegro projects in xcode.  I&#39;ve completely forgotten the make processes and how to do so.</p><p>Our site just launched, so I&#39;m going to eat some dinner and play around with getting a windows build for you guys.  Apologies for the delays!
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Onewing)</author>
		<pubDate>Wed, 01 Jul 2015 07:19:34 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Here&#39;s the full compile log for the *.cpp files at least :</p><div class="source-code"><div class="toolbar"><span class="button numbers"><b>#</b></span><span class="button select">Select</span><span class="button expand">Expand</span></div><div class="inner"><span class="number">   1</span>
<span class="number">   2</span>c:\ctwoplus\progcode\allegro5\SpeedHack2015entries\Elders_of_Ethos&gt;srclist.bat
<span class="number">   3</span>
<span class="number">   4</span>c:\ctwoplus\progcode\allegro5\SpeedHack2015entries\Elders_of_Ethos&gt;mingw32-g<span class="k3">+</span><span class="k3">+</span> <span class="k3">-</span>Wall <span class="k3">-</span>g <span class="k3">-</span>Ic:\mingw\LIBS\A5111distro\include <span class="k3">-</span>o EldersOfEthos.exe <span class="k3">-</span>Lc:\mingw\LIBS\A5111distro\lib <span class="k3">*</span>.cpp <span class="k3">-</span>lallegro_monolith-debug.dll
<span class="number">   5</span>game.cpp:426:2: warning: #warning <span class="s">"Currently skipping AI turns"</span> <span class="k2">[</span><span class="k3">-</span>Wcpp<span class="k2">]</span>
<span class="number">   6</span> <span class="p">#warning "Currently skipping AI turns"</span>
<span class="number">   7</span>  ^
<span class="number">   8</span>In file included from game.cpp:14:0:
<span class="number">   9</span>game.h:77:23: warning: defaulted <span class="k1">and</span> deleted functions only available with <span class="k3">-</span>std<span class="k3">=</span>c<span class="k3">+</span><span class="k3">+</span><span class="n">11</span> <span class="k1">or</span> <span class="k3">-</span>std<span class="k3">=</span>gnu<span class="k3">+</span><span class="k3">+</span><span class="n">11</span> <span class="k2">[</span>enabled by <span class="k1">default</span><span class="k2">]</span>
<span class="number">  10</span>     Game<span class="k2">(</span>Game <span class="k1">const</span><span class="k3">&amp;</span><span class="k2">)</span><span class="k3">=</span><span class="k1">delete</span><span class="k2">;</span>
<span class="number">  11</span>                       ^
<span class="number">  12</span>game.h:78:33: warning: defaulted <span class="k1">and</span> deleted functions only available with <span class="k3">-</span>std<span class="k3">=</span>c<span class="k3">+</span><span class="k3">+</span><span class="n">11</span> <span class="k1">or</span> <span class="k3">-</span>std<span class="k3">=</span>gnu<span class="k3">+</span><span class="k3">+</span><span class="n">11</span> <span class="k2">[</span>enabled by <span class="k1">default</span><span class="k2">]</span>
<span class="number">  13</span>     <span class="k1">void</span> <span class="k1">operator</span><span class="k3">=</span><span class="k2">(</span>Game <span class="k1">const</span><span class="k3">&amp;</span><span class="k2">)</span><span class="k3">=</span><span class="k1">delete</span><span class="k2">;</span>
<span class="number">  14</span>                                 ^
<span class="number">  15</span>game.cpp: In member function <span class="s">'void Game::ProcessCommand()'</span><span class="k2">:</span>
<span class="number">  16</span>game.cpp:226:24: warning: unused variable <span class="s">'from'</span> <span class="k2">[</span><span class="k3">-</span>Wunused-variable<span class="k2">]</span>
<span class="number">  17</span>         TRIBEPARAMETER from <span class="k3">=</span> this-&gt;currentTribe-&gt;FindParameterInUstrInRange<span class="k2">(</span>this-&gt;input, <span class="n">0</span>, <span class="k2">(</span><span class="k1">int</span><span class="k2">)</span><a href="http://www.allegro.cc/manual/al_ustr_length"><span class="a">al_ustr_length</span></a><span class="k2">(</span>this-&gt;input<span class="k2">)</span><span class="k2">)</span><span class="k2">;</span>
<span class="number">  18</span>                        ^
<span class="number">  19</span>In file included from main.cpp:15:0:
<span class="number">  20</span>game.h:77:23: warning: defaulted <span class="k1">and</span> deleted functions only available with <span class="k3">-</span>std<span class="k3">=</span>c<span class="k3">+</span><span class="k3">+</span><span class="n">11</span> <span class="k1">or</span> <span class="k3">-</span>std<span class="k3">=</span>gnu<span class="k3">+</span><span class="k3">+</span><span class="n">11</span> <span class="k2">[</span>enabled by <span class="k1">default</span><span class="k2">]</span>
<span class="number">  21</span>     Game<span class="k2">(</span>Game <span class="k1">const</span><span class="k3">&amp;</span><span class="k2">)</span><span class="k3">=</span><span class="k1">delete</span><span class="k2">;</span>
<span class="number">  22</span>                       ^
<span class="number">  23</span>game.h:78:33: warning: defaulted <span class="k1">and</span> deleted functions only available with <span class="k3">-</span>std<span class="k3">=</span>c<span class="k3">+</span><span class="k3">+</span><span class="n">11</span> <span class="k1">or</span> <span class="k3">-</span>std<span class="k3">=</span>gnu<span class="k3">+</span><span class="k3">+</span><span class="n">11</span> <span class="k2">[</span>enabled by <span class="k1">default</span><span class="k2">]</span>
<span class="number">  24</span>     <span class="k1">void</span> <span class="k1">operator</span><span class="k3">=</span><span class="k2">(</span>Game <span class="k1">const</span><span class="k3">&amp;</span><span class="k2">)</span><span class="k3">=</span><span class="k1">delete</span><span class="k2">;</span>
<span class="number">  25</span>                                 ^
<span class="number">  26</span>main.cpp: In function <span class="s">'int main(int, char**)'</span><span class="k2">:</span>
<span class="number">  27</span>main.cpp:25:11: warning: unused variable <span class="s">'bouncer_x'</span> <span class="k2">[</span><span class="k3">-</span>Wunused-variable<span class="k2">]</span>
<span class="number">  28</span>     <span class="k1">float</span> bouncer_x <span class="k3">=</span> <a href="http://www.allegro.cc/manual/SCREEN_W"><span class="a">SCREEN_W</span></a> <span class="k3">/</span> <span class="n">2</span>.<span class="n">0</span> <span class="k3">-</span> BOUNCER_SIZE <span class="k3">/</span> <span class="n">2</span>.<span class="n">0</span><span class="k2">;</span>
<span class="number">  29</span>           ^
<span class="number">  30</span>main.cpp:26:11: warning: unused variable <span class="s">'bouncer_y'</span> <span class="k2">[</span><span class="k3">-</span>Wunused-variable<span class="k2">]</span>
<span class="number">  31</span>     <span class="k1">float</span> bouncer_y <span class="k3">=</span> <a href="http://www.allegro.cc/manual/SCREEN_H"><span class="a">SCREEN_H</span></a> <span class="k3">/</span> <span class="n">2</span>.<span class="n">0</span> <span class="k3">-</span> BOUNCER_SIZE <span class="k3">/</span> <span class="n">2</span>.<span class="n">0</span><span class="k2">;</span>
<span class="number">  32</span>           ^
<span class="number">  33</span>main.cpp:27:11: warning: unused variable <span class="s">'bouncer_dx'</span> <span class="k2">[</span><span class="k3">-</span>Wunused-variable<span class="k2">]</span>
<span class="number">  34</span>     <span class="k1">float</span> bouncer_dx <span class="k3">=</span> <span class="k3">-</span><span class="n">4</span>.<span class="n">0</span>, bouncer_dy <span class="k3">=</span> <span class="n">4</span>.<span class="n">0</span><span class="k2">;</span>
<span class="number">  35</span>           ^
<span class="number">  36</span>main.cpp:27:30: warning: unused variable <span class="s">'bouncer_dy'</span> <span class="k2">[</span><span class="k3">-</span>Wunused-variable<span class="k2">]</span>
<span class="number">  37</span>     <span class="k1">float</span> bouncer_dx <span class="k3">=</span> <span class="k3">-</span><span class="n">4</span>.<span class="n">0</span>, bouncer_dy <span class="k3">=</span> <span class="n">4</span>.<span class="n">0</span><span class="k2">;</span>
<span class="number">  38</span>                              ^
<span class="number">  39</span>In file included from message.cpp:10:0:
<span class="number">  40</span>game.h:77:23: warning: defaulted <span class="k1">and</span> deleted functions only available with <span class="k3">-</span>std<span class="k3">=</span>c<span class="k3">+</span><span class="k3">+</span><span class="n">11</span> <span class="k1">or</span> <span class="k3">-</span>std<span class="k3">=</span>gnu<span class="k3">+</span><span class="k3">+</span><span class="n">11</span> <span class="k2">[</span>enabled by <span class="k1">default</span><span class="k2">]</span>
<span class="number">  41</span>     Game<span class="k2">(</span>Game <span class="k1">const</span><span class="k3">&amp;</span><span class="k2">)</span><span class="k3">=</span><span class="k1">delete</span><span class="k2">;</span>
<span class="number">  42</span>                       ^
<span class="number">  43</span>game.h:78:33: warning: defaulted <span class="k1">and</span> deleted functions only available with <span class="k3">-</span>std<span class="k3">=</span>c<span class="k3">+</span><span class="k3">+</span><span class="n">11</span> <span class="k1">or</span> <span class="k3">-</span>std<span class="k3">=</span>gnu<span class="k3">+</span><span class="k3">+</span><span class="n">11</span> <span class="k2">[</span>enabled by <span class="k1">default</span><span class="k2">]</span>
<span class="number">  44</span>     <span class="k1">void</span> <span class="k1">operator</span><span class="k3">=</span><span class="k2">(</span>Game <span class="k1">const</span><span class="k3">&amp;</span><span class="k2">)</span><span class="k3">=</span><span class="k1">delete</span><span class="k2">;</span>
<span class="number">  45</span>                                 ^
<span class="number">  46</span>In file included from parameter.cpp:11:0:
<span class="number">  47</span>game.h:77:23: warning: defaulted <span class="k1">and</span> deleted functions only available with <span class="k3">-</span>std<span class="k3">=</span>c<span class="k3">+</span><span class="k3">+</span><span class="n">11</span> <span class="k1">or</span> <span class="k3">-</span>std<span class="k3">=</span>gnu<span class="k3">+</span><span class="k3">+</span><span class="n">11</span> <span class="k2">[</span>enabled by <span class="k1">default</span><span class="k2">]</span>
<span class="number">  48</span>     Game<span class="k2">(</span>Game <span class="k1">const</span><span class="k3">&amp;</span><span class="k2">)</span><span class="k3">=</span><span class="k1">delete</span><span class="k2">;</span>
<span class="number">  49</span>                       ^
<span class="number">  50</span>game.h:78:33: warning: defaulted <span class="k1">and</span> deleted functions only available with <span class="k3">-</span>std<span class="k3">=</span>c<span class="k3">+</span><span class="k3">+</span><span class="n">11</span> <span class="k1">or</span> <span class="k3">-</span>std<span class="k3">=</span>gnu<span class="k3">+</span><span class="k3">+</span><span class="n">11</span> <span class="k2">[</span>enabled by <span class="k1">default</span><span class="k2">]</span>
<span class="number">  51</span>     <span class="k1">void</span> <span class="k1">operator</span><span class="k3">=</span><span class="k2">(</span>Game <span class="k1">const</span><span class="k3">&amp;</span><span class="k2">)</span><span class="k3">=</span><span class="k1">delete</span><span class="k2">;</span>
<span class="number">  52</span>                                 ^
<span class="number">  53</span>In file included from particle.cpp:13:0:
<span class="number">  54</span>game.h:77:23: warning: defaulted <span class="k1">and</span> deleted functions only available with <span class="k3">-</span>std<span class="k3">=</span>c<span class="k3">+</span><span class="k3">+</span><span class="n">11</span> <span class="k1">or</span> <span class="k3">-</span>std<span class="k3">=</span>gnu<span class="k3">+</span><span class="k3">+</span><span class="n">11</span> <span class="k2">[</span>enabled by <span class="k1">default</span><span class="k2">]</span>
<span class="number">  55</span>     Game<span class="k2">(</span>Game <span class="k1">const</span><span class="k3">&amp;</span><span class="k2">)</span><span class="k3">=</span><span class="k1">delete</span><span class="k2">;</span>
<span class="number">  56</span>                       ^
<span class="number">  57</span>game.h:78:33: warning: defaulted <span class="k1">and</span> deleted functions only available with <span class="k3">-</span>std<span class="k3">=</span>c<span class="k3">+</span><span class="k3">+</span><span class="n">11</span> <span class="k1">or</span> <span class="k3">-</span>std<span class="k3">=</span>gnu<span class="k3">+</span><span class="k3">+</span><span class="n">11</span> <span class="k2">[</span>enabled by <span class="k1">default</span><span class="k2">]</span>
<span class="number">  58</span>     <span class="k1">void</span> <span class="k1">operator</span><span class="k3">=</span><span class="k2">(</span>Game <span class="k1">const</span><span class="k3">&amp;</span><span class="k2">)</span><span class="k3">=</span><span class="k1">delete</span><span class="k2">;</span>
<span class="number">  59</span>                                 ^
<span class="number">  60</span>particle.cpp: In constructor <span class="s">'Particle::Particle(PARTICLESPIRIT)'</span><span class="k2">:</span>
<span class="number">  61</span>particle.cpp:16:26: error: <span class="s">'arc4random'</span> was <span class="k1">not</span> declared in <span class="k1">this</span> scope
<span class="number">  62</span>     this-&gt;x <span class="k3">=</span> arc4random<span class="k2">(</span><span class="k2">)</span> % <a href="http://www.allegro.cc/manual/SCREEN_W"><span class="a">SCREEN_W</span></a><span class="k2">;</span>
<span class="number">  63</span>                          ^
<span class="number">  64</span>particle.cpp: In member function <span class="s">'void Particle::Draw()'</span><span class="k2">:</span>
<span class="number">  65</span>particle.cpp:68:105: error: <span class="s">'arc4random'</span> was <span class="k1">not</span> declared in <span class="k1">this</span> scope
<span class="number">  66</span>         <a href="http://www.allegro.cc/manual/al_draw_filled_circle"><span class="a">al_draw_filled_circle</span></a><span class="k2">(</span>this-&gt;x-this-&gt;dx<span class="k3">*</span><span class="n">4</span>, this-&gt;y-this-&gt;dy<span class="k3">*</span><span class="n">4</span>, this-&gt;size, <a href="http://www.allegro.cc/manual/al_map_rgb"><span class="a">al_map_rgb</span></a><span class="k2">(</span>arc4random<span class="k2">(</span><span class="k2">)</span> % <span class="n">20</span> <span class="k3">+</span> <span class="n">235</span>, arc4random<span class="k2">(</span><span class="k2">)</span> % <span class="n">20</span> <span class="k3">+</span> <span class="n">235</span>, arc4random<span class="k2">(</span><span class="k2">)</span> % <span class="n">20</span> <span class="k3">+</span> <span class="n">235</span><span class="k2">)</span><span class="k2">)</span><span class="k2">;</span>
<span class="number">  67</span>                                                                                                         ^
<span class="number">  68</span>particleengine.cpp: In member function <span class="s">'void ParticleEngine::Update(int, int, int)'</span><span class="k2">:</span>
<span class="number">  69</span>particleengine.cpp:58:102: error: <span class="s">'arc4random'</span> was <span class="k1">not</span> declared in <span class="k1">this</span> scope
<span class="number">  70</span>     <span class="k1">if</span><span class="k2">(</span>this-&gt;count <span class="k3">&lt;</span> <span class="k2">(</span>maxCount <span class="k3">+</span> ghosts <span class="k3">+</span> angels<span class="k2">)</span> <span class="k3">&amp;</span><span class="k3">&amp;</span> this-&gt;count <span class="k3">&lt;</span> MAX_PARTICLES <span class="k3">&amp;</span><span class="k3">&amp;</span> <span class="k2">(</span><span class="k1">int</span><span class="k2">)</span><span class="k2">(</span>arc4random<span class="k2">(</span><span class="k2">)</span> % <span class="n">100</span><span class="k2">)</span> <span class="k3">&gt;</span><span class="k3">=</span> <span class="n">80</span><span class="k2">)</span> <span class="k2">{</span>
<span class="number">  71</span>                                                                                                      ^
<span class="number">  72</span>In file included from plane.cpp:10:0:
<span class="number">  73</span>game.h:77:23: warning: defaulted <span class="k1">and</span> deleted functions only available with <span class="k3">-</span>std<span class="k3">=</span>c<span class="k3">+</span><span class="k3">+</span><span class="n">11</span> <span class="k1">or</span> <span class="k3">-</span>std<span class="k3">=</span>gnu<span class="k3">+</span><span class="k3">+</span><span class="n">11</span> <span class="k2">[</span>enabled by <span class="k1">default</span><span class="k2">]</span>
<span class="number">  74</span>     Game<span class="k2">(</span>Game <span class="k1">const</span><span class="k3">&amp;</span><span class="k2">)</span><span class="k3">=</span><span class="k1">delete</span><span class="k2">;</span>
<span class="number">  75</span>                       ^
<span class="number">  76</span>game.h:78:33: warning: defaulted <span class="k1">and</span> deleted functions only available with <span class="k3">-</span>std<span class="k3">=</span>c<span class="k3">+</span><span class="k3">+</span><span class="n">11</span> <span class="k1">or</span> <span class="k3">-</span>std<span class="k3">=</span>gnu<span class="k3">+</span><span class="k3">+</span><span class="n">11</span> <span class="k2">[</span>enabled by <span class="k1">default</span><span class="k2">]</span>
<span class="number">  77</span>     <span class="k1">void</span> <span class="k1">operator</span><span class="k3">=</span><span class="k2">(</span>Game <span class="k1">const</span><span class="k3">&amp;</span><span class="k2">)</span><span class="k3">=</span><span class="k1">delete</span><span class="k2">;</span>
<span class="number">  78</span>                                 ^
<span class="number">  79</span>In file included from tribe.h:13:0,
<span class="number">  80</span>                 from tribe.cpp:12:
<span class="number">  81</span>game.h:77:23: warning: defaulted <span class="k1">and</span> deleted functions only available with <span class="k3">-</span>std<span class="k3">=</span>c<span class="k3">+</span><span class="k3">+</span><span class="n">11</span> <span class="k1">or</span> <span class="k3">-</span>std<span class="k3">=</span>gnu<span class="k3">+</span><span class="k3">+</span><span class="n">11</span> <span class="k2">[</span>enabled by <span class="k1">default</span><span class="k2">]</span>
<span class="number">  82</span>     Game<span class="k2">(</span>Game <span class="k1">const</span><span class="k3">&amp;</span><span class="k2">)</span><span class="k3">=</span><span class="k1">delete</span><span class="k2">;</span>
<span class="number">  83</span>                       ^
<span class="number">  84</span>game.h:78:33: warning: defaulted <span class="k1">and</span> deleted functions only available with <span class="k3">-</span>std<span class="k3">=</span>c<span class="k3">+</span><span class="k3">+</span><span class="n">11</span> <span class="k1">or</span> <span class="k3">-</span>std<span class="k3">=</span>gnu<span class="k3">+</span><span class="k3">+</span><span class="n">11</span> <span class="k2">[</span>enabled by <span class="k1">default</span><span class="k2">]</span>
<span class="number">  85</span>     <span class="k1">void</span> <span class="k1">operator</span><span class="k3">=</span><span class="k2">(</span>Game <span class="k1">const</span><span class="k3">&amp;</span><span class="k2">)</span><span class="k3">=</span><span class="k1">delete</span><span class="k2">;</span>
<span class="number">  86</span>                                 ^
<span class="number">  87</span>tribe.cpp: In member function <span class="s">'void Tribe::KillRandomSpirit()'</span><span class="k2">:</span>
<span class="number">  88</span>tribe.cpp:102:24: error: <span class="s">'arc4random'</span> was <span class="k1">not</span> declared in <span class="k1">this</span> scope
<span class="number">  89</span>         <span class="k1">if</span><span class="k2">(</span><span class="k2">(</span>arc4random<span class="k2">(</span><span class="k2">)</span> % <span class="n">100</span> <span class="k3">&lt;</span> <span class="n">20</span> <span class="k3">|</span><span class="k3">|</span> breakOut <span class="k3">&gt;</span> <span class="n">100</span><span class="k2">)</span> <span class="k3">&amp;</span><span class="k3">&amp;</span> this-&gt;purity-&gt;spirits <span class="k3">&gt;</span> <span class="n">0</span><span class="k2">)</span> <span class="k2">{</span>
<span class="number">  90</span>                        ^
<span class="number">  91</span>tribe.cpp: In member function <span class="s">'bool Tribe::RandomlyDetermineUnwillingSpirit()'</span><span class="k2">:</span>
<span class="number">  92</span>tribe.cpp:145:29: error: <span class="s">'arc4random'</span> was <span class="k1">not</span> declared in <span class="k1">this</span> scope
<span class="number">  93</span>     <span class="k1">int</span> choose <span class="k3">=</span> arc4random<span class="k2">(</span><span class="k2">)</span> % <span class="n">50</span><span class="k2">;</span>
<span class="number">  94</span>                             ^
<span class="number">  95</span>tribe.cpp: In member function <span class="s">'void Tribe::UpdateEnergy()'</span><span class="k2">:</span>
<span class="number">  96</span>tribe.cpp:344:43: error: <span class="s">'arc4random'</span> was <span class="k1">not</span> declared in <span class="k1">this</span> scope
<span class="number">  97</span>         this-&gt;energy-&gt;stock <span class="k3">-</span><span class="k3">=</span> arc4random<span class="k2">(</span><span class="k2">)</span> % <span class="n">10</span><span class="k2">;</span>
<span class="number">  98</span>                                           ^
<span class="number">  99</span>tribe.cpp: In member function <span class="s">'void Tribe::UpdateMeditation()'</span><span class="k2">:</span>
<span class="number"> 100</span>tribe.cpp:359:47: error: <span class="s">'arc4random'</span> was <span class="k1">not</span> declared in <span class="k1">this</span> scope
<span class="number"> 101</span>         this-&gt;meditation-&gt;stock <span class="k3">-</span><span class="k3">=</span> arc4random<span class="k2">(</span><span class="k2">)</span> % <span class="n">10</span><span class="k2">;</span>
<span class="number"> 102</span>                                               ^
<span class="number"> 103</span>tribe.cpp: In member function <span class="s">'void Tribe::UpdateGuidance()'</span><span class="k2">:</span>
<span class="number"> 104</span>tribe.cpp:374:45: error: <span class="s">'arc4random'</span> was <span class="k1">not</span> declared in <span class="k1">this</span> scope
<span class="number"> 105</span>         this-&gt;guidance-&gt;stock <span class="k3">-</span><span class="k3">=</span> arc4random<span class="k2">(</span><span class="k2">)</span> % <span class="n">10</span><span class="k2">;</span>
<span class="number"> 106</span>                                             ^
<span class="number"> 107</span>tribe.cpp: In member function <span class="s">'const char* Tribe::DetermineEvent()'</span><span class="k2">:</span>
<span class="number"> 108</span>tribe.cpp:601:29: error: <span class="s">'arc4random'</span> was <span class="k1">not</span> declared in <span class="k1">this</span> scope
<span class="number"> 109</span>     <span class="k1">int</span> choose <span class="k3">=</span> arc4random<span class="k2">(</span><span class="k2">)</span> % range<span class="k2">;</span>
<span class="number"> 110</span>                             ^
<span class="number"> 111</span>tribe.cpp: In member function <span class="s">'const char* Tribe::ProcessEvent(EventChance*)'</span><span class="k2">:</span>
<span class="number"> 112</span>tribe.cpp:629:33: error: <span class="s">'arc4random'</span> was <span class="k1">not</span> declared in <span class="k1">this</span> scope
<span class="number"> 113</span>             deaths <span class="k3">=</span> arc4random<span class="k2">(</span><span class="k2">)</span> % <span class="n">4</span> <span class="k3">+</span> <span class="n">1</span><span class="k2">;</span>
<span class="number"> 114</span>                                 ^
<span class="number"> 115</span>
<span class="number"> 116</span>c:\ctwoplus\progcode\allegro5\SpeedHack2015entries\Elders_of_Ethos&gt;echo off
<span class="number"> 117</span>
<span class="number"> 118</span>c:\ctwoplus\progcode\allegro5\SpeedHack2015entries\Elders_of_Ethos&gt;
</div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Wed, 01 Jul 2015 07:34:07 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Little progress, but I&#39;m (obviously) going to have to get allegro 5 installed on a windows machine.  My PC is not connected to the internet and is running Windows XP.  I&#39;ll have better luck on my work machine which can dual boot to windows.  Got to refresh up on makefiles, so that&#39;s good. <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" /></p><p>Fortunately, the only error I&#39;m seeing from Edgar&#39;s post is regarding arc4random, which will just need the right include file most likely.  The warnings don&#39;t look too concerning.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Onewing)</author>
		<pubDate>Wed, 01 Jul 2015 11:06:24 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I tried compiling on clang but realized I needed to for solve Cocoa and ended up getting distracted on Facebook. #windowsbuild
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Mark Oates)</author>
		<pubDate>Wed, 01 Jul 2015 13:32:27 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>FYI, the two .m files (ViewController.m and main.m) can be deleted and are not required for building.  I deleted them (apparently, just the reference) from the project and never touched/saw them again, but accidentally blindly copied them into the source I uploaded.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Onewing)</author>
		<pubDate>Wed, 01 Jul 2015 19:49:51 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>So I&#39;ve created a build. I had to make a few modifications.</p><h3>modifications</h3><p>
</p><div class="spoiler"><p>
</p><h3>1</h3><p>
I created a replacement for the arc4random() function, just using rand()
</p><div class="source-code snippet"><div class="inner"><pre><span class="p">#include &lt;time.h&gt;</span>
<span class="p">#include &lt;stdlib.h&gt;</span>

<span class="k1">int</span> arc4random<span class="k2">(</span><span class="k2">)</span>
<span class="k2">{</span>
  <span class="k1">static</span> <span class="k1">bool</span> initialized <span class="k3">=</span> <span class="k1">false</span><span class="k2">;</span>
  <span class="k1">if</span> <span class="k2">(</span><span class="k3">!</span>initialized<span class="k2">)</span> <span class="k2">{</span> <a href="http://www.delorie.com/djgpp/doc/libc/libc_739.html" target="_blank">srand</a><span class="k2">(</span><a href="http://www.delorie.com/djgpp/doc/libc/libc_821.html" target="_blank">time</a><span class="k2">(</span><span class="n">0</span><span class="k2">)</span><span class="k2">)</span><span class="k2">;</span> initialized <span class="k3">=</span> <span class="k1">true</span><span class="k2">;</span> <span class="k2">}</span>

  <span class="k1">return</span> <a href="http://www.delorie.com/djgpp/doc/libc/libc_637.html" target="_blank">rand</a><span class="k2">(</span><span class="k2">)</span><span class="k2">;</span>
<span class="k2">}</span>
</pre></div></div><p>
</p><h3>2</h3><p>
Added the *.wav files into the resources file (the game would crash without them).
</p><h3>3</h3><p>
Took out the unnecessary .m files.
</p><h3>4</h3><p>
Compiled with <span class="source-code"><span class="k3">-</span>std<span class="k3">=</span>gnu<span class="k3">+</span><span class="k3">+</span><span class="n">11</span></span>
</p><h3>5</h3><p>
Added <span class="source-code"><span class="p">#include "allegro5/allegro_primitives.h"</span></span> and <span class="source-code"><a href="http://www.allegro.cc/manual/al_init_primitives_addon"><span class="a">al_init_primitives_addon</span></a><span class="k2">(</span><span class="k2">)</span></span> in <span class="source-code">main.cpp</span>.  The game was crashing without the addon being initialized.
</p><h3>6</h3><p>
Had to go hunt down <span class="source-code">chintzy.ttf</span> on the internet, and put it in the root folder.  The font rendering appears different than in your screenshot, I&#39;m not sure what the cause of this is.  A result is that the fonts are quite a bit more difficult to read.  It&#39;s possible that I grabbed an older version of <span class="source-code">chintzy.ttf</span> that doesn&#39;t render as well.<br /><span class="remote-thumbnail"><span class="json">{"name":"609560","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/3\/e\/3e9951383b82d2eed478b3d5b645e0f1.png","w":838,"h":662,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/3\/e\/3e9951383b82d2eed478b3d5b645e0f1"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/3/e/3e9951383b82d2eed478b3d5b645e0f1-240.jpg" alt="609560" width="240" height="189" /></span>
</p><h3>7</h3><p>
I did my make like this
</p><pre>
CPP_FILES := $(wildcard *.cpp)
OBJ_FILES := $(addprefix obj/,$(notdir $(CPP_FILES:.cpp=.o)))

main.exe: $(OBJ_FILES)
	g++ -o $@ $^ -LE:/allegro-5.1.11-mingw-edgar/lib -lallegro_monolith-debug.dll

obj/%.o: %.cpp
	g++ -std=gnu++11 -c -o $@ $&lt; -IE:/allegro-5.1.11-mingw-edgar/include
</pre><p>
</p></div><p>
</p><h3>conclusion</h3><p>
I haven&#39;t played the game through, yet, but I&#39;m assuming it will work to the end. Here&#39;s the binary (including the DLLs).</p><p><a href="http://acc.zeoxdesign.com/Elders_of_Ethos_-_win32_-_02.zip">Elders of Ethos - Win32</a></p><p>And here&#39;s the revised source and makefile I used:</p><p><a href="http://acc.zeoxdesign.com/Elders_of_Ethos_-_revised_source_for_win32_-_02.zip">EoE - revised source</a>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Mark Oates)</author>
		<pubDate>Fri, 03 Jul 2015 06:29:57 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Got it compiled, and after 1 false start, I managed to win it. That was pretty fun! By the way, you&#39;re missing the font (I had to substitute it with a different font without issue).</p><p>This is another game that could have used the backspace key <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Fri, 03 Jul 2015 06:32:16 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/615499/1014626#target">Mark Oates</a> said:</div><div class="quote"><p> It&#39;s possible that I grabbed an older version of chintzy.ttf that doesn&#39;t render as well.</p></div></div><p>Sure enough <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" /></p><p>I downloaded the <span class="source-code">chintzy.ttf</span> font from another website and it was a newer verion.  It renders much more nicely now.<br /><span class="remote-thumbnail"><span class="json">{"name":"609561","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/2\/4\/24642286653b61209b05da0a93ac2482.png","w":842,"h":662,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/2\/4\/24642286653b61209b05da0a93ac2482"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/2/4/24642286653b61209b05da0a93ac2482-240.jpg" alt="609561" width="240" height="188" /></span><br />I&#39;ve updated the downloads to include the new font.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Mark Oates)</author>
		<pubDate>Fri, 03 Jul 2015 06:48:29 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Oates, your first download link gives a 404 not found error. The second source link works though.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Fri, 03 Jul 2015 10:21:47 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;ll have to try this now.  The screenshots look very 90s-retro (that&#39;s a good thing). Like a Wolfenstein 3D-era DOS game. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Bruce Pascoe)</author>
		<pubDate>Fri, 03 Jul 2015 11:59:31 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/615499/1014637#target">Edgar Reynaldo</a> said:</div><div class="quote"><p>Oates, your first download link gives a 404 not found error. The second source link works though.</p></div></div><p>Yikes! Sorry about that.  Fixed now.  Here&#39;s that link again:</p><p><a href="http://acc.zeoxdesign.com/Elders_of_Ethos_-_win32_-_02.zip">Elders of Ethos - Win32</a>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Mark Oates)</author>
		<pubDate>Fri, 03 Jul 2015 12:08:25 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/615499/1014627#target">SiegeLord</a> said:</div><div class="quote"><p>
This is another game that could have used the backspace key <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />.
</p></div></div><p>
Yes!</p><p>That aside it was a nice polished entry. A bit monotone but it&#39;s not crashing and the ambiance is cool :-)</p><p>Thanks Mark for the Windows build ;-)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (GullRaDriel)</author>
		<pubDate>Fri, 03 Jul 2015 13:19:42 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Mark: On the subject of arc4random, I don&#39;t think your implementation is strictly correct
</p><div class="source-code snippet"><div class="inner"><pre><span class="k1">int</span> arc4random<span class="k2">(</span><span class="k2">)</span>
<span class="k2">{</span>
  <a href="http://www.delorie.com/djgpp/doc/libc/libc_739.html" target="_blank">srand</a><span class="k2">(</span><a href="http://www.delorie.com/djgpp/doc/libc/libc_821.html" target="_blank">time</a><span class="k2">(</span><span class="n">0</span><span class="k2">)</span><span class="k2">)</span><span class="k2">;</span>
  <span class="k1">return</span> <a href="http://www.delorie.com/djgpp/doc/libc/libc_637.html" target="_blank">rand</a><span class="k2">(</span><span class="k2">)</span><span class="k2">;</span>
<span class="k2">}</span>
</pre></div></div><p>
Reason (from <a href="http://en.cppreference.com/w/cpp/numeric/random/srand">cppreference</a>)
</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Generally speaking, the pseudo-random number generator should only be seeded once, before any calls to rand(), and the start of the program. It should not be repeatedly seeded, or reseeded every time you wish to generate a new batch of pseudo-random numbers. </p></div></div><p>
I think it actually doesn&#39;t matter here because the time between each of the user&#39;s entries is going to be random anyway.<br />Since we&#39;re in C++11, might as well use &lt;random&gt;:
</p><div class="source-code snippet"><div class="inner"><pre><span class="p">#include &lt;random&gt;</span>
<span class="p">#include &lt;stdint.h&gt;</span>

<span class="k1">static</span> std::uniform_int_distribution<span class="k3">&lt;</span>uint32_t&gt; uni<span class="k2">;</span>
<span class="k1">static</span> std::default_random_engine engine<span class="k2">;</span>

<span class="k1">uint32_t</span> arc4random<span class="k2">(</span><span class="k2">)</span> <span class="k2">{</span>
  <span class="k1">return</span> uni<span class="k2">(</span>engine<span class="k2">)</span><span class="k2">;</span>
<span class="k2">}</span>
</pre></div></div><p>

Onewing: I&#39;ve got a Linux makefile if you want.</p><p>Cheers,<br />Pete
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Peter Hull)</author>
		<pubDate>Fri, 03 Jul 2015 13:50:39 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/615499/1014647#target">Peter Hull</a> said:</div><div class="quote"><p>Mark: On the subject of arc4random, I don&#39;t think your implementation is strictly correct</p></div></div><p>You are correct, it isn&#39;t.  I wasn&#39;t in the business of creating the ideal PRNG, just make a random number generator and make it work.  My implementation of <span class="source-code">arc4random<span class="k2">(</span><span class="k2">)</span></span> doesn&#39;t meet the specification of the original <span class="source-code">arc4random<span class="k2">(</span><span class="k2">)</span></span> (return <span class="source-code"><span class="k1">uint32_t</span></span> for example), but it <i>does</i> adequately meet the requirements of its use case in the game.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Mark Oates)</author>
		<pubDate>Fri, 03 Jul 2015 14:23:49 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/615499/1014648#target">Mark Oates</a> said:</div><div class="quote"><p>  but it does adequately meet the requirements of its use case in the game. 
</p></div></div><p>Well, yes and no. On my Linux it makes the particles go all in a line - and maybe affects the gameplay too, I couldn&#39;t tell.<br /><span class="remote-thumbnail"><span class="json">{"name":"609564","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/2\/5\/258550c9e7f0d5b59382a8404ea08a63.jpg","w":1600,"h":1200,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/2\/5\/258550c9e7f0d5b59382a8404ea08a63"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/2/5/258550c9e7f0d5b59382a8404ea08a63-240.jpg" alt="609564" width="240" height="180" /></span>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Peter Hull)</author>
		<pubDate>Fri, 03 Jul 2015 15:21:39 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Interesting. <img src="http://www.allegro.cc/forums/smileys/undecided.gif" alt=":-/" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Mark Oates)</author>
		<pubDate>Fri, 03 Jul 2015 15:51:47 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Spent 20 minutes getting 10 from purity to the top. Had some weird <span class="cuss"><span><span class="cuss"><span>shit</span></span></span></span> going on with meditation requiring every follower to rest at one point before stabilising and moving them back to other disciplines. Good speedhack entry, well done.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (devo_au)</author>
		<pubDate>Fri, 03 Jul 2015 16:45:38 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Aha! I see the definition of arc4random you gave in <a href="https://www.allegro.cc/forums/thread/615499/1014626#target">your spoiler</a> isn&#39;t the same as I found in your source zip file; with the addition of the <span class="source-code"><span class="k1">if</span> <span class="k2">(</span><span class="k3">!</span>initialized<span class="k2">)</span></span> bit, yes, I agree, it should work perfectly fine!<br />Cheers,<br />pete
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Peter Hull)</author>
		<pubDate>Fri, 03 Jul 2015 17:26:23 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/615499/1014656#target">Peter Hull</a> said:</div><div class="quote"><p>Aha! I see the definition of arc4random you gave in your spoiler isn&#39;t the same as I found in your source zip file</p></div></div><p>caught. <img src="http://www.allegro.cc/forums/smileys/cool.gif" alt="8-)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Mark Oates)</author>
		<pubDate>Fri, 03 Jul 2015 17:32:53 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I just did <tt>sed -i&#39;&#39; &#39;s/arc4random/rand/g&#39; *.cpp</tt>.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Fri, 03 Jul 2015 21:11:20 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I liked this entry, but it crashed several times (Using Mark&#39;s Windows binary). Also sometimes energy got depleted within a turn I think.</p><p>[edit:] And I didn&#39;t seen any particle effects at all...
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Elias)</author>
		<pubDate>Sat, 04 Jul 2015 01:46:51 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Yeah, I had a few crashes too. I learned not to press any unnecessary buttons, and it worked ok. It&#39;s a bit mysterious how the energy and meditation levels work: running out of energy was how I lost the first time. My winning strategy was to ignore the calls to promote spirits and instead put as many spirits into guidance until I had 70-80&#39;ish spirits, with about 50 in guidance. Then I promoted all the extra ghosts and had plenty of reserves to just dump into energy if it budged from the max.</p><p>This entry really gave me Master Of Orion vibes, where you had to fiddle with the planet&#39;s meters. Even though this is a simple entry, I really liked the atmosphere it gave.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Sat, 04 Jul 2015 02:38:39 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="https://www.allegro.cc/forums/thread/615499/1014663#target">SiegeLord</a> said:</div><div class="quote"><p>
I just did <tt>sed -i&#39;&#39; &#39;s/arc4random/rand/g&#39; *.cpp</tt>.
</p></div></div><p>

That shouldn&#39;t work. <img src="http://www.allegro.cc/forums/smileys/undecided.gif" alt=":-/" /> The shell should remove the <tt>&#39;&#39;</tt> following the <tt>-i</tt> and the <tt>s///</tt> would be interpreted as a file name. You probably want <tt>-i -e</tt> instead. <img src="http://www.allegro.cc/forums/smileys/angry.gif" alt="&gt;:(" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (bamccaig)</author>
		<pubDate>Sat, 04 Jul 2015 03:21:31 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Sounds like somebody needs to RTFM more often <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Sat, 04 Jul 2015 04:39:26 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>#bamslam
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Mark Oates)</author>
		<pubDate>Sat, 04 Jul 2015 06:33:01 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;ll concede that it appears to work, but I can&#39;t imagine how... Please enlighten me if you know.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (bamccaig)</author>
		<pubDate>Sat, 04 Jul 2015 07:02:48 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Thanks, Mark Oates, for getting a build for everybody to play with.  </p><p>I finally created the official binary based off your findings (updated OP with link).  I made this compatible with Visual Studio 2012 using some of your findings + a few other things that Studio complained about.  </p><p>I did all my work on a repo that I&#39;ve opened up:  <a href="https://bitbucket.org/ssilvey/eldersofethos/overview">Elders of Ethos Repo</a></p><p>I created a tag of the exact code snapshot that I submitted as well as a tag for the official Visual Studio 2012 compliant build.  If you review all the commits to the windows_compatibility branch, you can see each step I took to get to that latter tag.  </p><p>Please try out the new binary and let me know if I&#39;m missing any dll&#39;s:  <a href="http://www.solo-games.org/games/eldersofethos/elders_of_ethos.zip">Elders of Ethos - Version 1.1</a></p><p><b>=== And lastly, some side notes===</b>
</p><ul><li><p>You can press the Up key to cycle through previously input commands</p></li><li><p>I did program the BACKSPACE function...for a Mac keyboard.  In windows, this seems to map to the DELETE key.  <img src="http://www.allegro.cc/forums/smileys/sad.gif" alt=":(" /></p></li><li><p>There is a crash that I didn&#39;t solve in time if you press two arrow keys at the same time (or close to the same time).  This is probably the root of other crashes as well.</p></li><li><p>If you are not getting particles in the background, that&#39;s concerning.  The windows build I just uploaded has them fine.</p></li><li><p>To get the annoying sound, put all your spirits to guidance and proceed until ghosts fill up the game.  They make the sound (and flash white as particles in the background)</p></li><li><p>If you get angels, you will start to see them appear as white spirit-particles in the background.  This apparently is less frequent than I intended, so you might have to wait a bit.</p></li><li><p>I was going to have all the levels of <a href="https://en.wikipedia.org/wiki/Maslow%27s_hierarchy_of_needs">The Hierarcy of Needs</a>, but I didn&#39;t make it in time and cut out the planes I couldn&#39;t get to.</p></li><li><p>I was going to have other tribes that were doing the same thing as you and you could see their progress, as well as trade with them or potentially send spirits to slow them down if they were getting ahead of you.</p></li><li><p>My main objective was I wanted the user to feel out where to put spirits based on game feedback, but since I didn&#39;t get the rest in, this usually just takes a single play through to figure out.  I&#39;ve got some random events that can trigger at any moment to try to keep it somewhat exciting.  <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p></li></ul><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Onewing)</author>
		<pubDate>Sat, 04 Jul 2015 09:49:59 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Re: Backspace: I looked at the code and your check for backspace is weird: You handle KEY_CHAR and test for e.keyboard.unichar == 127.  What you should do instead is check if e.keyboard.keycode == ALLEGRO_KEY_BACKSPACE.  That&#39;s a more reliable check and easier to read as well.</p><p>Trivia: ASCII 127 is actually the control code for Delete, Backspace is ASCII 8.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Bruce Pascoe)</author>
		<pubDate>Sat, 04 Jul 2015 20:21:03 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Thanks, Bruce.  I was just printing out the codes to the console of what I typed and 127 is what came back (for a Mac wireless keyboard for where the backspace is).  Had I made it over to Windows in time, it would&#39;ve been a 5 minute &quot;oh duh&quot; moment.  <img src="http://www.allegro.cc/forums/smileys/cool.gif" alt="8-)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Onewing)</author>
		<pubDate>Sat, 04 Jul 2015 23:55:25 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Interesting: the game responds to &#39;Delete&#39; but not &#39;Backspace&#39;. Allegro portability issue? (Will post more comments later when I&#39;ve played it more.)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Bruce Perry)</author>
		<pubDate>Tue, 07 Jul 2015 21:07:34 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>No, it&#39;s because delete and backspace are two different keys you have to deal with when building your keyboard management.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (GullRaDriel)</author>
		<pubDate>Tue, 07 Jul 2015 23:07:44 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Very well presented. Good work on that front!</p><p>I found the gameplay a little unforgiving the first time I played. It seemed as if my attempts to restore energy and whatever else was running out were too little, too late, and I didn&#39;t have enough people to recover. I restarted and did better the next time, and then it was a bit too easy. Once I had to do sequences of at least three instructions (at least one free, then promote and purity) over and over, it became a bit tedious. These seem like things that could be fixed if there is more time to spend on gameplay design, and what you&#39;ve done is pretty good for a SpeedHack <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/615499/1014775#target">GullRaDriel</a> said:</div><div class="quote"><p>No, it&#39;s because delete and backspace are two different keys you have to deal with when building your keyboard management.</p></div></div><p>
I know that, but are you telling me you expect Onewing to have programmed Delete rather than Backspace and not noticed it was strange? It seems more likely to me that whatever works on the Mac behaves differently on the PC, which in my view is a bug in Allegro whereby the key codes aren&#39;t matched up correctly across the two platforms. Or that Mac users honestly expect to be pressing different keys, which seems less likely.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Bruce Perry)</author>
		<pubDate>Wed, 08 Jul 2015 02:14:42 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I agree, backspace should send ASCII 8. This is not technically a bug in Allegro as we make no guarantees about which unicode code any key produces. On a German keyboard ALLEGRO_KEY_Y might produce a &quot;z&quot;. ALLEGRO_KEY_CLOSEBRACE simply may not exist at all on some keyboards (that was a problem in Mark&#39;s entry).</p><p>However, I think it would be good to have a small exception there and ensure that on all platforms:</p><p>- The Return key produces ASCII 13<br />- The Tab key produces ASCII 9<br />- The Backspace key produces ASCII 8<br />- The Escape key produces ASCII 27<br />- The Delete key produces ASCII 127</p><p>This will make it easier to at least have working text input across platforms and layouts <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Elias)</author>
		<pubDate>Wed, 08 Jul 2015 02:38:19 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Perhaps this will shed some light.  The keyboard does in fact say &quot;delete&quot;, so it&#39;s not surprising that the key maps to that unicode.  However, I don&#39;t look at what I&#39;m typing and I just mechanically hit where my fingers are programmed to hit backspace.  In the Mac app of the game, this works as intended and I never thought twice about it.  </p><p><span class="remote-thumbnail"><span class="json">{"name":"609572","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/c\/a\/ca925ff7e8750588c6ee7162e2507dab.jpg","w":640,"h":480,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/c\/a\/ca925ff7e8750588c6ee7162e2507dab"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/c/a/ca925ff7e8750588c6ee7162e2507dab-240.jpg" alt="609572" width="240" height="180" /></span></p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/615499/1014788#target">Bruce Perry</a> said:</div><div class="quote"><p> and what you&#39;ve done is pretty good for a SpeedHack</p></div></div><p>
Thanks!  First time I&#39;ve actually finished a Speedhack entry.  Pretty proud of what I accomplished in a limited weekend for my first allegro 5 project in a Mac environment.  <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />  </p><p>Another interesting sidenote:  I never could figure out how to get <a href="https://www.allegro.cc/forums/thread/615492">Ogg files to play</a>, so I tried to find a wav file which are obviously expensive size-wise.  I ended up finding a song and used a free tool to compress it down further.  The free version of the tool cuts the song in half, but this happens to loop perfectly so it was acceptable.  I&#39;ll take it.  <img src="http://www.allegro.cc/forums/smileys/cool.gif" alt="8-)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Onewing)</author>
		<pubDate>Wed, 08 Jul 2015 07:29:14 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Elias, I&#39;ve always checked for key codes (not chars) when dealing with special keys like Enter and Backspace - might be worth having a similar guarantee for those too?</p><p>I wonder what the Mac currently does if you check for ALLEGRO_KEY_DELETE. Perhaps it should never generate that code, and if you want anything, you have to check for ALLEGRO_KEY_BACKSPACE? And/or ALLEGRO_KEY_DELETE could be deprecated and replaced with ALLEGRO_KEY_DELETE_PC or ALLEGRO_KEY_DELETE_TO_RIGHT?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Bruce Perry)</author>
		<pubDate>Wed, 08 Jul 2015 14:56:04 +0000</pubDate>
	</item>
</rss>
