Skip to content

Files

Latest commit

Dec 4, 2014
05afedf · Dec 4, 2014

History

History
28 lines (16 loc) · 950 Bytes

functions.md

File metadata and controls

28 lines (16 loc) · 950 Bytes

#3DS functions

A collection of handy functions created by our contributors or inspired by other 3DS projects

##Browse

##Download & install

  • Download functions.zip
  • Unzip it in your project's source folder
  • Write #include "functions.h" at the beginning of your source code, just after 3ds.h.
  • Use the functions in your code.

Alternatively, you can browse the source code and copy what you need in your project.

##API

###Graphics

void gfxDrawSprite(gfxScreen_t screen, gfx3dSide_t side, u8* spriteData, u16 width, u16 height, s16 x, s16 y);

void gfxDrawSpriteAlpha(gfxScreen_t screen, gfx3dSide_t side, u8* spriteData, u16 width, u16 height, s16 x, s16 y);

void gfxDrawSpriteAlphaBlend(gfxScreen_t screen, gfx3dSide_t side, u8* spriteData, u16 width, u16 height, s16 x, s16 y);