Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed backward compatibility of checkpoints and arrows marker #3540

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

FileEX
Copy link
Contributor

@FileEX FileEX commented Jul 3, 2024

Added a new optional argument to createMarker
ignoreAlphaLimits = false

This argument is only valid for checkpoint and arrow markers. It defines whether the alpha of these markers can be changed. If the argument is false, the marker has a constant alpha as before, i.e. checkpoint always 128 and arrow always 255. If the argument is true, alpha can be changed.

Default is false

I tested this using createMarker, setElementAlpha, setMarkerColor and setMarkerType on the server and client side. All my tests were successful

Client/mods/deathmatch/logic/CClient3DMarker.h Outdated Show resolved Hide resolved
Client/mods/deathmatch/logic/CClientCheckpoint.h Outdated Show resolved Hide resolved
Client/mods/deathmatch/logic/CClientMarkerCommon.h Outdated Show resolved Hide resolved
@tederis tederis added the bugfix Solution to a bug of any kind label Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Solution to a bug of any kind
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants