#pragma once #include "UIControl.h" class UIScene_EnchantingMenu; class BookModel; class UIControl_EnchantmentBook : public UIControl { private: BookModel* model; Random random; // 4J JEV: Book animation variables. int time; float flip, oFlip, flipT, flipA; float open, oOpen; // bool m_bDirty; // float m_fScale,m_fAlpha; // int m_iPad; std::shared_ptr last; // float m_fScreenWidth,m_fScreenHeight; // float m_fRawWidth,m_fRawHeight; void tickBook(); public: UIControl_EnchantmentBook(); void render(IggyCustomDrawCallbackRegion* region); };