Skip to content

Commit

Permalink
Merge branch 'r44'
Browse files Browse the repository at this point in the history
  • Loading branch information
mtheall committed Aug 19, 2015
2 parents f505422 + 0ba3844 commit 8ccbc94
Show file tree
Hide file tree
Showing 17 changed files with 241 additions and 1,092 deletions.
2 changes: 1 addition & 1 deletion Makefile.3ds
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ ARCH := -march=armv6k -mtune=mpcore -mfloat-abi=hard
CFLAGS := -g -Wall -O3 -mword-relocations \
-fomit-frame-pointer -ffast-math \
$(ARCH) \
-DSTATUS_STRING="\"ftbrony v1.0\""
-DSTATUS_STRING="\"ftbrony v1.1\""

CFLAGS += $(INCLUDE) -DARM11 -D_3DS

Expand Down
Binary file removed data/sans.10.kerning.bin
Binary file not shown.
Binary file removed data/sans.10.render.bin
Binary file not shown.
Binary file removed data/sans.12.kerning.bin
Binary file not shown.
Binary file removed data/sans.12.render.bin
Binary file not shown.
Binary file removed data/sans.14.kerning.bin
Binary file not shown.
Binary file removed data/sans.14.render.bin
Binary file not shown.
Binary file removed data/sans.16.kerning.bin
Binary file not shown.
Binary file removed data/sans.16.render.bin
Binary file not shown.
Binary file removed data/sans.8.kerning.bin
Binary file not shown.
Binary file removed data/sans.8.render.bin
Binary file not shown.
12 changes: 11 additions & 1 deletion include/console.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
#pragma once

#define ESC(x) "\x1b[" #x
#define RESET ESC(0m)
#define BLACK ESC(30m)
#define RED ESC(31;1m)
#define GREEN ESC(32;1m)
#define YELLOW ESC(33;1m)
#define BLUE ESC(34;1m)
#define MAGENTA ESC(35;1m)
#define CYAN ESC(36;1m)
#define WHITE ESC(37;1m)

void console_init(void);
void console_exit(void);

__attribute__((format(printf,1,2)))
void console_set_status(const char *fmt, ...);
Expand Down
7 changes: 6 additions & 1 deletion include/gfx.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#pragma once

void gfxDrawSprite(gfxScreen_t screen, gfx3dSide_t side, u8* spriteData, u16 width, u16 height, s16 x, s16 y);
#ifdef _3DS
#include <3ds.h>

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

#endif
Loading

0 comments on commit 8ccbc94

Please sign in to comment.