mirror of
https://github.com/risingPhil/PokeMe64.git
synced 2026-03-21 18:04:15 -05:00
- Add "Pikachu Bed" and "Tentacool Doll" decoration unlock options for gen 2 - bugfix for unsafe behaviour - attempt to make the RESET button work for cartridge switching. It failed though. (not reliable). Therefore I just added a warning message instead. - Work on new ScrollWidget for Credits/About screen (Work In Progress)
32 lines
826 B
C++
Executable File
32 lines
826 B
C++
Executable File
#ifndef _SCENE_WITH_DIALOG_WIDGET_H
|
|
#define _SCENE_WITH_DIALOG_WIDGET_H
|
|
|
|
#include "scenes/AbstractUIScene.h"
|
|
#include "widget/DialogWidget.h"
|
|
|
|
class SceneWithDialogWidget : public AbstractUIScene
|
|
{
|
|
public:
|
|
SceneWithDialogWidget(SceneDependencies& deps);
|
|
virtual ~SceneWithDialogWidget();
|
|
|
|
void init() override;
|
|
void destroy() override;
|
|
|
|
void render(RDPQGraphics& gfx, const Rectangle& sceneBounds) override;
|
|
|
|
void advanceDialog();
|
|
virtual void showDialog(DialogData* diagData);
|
|
protected:
|
|
virtual void setupFonts();
|
|
virtual void setupDialog(DialogWidgetStyle& style);
|
|
|
|
DialogWidget dialogWidget_;
|
|
WidgetFocusChainSegment dialogFocusChainSegment_;
|
|
uint8_t arialId_;
|
|
uint8_t fontStyleWhiteId_;
|
|
uint8_t fontStyleYellowId_;
|
|
private:
|
|
};
|
|
|
|
#endif |