<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>funky font effect library</title>
		<link>http://www.allegro.cc/forums/view/589763</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Tue, 06 Feb 2007 05:21:06 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hello,<br />[edit]don&#39;t use this attachment, use the one in my email below[/edit]</p><p>It&#39;s a font library, and it does funky stuff, hence why it&#39;s called funky font. Pointless showing a screenshot as it&#39;s the animation effect you need to see to appreciate it.</p><p>You can do the following with it:<br />1. display text with various alignments (left/right/centred/justified) and automatic wrapping.<br />2. add textures and various shading effects</p><p>but mainly the point of the library is<br />3. apply various effects</p><p>I use it in my latest game for example for contracting/constricting animated menus and displaying wrapped text in help.</p><p>the effects you can do are:<br />- 3d spinning/rotation effects<br />- text scattering<br />- various undulating effects<br />- shaking noise<br />- mexican waves<br />- heart beats<br />- etc.</p><p>Basically, you load a bitmap font then set some text, then you apply various effects to it, namely, spread/bouncing/sine/noise/rotate/scale/bow/damping.</p><p>Most things are done by calling one or two functions per logic frame and a replace textout function.</p><p>I didn&#39;t write it, btw, a friend did who&#39;s too shy to post (Graham). I&#39;m just using it <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><p>source code plus a windows exe attached. just press letters a-z for some things you can do. and maybe 1-4 and 5-8 for other stuff.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Neil Walker)</author>
		<pubDate>Sun, 28 Jan 2007 05:18:03 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Please note I wrote this <b>AGES</b> ago, which is why the code is completely vile. Obviously I&#39;d do it differently these days.</p><p>Although that isn&#39;t an invitation for all you STL bandwagon sods to jump in. <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Graham Goring)</author>
		<pubDate>Sun, 28 Jan 2007 05:21:41 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>No matter goring, I think it&#39;s superb now I&#39;m using it.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Neil Walker)</author>
		<pubDate>Sun, 28 Jan 2007 05:30:21 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Wow, some neat stuff in there.  Is this in the depot? (lazy-ness prevents me from reading or searching)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Onewing)</author>
		<pubDate>Sun, 28 Jan 2007 06:33:36 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Is this in the depot?
</p></div></div><p>

