Package Contents

What's included in the HGE SDK.

Directory Structure

The HGE SDK is organized into these directories:

hge/
├── include/         - Header files
├── lib/             - Static libraries
├── bin/             - DLLs and tools
├── src/             - Source code (if included)
├── tutorials/       - Tutorial projects
├── tools/           - Tool source code
└── doc/             - Documentation

Header Files (include/)

| File | Description | |------|-------------| | hge.h | Main HGE interface | | hgesprite.h | Sprite class | | hgefont.h | Bitmap font class | | hgeparticle.h | Particle system | | hgeanim.h | Animation class | | hgedistort.h | Distortion mesh | | hgegui.h | GUI system | | hgerect.h | Rectangle helper | | hgeresource.h | Resource manager | | hgevector.h | 2D vector math | | hgecolor.h | Color utilities | | hgestrings.h | String table |

Libraries (lib/)

| File | Description | |------|-------------| | hge.lib | Import library for hge.dll | | hgehelp.lib | Helper classes (static) |

Runtime Files (bin/)

| File | Description | |------|-------------| | hge.dll | HGE runtime library | | bass.dll | BASS audio library | | particleed.exe | Particle editor | | texasm.exe | Texture assembler | | fonted.exe | Font editor |

Tutorials (tutorials/)

Step-by-step learning projects:

  1. Tutorial 01 — Minimal application
  2. Tutorial 02 — Using sprites
  3. Tutorial 03 — Input handling
  4. Tutorial 04 — Font rendering
  5. Tutorial 05 — Sound and music
  6. Tutorial 06 — Particle systems
  7. Tutorial 07 — Render targets
  8. Tutorial 08 — Animation

Tools Source (tools/)

Source code for the included tools, useful for learning and customization.

Setting Up a Project

  1. Add include/ to your include path
  2. Add lib/ to your library path
  3. Link against hge.lib and hgehelp.lib
  4. Copy DLLs to your output directory
#include <hge.h>
#include <hgesprite.h>
// ... other includes as needed

#pragma comment(lib, "hge.lib")
#pragma comment(lib, "hgehelp.lib")

See Also