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:
- Tutorial 01 — Minimal application
- Tutorial 02 — Using sprites
- Tutorial 03 — Input handling
- Tutorial 04 — Font rendering
- Tutorial 05 — Sound and music
- Tutorial 06 — Particle systems
- Tutorial 07 — Render targets
- Tutorial 08 — Animation
Tools Source (tools/)
Source code for the included tools, useful for learning and customization.
Setting Up a Project
- Add
include/to your include path - Add
lib/to your library path - Link against
hge.libandhgehelp.lib - 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")