2024-05-28 12:02:28 +00:00
|
|
|
#ifndef __BUN_H__
|
|
|
|
#define __BUN_H__
|
|
|
|
|
|
|
|
#include "screen.h"
|
|
|
|
|
2024-06-01 11:42:11 +00:00
|
|
|
#define COOL_BUN_WIDTH (32)
|
|
|
|
#define COOL_BUN_WIDTH_BYTES (COOL_BUN_WIDTH / 8)
|
|
|
|
#define COOL_BUN_HEIGHT (32)
|
|
|
|
#define COOL_BUN_PLANES (2)
|
|
|
|
#define COOL_BUN_LAST_ROW (COOL_BUN_HEIGHT - 1)
|
|
|
|
#define COOL_BUN_LAST_ROW_BYTES (COOL_BUN_LAST_ROW * COOL_BUN_WIDTH_BYTES)
|
|
|
|
|
|
|
|
#define COOL_BUN_PLANE_SIZE (COOL_BUN_WIDTH_BYTES * COOL_BUN_HEIGHT)
|
|
|
|
#define COOL_BUN_MEMORY_SIZE (COOL_BUN_PLANE_SIZE * COOL_BUN_PLANES)
|
|
|
|
|
|
|
|
void setupBun(void);
|
|
|
|
void renderBun(
|
|
|
|
int x,
|
|
|
|
int y,
|
|
|
|
struct ScreenSetup *screenSetup,
|
|
|
|
struct CurrentScreen *currentScreen
|
|
|
|
);
|
|
|
|
void teardownBun(void);
|
2024-05-28 12:02:28 +00:00
|
|
|
|
|
|
|
#endif
|