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

📄 readme.txt

📁 游戏编程源码
💻 TXT
字号:
Beginning Game Programming - Examples
======================================================
Bloodshed Dev-C++ 5


INTRO
===============
Bloodshed Dev-C++ 5 is a graphical suite of development tools that allow you to build Windows applications. Dev-C++ project files are included for each example program and game in the book, and are named Example.dev, where Example is the name of the example. You'll need to open a .dev file in Dev-C++ to open and build any of the examples.

TESTING
===============
To test the examples, just go to the appropriate example folder and double-click the .exe file for the example. The examples are already built, so you don't have to build them in order to test them. Have fun!

WARNING
===============
As of this writing, an important standard header file in the Dev-C++ environment is set to target an older version of Windows, which results in some of the examples in the book not compiling properly. You can easily fix this problem by adding a small chunk of code to the windows.h header file. This file is located in the include folder just beneath the main Dev-C++ install folder (usually \Dev-Cpp\include). Open this file in Dev-C++, and add the following code just after the first block of code that ends with #endif:

#ifndef WINVER
#define WINVER 0x0501
#else
#if defined(_WIN32_WINNT) && (WINVER < 0x0400) && (_WIN32_WINNT > 0x0400)
#error WINVER setting conflicts with _WIN32_WINNT setting
#endif
#endif

⌨️ 快捷键说明

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