Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

HGE 1.8.1 configured with CMake (DirectX8 and DirectX9 version in the same source tree), with shaders support

branch: master

Window size fix for newer Windows

latest commit 498bac6cb2
Dmytro Lytovchenko authored
Octocat-spinner-32 cmake CMake updated to visual studio 2012 + README September 01, 2013
Octocat-spinner-32 doc 1 September 23, 2011
Octocat-spinner-32 include cmake update December 09, 2012
Octocat-spinner-32 src Window size fix for newer Windows September 01, 2013
Octocat-spinner-32 tools dx9 hardware vertexbuf patch October 03, 2011
Octocat-spinner-32 tutorials http://relishgames.com/forum/index.php?p=/discussion/4033/hge-zbuffer… January 23, 2012
Octocat-spinner-32 .gitattributes 1 September 23, 2011
Octocat-spinner-32 .gitignore merged dx8 & dx9 versions September 24, 2011
Octocat-spinner-32 CMakeLists.txt dx8 hardware vertexbuf patch October 03, 2011
Octocat-spinner-32 HGE_CMake_Issues.txt merged dx8 & dx9 versions September 24, 2011
Octocat-spinner-32 Original_README.txt 1 September 23, 2011
Octocat-spinner-32 README.md CMake updated to visual studio 2012 + README September 01, 2013
Octocat-spinner-32 bass.dll 1 September 23, 2011
Octocat-spinner-32 cmake_msvs10_x86.bat 1 September 23, 2011
Octocat-spinner-32 cmake_msvs11_x86.bat cmake update December 09, 2012
Octocat-spinner-32 cmake_msvs8-2005_x86.bat 1 September 23, 2011
Octocat-spinner-32 cmake_msvs9-2008_x86.bat 1 September 23, 2011
Octocat-spinner-32 license.txt 1 September 23, 2011
README.md

This is README for HGE library source reconfigured with CMake

For original readme file refer to Original_README.txt

INSTALLING

This package is configured with CMakeLists.txt for use with CMake. Once ran, CMake generates project files for one of known IDE's for Windows (as well as Linux/Unix/MacOSX but this version of HGE only builds on Windows).

  1. Edit CMakeLists.txt in root folder, set "DIRECTX_SDK_DIR" to where you have "DirectX SDK Summer 2004" installed (for DirectX8 build) and some other DirectX SDK for DirectX9 build. If you don't have it yet - visit Microsoft website or search google for "DirectX SDK Summer 2004" (~230 MB download) or some fresh DirectX 9 SDK (~year 2010, size ~550 MB).
  2. Run cmake_msvs10_x86.bat for Visual Studio 2010 32bit build (or other bat file, depending what's your IDE).
  3. Project directory will be created in HGE181/.build-%YOUR_IDE_VERSION% (for example HGE181/.build-msvs10), open project file (solution file) inside with your IDE and press "BUILD" in your IDE.
  4. Resulting library HGE.DLL and HGE.LIB will be placed in HGE181/bin directory, all intermediate libraries will be placed in HGE181/linklib. There is also HGE-STATIC library which doesn't require DLL to run, it can be found in HGE181/linklib.
  5. All temporary build files will stay inside .build-*. To clean intermediate files one should delete HGE181/linklib, HGE181/bin and HGE181/.build-*

IMPORTANT

  1. If you are going to change any build options, please keep in mind, that this is CMake generated project, editing anything inside .build-* folder will possibly be overwritten next time, when you compile HGE project. If you need to add any compiler options, please edit main or each CMakeLists.txt in HGE181 and HGE181/src/* folders (depending how big your changes are).
  2. if you link against HGE library, you only need to mention HGE.LIB in project settings, and have HGE.DLL in your program folder. HGEHELPERS is not needed (its linked internally).
  3. if you link against HGE-STATIC flavour of library, you don't need HGE.DLL anymore, all functionality remains ok. You need to mention HGEHELPERS, ZLIB and HGELIBPNG in linker settings of your project for this to work.
Something went wrong with that request. Please try again.