Skip to content

Compact crosshair serialization + refactor#1766

Open
nullsystem wants to merge 1 commit intoNeotokyoRebuild:masterfrom
nullsystem:GH-1765_CompactSerial
Open

Compact crosshair serialization + refactor#1766
nullsystem wants to merge 1 commit intoNeotokyoRebuild:masterfrom
nullsystem:GH-1765_CompactSerial

Conversation

@nullsystem
Copy link
Collaborator

Description

Instead of looping over or one sprintf, serialization done through function that steps each segment and serial + de-serial done in a unified function so if-statements and variable positions shouldn't differ too easily when editing. No longer explicitly check for segment lengths as it should just instead no-ops. Replaced hard- coded default string with function that sets the default values instead.

Toolchain

  • Linux GCC Distro Native Arch/GCC 15

Linked Issues

@nullsystem nullsystem force-pushed the GH-1765_CompactSerial branch from 628009b to e4fcfb3 Compare March 1, 2026 19:13
@nullsystem nullsystem marked this pull request as ready for review March 1, 2026 21:01
Instead of looping over or one sprintf, serialization done through
function that steps each segment and serial + de-serial done in a
unified function so if-statements and variable positions shouldn't
differ too easily when editing. No longer explicitly check for
segment lengths as it should just instead no-ops. Replaced hard-
coded default string with function that sets the default values
instead.

* fixes NeotokyoRebuild#1765
@nullsystem nullsystem force-pushed the GH-1765_CompactSerial branch from e4fcfb3 to fd9bd4a Compare March 1, 2026 23:37
@nullsystem nullsystem requested a review from a team March 1, 2026 23:49
@DESTROYGIRL DESTROYGIRL added the UI/HUD Relates to the HUD, NeoUI, menus, etc label Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

UI/HUD Relates to the HUD, NeoUI, menus, etc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Compact crosshair + refactor serialization

2 participants