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

Pr/pck cache merge to 4.1 #1

Closed
wants to merge 10 commits into from
Closed

Pr/pck cache merge to 4.1 #1

wants to merge 10 commits into from

Conversation

ogapo
Copy link

@ogapo ogapo commented Sep 25, 2023

No description provided.

ogapo and others added 10 commits September 21, 2023 15:58
It's desirable to downloaded content to be as small as possible. This change avoids bloating non-main pack files with new versions of resources that are all read on startup and never used again. They have no effect if loaded after startup.
- project.godot/project.binary file
- extension_list.cfg
- app icon and boot_splash
- .ico and .icns files (these can still be opted in for DLC by listing them explicitly in the include filter)

Notably not uid_cache, global_script_class_cache, and internationalization files. These don't currently function properly in non-main PCK files but they ought to. Will fix in a follow-up commit.
…ange.

modified add_global_class to only set inheriters_cache_dirty if something actually updates since StringName comparisons are cheap
Removing C++17 style if init statement to be consistent with Godot style.

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
@ogapo ogapo closed this Sep 25, 2023
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