textstuff for Homebrew Development [library]

Discussion in '3DS - Homebrew Development and Emulators' started by titegtnodI, Nov 27, 2014.

  1. titegtnodI
    OP

    titegtnodI Advanced Member

    Newcomer
    82
    67
    Nov 25, 2014
    Canada
    I'm not sure where to post this, so I'll just post it here for now.

    I've modified insaneKane's text stuff he has for the 3DS, but I made it work for ctrulib. I figured I had issues finding something simple to draw text with, and this should hopefully help someone out.

    [​IMG]

    Setup
    1. Just follow the instructions to setup your development environment here.
    2. Copy or link "letters.h", "memory.h", and "memory.c" to example/source.
    3. Go ahead and compile the example.
    Credits
    • insaneKane - The original code (here)
    • titegtnodI - Modifications for ctrulib
     
    AlbertoSONIC and shinyquagsire23 like this.
  2. titegtnodI
    OP

    titegtnodI Advanced Member

    Newcomer
    82
    67
    Nov 25, 2014
    Canada
    I updated the opening post with the Github link. The Github link adds in more characters (-.,:?!1234567890), fixes a bug that would cause a crash if you used an invalid character, cleans up a bit of the code, removes unnecessary code, and removes the warning about letter_space never being used. Basically, the library is a lot more useful now.
     
  3. thekman

    thekman Advanced Member

    Newcomer
    52
    12
    Dec 3, 2014
    Canada
    *removed*