[BUG][PLAYER] Custom pretext background ignored, posttext bg used instead.

Started by namida, November 13, 2021, 07:45:25 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

namida

To reproduce:
1. Create a (non-identical) custom background each for pre-level text and post-level text screens
2. View a pre-level text screen in-game
3. Observe that it shows the post-level text background instead
4. View a post-level text screen in-game
5. Observe that it shows the correct background

I'm pretty sure the reason this happens is that the screen is not specifically marked as pre-text or post-text as such until after the background has already been loaded, hence it always loads the post-level text background (as that corresponds to the default state if the mark isn't specifically set) even when it's being used as a pre-level text screen.

Note that this is somewhat guesswork based on symptoms described by another user, without further testing, as well as looking at the source code - I have not tested it myself so cannot confirm for sure this is the cause of the user's symptom / that this bug exists, but I'd wager this is very likely to be all spot-on.
My projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)
Non-Lemmings: Commander Keen: Galaxy Reimagined (a Commander Keen fangame)

namida

Did some testing now. Confirmed that the bug does indeed exist, with exactly the expected symptoms. Will be fixed in 12.12.2.
My projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)
Non-Lemmings: Commander Keen: Galaxy Reimagined (a Commander Keen fangame)

namida

My projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)
Non-Lemmings: Commander Keen: Galaxy Reimagined (a Commander Keen fangame)