Isle
Loading...
Searching...
No Matches
historybook.h
Go to the documentation of this file.
1#ifndef HISTORYBOOK_H
2#define HISTORYBOOK_H
3
4#include "decomp.h"
5#include "legogamestate.h"
6#include "legoworld.h"
7
9
10// VTABLE: LEGO1 0x100da328
11// VTABLE: BETA10 0x101b99b0
12// SIZE 0x3e4
17class HistoryBook : public LegoWorld {
18public:
23
27 ~HistoryBook() override; // vtable+0x00
28
34 MxLong Notify(MxParam& p_param) override; // vtable+0x04
35
40 const char* ClassName() const override // vtable+0x0c
41 {
42 // STRING: LEGO1 0x100f04bc
43 return "HistoryBook";
44 }
45
51 MxBool IsA(const char* p_name) const override // vtable+0x10
52 {
53 return !strcmp(p_name, HistoryBook::ClassName()) || LegoWorld::IsA(p_name);
54 }
55
61 MxResult Create(MxDSAction& p_dsAction) override; // vtable+0x18
62
66 void ReadyWorld() override; // vtable+0x50
67
72 MxBool Escape() override; // vtable+0x64
73
74 // SYNTHETIC: LEGO1 0x100824b0
75 // HistoryBook::`scalar deleting destructor'
76
77private:
81 LegoGameState::Area m_destLocation; // 0xf8
82
88 MxStillPresenter* m_alphabet[26]; // 0xfc
89
97 MxStillPresenter* m_name[20][7]; // 0x164
98
102 MxStillPresenter* m_scores[20]; // 0x394
103};
104
105#endif // HISTORYBOOK_H
[AI] The HistoryBook class represents the "History Book" world/scene shown in LEGO Island,...
Definition: historybook.h:17
const char * ClassName() const override
[AI] Get the class name string ("HistoryBook").
Definition: historybook.h:40
~HistoryBook() override
[AI] Destructor for HistoryBook.
Definition: historybook.cpp:26
void ReadyWorld() override
[AI] Prepares the HistoryBook for display, populates bitmap presenters with alphabet letters,...
Definition: historybook.cpp:94
HistoryBook()
[AI] Constructor for HistoryBook.
Definition: historybook.cpp:16
MxResult Create(MxDSAction &p_dsAction) override
[AI] Sets up the world based on the provided action, registers for input/control, and enters the hist...
Definition: historybook.cpp:54
MxBool IsA(const char *p_name) const override
[AI] Type check for "HistoryBook" class or parent types.
Definition: historybook.h:51
MxLong Notify(MxParam &p_param) override
[AI] Notification handler processing game events for this world, such as button presses and transitio...
Definition: historybook.cpp:72
MxBool Escape() override
[AI] Handles Escape key/input, setting the world to transition to the Info Main area.
Area
Enumeration of all major in-game locations ("areas") for area/scene management and serialization.
Definition: legogamestate.h:92
Represents the active 3D world, holding all entity, animation, sound, path, and ROI objects.
Definition: legoworld.h:49
MxBool IsA(const char *p_name) const override
Runtime type checking; checks class hierarchy.
Definition: legoworld.h:153
[AI] Represents an action deserialized from SI chunks, holding key animation or script parameters suc...
Definition: mxdsaction.h:17
[AI] MxParam serves as a polymorphic base class for parameter passing in event and notification syste...
Definition: mxparam.h:7
[AI] Presenter for single still image/bitmap media sources in the game.
#define override
Definition: compat.h:21
MxU8 MxBool
[AI]
Definition: mxtypes.h:124
MxLong MxResult
[AI]
Definition: mxtypes.h:106
int MxLong
[AI]
Definition: mxtypes.h:83