Commit graph

50 commits

Author SHA1 Message Date
b67f53aca6
Make slide switching a bit less verbose 2024-05-18 19:30:33 +02:00
0b54bebe92
Move shared code into seperate class 2024-05-18 19:03:58 +02:00
37b08bd681
Migrate to Venus' splash text implmenetation 2024-05-18 19:02:47 +02:00
65a7f5ca8e
Add click overlay 2024-05-17 02:09:08 +02:00
7d01a8fd13
Add more logging to input handling 2024-05-17 02:08:57 +02:00
78b85fca1b
Fix errors 2024-05-17 01:50:07 +02:00
126ca9f412
Add crashing prevention 2024-05-17 01:49:37 +02:00
527bd23363
Hide Log UI by default (reenable with arg) 2024-05-17 01:47:44 +02:00
195116fe1f
Add input detection (fullscreen & navigation) 2024-05-17 01:47:23 +02:00
dcb30cfac8
Add resource loading 2024-05-14 01:30:08 +02:00
9b216c61ef
Fix variables in communication.gd 2024-05-14 01:29:35 +02:00
b24d3935f8
Fix crash 2024-05-14 01:09:24 +02:00
aa3c1ecd30
Add write_temporary_file() method 2024-05-14 01:00:42 +02:00
06b83a0589
Reorganize variables 2024-05-14 00:59:44 +02:00
1fb0716cdf
Add reference to CORE's sms module to entrypoint 2024-05-14 00:44:11 +02:00
fdab9ca0a3
Add remove_all_slides() method 2024-05-14 00:43:21 +02:00
0dada10659
Fix reference 2024-05-14 00:42:18 +02:00
294f5f188d
Add reference to 'communication' 2024-05-14 00:34:03 +02:00
9a8c92a150
Add PresencodeCommunication class 2024-05-14 00:31:33 +02:00
1371369213
Make all methods awaitable in PresencodeEntrypoint 2024-05-14 00:30:39 +02:00
36492503be
Add more methods to entrypoint.gd 2024-05-14 00:05:35 +02:00
79e7da1afd
Do we REALLY care about these ready messages? 2024-05-14 00:05:00 +02:00
5b70fab2f2
Add entrypoint validation and class 2024-05-11 19:17:33 +02:00
fe2917f77e
Put high quality loading thread into seperate func 2024-05-11 19:16:56 +02:00
82c9821efc
i hear math that bad 2024-05-11 16:55:52 +02:00
73d29ae6ee
Add more splashes! 2024-05-11 16:53:32 +02:00
6ad2f13450
Add entrypoint loader 2024-05-11 16:53:22 +02:00
85477d9c98
Add missing copyright & license header 2024-05-11 16:53:10 +02:00
2f4690b6c9
Update CORE and load_presentation() message 2024-05-11 12:19:24 +02:00
439ffba196
Update user interface to work with presenloader.gd 2024-05-11 12:08:04 +02:00
bfe1f9a8d5
Fix presentation loading bug 2024-05-11 12:07:28 +02:00
dda4ce2646
Implement early presentation loader 2024-05-11 12:07:04 +02:00
3db7ab1daf
Update CORE 2024-05-11 12:06:00 +02:00
fe2f4b7f7b
Rename statemanager.gd to presenloader.gd 2024-05-10 20:10:55 +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
1e75af4578
Add safety argument for --ui-scale 2024-05-10 15:48:13 +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
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
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
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