mirror of
https://github.com/risingPhil/PokeMe64.git
synced 2026-03-21 18:04:15 -05:00
This implements functionality to teach Pikachu Surf and/or Fly and extends existing widgets to help provide this functionality. When a gen1 game is inserted, the user gets the choice to teach Pikachu these moves. This commit also restructures some of the Data and Style structs.
31 lines
774 B
C++
Executable File
31 lines
774 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();
|
|
protected:
|
|
virtual void setupFonts();
|
|
virtual void setupDialog(DialogWidgetStyle& style);
|
|
|
|
DialogWidget dialogWidget_;
|
|
WidgetFocusChainSegment dialogFocusChainSegment_;
|
|
uint8_t arialId_;
|
|
uint8_t fontStyleWhiteId_;
|
|
uint8_t fontStyleYellowId_;
|
|
private:
|
|
};
|
|
|
|
#endif |