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

📄 gfx.h

📁 2D即时战略游戏源码.仿红色警戒之类的。不过有点粗糙
💻 H
字号:
/*==========================================================================
 *
 *  Copyright (C) 1995-1996 Microsoft Corporation. All Rights Reserved.
 *
 *  File:       gfx.h
 *  Content:    graphics routines include file
 *
 *
 ***************************************************************************/
#include "duel.h"
#include "ddraw.h"

/*
 * Prototypes
 */
BOOL    InitGraphics( void );
void    CleanupGraphics(void);
void    bltSplash( LPRECT );
void    bltScore( char *num, int x, int y );
void    bltObject( int x, int y, LPDIRECTDRAWSURFACE surf, LPRECT src, DWORD flags );
void    EraseScreen( void );
void    FlipScreen( void );
BOOL    RestoreSurfaces( void );
void    SetGamePalette(void);
void    FlipToGDI(void);

⌨️ 快捷键说明

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