Skip to content

Version full inline#552

Merged
AnotherCommander merged 4 commits intomasterfrom
version_full_inline
Feb 25, 2026
Merged

Version full inline#552
AnotherCommander merged 4 commits intomasterfrom
version_full_inline

Conversation

@AnotherCommander
Copy link
Member

The full version string is now inlined in the game files and the executable itself.

The macro OO_VERSION_FULL, representing the full version string (e.g. "1.93.0.7779-260224-dc76e30"), is now defined at the command line during compile time for all C and Obj-C files in the project. This allows easy access to the version string from practically everywhere.

The full version string is added to the [-]-help output, as well as the main menu screen when the -showversion command line argument is used. The full version is now also printed in the log header and is now the version reported for all core world scripts.

In addition to all the above, this PR embeds the full version string to the core resources manifest.plist file, replacing the previous Maj.Min version format under the version key. The build type is also inlined in manifest.plist under the key debug_functionality_disabled, which takes the yes/no values. yes implies a deployment build, no implies a test release or a snapshot build.

AnotherCommander added 3 commits February 24, 2026 11:40
…re manifest.plist.

The macro OO_VERSION_FULL is set to contain the full version string right off the GNUmakefile build command. The full version string is now set under the version key in the core manifest.plist. Additionally, the build type is now also inlined in the core manifest.plist under the key debug_functionality_disabled, which takes a yes/no value depending on whether we are building deployment or not.
… title screen when the -showversion argument is used. Also, fixed snapshot build watermark not showing the game version.
Copy link
Contributor

@mcarans mcarans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great to me. I suggested some small improvements.

… the key debug_functionality_disabled to debug_functionality_support, where yes means a test release or snapshot build and no means a deployment build.
@mcarans
Copy link
Contributor

mcarans commented Feb 25, 2026

Super, I resolved all the comments

@AnotherCommander AnotherCommander merged commit 4193bc6 into master Feb 25, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants