Repository navigation
fixes_031_build #16
remileonard
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
libRealSpace 0.3.1 — Release notes (from
lcos_030_build→fixes_031_build)Compare: lcos_030_build...fixes_031_build
Date: 2026-02-28
Highlights
assets/config.ini.Added
src/engine/Config.cppandsrc/engine/Config.hpp(singleton wrapper around SimpleIni).vcpkg.jsonnow depends on simpleini.resources/config.ini, copied into assets at build/install time.JOYSTICK_BUTTON,JOYSTICK_AXIS.bindJoystickButtonToAction/bindJoystickAxisToAction.GameEngine::initKeyboard()loadsdefault_bindings.cfgif present, otherwise generates bindings and saves them.Changed / Improved
GameEngine::init()readsWindow.width/Window.heightfrom config (with defaults).src/executables/sc/main.cpploads./assets/config.iniand appliesWindow.width/height/fullscreen.Display.Width/Heightkeys—see “Notes / Potential follow-ups”).RSScreenandDebugScreennow initialize SDL withSDL_INIT_JOYSTICKin addition to game controller support.SDL_WINDOW_ALLOW_HIGHDPI.SCRenderer::renderWorldToTexture()now renders additional neighboring blocks aroundblock_id(9 renders total).SCCockpit::project_to_screen.TARG->SHAPSET) and displays “in range” marker (MISD->SHAP) when applicable.targetImpactPointWorldand optional debug drawing hooks.ASSTnow uses a dedicated single-target radar rendering implementation that shows only the current target and prints altitude/heading/speed next to it.RenderMFDSDamage) and integrated it into both 2D and virtual cockpit rendering paths.SCMissiontracks anin_combatflag set when an AI actor targets the player.SCStrike::runFrame()switches music to track 5 during combat, otherwise uses mission tune.SCStrike::findTarget()now:setCameraLookat()now:camera->lookAt(...).BuildPaletteLUT()now searches only the green ramp[128..159](instead of all 0..255) and uses 128 as the starting best index.Fixed
chunk_size + 8exceeds available buffer at the start of parsing, the code now allocates a larger buffer, copies data, and reinitializes the stream to avoid overrun.cursorpointer in destructor.RSHud::parseREAL_CHUD_LARG_TARG_SHAP()now builds anRSImageSetviaPakArchive(and assignsSHAPSET) instead of manually LZW-decoding into anRLEShape.Format / content parsing coverage
RSEntitynow registers/accepts additional REAL chunk handlers (stubs added):REAL:INFOOBJT/TRCR:INFOMISS/DYNM:{ATMO,GRAV,AGRV}APPR/POLY/TRIS:LNTHOBJT/ORNT:SIGNhandler wiring addedRSMissionnow registersMISN:CACH(parser stub) andLOADparsing was cleared out (now empty).Packaging / build system
CMakeLists.txtMID_36.IFFandconfig.ini.vcpkg.jsonThis discussion was created from the release fixes_031_build.
All reactions