pandemonium_engine_docs/engine_development/cpp/introduction_to_godot_development.md

41 lines
1.0 KiB
Markdown
Raw Normal View History

2023-01-12 20:49:14 +01:00
2024-03-16 20:56:52 +01:00
Introduction to Pandemonium development
=================================
2024-03-16 20:56:52 +01:00
This page is meant to introduce the global organization of Pandemonium Engine's
source code, and give useful tips for extending/fixing the engine on the
C++ side.
Architecture diagram
--------------------
2024-03-16 20:56:52 +01:00
The following diagram describes the architecture used by Pandemonium, from the
core components down to the abstracted drivers, via the scene
structure and the servers.
2023-01-12 20:16:00 +01:00
![](img/architecture_diagram.jpg
Debugging the editor with gdb
-----------------------------
2024-03-16 20:56:52 +01:00
If you are writing or correcting bugs affecting Pandemonium Engine's editor,
remember that the binary will by default run the project manager first,
and then only run the editor in another process once you've selected a
project. To launch a project directly, you need to run the editor by
2024-03-16 20:56:52 +01:00
passing the `-e` argument to Pandemonium Engine's binary from within your
project's folder. Typically:
2023-01-12 22:00:14 +01:00
```
$ cd ~/myproject
2024-03-16 20:56:52 +01:00
$ gdb pandemonium
> run -e
2023-01-12 22:00:14 +01:00
```
Or:
2023-01-12 22:00:14 +01:00
```
2024-03-16 20:56:52 +01:00
$ gdb pandemonium
> run -e --path ~/myproject
2023-01-12 22:00:14 +01:00
```