Server: - Add GetBoardTemplatesRequest/Response + BoardTemplateDto to ContentMessages.cs - ContentBoardTemplatesHandler: content.board_templates → returns all enabled templates (id, name, dimensions, player range, flags, tilesJson, startingZonesJson) - Register AddGameDatabase + ContentBoardTemplatesHandler in SOR.Content Client: - BoardTemplateCache.gd autoload: fetches content.board_templates on demand, exposes get_templates_for_custom(), get_templates_for_ranked(), get_template_by_id() - rules_editor_dialog.gd: add Board Template OptionButton in the BOARD section; uses _option_ids map so confirmed() emits the template GUID (not label text) - project.godot: register BoardTemplateCache autoload 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>
50 lines
1.3 KiB
Plaintext
50 lines
1.3 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")
|
|
config/icon="res://icon.svg"
|
|
|
|
[autoload]
|
|
|
|
Network="*res://autoloads/Network.gd"
|
|
ContentCache="*res://autoloads/ContentCache.gd"
|
|
BoardTemplateCache="*res://autoloads/BoardTemplateCache.gd"
|
|
Auth="*res://autoloads/Auth.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"
|
|
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
|