Tagged with directx8 - HGE http://relishgames.com/forum/index.php?p=/discussions/tagged/directx8/feed.rss Wed, 22 May 13 13:53:11 -0400 Tagged with directx8 - HGE en-CA HGE1.81 all IDE's, DirectX 8, DirectX 9, Shaders - Git repo http://relishgames.com/forum/index.php?p=/discussion/6235/hge1.81-all-ides-directx-8-directx-9-shaders-git-repo Fri, 16 Sep 2011 17:14:45 -0400 kvakvs 6235@/forum/index.php?p=/discussions
I've spent few hours today reconfiguring the original HGE 1.8.1 to compile and link properly on (hopefully) most Windows IDEs. This was done using CMake build system.


THIS IS BOTH DirectX 8 and DirectX 9 version in the same source tree.
Shaders are supported if you build for DirectX 9


GIT repository
https://github.com/kvakvs/hge
Example platformer Game - GIT repo
https://github.com/kvakvs/hge_skel


Results:
* All HGE libraries build properly (HGE, HGE-Static, HGEHelpers, ZLIB, libPNG)
** 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).
** 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.
* All HGE tools build properly (fontconv, fonted, particleed, pngopt, texasm). Tools were tested briefly and seem to be starting correctly.
* All 8 HGE examples build properly, all tested and working.
* Binaries updated in tools/ and tutorials/precompiled directories.
* BASS works properly (BASS DLL was not updated).

Current release #1 contains BAT files to produce projects for Visual Studio 2005, 2008 and 2010, but since CMake supports much many more platforms (codeblocks, eclipse, mingw/msys/borland makefiles etc) you can just run CMake (inside cmake/bin directory) without parameters and see what other targets it supports and create your own BAT file - i will add those BAT files in next release, as soon as I get news about successful compiling on those IDEs.

NOTE: Other platforms will compile properly ONLY if you have compiler version recent enough (of year 2005+).
NOTE: You still need 230+ megabytes of DirectX8 SDK from microsoft website (may require windows genuinity check). DirectX directory should be configured in CMakeLists.txt (see HGE_CMake_README.txt)
NOTE: For DirectX9 you can get some more fresh DirectX 9 SDK (around year 2010 or so will do, ~550MB download from Microsoft.com)

Parts of CMake 2.8 are packaged inside the archive, its license is attached, and it allows redistribution.]]>