<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Christmas Hack? New Year Hack? Allegro Hack? Doc / Wiki Hack?</title>
		<link>http://www.allegro.cc/forums/view/617629</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Sat, 24 Nov 2018 02:34:09 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Well, who&#39;s up for it?</p><p>amarillion, can you fire up the TINS website again? Let&#39;s do some kind of hack for the Holly Days.</p><p>We can hack Allegro source / wiki / docs, or we can have a holiday hack. What say you?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Tue, 20 Nov 2018 02:16:44 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Sure, I&#39;m up for a *Hack.</p><p>How do you feel about doing something similar to Krampushack 2016: <a href="https://www.allegro.cc/forums/thread/616642">https://www.allegro.cc/forums/thread/616642</a></p><p>A freestyle secret santa, where you can make a new game or improve an existing game, in both cases as a gift for somebody.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (amarillion)</author>
		<pubDate>Tue, 20 Nov 2018 22:30:47 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>No rules? Free for all? What about rolling for genre? IDK. Add certain special effects? Improve an old program? I need at least a week for a holiday hack. We should do something like Dec 17th-31st or so? What&#39;s a good date?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Wed, 21 Nov 2018 00:39:48 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Well, for Krampushack, everybody had to post a wishlist of three things they would like in their gift. This wishlist could be genre, art or tech requirements.</p><p>I could add some code to the TINS site to draw the names for secret santa, so that would be handled independently. You should submit the games to the TINS site, the site will then make sure that your secret santa will receive the game first.</p><p>Dec 17-31 works for me.</p><p>We just need participants... who wants to join?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (amarillion)</author>
		<pubDate>Wed, 21 Nov 2018 14:02:41 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;m working on molto (ala Molto Allegro). My D wrapper for Dallegro which is a wrapper for allegro in D which is a wrapper around OpenGL on Linux...</p><p>On the otherhand, my syntax is awesome:</p><div class="source-code snippet"><div class="inner"><pre>draw<span class="k2">(</span>text<span class="k2">(</span><span class="s">"hello world"</span><span class="k2">)</span>, tint<span class="k2">(</span><span class="n">255</span>,<span class="n">0</span>,<span class="n">0</span><span class="k2">)</span>, pos<span class="k2">(</span><span class="n">25</span>,<span class="n">25</span><span class="k2">)</span><span class="k2">)</span><span class="k2">;</span>
draw<span class="k2">(</span>bitmap<span class="k2">(</span>bmp_sprite1<span class="k2">)</span>, pos<span class="k2">(</span><span class="n">25</span>,<span class="n">25</span><span class="k2">)</span>, tint<span class="k2">(</span><span class="n">255</span>,<span class="n">255</span>,<span class="n">0</span><span class="k2">)</span><span class="k2">)</span><span class="k2">;</span> 
draw<span class="k2">(</span>bitmap<span class="k2">(</span>bmp_sprite1<span class="k2">)</span>, pos<span class="k2">(</span><span class="n">25</span>,<span class="n">25</span><span class="k2">)</span>, tint<span class="k2">(</span><span class="n">255</span>,<span class="n">255</span>,<span class="n">0</span><span class="k2">)</span>, flip<span class="k2">(</span>vertical<span class="k2">)</span>, rotate<span class="k2">(</span>pi<span class="k2">)</span><span class="k2">)</span><span class="k2">;</span>
</pre></div></div><p>

 - order of arguments doesn&#39;t matter</p><p> - optional arguments (in any order, as opposed to on the end like in C/C++/traditional D)</p><p> - ALL COMPILE TIME that compiles down to the correct al_draw_bitmap or al_draw_textprintf, etc</p><p> - Very easily extensible.</p><p> - Doesn&#39;t explode the number of unique functions (al_draw_tinted_scaled_rotated_bitmap) with additional features,</p><p> - so you can add less used ones like &quot;centered&quot; vs top-left-aligned without quadratically adding more function signatures.</p><p> - CLEARLY labeled, and grouped arguments. &quot;pos&quot; is a position. No matter what argument you specify or what line it is. It&#39;s like the pleasure of a dynamic language like Javascript but it compiles to nothing.</p><p> - Whereever I can, I use the signature of the API itself to be a clue as to the correct way to use the functions. </p><p> - Ever use a draw function without initializing the pre-requisite allegro_init function? You can&#39;t. You simply cannot. Because you can&#39;t call a function (method!) without creating a gfx object, and the object cannot exist unless you call it with a constructor that implies the correct pre-requesites as its required arguments.</p><p> - For example, in Allegro 5, a timer cannot be used without being attached to queue. So in Molto, a timer <b>cannot be constructed</b> without providing a queue. The linkage is now obvious. The <u>API is documentation.</u>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Chris Katko)</author>
		<pubDate>Wed, 21 Nov 2018 14:16: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/617629/1040150#target">Chris Katko</a> said:</div><div class="quote"><p>
I&#39;m working on molto (ala Molto Allegro). My D wrapper for Dallegro which is a wrapper for allegro in D which is a wrapper around OpenGL on Linux...
</p></div></div><p>
And for KrampusHack you can write a super cool demo program for it. <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Wed, 21 Nov 2018 19:28:27 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>If there was any doubt - I&#39;m in.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Elias)</author>
		<pubDate>Thu, 22 Nov 2018 08:29:32 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;m in like Flynn.<br /><span class="remote-thumbnail"><span class="json">{"name":"nov2016_thumb.jpg","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/2\/6\/26c77f49225842f59a93e996084aefaf.jpg","w":490,"h":490,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/2\/6\/26c77f49225842f59a93e996084aefaf"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/2/6/26c77f49225842f59a93e996084aefaf-240.jpg" alt="nov2016_thumb.jpg" width="240" height="240" /></span></p><p>amarillion, would it be hard to make the sign up page? Have everyone add their wish list to join or something.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Sat, 24 Nov 2018 02:34:09 +0000</pubDate>
	</item>
</rss>
