Core Native GBA 0.0.17
create your own game-engine with just lua for nitendo game boy advance console.
Loading...
Searching...
No Matches
draw_color.c File Reference
#include "zeebo.h"
Include dependency graph for draw_color.c:

Go to the source code of this file.

Functions

void draw_cmd_color (uint8_t r, uint8_t g, uint8_t b, uint8_t a)
 
void draw_cmd_mode (uint8_t drawmode, uint8_t flushmode, uint8_t change_mode, uint8_t change_flush)
 

Variables

static uint8_t flush_mode
 
static color_t tint = {0xFF00}
 
static color_t clear = {0x0FFF}
 
color_t draw_color = {0x00FF}
 
uint8_t draw_mode
 

Function Documentation

◆ draw_cmd_color()

void draw_cmd_color ( uint8_t r,
uint8_t g,
uint8_t b,
uint8_t a )

Definition at line 10 of file draw_color.c.

◆ draw_cmd_mode()

void draw_cmd_mode ( uint8_t drawmode,
uint8_t flushmode,
uint8_t change_mode,
uint8_t change_flush )

Definition at line 40 of file draw_color.c.

Variable Documentation

◆ clear

color_t clear = {0x0FFF}
static

Definition at line 5 of file draw_color.c.

◆ draw_color

color_t draw_color = {0x00FF}

Definition at line 7 of file draw_color.c.

◆ draw_mode

uint8_t draw_mode

Definition at line 8 of file draw_color.c.

◆ flush_mode

uint8_t flush_mode
static

Definition at line 3 of file draw_color.c.

◆ tint

color_t tint = {0xFF00}
static

Definition at line 4 of file draw_color.c.