diff --git a/sessionzero-client/.editorconfig b/sessionzero-client/.editorconfig new file mode 100644 index 0000000..f28239b --- /dev/null +++ b/sessionzero-client/.editorconfig @@ -0,0 +1,4 @@ +root = true + +[*] +charset = utf-8 diff --git a/sessionzero-client/.gitattributes b/sessionzero-client/.gitattributes new file mode 100644 index 0000000..8ad74f7 --- /dev/null +++ b/sessionzero-client/.gitattributes @@ -0,0 +1,2 @@ +# Normalize EOL for all files that Git considers text files. +* text=auto eol=lf diff --git a/sessionzero-client/.gitignore b/sessionzero-client/.gitignore new file mode 100644 index 0000000..0af181c --- /dev/null +++ b/sessionzero-client/.gitignore @@ -0,0 +1,3 @@ +# Godot 4+ specific ignores +.godot/ +/android/ diff --git a/sessionzero-client/assets/fonts/PTSerif-Bold.ttf b/sessionzero-client/assets/fonts/PTSerif-Bold.ttf new file mode 100644 index 0000000..36d47eb Binary files /dev/null and b/sessionzero-client/assets/fonts/PTSerif-Bold.ttf differ diff --git a/sessionzero-client/assets/fonts/PTSerif-Bold.ttf.import b/sessionzero-client/assets/fonts/PTSerif-Bold.ttf.import new file mode 100644 index 0000000..9c55450 --- /dev/null +++ b/sessionzero-client/assets/fonts/PTSerif-Bold.ttf.import @@ -0,0 +1,36 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://cda5yu66deuj" +path="res://.godot/imported/PTSerif-Bold.ttf-8051b0fa76f185b2fc18ab534845872e.fontdata" + +[deps] + +source_file="res://assets/fonts/PTSerif-Bold.ttf" +dest_files=["res://.godot/imported/PTSerif-Bold.ttf-8051b0fa76f185b2fc18ab534845872e.fontdata"] + +[params] + +Rendering=null +antialiasing=1 +generate_mipmaps=false +disable_embedded_bitmaps=true +multichannel_signed_distance_field=false +msdf_pixel_range=8 +msdf_size=48 +allow_system_fallback=true +force_autohinter=false +modulate_color_glyphs=false +hinting=1 +subpixel_positioning=4 +keep_rounding_remainders=true +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/sessionzero-client/assets/fonts/PTSerif-BoldItalic.ttf b/sessionzero-client/assets/fonts/PTSerif-BoldItalic.ttf new file mode 100644 index 0000000..fa30e55 Binary files /dev/null and b/sessionzero-client/assets/fonts/PTSerif-BoldItalic.ttf differ diff --git a/sessionzero-client/assets/fonts/PTSerif-BoldItalic.ttf.import b/sessionzero-client/assets/fonts/PTSerif-BoldItalic.ttf.import new file mode 100644 index 0000000..ea7d9c8 --- /dev/null +++ b/sessionzero-client/assets/fonts/PTSerif-BoldItalic.ttf.import @@ -0,0 +1,36 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://1shkwwm5qoag" +path="res://.godot/imported/PTSerif-BoldItalic.ttf-9d6c9502edd6b71743ab4797d30444e4.fontdata" + +[deps] + +source_file="res://assets/fonts/PTSerif-BoldItalic.ttf" +dest_files=["res://.godot/imported/PTSerif-BoldItalic.ttf-9d6c9502edd6b71743ab4797d30444e4.fontdata"] + +[params] + +Rendering=null +antialiasing=1 +generate_mipmaps=false +disable_embedded_bitmaps=true +multichannel_signed_distance_field=false +msdf_pixel_range=8 +msdf_size=48 +allow_system_fallback=true +force_autohinter=false +modulate_color_glyphs=false +hinting=1 +subpixel_positioning=4 +keep_rounding_remainders=true +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/sessionzero-client/assets/fonts/PTSerif-Italic.ttf b/sessionzero-client/assets/fonts/PTSerif-Italic.ttf new file mode 100644 index 0000000..9b110a4 Binary files /dev/null and b/sessionzero-client/assets/fonts/PTSerif-Italic.ttf differ diff --git a/sessionzero-client/assets/fonts/PTSerif-Italic.ttf.import b/sessionzero-client/assets/fonts/PTSerif-Italic.ttf.import new file mode 100644 index 0000000..3586971 --- /dev/null +++ b/sessionzero-client/assets/fonts/PTSerif-Italic.ttf.import @@ -0,0 +1,36 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://kvel7knyyr2a" +path="res://.godot/imported/PTSerif-Italic.ttf-a3685582dbb902f065532c3c4000da5a.fontdata" + +[deps] + +source_file="res://assets/fonts/PTSerif-Italic.ttf" +dest_files=["res://.godot/imported/PTSerif-Italic.ttf-a3685582dbb902f065532c3c4000da5a.fontdata"] + +[params] + +Rendering=null +antialiasing=1 +generate_mipmaps=false +disable_embedded_bitmaps=true +multichannel_signed_distance_field=false +msdf_pixel_range=8 +msdf_size=48 +allow_system_fallback=true +force_autohinter=false +modulate_color_glyphs=false +hinting=1 +subpixel_positioning=4 +keep_rounding_remainders=true +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/sessionzero-client/assets/fonts/PTSerif-Regular.ttf b/sessionzero-client/assets/fonts/PTSerif-Regular.ttf new file mode 100644 index 0000000..f87c0f1 Binary files /dev/null and b/sessionzero-client/assets/fonts/PTSerif-Regular.ttf differ diff --git a/sessionzero-client/assets/fonts/PTSerif-Regular.ttf.import b/sessionzero-client/assets/fonts/PTSerif-Regular.ttf.import new file mode 100644 index 0000000..bce8a6a --- /dev/null +++ b/sessionzero-client/assets/fonts/PTSerif-Regular.ttf.import @@ -0,0 +1,36 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://c3xifagipsuma" +path="res://.godot/imported/PTSerif-Regular.ttf-94a9005379b4e88a27da7d297b1b7431.fontdata" + +[deps] + +source_file="res://assets/fonts/PTSerif-Regular.ttf" +dest_files=["res://.godot/imported/PTSerif-Regular.ttf-94a9005379b4e88a27da7d297b1b7431.fontdata"] + +[params] + +Rendering=null +antialiasing=1 +generate_mipmaps=false +disable_embedded_bitmaps=true +multichannel_signed_distance_field=false +msdf_pixel_range=8 +msdf_size=48 +allow_system_fallback=true +force_autohinter=false +modulate_color_glyphs=false +hinting=1 +subpixel_positioning=4 +keep_rounding_remainders=true +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/sessionzero-client/d20_no-bg_medium.png b/sessionzero-client/d20_no-bg_medium.png new file mode 100644 index 0000000..7945baa Binary files /dev/null and b/sessionzero-client/d20_no-bg_medium.png differ diff --git a/sessionzero-client/d20_no-bg_medium.png.import b/sessionzero-client/d20_no-bg_medium.png.import new file mode 100644 index 0000000..c0040fa --- /dev/null +++ b/sessionzero-client/d20_no-bg_medium.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bxsq8il8lgcq2" +path="res://.godot/imported/d20_no-bg_medium.png-e782821bc3f19395f5f0ad700f428576.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://d20_no-bg_medium.png" +dest_files=["res://.godot/imported/d20_no-bg_medium.png-e782821bc3f19395f5f0ad700f428576.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/sessionzero-client/icon.svg b/sessionzero-client/icon.svg new file mode 100644 index 0000000..c6bbb7d --- /dev/null +++ b/sessionzero-client/icon.svg @@ -0,0 +1 @@ + diff --git a/sessionzero-client/icon.svg.import b/sessionzero-client/icon.svg.import new file mode 100644 index 0000000..f6a1da1 --- /dev/null +++ b/sessionzero-client/icon.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://df3ww4j87ghry" +path="res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://icon.svg" +dest_files=["res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/sessionzero-client/project.godot b/sessionzero-client/project.godot new file mode 100644 index 0000000..9c0407a --- /dev/null +++ b/sessionzero-client/project.godot @@ -0,0 +1,26 @@ +; 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="SessionZero Client" +run/main_scene="uid://fy5iji5t58jk" +config/features=PackedStringArray("4.5", "GL Compatibility") +config/icon="uid://bxsq8il8lgcq2" + +[gui] + +theme/custom="uid://mu3c8g7q4ygp" +theme/custom_font="uid://c3xifagipsuma" + +[rendering] + +renderer/rendering_method="gl_compatibility" +renderer/rendering_method.mobile="gl_compatibility" diff --git a/sessionzero-client/resources/main_theme.tres b/sessionzero-client/resources/main_theme.tres new file mode 100644 index 0000000..7a434f8 --- /dev/null +++ b/sessionzero-client/resources/main_theme.tres @@ -0,0 +1,8 @@ +[gd_resource type="Theme" load_steps=2 format=3 uid="uid://mu3c8g7q4ygp"] + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_2nojw"] +bg_color = Color(0.101960786, 0.1254902, 0.18039216, 1) + +[resource] +Background_Panel/base_type = &"Panel" +Background_Panel/styles/panel = SubResource("StyleBoxFlat_2nojw") diff --git a/sessionzero-client/scenes/desktop/main_ui.tscn b/sessionzero-client/scenes/desktop/main_ui.tscn new file mode 100644 index 0000000..546fb48 --- /dev/null +++ b/sessionzero-client/scenes/desktop/main_ui.tscn @@ -0,0 +1,11 @@ +[gd_scene format=3 uid="uid://fy5iji5t58jk"] + +[node name="MainUI" type="CanvasLayer"] + +[node name="Panel" type="Panel" parent="."] +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_type_variation = &"Background_Panel" diff --git a/sessionzero-client/scripts/models/datapack_model.gd b/sessionzero-client/scripts/models/datapack_model.gd new file mode 100644 index 0000000..2d72ab2 --- /dev/null +++ b/sessionzero-client/scripts/models/datapack_model.gd @@ -0,0 +1,2 @@ +extends Object +class_name DatapackModel diff --git a/sessionzero-client/scripts/models/datapack_model.gd.uid b/sessionzero-client/scripts/models/datapack_model.gd.uid new file mode 100644 index 0000000..5d60c1b --- /dev/null +++ b/sessionzero-client/scripts/models/datapack_model.gd.uid @@ -0,0 +1 @@ +uid://dgj5rubcp6v00