DescentDevelopers / Descent3

Descent 3 by Outrage Entertainment
GNU General Public License v3.0
2.88k stars 251 forks source link

Localization cleanup #511

Open winterheart opened 3 months ago

winterheart commented 3 months ago

Pull Request Type

Description

Currently there in project two kinds of localization files: STR (where all messages of all languages assembled into one file; used in core engine) and MSG (where messages split by language). This PR overhauls localization both frameworks.

Both frameworks now exports their functions to DLL API, so CHECKSUM is changed. OSIRIS scripts has huge internal changes, which may make them incompatible with legacy editor script generator.

Related Issues

Screenshots (if applicable)

Checklist

Additional Comments

winterheart commented 3 months ago

There some additional changes to OSIRIS checksum generation. I'm still planning to rewrite save/load functions with platform independent serialization, but some features of these are required right now.

Added serial_version field to tOSIRISModuleInit to solve problem when CHECKSUM is different on various platforms and environments due variadic size of structs.