Open fabiangreffrath opened 1 year ago
I thought about that as well some time ago. It might be quite a big code change. I don't know how Doom source ports are doing it. With a global constant variable that get set on startup?
Will be tricky to load the correct RTL file when e.g. restoring a savegame or loading a demo, though. We'll see...
Humm… Maybe this is out of the scope of the project? Or maybe you could assign a specific string to a given version of the game loaded, in the config files.
Like if you load Registered version 1.2, it'll look in ~/.config/rott/reg12 If you load Site License 1.3, it'll look in ~/.config/rott/site13
It should be possible to detect the huntbgin.rtl level pack (and possibly extreme.rtl, are there any other official addons?) from the registered executable version and offer it for choice when starting a new game.