Coranac

tonc 1.4 official release

2008-08-19 – 15:05 | .

The files have need downloadable for a while now as a preview, but I finally put the text up on the main site as well so I guess that makes it official. Tonc is now at version 1.4. As mentioned before, the main new thing is TTE, a system for text for all occasions. I've also used grit in some of the advanced demos, so if you want to see how you can do advanced work with it, check out the mode 7 demos and the tte demo.

This will be the last version of Tonc. It's really gone on long enough now.


Files and linkies :


Right! Now what …


5 Comments »

  1. How about a clearly written and explained tutorial on writing platform games? ;)

    Comment by Kawa — 2008-08-19 @ 21:59
  2. I used tonc lib without any problem so far and it is great. But today I just tryed to move to cpp and the lib is giving me a linking error.

    the error is in the file "tonc_surface.h" at line 361:

    INLINE void srf_set_ptr(TSurface *srf, const void *ptr)
    {
    srf->data= (void*)ptr;
    }

    I am getting a "e:\Project\isoGraph\..\..\tonc\code\tonclib\include\tonc_surface.h|361|error: invalid conversion from 'void*' to 'u8*" error, shouldn't the cast be:

    srf->data= (u8*)ptr: ?

    Comment by elwing — 2008-08-25 @ 15:39
  3. You're right, that should have been (u8*), thank you for mentioning this. It should be fixed now.

    Comment by cearn — 2008-08-25 @ 17:21
  4. Hi Cearn i got this error when i try to compile the example tmr_demo:

    arm-eabi-gcc -MM -I../../tonclib/include -O2 -Wall -fno-strict-aliasing -mthumb- interwork -mthumb -c tmr_demo.c berk.c > tmr_demo.d
    arm-eabi-gcc -I../../tonclib/include -O2 -Wall -fno-strict-aliasing -mthumb-inte rwork -mthumb -c tmr_demo.c -o tmr_demo.o
    arm-eabi-gcc -I../../tonclib/include -O2 -Wall -fno-strict-aliasing -mthumb-inte rwork -mthumb -c berk.c -o berk.o
    berk.c:7: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token
    berk.c:226: warning: excess elements in struct initializer
    berk.c:226: warning: (near initialization for 'berkFont')
    berk.c:227: warning: excess elements in struct initializer
    berk.c:227: warning: (near initialization for 'berkFont')
    berk.c:227: error: expected '}' before numeric constant
    make: *** [berk.o] Error 1

    At the file 'berk.c' i changed this things:

    const u8 *widths;
    const u8 *heights;

    for this:

    const unsigned char *widths;
    const unsigned char *heights;

    An you forgot a ',' at the line 225 after the second '0'

    After that all worked fine :).

    Comment by Ealdor — 2008-09-23 @ 11:31
  5. @ Ealdor: yeah, you're right. It should be good now.

    Comment by cearn — 2008-09-30 @ 12:56
RSS feed for comments on this post. TrackBack URL

Leave a comment




XHTML: You can use these tags:<a href=""> <b> <blockquote cite=""> <br> <cite> <code> <div align="" class=""> <em> <i> <li> <ol> <p> <q cite=""> <sub> <sup> <u> <ul>
Others: [br], [code lang='*'], [color], [url], [wiki]




Powered by WordPress