📄 gmodviewer.h
字号:
// GModViewer.h : main header file for the GMODVIEWER application
//
#if !defined(AFX_GMODVIEWER_H__B9AEFA6A_6163_4EC7_A2EB_203010731BF6__INCLUDED_)
#define AFX_GMODVIEWER_H__B9AEFA6A_6163_4EC7_A2EB_203010731BF6__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h" // main symbols
#include "3d\vector.h"
/////////////////////////////////////////////////////////////////////////////
// CGModViewerApp:
// See GModViewer.cpp for the implementation of this class
//
class CGModViewerApp : public CWinApp
{
public:
CGModViewerApp();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CGModViewerApp)
public:
virtual BOOL InitInstance();
//}}AFX_VIRTUAL
// Implementation
//{{AFX_MSG(CGModViewerApp)
afx_msg void OnAppAbout();
afx_msg void OnSetBackground();
afx_msg void OnShowPropertypage();
afx_msg void OnSetResource();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#define DSP_NORMAL 1
#define DSP_TRANS 2
#define DSP_WIRE 3
#define DSP_COLORKEY 4
typedef struct ModelData_
{
int FrameCount;
int curFrame;
Vector4s Pos;
Vector4s Rot;
char ModelName[32];
int DisplayMode;
int Hide;
}ModelData;
#define MODEL_MAX 20
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_GMODVIEWER_H__B9AEFA6A_6163_4EC7_A2EB_203010731BF6__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -