-
Notifications
You must be signed in to change notification settings - Fork 56
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
CSQC: Initial support. #147
Draft
dsvensson
wants to merge
11
commits into
QW-Group:master
Choose a base branch
from
qw-ctf:csqc
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MapExtFieldPtr takes a parameter name and returns an opaque field token. In agreement with FTE this token contains some random bits that are verified and stripped on use to avoid mods hardcoding field offsets, which would over time lead to engine incompatibilities. SetExtFieldPtr takes an entnum, a field token, a pointer to some data as well as size which, if token and size is valid, performs a memcpy of the data to the field referenced. GetExtFieldPtr is the inverse of SetExtFieldPtr with same parameters. Availability of above functions is determined via Map_Extension.
Allows entities to add three bytes of color modifiers where 0 is unset, 32 is 1.0f thus no color changes, and above 1.0 goes into overbright territory.
As outdated clients have a broken implementation of FTE_PEXT_TRANS these will not read the PF_EXTRA_PFS byte and the network protocol will go out of sync unless this extension is disabled. Once disabled, the client will work just fine, just that transparent entities will be opaque. Another workaround is for the client to set cl_pext_alpha to 0.
dsvensson
force-pushed
the
csqc
branch
2 times, most recently
from
November 13, 2024 13:13
e73228a
to
69a14f6
Compare
This can at a later point be extended to support svcfte_precache to for example load next map while clients show scores via the DP_SV_PRECACHEANYTIME extension.
Forward port of Reki's initial implementation.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Draft PR until #145 has been merged, and a bit more functionality has been implemented.
Minimal support for client to download and execute, and notify outdated clients that they're missing out: