source code documentation

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
darkdave

source code documentation

Post #1by darkdave » 22.12.2002, 10:49

hi im an intermediate C and C++ programmer and want to help out in the devalopment and enchancement of celestia.

Where do i start? i tried to find proper documentation that describes the inner workings of the program but couldnt find any.

Is there like a PDF file titled: "Programmer's guide to Celestia" or something like that? i was going to print out all the cpp files in the source code package but there are way too many of them to print out and summarize!

Please Help

David Ong

Christophe
Developer
Posts: 944
Joined: 18.07.2002
With us: 22 years 7 months
Location: Lyon (France)

Post #2by Christophe » 22.12.2002, 11:18

There's a devguide.txt file that gives some indication as to the purpose of some classes, it's by no mean comprehensive but it's a good start.

celestiacore.cpp is the main class used on all platforms, the GUI is of course platform dependent, winmain.cpp for Windows, gtkmain.cpp for Gnome, kdeapp.cpp for KDE.

You probably don't need to print out all the code, looking at celestiacore.cpp and the header files will give you a good understanding of how it works. And then you can start digging the cpp code of interest.

And don't forget to read the coding-standards.html too!

Good luck,
--
Christophe

Topic author
darkdave

where?

Post #3by darkdave » 22.12.2002, 16:07

where can i find all these files? or are they ALL in the 11 megabyte source package?


Dave

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 5 months
Location: NY, USA

Post #4by selden » 22.12.2002, 16:45

Dave,

They're all on the software development site.
http://sourceforge.net/projects/celestia
Selden


Return to “Development”