I don&#39;t know, but it&#39;s attached to Neil&#39;s first post.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (LennyLen)</author>
		<pubDate>Sun, 28 Jan 2007 10:54:40 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I can put it in the depot if anyone thinks it&#39;s worth keeping.</p><p>[edit]<br />If anyone gets it you&#39;ll need to change the code that uses function style casts for &#39;unsigned long&#39; and &#39;unsigned short&#39; to be explicit casts, i.e.</p><p>colour=unsigned long (blah)</p><p>should be changed to<br />colour=(unsigned long)(blah)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Neil Walker)</author>
		<pubDate>Mon, 29 Jan 2007 06:59:35 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Doesn&#39;t come even close to compiling.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (miran)</author>
		<pubDate>Mon, 29 Jan 2007 12:10:42 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Of course it does, how do you think I attached the exe and I&#39;m using it in my game <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" /></p><p>I&#39;ve got it compiled via mingw and msvc, which near enough covers all bases.</p><p>Attached to this email is a new version fixing the cast bug with mingw and project files for devcpp and msvc8, the exe is from mingw.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Neil Walker)</author>
		<pubDate>Mon, 29 Jan 2007 14:49:46 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[[code]<br />
D:\tmp&gt;g++ *.cpp -o test.exe -lalleg<br />
fontdemo.cpp: In function `int _mangled_main()':<br />
fontdemo.cpp:287: warning: passing `double' for argument passing 5 of `void<br />
   PFONT_posmod_selection(prop_text_struct*, float, float, int, int, float,<br />
   float, int)'<br />
fontdemo.cpp:287: warning: argument to `int' from `double'<br />
fontdemo.cpp:298: warning: passing `double' for argument passing 4 of `void<br />
   PFONT_texmod_selection(prop_text_struct*, float, float, int, int, float,<br />
   float, int)'<br />
fontdemo.cpp:298: warning: argument to `int' from `double'<br />
fontdemo.cpp:332: warning: passing `double' for argument passing 4 of `void<br />
   PFONT_texmod_selection(prop_text_struct*, float, float, int, int, float,<br />
   float, int)'<br />
fontdemo.cpp:332: warning: argument to `int' from `double'<br />
fontdemo.cpp:333: warning: passing `double' for argument passing 5 of `void<br />
   PFONT_posmod_selection(prop_text_struct*, float, float, int, int, float,<br />
   float, int)'<br />
fontdemo.cpp:333: warning: argument to `int' from `double'<br />
fontdemo.cpp:377: warning: passing `double' for argument passing 4 of `void<br />
   PFONT_texmod_selection(prop_text_struct*, float, float, int, int, float,<br />
   float, int)'<br />
fontdemo.cpp:377: warning: argument to `int' from `double'<br />
fontdemo.cpp:378: warning: passing `double' for argument passing 5 of `void<br />
   PFONT_posmod_selection(prop_text_struct*, float, float, int, int, float,<br />
   float, int)'<br />
fontdemo.cpp:378: warning: argument to `int' from `double'<br />
fontdemo.cpp:534: warning: passing `double' for argument passing 9 of `void<br />
   PFONT_draw_frame_list_coloured(prop_text_struct*, int, int, int, float,<br />
   float, BITMAP*, int, int, int)'<br />
fontdemo.cpp:534: warning: argument to `int' from `double'<br />
fontdemo.cpp:537: warning: passing `double' for argument passing 9 of `void<br />
   PFONT_draw_frame_list_vert_lerped_coloured(prop_text_struct*, int, int, int,<br />
<br />
   float, float, BITMAP*, int, int, int, int, int, int)'<br />
fontdemo.cpp:537: warning: argument to `int' from `double'<br />
fontdemo.cpp:537: warning: passing `double' for argument passing 11 of `void<br />
   PFONT_draw_frame_list_vert_lerped_coloured(prop_text_struct*, int, int, int,<br />
<br />
   float, float, BITMAP*, int, int, int, int, int, int)'<br />
fontdemo.cpp:537: warning: argument to `int' from `double'<br />
fontdemo.cpp:547: warning: `textout' is deprecated (declared at<br />
   c:/mingw/include/allegro/alcompat.h:158)<br />
funkyfont.cpp: In function `void GRAPHICS_double_masked_blit_32bit(BITMAP*,<br />
   BITMAP*, BITMAP*, int, int, int, int, int, int, int, int)':<br />
funkyfont.cpp:109: parse error before `long'<br />
funkyfont.cpp: In function `void GRAPHICS_colour_blit_32bit(BITMAP*, BITMAP*,<br />
   int, int, int, int, int, int, long unsigned int)':<br />
funkyfont.cpp:160: parse error before `long'<br />
funkyfont.cpp: In function `void<br />
   GRAPHICS_colour_vert_lerped_blit_32bit(BITMAP*, BITMAP*, int, int, int, int,<br />
<br />
   int, int, long unsigned int*)':<br />
funkyfont.cpp:215: parse error before `long'<br />
funkyfont.cpp: In function `void GRAPHICS_double_masked_blit_16bit(BITMAP*,<br />
   BITMAP*, BITMAP*, int, int, int, int, int, int, int, int)':<br />
funkyfont.cpp:265: parse error before `short'<br />
funkyfont.cpp: In function `void GRAPHICS_colour_blit_16bit(BITMAP*, BITMAP*,<br />
   int, int, int, int, int, int, short unsigned int)':<br />
funkyfont.cpp:316: parse error before `short'<br />
funkyfont.cpp: In function `void<br />
   GRAPHICS_colour_vert_lerped_blit_16bit(BITMAP*, BITMAP*, int, int, int, int,<br />
<br />
   int, int, short unsigned int*)':<br />
funkyfont.cpp:371: parse error before `short'<br />
funkyfont.cpp: In function `void PFONT_posmod_selection(prop_text_struct*,<br />
   float, float, int, int, float, float, int)':<br />
funkyfont.cpp:913: warning: initialization to `int' from `float'<br />
funkyfont.cpp:913: warning: argument to `int' from `float'<br />
funkyfont.cpp:914: warning: initialization to `int' from `float'<br />
funkyfont.cpp:914: warning: argument to `int' from `float'<br />
funkyfont.cpp: In function `void PFONT_posmod_distort(prop_text_struct*, float,<br />
<br />
   float, float, float)':<br />
funkyfont.cpp:1015: warning: initialization to `int' from `float'<br />
funkyfont.cpp:1015: warning: argument to `int' from `float'<br />
funkyfont.cpp:1016: warning: initialization to `int' from `float'<br />
funkyfont.cpp:1016: warning: argument to `int' from `float'<br />
funkyfont.cpp: In function `void PFONT_posmod_rotate(prop_text_struct*, float,<br />
   float, float)':<br />
funkyfont.cpp:1090: warning: initialization to `int' from `float'<br />
funkyfont.cpp:1090: warning: argument to `int' from `float'<br />
funkyfont.cpp:1091: warning: initialization to `int' from `float'<br />
funkyfont.cpp:1091: warning: argument to `int' from `float'<br />
funkyfont.cpp: In function `void<br />
   PFONT_posmod_rotate_selection(prop_text_struct*, float, float, float, float,<br />
<br />
   float, int)':<br />
funkyfont.cpp:1121: warning: initialization to `int' from `float'<br />
funkyfont.cpp:1121: warning: argument to `int' from `float'<br />
funkyfont.cpp:1122: warning: initialization to `int' from `float'<br />
funkyfont.cpp:1122: warning: argument to `int' from `float'<br />
funkyfont.cpp: In function `void PFONT_posmod_scale(prop_text_struct*, float,<br />
   float, float, float)':<br />
funkyfont.cpp:1232: warning: initialization to `int' from `float'<br />
funkyfont.cpp:1232: warning: argument to `int' from `float'<br />
funkyfont.cpp:1233: warning: initialization to `int' from `float'<br />
funkyfont.cpp:1233: warning: argument to `int' from `float'<br />
funkyfont.cpp: In function `void PFONT_posmod_bow_in(prop_text_struct*, float,<br />
   float, float, float)':<br />
funkyfont.cpp:1252: warning: initialization to `int' from `float'<br />
funkyfont.cpp:1252: warning: argument to `int' from `float'<br />
funkyfont.cpp:1253: warning: initialization to `int' from `float'<br />
funkyfont.cpp:1253: warning: argument to `int' from `float'<br />
funkyfont.cpp: In function `void PFONT_posmod_bow_out(prop_text_struct*, float,<br />
<br />
   float, float, float)':<br />
funkyfont.cpp:1282: warning: initialization to `int' from `float'<br />
funkyfont.cpp:1282: warning: argument to `int' from `float'<br />
funkyfont.cpp:1283: warning: initialization to `int' from `float'<br />
funkyfont.cpp:1283: warning: argument to `int' from `float'<br />
funkyfont.cpp: In function `void PFONT_posmod_damp_point(prop_text_struct*,<br />
   int, float, int)':<br />
funkyfont.cpp:1348: warning: assignment to `int' from `float'<br />
funkyfont.cpp:1348: warning: argument to `int' from `float'<br />
funkyfont.cpp: In function `void<br />
   PFONT_texmod_bouncing_in_phase(prop_text_struct*, float, float, float,<br />
   float, float, float)':<br />
funkyfont.cpp:1545: warning: passing `double' for argument passing 1 of `int<br />
   abs(int)'<br />
funkyfont.cpp:1545: warning: argument to `int' from `double'<br />
funkyfont.cpp:1546: warning: passing `double' for argument passing 1 of `int<br />
   abs(int)'<br />
funkyfont.cpp:1546: warning: argument to `int' from `double'<br />
funkyfont.cpp: In function `void PFONT_texmod_selection(prop_text_struct*,<br />
   float, float, int, int, float, float, int)':<br />
funkyfont.cpp:1625: warning: initialization to `int' from `float'<br />
funkyfont.cpp:1625: warning: argument to `int' from `float'<br />
funkyfont.cpp:1626: warning: initialization to `int' from `float'<br />
funkyfont.cpp:1626: warning: argument to `int' from `float'<br />
funkyfont.cpp: In function `void PFONT_texmod_rotate(prop_text_struct*, float,<br />
   float, float)':<br />
funkyfont.cpp:1762: warning: initialization to `int' from `float'<br />
funkyfont.cpp:1762: warning: argument to `int' from `float'<br />
funkyfont.cpp:1763: warning: initialization to `int' from `float'<br />
funkyfont.cpp:1763: warning: argument to `int' from `float'<br />
funkyfont.cpp: In function `void PFONT_texmod_scale(prop_text_struct*, float,<br />
   float, float, float)':<br />
funkyfont.cpp:1786: warning: initialization to `int' from `float'<br />
funkyfont.cpp:1786: warning: argument to `int' from `float'<br />
funkyfont.cpp:1787: warning: initialization to `int' from `float'<br />
funkyfont.cpp:1787: warning: argument to `int' from `float'<br />
funkyfont.cpp: In function `void PFONT_texmod_bow_in(prop_text_struct*, float,<br />
   float, float, float)':<br />
funkyfont.cpp:1806: warning: initialization to `int' from `float'<br />
funkyfont.cpp:1806: warning: argument to `int' from `float'<br />
funkyfont.cpp:1807: warning: initialization to `int' from `float'<br />
funkyfont.cpp:1807: warning: argument to `int' from `float'<br />
funkyfont.cpp: In function `void PFONT_texmod_bow_out(prop_text_struct*, float,<br />
<br />
   float, float, float)':<br />
funkyfont.cpp:1836: warning: initialization to `int' from `float'<br />
funkyfont.cpp:1836: warning: argument to `int' from `float'<br />
funkyfont.cpp:1837: warning: initialization to `int' from `float'<br />
funkyfont.cpp:1837: warning: argument to `int' from `float'<br />
funkyfont.cpp: In function `void PFONT_find_extremes(prop_text_struct*)':<br />
funkyfont.cpp:1874: warning: assignment to `int' from `float'<br />
funkyfont.cpp:1874: warning: argument to `int' from `float'<br />
funkyfont.cpp:1877: warning: assignment to `int' from `float'<br />
funkyfont.cpp:1877: warning: argument to `int' from `float'<br />
funkyfont.cpp:1880: warning: assignment to `int' from `float'<br />
funkyfont.cpp:1880: warning: argument to `int' from `float'<br />
funkyfont.cpp:1883: warning: assignment to `int' from `float'<br />
funkyfont.cpp:1883: warning: argument to `int' from `float'<br />
funkyfont.cpp: In function `void<br />
   PFONT_draw_frame_list_notexture(prop_text_struct*, int, int, int, float,<br />
   float, BITMAP*)':<br />
funkyfont.cpp:1898: warning: initialization to `int' from `float'<br />
funkyfont.cpp:1898: warning: argument to `int' from `float'<br />
funkyfont.cpp:1899: warning: initialization to `int' from `float'<br />
funkyfont.cpp:1899: warning: argument to `int' from `float'<br />
funkyfont.cpp:1906: warning: passing `float' for argument passing 3 of `void<br />
   masked_blit(BITMAP*, BITMAP*, int, int, int, int, int, int)'<br />
funkyfont.cpp:1906: warning: argument to `int' from `float'<br />
funkyfont.cpp:1906: warning: passing `float' for argument passing 4 of `void<br />
   masked_blit(BITMAP*, BITMAP*, int, int, int, int, int, int)'<br />
funkyfont.cpp:1906: warning: argument to `int' from `float'<br />
funkyfont.cpp:1906: warning: passing `float' for argument passing 5 of `void<br />
   masked_blit(BITMAP*, BITMAP*, int, int, int, int, int, int)'<br />
funkyfont.cpp:1906: warning: argument to `int' from `float'<br />
funkyfont.cpp:1906: warning: passing `float' for argument passing 6 of `void<br />
   masked_blit(BITMAP*, BITMAP*, int, int, int, int, int, int)'<br />
funkyfont.cpp:1906: warning: argument to `int' from `float'<br />
funkyfont.cpp: In function `void<br />
   PFONT_draw_frame_list_texture(prop_text_struct*, int, int, int, float,<br />
   float, BITMAP*, texture_struct*)':<br />
funkyfont.cpp:1917: warning: initialization to `int' from `float'<br />
funkyfont.cpp:1917: warning: argument to `int' from `float'<br />
funkyfont.cpp:1918: warning: initialization to `int' from `float'<br />
funkyfont.cpp:1918: warning: argument to `int' from `float'<br />
funkyfont.cpp:1925: warning: passing `float' for argument passing 1 of `int<br />
   MATH_wrap(int, int)'<br />
funkyfont.cpp:1925: warning: argument to `int' from `float'<br />
funkyfont.cpp:1926: warning: passing `float' for argument passing 1 of `int<br />
   MATH_wrap(int, int)'<br />
funkyfont.cpp:1926: warning: argument to `int' from `float'<br />
funkyfont.cpp:1935: warning: passing `float' for argument passing 4 of `void<br />
   GRAPHICS_double_masked_blit_16bit(BITMAP*, BITMAP*, BITMAP*, int, int, int,<br />
   int, int, int, int, int)'<br />
funkyfont.cpp:1935: warning: argument to `int' from `float'<br />
funkyfont.cpp:1935: warning: passing `float' for argument passing 5 of `void<br />
   GRAPHICS_double_masked_blit_16bit(BITMAP*, BITMAP*, BITMAP*, int, int, int,<br />
   int, int, int, int, int)'<br />
funkyfont.cpp:1935: warning: argument to `int' from `float'<br />
funkyfont.cpp:1935: warning: passing `float' for argument passing 6 of `void<br />
   GRAPHICS_double_masked_blit_16bit(BITMAP*, BITMAP*, BITMAP*, int, int, int,<br />
   int, int, int, int, int)'<br />
funkyfont.cpp:1935: warning: argument to `int' from `float'<br />
funkyfont.cpp:1935: warning: passing `float' for argument passing 7 of `void<br />
   GRAPHICS_double_masked_blit_16bit(BITMAP*, BITMAP*, BITMAP*, int, int, int,<br />
   int, int, int, int, int)'<br />
funkyfont.cpp:1935: warning: argument to `int' from `float'<br />
funkyfont.cpp:1935: warning: passing `float' for argument passing 8 of `void<br />
   GRAPHICS_double_masked_blit_16bit(BITMAP*, BITMAP*, BITMAP*, int, int, int,<br />
   int, int, int, int, int)'<br />
funkyfont.cpp:1935: warning: argument to `int' from `float'<br />
funkyfont.cpp:1935: warning: passing `float' for argument passing 9 of `void<br />
   GRAPHICS_double_masked_blit_16bit(BITMAP*, BITMAP*, BITMAP*, int, int, int,<br />
   int, int, int, int, int)'<br />
funkyfont.cpp:1935: warning: argument to `int' from `float'<br />
funkyfont.cpp:1942: warning: passing `float' for argument passing 4 of `void<br />
   GRAPHICS_double_masked_blit_32bit(BITMAP*, BITMAP*, BITMAP*, int, int, int,<br />
   int, int, int, int, int)'<br />
funkyfont.cpp:1942: warning: argument to `int' from `float'<br />
funkyfont.cpp:1942: warning: passing `float' for argument passing 5 of `void<br />
   GRAPHICS_double_masked_blit_32bit(BITMAP*, BITMAP*, BITMAP*, int, int, int,<br />
   int, int, int, int, int)'<br />
funkyfont.cpp:1942: warning: argument to `int' from `float'<br />
funkyfont.cpp:1942: warning: passing `float' for argument passing 6 of `void<br />
   GRAPHICS_double_masked_blit_32bit(BITMAP*, BITMAP*, BITMAP*, int, int, int,<br />
   int, int, int, int, int)'<br />
funkyfont.cpp:1942: warning: argument to `int' from `float'<br />
funkyfont.cpp:1942: warning: passing `float' for argument passing 7 of `void<br />
   GRAPHICS_double_masked_blit_32bit(BITMAP*, BITMAP*, BITMAP*, int, int, int,<br />
   int, int, int, int, int)'<br />
funkyfont.cpp:1942: warning: argument to `int' from `float'<br />
funkyfont.cpp:1942: warning: passing `float' for argument passing 8 of `void<br />
   GRAPHICS_double_masked_blit_32bit(BITMAP*, BITMAP*, BITMAP*, int, int, int,<br />
   int, int, int, int, int)'<br />
funkyfont.cpp:1942: warning: argument to `int' from `float'<br />
funkyfont.cpp:1942: warning: passing `float' for argument passing 9 of `void<br />
   GRAPHICS_double_masked_blit_32bit(BITMAP*, BITMAP*, BITMAP*, int, int, int,<br />
   int, int, int, int, int)'<br />
funkyfont.cpp:1942: warning: argument to `int' from `float'<br />
funkyfont.cpp: In function `void<br />
   PFONT_draw_frame_list_coloured(prop_text_struct*, int, int, int, float,<br />
   float, BITMAP*, int, int, int)':<br />
funkyfont.cpp:1956: warning: initialization to `int' from `float'<br />
funkyfont.cpp:1956: warning: argument to `int' from `float'<br />
funkyfont.cpp:1957: warning: initialization to `int' from `float'<br />
funkyfont.cpp:1957: warning: argument to `int' from `float'<br />
funkyfont.cpp:1971: warning: passing `float' for argument passing 3 of `void<br />
   GRAPHICS_colour_blit_16bit(BITMAP*, BITMAP*, int, int, int, int, int, int,<br />
   short unsigned int)'<br />
funkyfont.cpp:1971: warning: argument to `int' from `float'<br />
funkyfont.cpp:1971: warning: passing `float' for argument passing 4 of `void<br />
   GRAPHICS_colour_blit_16bit(BITMAP*, BITMAP*, int, int, int, int, int, int,<br />
   short unsigned int)'<br />
funkyfont.cpp:1971: warning: argument to `int' from `float'<br />
funkyfont.cpp:1971: warning: passing `float' for argument passing 5 of `void<br />
   GRAPHICS_colour_blit_16bit(BITMAP*, BITMAP*, int, int, int, int, int, int,<br />
   short unsigned int)'<br />
funkyfont.cpp:1971: warning: argument to `int' from `float'<br />
funkyfont.cpp:1971: warning: passing `float' for argument passing 6 of `void<br />
   GRAPHICS_colour_blit_16bit(BITMAP*, BITMAP*, int, int, int, int, int, int,<br />
   short unsigned int)'<br />
funkyfont.cpp:1971: warning: argument to `int' from `float'<br />
funkyfont.cpp:1978: warning: passing `float' for argument passing 3 of `void<br />
   GRAPHICS_colour_blit_32bit(BITMAP*, BITMAP*, int, int, int, int, int, int,<br />
   long unsigned int)'<br />
funkyfont.cpp:1978: warning: argument to `int' from `float'<br />
funkyfont.cpp:1978: warning: passing `float' for argument passing 4 of `void<br />
   GRAPHICS_colour_blit_32bit(BITMAP*, BITMAP*, int, int, int, int, int, int,<br />
   long unsigned int)'<br />
funkyfont.cpp:1978: warning: argument to `int' from `float'<br />
funkyfont.cpp:1978: warning: passing `float' for argument passing 5 of `void<br />
   GRAPHICS_colour_blit_32bit(BITMAP*, BITMAP*, int, int, int, int, int, int,<br />
   long unsigned int)'<br />
funkyfont.cpp:1978: warning: argument to `int' from `float'<br />
funkyfont.cpp:1978: warning: passing `float' for argument passing 6 of `void<br />
   GRAPHICS_colour_blit_32bit(BITMAP*, BITMAP*, int, int, int, int, int, int,<br />
   long unsigned int)'<br />
funkyfont.cpp:1978: warning: argument to `int' from `float'<br />
funkyfont.cpp: In function `void<br />
   PFONT_draw_frame_list_vert_lerped_coloured(prop_text_struct*, int, int, int,<br />
<br />
   float, float, BITMAP*, int, int, int, int, int, int)':<br />
funkyfont.cpp:1992: warning: initialization to `int' from `float'<br />
funkyfont.cpp:1992: warning: argument to `int' from `float'<br />
funkyfont.cpp:1993: warning: initialization to `int' from `float'<br />
funkyfont.cpp:1993: warning: argument to `int' from `float'<br />
funkyfont.cpp:2003: warning: passing `float' for argument passing 1 of `int<br />
   makecol16(int, int, int)'<br />
funkyfont.cpp:2003: warning: argument to `int' from `float'<br />
funkyfont.cpp:2003: warning: passing `float' for argument passing 2 of `int<br />
   makecol16(int, int, int)'<br />
funkyfont.cpp:2003: warning: argument to `int' from `float'<br />
funkyfont.cpp:2003: warning: passing `float' for argument passing 3 of `int<br />
   makecol16(int, int, int)'<br />
funkyfont.cpp:2003: warning: argument to `int' from `float'<br />
funkyfont.cpp:2004: warning: passing `float' for argument passing 1 of `int<br />
   makecol32(int, int, int)'<br />
funkyfont.cpp:2004: warning: argument to `int' from `float'<br />
funkyfont.cpp:2004: warning: passing `float' for argument passing 2 of `int<br />
   makecol32(int, int, int)'<br />
funkyfont.cpp:2004: warning: argument to `int' from `float'<br />
funkyfont.cpp:2004: warning: passing `float' for argument passing 3 of `int<br />
   makecol32(int, int, int)'<br />
funkyfont.cpp:2004: warning: argument to `int' from `float'<br />
funkyfont.cpp:2016: warning: passing `float' for argument passing 3 of `void<br />
   GRAPHICS_colour_vert_lerped_blit_16bit(BITMAP*, BITMAP*, int, int, int, int,<br />
<br />
   int, int, short unsigned int*)'<br />
funkyfont.cpp:2016: warning: argument to `int' from `float'<br />
funkyfont.cpp:2016: warning: passing `float' for argument passing 4 of `void<br />
   GRAPHICS_colour_vert_lerped_blit_16bit(BITMAP*, BITMAP*, int, int, int, int,<br />
<br />
   int, int, short unsigned int*)'<br />
funkyfont.cpp:2016: warning: argument to `int' from `float'<br />
funkyfont.cpp:2016: warning: passing `float' for argument passing 5 of `void<br />
   GRAPHICS_colour_vert_lerped_blit_16bit(BITMAP*, BITMAP*, int, int, int, int,<br />
<br />
   int, int, short unsigned int*)'<br />
funkyfont.cpp:2016: warning: argument to `int' from `float'<br />
funkyfont.cpp:2016: warning: passing `float' for argument passing 6 of `void<br />
   GRAPHICS_colour_vert_lerped_blit_16bit(BITMAP*, BITMAP*, int, int, int, int,<br />
<br />
   int, int, short unsigned int*)'<br />
funkyfont.cpp:2016: warning: argument to `int' from `float'<br />
funkyfont.cpp:2023: warning: passing `float' for argument passing 3 of `void<br />
   GRAPHICS_colour_vert_lerped_blit_32bit(BITMAP*, BITMAP*, int, int, int, int,<br />
<br />
   int, int, long unsigned int*)'<br />
funkyfont.cpp:2023: warning: argument to `int' from `float'<br />
funkyfont.cpp:2023: warning: passing `float' for argument passing 4 of `void<br />
   GRAPHICS_colour_vert_lerped_blit_32bit(BITMAP*, BITMAP*, int, int, int, int,<br />
<br />
   int, int, long unsigned int*)'<br />
funkyfont.cpp:2023: warning: argument to `int' from `float'<br />
funkyfont.cpp:2023: warning: passing `float' for argument passing 5 of `void<br />
   GRAPHICS_colour_vert_lerped_blit_32bit(BITMAP*, BITMAP*, int, int, int, int,<br />
<br />
   int, int, long unsigned int*)'<br />
funkyfont.cpp:2023: warning: argument to `int' from `float'<br />
funkyfont.cpp:2023: warning: passing `float' for argument passing 6 of `void<br />
   GRAPHICS_colour_vert_lerped_blit_32bit(BITMAP*, BITMAP*, int, int, int, int,<br />
<br />
   int, int, long unsigned int*)'<br />
funkyfont.cpp:2023: warning: argument to `int' from `float'<br />
funkyfont.cpp:2029:2: warning: no newline at end of file<br />
[/code]<br />
<br />
Mostly warnings, but there are some errors in there too...]]>
		</description>
		<author>no-reply@allegro.cc (miran)</author>
		<pubDate>Mon, 29 Jan 2007 15:08:43 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;ll have a look, what version of gcc, I&#39;m running 3.4.2 and that compiles fine. All those warnings are just float to ints mainly.</p><p>Are you running the version in my previous attachment, at line 109 it should read:<br />colour = (unsigned long) (m_source[x+mask_source_x]);</p><p>the error in your log points to the previous error which had it erroneously as<br />colour = unsigned long (m_source[x+mask_source_x]);
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Neil Walker)</author>
		<pubDate>Mon, 29 Jan 2007 15:19:29 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Oooh, the latest version compiles! <img src="http://www.allegro.cc/forums/smileys/shocked.gif" alt=":o" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (miran)</author>
		<pubDate>Mon, 29 Jan 2007 15:20:06 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>read my previous message <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" /></p><p>do you like?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Neil Walker)</author>
		<pubDate>Mon, 29 Jan 2007 15:22:00 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Tis funky! <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (miran)</author>
		<pubDate>Mon, 29 Jan 2007 15:22:51 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>It makes me feel the old schoold days :p
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (GullRaDriel)</author>
		<pubDate>Mon, 29 Jan 2007 15:50:50 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>
