📄 main.h
字号:
//-----------------------------------------------------------------------------
// Name: DSound_PlaySound
//
// Description: Example code showing how to play a wave file
//
// File Function: Header file for the program (main.h)
//
// Code:
// Copyright (c) 2002 LostLogic Corporation. All rights reserved.
//
// Libraries Required:
// dxguid.lib winmm.lib dsound.lib
//
// Local Files Required:
// main.cpp
// main.h
// MouseZoneClass.h
// MouseZoneClass.cpp
// DXUtil.cpp
//
// DX Files:
// Copyright (c) 1997-2001 Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
#ifndef MAIN_H
#define MAIN_H
#define STRICT
#include <windows.h>
#include <commctrl.h>
#include <commdlg.h>
#include <math.h>
#include <tchar.h>
#include <stdio.h>
#include <D3DX9.h>
#include "DXUtil.h"
#include "D3DUtil.h"
#include "SoundSystem.h"
//-----------------------------------------------------------------------------
// Function headers
//-----------------------------------------------------------------------------
LRESULT WINAPI fnMessageProcessor( HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam );
void vCleanup( void );
bool bInitializeSoundSystem( void );
// Global handle to the game window
HWND g_hWnd;
// Global sound data
SoundSystem g_SoundSys;
GameSound *g_sndButton;
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -