Commit graph

79 commits

Author SHA1 Message Date
3db7ab1daf
Update CORE 2024-05-11 12:06:00 +02:00
4c9ac8c2f6
Add SPDX license identifiers 2024-05-11 12:05:31 +02:00
fe2f4b7f7b
Rename statemanager.gd to presenloader.gd 2024-05-10 20:10:55 +02:00
4afaa8ef54
Update CORE Framework 2024-05-10 20:08:23 +02:00
230612d20d
Forgot to commit the blur shader, oopsie 2024-05-10 20:08:14 +02:00
2afb1de41b
Finish user interface rewrite 2024-05-10 20:08:02 +02:00
b0c1db0aba
Remove --ui-scale and --allow-high-ui-scale args 2024-05-10 20:07:41 +02:00
9ca96f34b6
Update picture title 2024-05-10 18:41:26 +02:00
2cbfe36b58
Fix upload url link 2024-05-10 18:31:32 +02:00
1e75af4578
Add safety argument for --ui-scale 2024-05-10 15:48:13 +02:00
a77afb11eb
Add .gdignore to docs/ directory 2024-05-10 15:47:52 +02:00
2de090d4e1
Update CORE and add StarOpenSource UI 2024-05-10 15:47:38 +02:00
b564d79476
Rewrite loader and a small part of the UI 2024-05-08 19:56:55 +02:00
b5acd36479 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
19d3e8a0d0 Update splash array and move to different renderer 2024-01-18 19:59:01 +01:00
e78e6ea71b Fix further issues (with images this time) 2024-01-17 21:30:58 +01:00
61e82ac9e3 Fix resource loading issues (archives only) 2024-01-17 21:24:51 +01:00
e9343318c0 Remove "*.import" from .gitignore 2024-01-17 20:52:55 +01:00
8a512b0e12 Add UI Engine and welcome screen 2024-01-17 20:49:59 +01:00
147aab7784 Add Inter font + move input handling around 2024-01-17 20:49:17 +01:00
63ddf81e9b Add wallpaper and attribution list 2024-01-16 21:55:13 +01:00
e65186adce Move loader initialization
- [src/loader.gd] Make console a member variable
- [src/loader.gd] Move warning into new function print_warning()
- [src/loader.gd] Move presentation loading process into new function load_presentation()
- [src/loader.gd] Remove ability to modify configuration options using environment variables
2024-01-16 21:41:55 +01:00
a3ba0bf759 Update preader
- [src/preader.gd] Replace "logger.error()" calls with "logger.warn()" if function is returning directly after
- [src/preader.gd] Add function read_resource()
2024-01-16 21:28:45 +01:00
751adc312e Update loader & misc
- [src/misc.gd] Add get_sign() function
- [src/misc.gd] Add get_sign_float() function
- [src/loader.gd] Change variable order (that makes a bit more sense)
- [src/loader.gd] Fix path resolution
- [src/loader.gd] Prefix all logger.error() calls in initialize() with "await" to prevent Godot debugger errors
2024-01-16 21:27:13 +01:00
73d6e889c5 Improve console
- [.gitignore] Include files ending in .import
- [src/console.gd] Replace "info.HelpTopic" with "ConsoleInfo.HelpTopic"
- [src/console.gd] Replace "info.ConsoleError" with "ConsoleInfo.ConsoleError"
- [src/console.gd] Make console invisible on startup
- [src/console.gd, src/console_info.gd] Add "get_slide" subcommand to command "pmana"
- [src/console.gd, src/console_info.gd] Add "navigate" command
- [src/console_info.gd] "CONFIG" and "PMANA" help topics now use correct syntax styling
2024-01-16 21:24:36 +01:00
52cd448ff0 Fix invalid command 2024-01-15 01:09:39 +01:00
95e9aa4453 Change wording, fix typos, rewrite docs page 2024-01-15 01:06:15 +01:00
e158173104 Update source code
- [Console.tscn, src/console.gd, src/console_info.gd, src/console_expressionscript.gd] Add (mostly uncommented) debugging console
- [example/test.gd] Optimize example presentation controller
- [src/loader.gd, src/pmana.gd] Move click overlay into Loader
- [src/pmana.gd] Add check against invalid controller scripts
- [src/pmana.gd] Create seperate pmana.shutdown() function to handle shutdowns during presentations
- [src/preader.gd] Add checks against empty manifest variable
- [src/preader.gd] Fix bug in get_authors()
- Change/optimize various other smaller things
2024-01-14 21:52:38 +01:00
6f9bea644c Initial commit 2024-01-14 05:58:43 +01:00