- New Platform.gd autoload: is_ios_safari() detects iPhone/iPad Safari via JavaScriptBridge UA check (no Chrome/CriOS), gating all iOS memory paths - ModelCache.release_model(url, etag): evicts a model from in-memory cache on iOS Safari when a unit leaves the board; no-op on other platforms so disk cache is always preserved for fast reload - unit_mesh_builder: stores resolved model URL+ETag per unit (_unit_model_urls, _unit_model_etags); calls ModelCache.release_model in the to_remove loop so PackedScene refs are freed as soon as the unit is pooled or freed - ContentCache.get_model_url_for_definition: stub for looking up a card's Model3D CDN URL without a loaded unit dict (foundation for future eviction paths) Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
53 lines
1.5 KiB
Plaintext
53 lines
1.5 KiB
Plaintext
; Engine configuration file.
|
|
; It's best edited using the editor UI and not directly,
|
|
; since the parameters that go here are not all obvious.
|
|
;
|
|
; Format:
|
|
; [section] ; section goes between []
|
|
; param=value ; assign values to parameters
|
|
|
|
config_version=5
|
|
|
|
[application]
|
|
|
|
config/name="Origin-Client"
|
|
run/main_scene="res://scenes/login/LoginScreen.tscn"
|
|
config/features=PackedStringArray("4.5", "GL Compatibility")
|
|
boot_splash/image="uid://djlr6v2m1uegn"
|
|
config/icon="uid://qmb76y70ds6a"
|
|
|
|
[autoload]
|
|
|
|
Network="*res://autoloads/Network.gd"
|
|
ContentCache="*res://autoloads/ContentCache.gd"
|
|
BoardTemplateCache="*res://autoloads/BoardTemplateCache.gd"
|
|
Auth="*res://autoloads/Auth.gd"
|
|
Keycloak="*res://autoloads/Keycloak.gd"
|
|
CollectionCache="*res://autoloads/CollectionCache.gd"
|
|
Chat="*res://autoloads/Chat.gd"
|
|
Settings="*res://autoloads/Settings.gd"
|
|
Game="*res://autoloads/Game.gd"
|
|
CustomLobby="*res://autoloads/CustomLobby.gd"
|
|
ModelCache="*res://autoloads/ModelCache.gd"
|
|
Platform="*res://autoloads/Platform.gd"
|
|
Music="*res://autoloads/Music.gd"
|
|
SFX="*res://autoloads/SFX.gd"
|
|
HighlightConfig="*res://autoloads/HighlightConfig.gd"
|
|
|
|
[display]
|
|
|
|
window/size/viewport_width=1440
|
|
window/size/viewport_height=768
|
|
window/stretch/mode="canvas_items"
|
|
window/stretch/aspect="expand"
|
|
|
|
[input_devices]
|
|
|
|
pointing/emulate_touch_from_mouse=true
|
|
|
|
[rendering]
|
|
|
|
renderer/rendering_method="gl_compatibility"
|
|
renderer/rendering_method.mobile="gl_compatibility"
|
|
textures/vram_compression/import_etc2_astc=true
|