Note: This section is out-of-date as of commit dbcae31f59.
The BulletBall source code is written to be as easy to understand as possible. When familiarising yourself with the code base, you should start with main.cpp.
Everything important is in main.cpp. Generic helper functions are declared in BulletBall.h.in and implemented in BulletBall.cpp. Each class has its own header and C++ file (for example, IrrEventReceiver.h and IrrEventReceiver.cpp).
BulletBall-specific functions are declared at the top of main.cpp and implemented at the bottom of main.cpp.
BulletBall has the following directory structure:
BulletBall - contains the files for BulletBallbuild - contains the build files generated by CMakedocs - contains the Doxygen documentationmodules - contains modules for CMake allowing it to find library filesres - contains resource files such as 3D models, textures, and musicsrc - contains the source codeBulletBallLauncher - contains the files for the GTK+ and Qt graphical launchersbuild - contains the build files generated by CMakedocs - contains the documentation generated by Doxygenmodules - contains modules for CMake allowing it to compile Vala filessrc - contains the source codegtk - contains the source code for the GTK+ graphical launcherqt - contains the source code for the Qt graphical launcher
Anonymous