Re: [AD] allegro_tiled: a new module for parsing tile-based maps. |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
I mainly used the internal data structures because they were *way*
better than my initial handmade solution. If making those references
available in user code is an issue, I can try to keep the contents of
the TILED structs completely opaque and force the user to use helper
methods to access them. If using them at all is a no-no, then I'm open
for suggestions on third-party list implementations to include.
Also, ex2 should work now. I did some refactoring and just forgot to update it.
On Tue, Jul 31, 2012 at 3:37 PM, Elias Pschernig
<elias.pschernig@xxxxxxxxxx> wrote:
> On Tue, 31 Jul 2012 15:16:12 -0500
> Damien Radtke <damienradtke@xxxxxxxxxx> wrote:
>
>> Hey all! I just wanted to share a project I've been working on for a
>> little while with you guys. It's a new module designed for parsing and
>> drawing tile-based maps saved in the TMX map format (most notably used
>> by the Tiled map editor program). The source code can be checked out
>> from my github repo:
>>
>> https://github.com/dradtke/allegro_tiled
>>
>> There are a couple small examples saved there, too, to demonstrate how
>> the module is used.
>>
>> Feedback is appreciated.
>>
>
> Nice! ex1 works out of the box here - ex2 complains about some missing
> tiled.h though.
>
> Looking at the code, I'm not sure how good of an idea it is in
> general to export _ALLEGRO_VECTOR and _ALLEGRO_LIST into user code. I
> do it myself as well since C doesn't have much of an alternative to use
> - but in theory they are meant to be used internally only...
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> --
> https://lists.sourceforge.net/lists/listinfo/alleg-developers