Difference between revisions of "Windows Code Notes"
(→Build Environments) |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | ==Build Environment== | |
− | + | You can use the free Visual Studio 2005 Express edition to compile the SDK. ''Please note that the newly-released Visual Studio 2008 Express is currently untested with the SDK.'' | |
− | + | ==Running the Game== | |
− | + | You can find the final gamex86.dll in '''source\build\win32\<configuration name>\''' | |
+ | Copy it to the same folder as your etqw.exe and the game will automatically load your new dll. | ||
− | + | We recommend setting up a post-build event to automatically copy the dll to the game folder. | |
+ | |||
+ | ==Project Configurations== | ||
+ | The game project has three configurations: | ||
+ | ===Debug with Edit and Continue=== | ||
+ | Disable all optimizations and enable Edit and Continue so that code can be modified and the changes applied without restarting the game. Some operations like compiling scripts will take noticeably longer in this mode. | ||
+ | |||
+ | ===Debug with Inlines=== | ||
+ | Optimizations are enabled; some functions will be inlined. You'll still be able to properly set breakpoints and inspect data. | ||
+ | |||
+ | ===Release=== | ||
+ | All Optimizations are enabled. Breakpoints and data may not reliably match up to the source code. |
Latest revision as of 16:07, 21 November 2007
Contents
Build Environment
You can use the free Visual Studio 2005 Express edition to compile the SDK. Please note that the newly-released Visual Studio 2008 Express is currently untested with the SDK.
Running the Game
You can find the final gamex86.dll in source\build\win32\<configuration name>\ Copy it to the same folder as your etqw.exe and the game will automatically load your new dll.
We recommend setting up a post-build event to automatically copy the dll to the game folder.
Project Configurations
The game project has three configurations:
Debug with Edit and Continue
Disable all optimizations and enable Edit and Continue so that code can be modified and the changes applied without restarting the game. Some operations like compiling scripts will take noticeably longer in this mode.
Debug with Inlines
Optimizations are enabled; some functions will be inlined. You'll still be able to properly set breakpoints and inspect data.
Release
All Optimizations are enabled. Breakpoints and data may not reliably match up to the source code.