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

Support #include and #base directives in SerialisedObject #42

Open
LogicAndTrick opened this issue Jan 20, 2025 · 0 comments
Open

Support #include and #base directives in SerialisedObject #42

LogicAndTrick opened this issue Jan 20, 2025 · 0 comments

Comments

@LogicAndTrick
Copy link
Owner

See valve implementation of these directives:

https://github.com/ValveSoftware/source-sdk-2013/blob/0d8dceea4310fde5706b3ce1c70609d72a38efdf/sp/src/tier1/KeyValues.cpp#L2110

https://github.com/ValveSoftware/source-sdk-2013/blob/0d8dceea4310fde5706b3ce1c70609d72a38efdf/sp/src/tier1/KeyValues.cpp#L2126

Valve also has "conditionals" which is hard-coded to a list of platforms. Don't really think this needs to be supported, but currently it's not.

https://github.com/ValveSoftware/source-sdk-2013/blob/0d8dceea4310fde5706b3ce1c70609d72a38efdf/sp/src/tier1/KeyValues.cpp#L2055-L2086

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

No branches or pull requests

1 participant