⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 donuts.rc

📁 Windows CE .Net 下面 Direct DRAW编程的经典实例。对于初学Windows 平台下Direct DRAW技术的程序员颇具借鉴意义!
💻 RC
字号:
//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
//
// Use of this source code is subject to the terms of the Microsoft end-user
// license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
// If you did not accept the terms of the EULA, you are not authorized to use
// this source code. For a copy of the EULA, please see the LICENSE.RTF on your
// install media.
//
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
#include <windows.h>
#include "resource.h"

DONUTS_ICON             ICON    donuts.ico

DONUTS8                 BITMAP  donuts.bmp
SPLASH                  BITMAP  SPLASH.BMP

#ifdef USE_DSOUND

BeginLevel              WAV     level.wav

EngineIdle              WAV     hum.wav
EngineRev               WAV     rev.wav
SkidToStop              WAV     skid.wav
ShieldBuzz              WAV     shield.wav

Gunfire                 WAV     gunfire.wav
ShipBounce              WAV     bounce.wav
ShipExplode             WAV     bangbang.wav

DonutExplode            WAV     d_bang.wav
PyramidExplode          WAV     p_bang.wav
CubeExplode             WAV     c_bang.wav
SphereExplode           WAV     s_bang.wav

#endif

/*****************************************************************************
 *
 *  DONUTS_ACCEL 
 *
 *****************************************************************************/

DONUTS_ACCEL ACCELERATORS
BEGIN
    VK_RETURN,  IDC_STARTGAME,  VIRTKEY, NOINVERT

    VK_ESCAPE,  IDC_QUIT,       VIRTKEY, NOINVERT
    VK_F12,     IDC_QUIT,       VIRTKEY, NOINVERT

    VK_F1,      IDC_TRAILS,     VIRTKEY, NOINVERT
    VK_F3,      IDC_AUDIO,      VIRTKEY, NOINVERT
    VK_F5,      IDC_FRAMERATE,  VIRTKEY, NOINVERT
END

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -