![]() |
|
Mappy tile mapping system now available for Allegro 5 |
Neil Walker
Member #210
April 2000
![]() |
Hello, Features: Demo: Instructions: Screenshots: Compiling: The demo was compiled using the allegro-5.0.2-monolith-md library and visual studio 2010 so you will need this dll handy and I don't know about the effects of a visual studio exe is on non-msvc systems. Get it from the mappy.zip attachment. Quick Usage: 1. Load the map using MapLoad() passing in the file and whether you want black/pink/index 0 converting to alpha channel This is first version so there may be issues Neil. wii:0356-1384-6687-2022, kart:3308-4806-6002. XBOX:chucklepie |
Edgar Reynaldo
Major Reynaldo
May 2007
![]() |
Neil Walker said: 3. Include the header in your game and compile. Note, the file must be compiled as C not C++ If the code in the header is defined as "extern C" there shouldn't be a problem compiling as C++, right? Or is it something else? My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
Neil Walker
Member #210
April 2000
![]() |
Yes, it is, but I think it's more to do with the exotic use of void pointers and non-casting But it's not an issue really, if you are coding in C++, in MSVC it works by file extension (but you can just tell it to compile that file as c and mix c/c++ files), and in mingw editors you probably need to compile the .c to a .o and use that instead first. Neil. wii:0356-1384-6687-2022, kart:3308-4806-6002. XBOX:chucklepie |
|