Where to start developing in OpenTTD?

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

Post Reply
Progman
Engineer
Engineer
Posts: 76
Joined: 15 Jul 2006 12:55
Contact:

Where to start developing in OpenTTD?

Post by Progman »

Hi

I'm interested unterstanding the code of OpenTTD and maybe I want to write a patch for it. But I don't know where to "start" in the OpenTTD-code to understand what where when happends and where what act together. I mean sth. like "What classes exists?" "How act they together?" "What is the Idea of XYZ?". Or more specific: Where can I find documentation about the OpenTTD-code? I search for an overview of the OpenTTD-code like "How to get a OpenTTD-Developer" or "Overview of classes/enums/strucst/whatever".

Yes, I have (some) experiences in c.
No, I haven't experiences in a c-project.
viperkesvp
Engineer
Engineer
Posts: 2
Joined: 15 Jul 2006 14:41

Post by viperkesvp »

you can find the docs about the source code on this page

http://docs.openttd.org/

generally it is the source code with some extra comments on it and with a better overview of the structure of the code

grtz
Viperkesvp
User avatar
mart3p
Tycoon
Tycoon
Posts: 1030
Joined: 31 Oct 2005 21:00
Location: UK

Post by mart3p »

There is also some development information here.
Image
MeusH
Tycoon
Tycoon
Posts: 4349
Joined: 25 Oct 2004 15:39
Location: Mississauga

Post by MeusH »

You can also browse the source code and take a look at comments. The most important functions are usually well explained with some lines from the author
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: peter1138 and 13 guests