2024-01-14 05:58:43 +01:00
|
|
|
; 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="Presencode"
|
|
|
|
run/main_scene="res://Loader.tscn"
|
|
|
|
config/use_custom_user_dir=true
|
|
|
|
config/custom_user_dir_name="JeremyStarTM/presencode"
|
|
|
|
config/features=PackedStringArray("4.2", "Mobile")
|
|
|
|
boot_splash/bg_color=Color(0, 0, 0, 1)
|
|
|
|
boot_splash/show_image=false
|
|
|
|
boot_splash/fullsize=false
|
|
|
|
|
|
|
|
[autoload]
|
|
|
|
|
|
|
|
logger="*res://src/logger.gd"
|
|
|
|
misc="*res://src/misc.gd"
|
|
|
|
preader="*res://src/preader.gd"
|
|
|
|
pmana="*res://src/pmana.gd"
|
2024-01-17 20:49:59 +01:00
|
|
|
ui_engine="*res://src/ui_engine.gd"
|
Partial source code rewrite
- [src/*] Update comments
- [src/*] Improve code quality
- [export_presets.cfg] All exports use a console wrapper now
- [src/console.gd] Add highlighting for "arbitrary" command
- [src/console.gd] Add special message if nothing has been typed in
- [src/misc.gd, src/console.gd] Move BooleanState, get_last() (now called get_shortened_array), get_boolean(), get_int() and get_int_direct() into misc
- [src/console_info.gd] Remove useless _init() function
- [src/console_info.gd] Make get_error_string() function more compact
- [Loader.tscn, src/loader.gd] Remove window size support and slow initialization functionality
- [src/loader.gd] Remove warning on startup (will be reimplemented at some point, most likely graphically)
- [src/loader.gd] Replaced append_log() function with a lambda
- [src/loader.gd] Implement argument parser with configuration support
- [src/loader.gd] Add Presencode version information as constants and format_version() function
- [src/misc.gd] Reorganize functions
- [src/pmana.gd] Add checks to avoid slide change collisions
- [src/pmana.gd] Replace logger.warn() calls to "await logger.error()" calls
- [src/pmana.gd, src/misc.gd, src/console.gd] Remove pmana.shutdown() function in favour of misc.shutdown() which now does the same
- [src/preader.gd] Fix resource loading issues for presentation directories
- [src/preader.gd] Move resource loading workaround into seperate function _read_resource_workaround()
- [src/processor.gd, src/console.gd, src/loader.gd, src/pmana.gd, src/ui_engine.gd] Move all _process() functions into seperate file
- [src/processor.gd, src/console.gd, src/loader.gd, src/pmana.gd, src/ui_engine.gd, src/ui/welcome.gd] Move everything dragging related (except variables) into processor.gd
- [ui/Welcome.tscn, src/ui/welcome.gd] Add support for presentation directories
- [src/ui/welcome.gd] Update splash text
2024-01-19 20:45:37 +01:00
|
|
|
processor="*res://src/processor.gd"
|
2024-01-14 05:58:43 +01:00
|
|
|
|
|
|
|
[display]
|
|
|
|
|
|
|
|
window/size/viewport_width=960
|
|
|
|
window/size/viewport_height=540
|
|
|
|
|
|
|
|
[editor]
|
|
|
|
|
2024-01-17 20:49:59 +01:00
|
|
|
run/main_run_args="%command% ++ "
|
2024-01-14 05:58:43 +01:00
|
|
|
export/convert_text_resources_to_binary=false
|
|
|
|
|
|
|
|
[editor_plugins]
|
|
|
|
|
|
|
|
enabled=PackedStringArray()
|
|
|
|
|
|
|
|
[filesystem]
|
|
|
|
|
|
|
|
import/blender/enabled=false
|
|
|
|
|
|
|
|
[input]
|
|
|
|
|
|
|
|
fullscreen={
|
|
|
|
"deadzone": 0.5,
|
|
|
|
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":true,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":0,"key_label":70,"unicode":102,"echo":false,"script":null)
|
|
|
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":true,"meta_pressed":false,"pressed":false,"keycode":70,"physical_keycode":70,"key_label":70,"unicode":102,"echo":false,"script":null)
|
|
|
|
]
|
|
|
|
}
|
|
|
|
slide_backwards={
|
|
|
|
"deadzone": 0.5,
|
|
|
|
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":0,"key_label":4194319,"unicode":0,"echo":false,"script":null)
|
|
|
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":4194319,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null)
|
|
|
|
]
|
|
|
|
}
|
|
|
|
slide_forwards={
|
|
|
|
"deadzone": 0.5,
|
|
|
|
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":0,"key_label":4194321,"unicode":0,"echo":false,"script":null)
|
|
|
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":4194321,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null)
|
|
|
|
]
|
|
|
|
}
|
|
|
|
content_scale_switch={
|
|
|
|
"deadzone": 0.5,
|
|
|
|
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":true,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":0,"key_label":71,"unicode":103,"echo":false,"script":null)
|
|
|
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":true,"meta_pressed":false,"pressed":false,"keycode":71,"physical_keycode":0,"key_label":0,"unicode":103,"echo":false,"script":null)
|
|
|
|
]
|
|
|
|
}
|
2024-01-14 21:52:38 +01:00
|
|
|
console={
|
|
|
|
"deadzone": 0.5,
|
Partial source code rewrite
- [src/*] Update comments
- [src/*] Improve code quality
- [export_presets.cfg] All exports use a console wrapper now
- [src/console.gd] Add highlighting for "arbitrary" command
- [src/console.gd] Add special message if nothing has been typed in
- [src/misc.gd, src/console.gd] Move BooleanState, get_last() (now called get_shortened_array), get_boolean(), get_int() and get_int_direct() into misc
- [src/console_info.gd] Remove useless _init() function
- [src/console_info.gd] Make get_error_string() function more compact
- [Loader.tscn, src/loader.gd] Remove window size support and slow initialization functionality
- [src/loader.gd] Remove warning on startup (will be reimplemented at some point, most likely graphically)
- [src/loader.gd] Replaced append_log() function with a lambda
- [src/loader.gd] Implement argument parser with configuration support
- [src/loader.gd] Add Presencode version information as constants and format_version() function
- [src/misc.gd] Reorganize functions
- [src/pmana.gd] Add checks to avoid slide change collisions
- [src/pmana.gd] Replace logger.warn() calls to "await logger.error()" calls
- [src/pmana.gd, src/misc.gd, src/console.gd] Remove pmana.shutdown() function in favour of misc.shutdown() which now does the same
- [src/preader.gd] Fix resource loading issues for presentation directories
- [src/preader.gd] Move resource loading workaround into seperate function _read_resource_workaround()
- [src/processor.gd, src/console.gd, src/loader.gd, src/pmana.gd, src/ui_engine.gd] Move all _process() functions into seperate file
- [src/processor.gd, src/console.gd, src/loader.gd, src/pmana.gd, src/ui_engine.gd, src/ui/welcome.gd] Move everything dragging related (except variables) into processor.gd
- [ui/Welcome.tscn, src/ui/welcome.gd] Add support for presentation directories
- [src/ui/welcome.gd] Update splash text
2024-01-19 20:45:37 +01:00
|
|
|
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":0,"key_label":4194334,"unicode":0,"echo":false,"script":null)
|
|
|
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":4194334,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null)
|
2024-01-14 21:52:38 +01:00
|
|
|
]
|
|
|
|
}
|
2024-01-17 20:49:59 +01:00
|
|
|
editor_switchres={
|
|
|
|
"deadzone": 0.5,
|
|
|
|
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":0,"key_label":4194335,"unicode":0,"echo":false,"script":null)
|
|
|
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":4194335,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null)
|
|
|
|
]
|
|
|
|
}
|
2024-01-14 05:58:43 +01:00
|
|
|
|
|
|
|
[rendering]
|
|
|
|
|
2024-01-18 19:59:01 +01:00
|
|
|
renderer/rendering_method="gl_compatibility"
|