JNechaevsky / international-doom

Small, functional and simple source ports, created with help, efforts and bits of code from people around the world.
https://jnechaevsky.github.io/inter-doom/
GNU General Public License v2.0
30 stars 2 forks source link

Heretic and Hexen: upgrade spy mode #112

Closed JNechaevsky closed 9 months ago

JNechaevsky commented 9 months ago

Initially was planned for Hexen only, but other games gets improvements as well:

TODO for later:

fabiangreffrath commented 9 months ago

Multiplayer spy is one of these obscure features that I can't even remember when I used it the last time. So, I didn't even know that it resets to consoleplayer with each level transition. Sure, I think if you have decided to follow a different player then this decision should hold across levels on multi-level demos.

JNechaevsky commented 9 months ago

Me neither, to be honest. Just noticed that something not right while level changing on Hexen (not even in Doom), I was expecting to check one player's values, but got entirely another player instead. Definitely one of those thing "never know, unless noticed".

JNechaevsky commented 9 months ago

Oh, no, this is wrong approach. Despite of chosen player is kept across levels, this way demo always starts from green (0) player, matters no which player was recording demo itself. Notably on 30uv2245.zip with three players, where every player have own demo file. I'll investigate it farther, probably displayplayer = consoleplayer just needs to be moved to G_DoPlayDemo to be called once without any extra conditions.