the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#pragma once
2
3#include "../media/xuiscene_DebugTips.h"
4
5
6
7
8class CScene_DebugTips : public CXuiSceneImpl
9{
10 protected:
11 // Control and Element wrapper objects.
12 CXuiControl m_tip;
13
14 // Message map. Here we tie messages to message handlers.
15 XUI_BEGIN_MSG_MAP()
16 XUI_ON_XM_INIT( OnInit )
17 XUI_ON_XM_KEYDOWN(OnKeyDown)
18 XUI_END_MSG_MAP()
19
20 // Control mapping to objects
21 BEGIN_CONTROL_MAP()
22 MAP_CONTROL(IDC_Tip, m_tip)
23 END_CONTROL_MAP()
24
25 HRESULT OnInit( XUIMessageInit* pInitData, BOOL& bHandled );
26 HRESULT OnKeyDown(XUIMessageInput* pInputData, BOOL& rfHandled);
27public:
28
29 // Define the class. The class name must match the ClassOverride property
30 // set for the scene in the UI Authoring tool.
31 XUI_IMPLEMENT_CLASS( CScene_DebugTips, L"CScene_DebugTips", XUI_CLASS_SCENE )
32
33private:
34 bool m_bIgnoreInput;
35 int m_iPad;
36 D3DXVECTOR3 m_OriginalPosition;
37
38};