I remember this funking thing from a few years ago.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Richard Phipps)</author>
		<pubDate>Mon, 29 Jan 2007 17:58:25 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Nice effects! I will certainly implement paragraph formatting with different adjustments in future Glyph Keeper. For the other effects, are there any examples of real games (or other programs) using them in meaningful way?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kirr)</author>
		<pubDate>Tue, 30 Jan 2007 00:30:45 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
I remember this funking thing from a few years ago
</p></div></div><p>that was probably me too, it&#39;s taken me this long to start using it <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" /></p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
are there any examples of real games (or other programs) using them in meaningful way?
</p></div></div><p>
I&#39;m just using a few simple effects, one to show the currently selected menu item (contract/expand), another to show messages floating on the screen then as they scatter all over change the text then let it dampen back to normal to show the next message.</p><p>Most games use some kind of font transition effect. Just look at mario kart, there&#39;s messages that display with a sine wave effect, messages that have text pivoting/swinging, etc.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Neil Walker)</author>
		<pubDate>Tue, 30 Jan 2007 06:57:19 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>This is very cool. I liked the effect that was mapped onto key V.</p><p>Anyway, im definitely going to use this, even though its in c++. Although i do not understand that. Although it doesnt compile under C, i can&#39;t see where you / he uses any special c++ stuff. It&#39;d be funny if the only c++ thing was bool.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (m c)</author>
		<pubDate>Sat, 03 Feb 2007 09:35:06 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>It&#39;s only C++ in terms of the declaration of variables as and when I need them rather than at the top of functions, so it&#39;s nothing you can&#39;t turn into regular C easily enough.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Graham Goring)</author>
		<pubDate>Sat, 03 Feb 2007 16:48:39 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Would:<br /><span class="source-code"><span class="p">#define  bool   unsigned char</span></span><br />work for porting to C?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Richard Phipps)</author>
		<pubDate>Sat, 03 Feb 2007 16:50:59 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>It&#39;s better to define it this way:<br /><span class="source-code"><span class="k1">enum</span> <span class="k1">bool</span> <span class="k2">{</span><span class="k1">false</span>, <span class="k1">true</span><span class="k2">}</span><span class="k2">;</span></span>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (LennyLen)</author>
		<pubDate>Sat, 03 Feb 2007 17:56:19 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>yes it was very easy to &quot;port&quot;.</p><p>The code was pretty neat and clean as well. It was easier to go through this than most of my old projects.</p><p>Anyway, in funkyfont.cpp, on lines #1647 and #1670, there is <span class="source-code"><span class="k1">if</span> <span class="k2">(</span>influence <span class="k3">&gt;</span> <span class="n">0</span>.<span class="n">8</span><span class="k2">)</span> <span class="k1">int</span> john <span class="k3">=</span> <span class="n">0</span><span class="k2">;</span></span>.</p><p>What was that going to be? It&#39;s like if(false) call_function(); especially seeing as how they are the only places in the whole file where there is a variable called john.</p><p>Is that the remnants of some old code, or some half-implemented stuff? I wasn&#39;t sure so i just commented it out.</p><p>Anyway, I&#39;ve attached the modified files for anyone&#39;s convenience. I tested it and everything seems good.</p><p>[EDIT] This is GNU C / C99. I didnt re-order variable declarations becuase i cannot think of a c compiler that anyone uses that needs that. And im a very lazy person.8-)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (m c)</author>
		<pubDate>Sat, 03 Feb 2007 21:50:14 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>It&#39;s because I&#39;m a bad person. Basically when I want to stop a function without having a horrible assert box pop up I test for the condition, and inside the brackets I create a variable and stick a breakpoint on that line. And then I forget that I&#39;ve done it and as a result my code is <b>littered</b> with &quot;int a=0;&quot; lines.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Graham Goring)</author>
		<pubDate>Mon, 05 Feb 2007 03:41:11 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Turning that question around (and hijacking the thread at the same time), I&#39;ve used a few libraries that define pragmas that stop the compiler if you compile it as c++ rather than c. What kind of things can you have in a C file that would stop it compiling as c++ ?</p><p>[edit]void pointers for one <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Neil Walker)</author>
		<pubDate>Tue, 06 Feb 2007 05:21:06 +0000</pubDate>
	</item>
</rss>
