mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-27 02:01:32 +11:00
27 lines
635 B
C
27 lines
635 B
C
/* Copyright (c) 2013-2019 Jeffrey Pfau
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
#ifndef GBA_RENDERER_COMMON_H
|
|
#define GBA_RENDERER_COMMON_H
|
|
|
|
#include <mgba-util/common.h>
|
|
|
|
CXX_GUARD_START
|
|
|
|
#include <mgba/internal/gba/video.h>
|
|
|
|
struct GBAVideoRendererSprite {
|
|
struct GBAObj obj;
|
|
int16_t y;
|
|
int16_t endY;
|
|
int16_t cycles;
|
|
int8_t index;
|
|
};
|
|
|
|
int GBAVideoRendererCleanOAM(struct GBAObj* oam, struct GBAVideoRendererSprite* sprites, int offsetY);
|
|
|
|
CXX_GUARD_END
|
|
|
|
#endif |