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

WIP: Overhaul the cvar system. Improve the robustness of virtual cvars #5

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

Conversation

Cloudwalk9
Copy link
Contributor

No description provided.

…l cvar_t's

* cvar_hash_t is gone
* Virtual cvars now use a linked list around their parent and have a
  pointer to their parent.
* Cvars will now store their own hashindex to make deletions from the
  hashtable easier. Implemented Cvar_Delete where this is leveraged.
  Cvar_FindVarLink is eliminated also. Not needed anymore.
* Implemented Cvar_DeleteVirtual and Cvar_DeleteVirtual_All
  to... delete virtual cvars.
* Eliminated redundancy of Cvar_SetQuick_Internal by merging it with
  Cvar_SetQuick.
* Misc cleanups
@Cloudwalk9 Cloudwalk9 self-assigned this Jul 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant