first commit
This commit is contained in:
33
Minecraft.Client/Common/UI/UIControl_EnchantmentBook.h
Normal file
33
Minecraft.Client/Common/UI/UIControl_EnchantmentBook.h
Normal file
@@ -0,0 +1,33 @@
|
||||
#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);
|
||||
};
|
||||
Reference in New Issue
Block a user