Browse Source

feat: add the project configuration, and prepare settings

We're going to try out Resource for settings, instead of ini.
master
Dominique Merle 2 years ago
parent
commit
339d26f5e0
  1. 2
      core/App.gd
  2. 9
      core/ConfigResource.gd
  3. 128
      project.godot

2
core/App.gd

@ -0,0 +1,2 @@
extends Node

9
core/ConfigResource.gd

@ -0,0 +1,9 @@
extends Resource
export(Color) var background_color
export(Dictionary) var background_color_metadata := {
'name': "Background Color",
'description': "",
}

128
project.godot

@ -0,0 +1,128 @@
; 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=4
_global_script_classes=[ {
"base": "Resource",
"class": "MajorityJudgmentAbstractTallier",
"language": "GDScript",
"path": "res://addons/majority_judgment/MajorityJudgmentAbstractTallier.gd"
}, {
"base": "Resource",
"class": "MajorityJudgmentCandidate",
"language": "GDScript",
"path": "res://addons/majority_judgment/MajorityJudgmentCandidate.gd"
}, {
"base": "Resource",
"class": "MajorityJudgmentCandidateMeritProfile",
"language": "GDScript",
"path": "res://addons/majority_judgment/MajorityJudgmentCandidateMeritProfile.gd"
}, {
"base": "Resource",
"class": "MajorityJudgmentCandidateTally",
"language": "GDScript",
"path": "res://addons/majority_judgment/MajorityJudgmentCandidateTally.gd"
}, {
"base": "MajorityJudgmentAbstractTallier",
"class": "MajorityJudgmentEasyTallier",
"language": "GDScript",
"path": "res://addons/majority_judgment/talliers/MajorityJudgmentEasyTallier.gd"
}, {
"base": "Resource",
"class": "MajorityJudgmentGrade",
"language": "GDScript",
"path": "res://addons/majority_judgment/MajorityJudgmentGrade.gd"
}, {
"base": "Resource",
"class": "MajorityJudgmentGrading",
"language": "GDScript",
"path": "res://addons/majority_judgment/MajorityJudgmentGrading.gd"
}, {
"base": "Resource",
"class": "MajorityJudgmentJudgment",
"language": "GDScript",
"path": "res://addons/majority_judgment/MajorityJudgmentJudgment.gd"
}, {
"base": "Resource",
"class": "MajorityJudgmentParticipant",
"language": "GDScript",
"path": "res://addons/majority_judgment/MajorityJudgmentParticipant.gd"
}, {
"base": "Resource",
"class": "MajorityJudgmentPoll",
"language": "GDScript",
"path": "res://addons/majority_judgment/MajorityJudgmentPoll.gd"
}, {
"base": "Resource",
"class": "MajorityJudgmentPollTally",
"language": "GDScript",
"path": "res://addons/majority_judgment/MajorityJudgmentPollTally.gd"
}, {
"base": "Reference",
"class": "WAT",
"language": "GDScript",
"path": "res://addons/WAT/namespace.gd"
}, {
"base": "",
"class": "WATTest",
"language": "GDScript",
"path": "res://addons/WAT/core/test/test.gd"
} ]
_global_script_class_icons={
"MajorityJudgmentAbstractTallier": "",
"MajorityJudgmentCandidate": "",
"MajorityJudgmentCandidateMeritProfile": "",
"MajorityJudgmentCandidateTally": "",
"MajorityJudgmentEasyTallier": "",
"MajorityJudgmentGrade": "",
"MajorityJudgmentGrading": "",
"MajorityJudgmentJudgment": "",
"MajorityJudgmentParticipant": "",
"MajorityJudgmentPoll": "",
"MajorityJudgmentPollTally": "",
"WAT": "",
"WATTest": ""
}
[WAT]
Test_Directory="res://tests"
Results_Directory="res://tests/results/WAT"
Minimize_Window_When_Running_Tests=false
TestStrategy={
"repeat": 1,
"strategy": "RunAll"
}
Tags=PoolStringArray( )
Display=8
[application]
config/name="Majority Judgment Polling for Streamers"
run/main_scene="res://gui/MainMenu.tscn"
config/icon="res://icon.png"
[editor_plugins]
enabled=PoolStringArray( "WAT", "majority_judgment" )
[input]
run_tests={
"deadzone": 0.5,
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":true,"shift":false,"control":true,"meta":false,"command":true,"pressed":false,"scancode":78,"unicode":0,"echo":false,"script":null)
]
}
[rendering]
quality/driver/driver_name="GLES2"
vram_compression/import_etc=true
vram_compression/import_etc2=false
environment/default_environment="res://default_env.tres"
Loading…
Cancel
Save