34 lines
578 B
C++
34 lines
578 B
C++
#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;
|
|
shared_ptr<ItemInstance> last;
|
|
|
|
//float m_fScreenWidth,m_fScreenHeight;
|
|
//float m_fRawWidth,m_fRawHeight;
|
|
|
|
void tickBook();
|
|
|
|
public:
|
|
UIControl_EnchantmentBook();
|
|
|
|
void render(IggyCustomDrawCallbackRegion *region);
|
|
};
|