Commit graph

57 commits

Author SHA1 Message Date
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