2.3 KiB
2.3 KiB
NVGT Repo Map
Use this map to choose the fastest authoritative source in nvgt-git.
1. Documentation First
-
doc/src/manual/Practical tutorials, project workflows, and conceptual guidance. Start here for process questions (build, compile/distribute, debugging scripts, concurrency/subscripting tutorials). -
doc/src/references/API entry points. Use this when you need object/function names and category-level API navigation. -
doc/src/references/builtin/Built-in script API categories:Audio,Filesystem,User Interface,Text-To-Speech,Concurrency, etc. -
doc/src/references/include/Bundled include APIs (form.nvgt,menu.nvgt,sound_pool.nvgt,music.nvgt, etc.). -
doc/src/references/plugin/Plugin APIs (git2nvgt,nvgt_curl,nvgt_sqlite,systemd_notify).
2. Bundled Script Includes
release/include/Reference implementation of bundled.nvgtincludes shipped with NVGT. Use this to verify behavior details not obvious in docs.
Key files:
release/include/form.nvgtrelease/include/menu.nvgtrelease/include/sound_pool.nvgtrelease/include/virtual_dialogs.nvgtrelease/include/music.nvgtrelease/include/speech.nvgtrelease/include/bgt_dynamic_menu.nvgt
3. Engine Binding Source (Truth Layer)
src/*.cppC++ registration and implementation of script-facing APIs. Use this when docs and includes do not fully answer behavior/signature questions.
High-value files:
src/nvgt.cppCLI modes/options (-c,-d, include dirs, platform flags, settings).src/scriptstuff.cppScript module/function APIs, profiling/debug hooks, call stack support.src/tts.cppScreen reader + TTS object registration.src/sound.cpp,src/sound_nodes.cpp,src/sound_service.cppSound and audio subsystem behavior.src/input.cpp,src/UI.cppKeyboard/window/UI interaction behavior.src/filesystem.cpp,src/datastreams.cpp,src/serialize.cppFile/stream/serialization behavior.
4. Samples
extra/samples/Small scripts demonstrating typical usage. Use to confirm common idioms before inventing new patterns.
5. Build and Packaging
readme.mdEngine build prerequisites and SCons usage.doc/src/manual/compiling your project for distribution.mdCompile + bundle guidance.build/,install/,release/Build scripts and packaging infrastructure.