What HPEngine learned about Harry Potter and the Philosopher's Stone for PC (KnowWonder, 2001, Unreal Engine 1, US 1.53) while porting it. The notes describe the original engine and game, not the port's design.
- Addresses are virtual addresses in the shipped US 1.53 binaries (
Engine.dll,Render.dll,Fire.dll,Galaxy.dll,Core.dll,HP.exe), as cited in the port's code comments. Unnamed functions are written asFUN_<address>. - Sources. Each claim names the original function and the port file that carries it (
../HP1.Core/...,../hpengine/...). Natives were checked against the original's machine code run in an emulator, frames against draw logs of the running original; those tools and the decompiled code stay private (see What is not in this repository). - D-nn numbers are entries of the project's internal decision and debt register (not published); they are given so issues and code comments can refer to the same item.
- Open marks what is not established from the original. Behaviour where the port deliberately differs is marked not original; the player-facing list is in Differences from the original.
- Frame tree and occlusion — mirrors, sky zone, warp zones, child frames, span-buffer occlusion.
- Sprites and draw order — actor sprite sorting, mesh triangle order.
- Render styles — EStyle (2 Masked, 3 Translucent, 4 Modulated), fatness, environment mapping, fog.
- Lighting and coronas — actor lighting, lightmaps, mover lightmaps, light flares.
- Decals and actor shadows — decal lists drawn after their surface, clipping, shadows.
- Meshes: LOD and skinning — LOD collapse, weighted-sum skinning, poses, animation lookup.
- Particles — AParticleFX update on the render side,
appFrand, self-destroy. - Procedural textures — FireTexture, WetTexture/WaterTexture, IceTexture.
- Timing and frame rate — frame-rate-dependent behaviour, why logic runs at 60 Hz.
- x87 precision — precision control,
fsin/fpatan/acos,_ftol, MSVCrandandqsort. - Spell gestures and input — gesture natives 426/427, the input path.
- Music and Galaxy audio — streaming music, song end, music after a load, sound channels.
- Saving, loading and map changes — save/load flow, LoadMap screens, travel.
- Editions — known releases and how they are identified.
- Bugs and quirks of the original — faults found while porting, their causes, what the port does.