|
AMFP Enhanced
C++ reference: the code this unofficial fork added
|
| crates | |
| hpl-cjk-text | |
| include | |
| hpl_cjk_text.h | |
| Game | |
| src | |
| game | |
| LuxAutoSave.h | Autosave and manual saves (Enhanced option "Autosave") |
| LuxComfort.h | Comfort pass (PLAN.md "Comfort pass") |
| LuxComfortBody.h | Comfort pass, body / view model helpers (PLAN.md "Comfort pass", rows 8b, 8c) |
| LuxComfortCam.h | Comfort pass, camera side (PLAN.md "Comfort pass", rows 1d, 1e, 2, 4, 5, 6, 8d) |
| LuxComfortFx.h | Comfort pass helpers for the screen effects (shake, image trail, radial blur) in LuxEffectHandler.cpp |
| LuxContextControls.h | Which control prompts the bottom-right HUD shows for the player's state and the entity in focus |
| LuxDevBridge.h | Dev-only command bridge for automated testing (tools/dev/amfp_dev.py) |
| LuxDevBridgeParse.h | Parsing for the dev bridge (LuxDevBridge.cpp) |
| LuxFsPath.h | File paths for std::fstream / remove on every platform |
| LuxGameRoot.h | Game folder the Windows exe works from |
| LuxGuiAspect.h | GUI virtual-size aspect calculation, kept free of engine types so it can be unit tested on its own (tests/cpp/test_gui_aspect.cpp) |
| LuxGuidance.h | Gentle guidance, one Enhanced option with four levels (Modern = Normal): Off nothing extra (the original game) Light the objective line: the latest hint's title and first sentence (the game's own words), when a hint is new and on request (D-pad down / O) Normal + the stuck nudge: after 3 minutes without progress the objective comes back up; after 6 minutes again, now with the clue words coloured (LuxKeywords.h), and the colour stays until the player makes progress Full + clue words always coloured, nudge every 3 minutes No map, no markers, no new hint text (see PLAN.md) |
| LuxInitConfigPath.h | Choose the main init config |
| LuxInputMode.h | Which input the player used last (gamepad or keyboard/mouse), so prompts and dialogs show matching buttons |
| LuxJournalToast.h | Brief "new hint / note" HUD rows (Enhanced option) |
| LuxKeywords.h | Clue words drawn in a warm colour (Guidance option, LuxGuidance.h) |
| LuxKeywordText.h | Draw a row of text with its clue words in a warm colour (LuxKeywords.h), when the Guidance level asks for it (LuxGuidance.h) |
| LuxLoadProgress.h | Loading percentage for map loads |
| LuxMenuScale.h | Menu size on high-resolution screens |
| LuxMouseLook.h | Mouse-look delta, free of engine types so it can be unit tested (tests/cpp/test_mouse_look.cpp) |
| LuxPadGlyphs.h | Gamepad glyph shown on a button only while the pad is in use (last input, cLuxInputHandler::IsGamepadMode) |
| LuxPadLayout.h | Classic / Modern gamepad layouts (Input tab) |
| LuxPadLook.h | Gamepad look response (Input tab: dead zone, look acceleration, separate X / Y speed) |
| LuxPreload.h | What to preload while playing |
| LuxPreloader.h | Warms the OS file cache with the next map's files while the player is in this one (LuxPreload.h picks the files) |
| LuxPresets.h | Original / Modern presets for the 2026 options tab |
| LuxProfilePad.h | Gamepad control of the profile window (the stock window was mouse-only in practice) |
| LuxScriptedMotion.h | Scaling for camera effects that map scripts trigger (image trail, radial blur, screen shake, FOV/aspect multiplier, roll), to reduce motion sickness |
| LuxSelfSetup.h | Self-setup on first start |
| LuxStorySkip.h | Story-scene skip |
| LuxVersionText.h | Version line on the title menu (bottom right), e.g |
| LuxVideoModeList.h | De-duplication of the options-menu resolution list, as a template so it can be unit tested without the engine (tests/cpp/test_video_mode_list.cpp) |
| HPL2 | |
| core | |
| include | |
| graphics | |
| ShadowMapSizes.h | Shadow map size per resolution setting and light tier, unit tested in tests/cpp/test_shadow_map_sizes.cpp |
| WordWrap.h | Greedy word wrap with pluggable width and break rules, unit tested in tests/cpp/test_word_wrap.cpp |
| impl | |
| MeshLoaderUfbx.h | .FBX loading through ufbx, in place of the Autodesk FBX SDK loader the original exe used (MeshLoaderFBX.cpp, compiled out with HPL_NO_FBX) |
| SoftwareGamma.h | Gamma (Options > Gamma) when the display cannot do it |
| resources | |
| FbxAnimTimes.h | FBX animation key times as the original Autodesk FBX SDK loader saw them |
| FbxDecompose.h | Split a bone matrix into translation, rotation and scale the way the Autodesk FBX SDK did (KFbxXMatrix GetT / GetR / GetS), so the ufbx loader reproduces the original loader's rest poses and keys |
| LangTextDecode.h | Decoding of a .lang <Entry> text into the engine's 16-bit wide string |