fabiangreffrath / woof

Woof! is a continuation of the Boom/MBF bloodline of Doom source ports.
GNU General Public License v2.0
212 stars 35 forks source link

Demos set complevel that can persist when loading a game. #1293

Closed kitchen-ace closed 11 months ago

kitchen-ace commented 11 months ago

-Start a new game without a -complevel switch and a default compatibility of MBF21 (or something other than Vanilla.)

-Save and end the game. You don't need to exit Woof.

-Let the internal Doom 2 demo play. It doesn't matter if it finishes or not.

-Load the game you saved.

-You will now be playing in a vanilla complevel.

Example map with a generic Boom door in case it's helpful for testing: cltest.zip

Expected behaviour IMO is that the complevel is saved along with the save file. If that isn't feasible, loading a game should use the default compatibility.

rfomin commented 11 months ago

Expected behaviour IMO is that the complevel is saved along with the save file.

We support old saves that were created before the complevel feature, so we support the ability to load saves with different complevel. Usually nothing bad happens.

We can force load complevel from newer saves (after Woof 6.0.0).

fabiangreffrath commented 11 months ago

Yes, I think you should always continue a loaded game with the exact same complevel that was active when you saved it.

rfomin commented 11 months ago

Yes, I think you should always continue a loaded game with the exact same complevel that was active when you saved it.

Done in https://github.com/fabiangreffrath/woof/pull/1294/commits/bd567bc1c5749a66feadfea9195dade4522928dc