Add affine background color functionality and integrate into game loop
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#ifndef AFFINE_BACKGROUND_H
|
||||
#define AFFINE_BACKGROUND_H
|
||||
|
||||
#include <tonc.h>
|
||||
|
||||
#include "graphic_utils.h"
|
||||
|
||||
#define AFFINE_BG_PAL_LEN 5
|
||||
#define AFFINE_BG_PB (PAL_ROW_LEN * 15) // This isn't really a palette bank, just the starting index of the palette
|
||||
#define AFFINE_BG_DEFAULT_COLOR 0x3E4B
|
||||
|
||||
void affine_background_init();
|
||||
void affine_background_update();
|
||||
void affine_background_set_color(COLOR color);
|
||||
|
||||
#endif // AFFINE_BACKGROUND_H
|
||||
Reference in New Issue
Block a user