mirror of
https://github.com/risingPhil/PokeMe64.git
synced 2026-09-11 10:15:12 -05:00
It doesn't look like much, but it's functional ;-) It can inject distribution pokémon into gen 1 and gen 2 original cartridges and inject the GS ball in Pokémon Crystal. That's it. But that was the minimal feature set I had in mind for the project. In the Readme.md you can find the ideas I have for expanding the project. But the first priority is the UI, because it really looks bad right now. (as I was mostly focused on building blocks and transfer pak functionality. Not on making it looks good)
36 lines
927 B
C++
Executable File
36 lines
927 B
C++
Executable File
#ifndef _TESTSCENE_H
|
|
#define _TESTSCENE_H
|
|
|
|
#include "scenes/AbstractUIScene.h"
|
|
#include "core/RDPQGraphics.h"
|
|
#include "core/Sprite.h"
|
|
|
|
class TestScene : public AbstractUIScene
|
|
{
|
|
public:
|
|
TestScene(SceneDependencies& deps, void* sceneContext);
|
|
virtual ~TestScene();
|
|
|
|
void init() override;
|
|
void destroy() override;
|
|
|
|
void render(RDPQGraphics& gfx, const Rectangle& sceneBounds) override;
|
|
protected:
|
|
private:
|
|
rdpq_font_t* arialFont_;
|
|
uint8_t arialFontId_;
|
|
uint8_t fontStyleWhite_;
|
|
sprite_t* pokeballSprite_;
|
|
sprite_t* oakSprite_;
|
|
sprite_t* menu9SliceSprite_;
|
|
const Rectangle rectBounds_;
|
|
const Rectangle textRect_;
|
|
const Rectangle spriteBounds_;
|
|
Rectangle oakBounds_;
|
|
Rectangle oakSrcBounds_;
|
|
const Rectangle menuBounds_;
|
|
TextRenderSettings textRenderSettings_;
|
|
const SpriteRenderSettings menuRenderSettings_;
|
|
};
|
|
|
|
#endif |