Development

From OpenTTD
(Difference between revisions)
Jump to: navigation, search
m (Reverted edits by andythenorth (talk) to last revision by Istivite)
Line 13: Line 13:
 
[[Image:BlackBook.png|64px|left]]
 
[[Image:BlackBook.png|64px|left]]
 
<strong style="font-size:1.4em; display:block">OpenTTD Development Manual</strong>
 
<strong style="font-size:1.4em; display:block">OpenTTD Development Manual</strong>
[[OpenTTD]] is an open source project, published under the [http://www.gnu.org/copyleft/gpl.html GPL]. You can [https://github.com/OpenTTD/OpenTTD find the sourcecode on GitHub].
+
[[OpenTTD]] is an open source project, published under the [http://www.gnu.org/copyleft/gpl.html GPL]. You can [http://svn.openttd.org/ view the sourcecode online] or download the latest tree using [[SVN]]. If you modify the source you can submit a [[SVN#How_do_I_make_a_diff_file_to_share_my_changes_with_other_coders.3F|diff file]] with your changes to the [http://bugs.openttd.org Patch tracker].
 
</div>
 
</div>
 
{| cellspacing="3" class="mainpagetable" cellpadding="10px" style="margin:0;"
 
{| cellspacing="3" class="mainpagetable" cellpadding="10px" style="margin:0;"
 
|- valign="top"
 
|- valign="top"
|width="50%" style="border: 1px solid #c7c8fe; border-bottom: none;"|
+
|width="33%" style="border: 1px solid #c7c8fe; border-bottom: none;"|
 
<font size="3">'''Development'''</font> <!-----------------------Development--------->
 
<font size="3">'''Development'''</font> <!-----------------------Development--------->
  
Line 23: Line 23:
  
 
[[Recent and Current Developments]] shows the developments in trunk since the last major release as well as the purpose of the branches in our [[SVN]] repository.
 
[[Recent and Current Developments]] shows the developments in trunk since the last major release as well as the purpose of the branches in our [[SVN]] repository.
 +
 +
The [[Todo list]] contains tasks which require no detailed knowledge of then OpenTTD code base.
 +
Look here if you want to get involved with the development of OpenTTD, but are unsure with what task to get started.
  
 
The latest changes to the OpenTTD [[SVN]] tree are on the [http://cia.navi.cx/stats/project/OpenTTD cia.navi.cx service] ([http://cia.navi.cx/stats/project/OpenTTD/.rss?ver=2&medium=unquoted&limit=15 RSS feed also available])
 
The latest changes to the OpenTTD [[SVN]] tree are on the [http://cia.navi.cx/stats/project/OpenTTD cia.navi.cx service] ([http://cia.navi.cx/stats/project/OpenTTD/.rss?ver=2&medium=unquoted&limit=15 RSS feed also available])
  
|width="50%" style="border: 1px solid #c7c8fe; border-bottom: none;"|
+
|width="33%" style="border: 1px solid #c7c8fe; border-bottom: none;"|
 
<font size="3">'''Coding'''</font>  <!-----------------------Coding--------->
 
<font size="3">'''Coding'''</font>  <!-----------------------Coding--------->
  
 +
*[[Developers]] of OpenTTD
 
*[[Coding_style|Coding Style]] - How to code for OpenTTD
 
*[[Coding_style|Coding Style]] - How to code for OpenTTD
 
*[[GUI_Style|GUI Style guide]] - Look and feel of the interface.
 
*[[GUI_Style|GUI Style guide]] - Look and feel of the interface.
 +
*[[Coding Tools]] to build and debug OpenTTD
 +
*[[Todo list]] - See a list of wanted patches and features
 
*[http://docs.openttd.org Doxygen] - Documentation overview of the code
 
*[http://docs.openttd.org Doxygen] - Documentation overview of the code
 
*[[Patch Checklist|Checklist for Patches]]
 
*[[Patch Checklist|Checklist for Patches]]
 
*[http://bugs.openttd.org/ Bug tracker]
 
*[http://bugs.openttd.org/ Bug tracker]
 +
 +
|width="33%" style="border: 1px solid #c7c8fe; border-bottom: none;"|
 +
<font size="3">'''Subprojects'''</font> <!-----------------------Subprojects--------->
 +
 +
*[[Graphics Development]] - Find out everything about 32bpp graphics, newGrfs, Graphics replacement etc.
 +
*[[AI:Main_Page|NoAI]] - a new framework for user-made AIs
 +
*[[Sound Effects Replacement]] - Creating a set of replacement sound effects for the game
 +
*[[Passenger and cargo destinations]] - A new way of handling cargo and passengers allowing specific destinations
 +
*[[Passenger and cargo distribution]] - A new and better way of handling cargo and passengers allowing specific destinations
 
|}  <!------------- 3th part ------------->
 
|}  <!------------- 3th part ------------->
 
{| cellspacing="3" class="mainpagetable" cellpadding="10px" style="background-color: #E7EBFF; border: 1px solid #c7c8fe; margin:0; border-top:none; padding:0; margin-bottom:2em"
 
{| cellspacing="3" class="mainpagetable" cellpadding="10px" style="background-color: #E7EBFF; border: 1px solid #c7c8fe; margin:0; border-top:none; padding:0; margin-bottom:2em"
 
|- valign="top"
 
|- valign="top"
|width="50%" style="border: 1px solid #c7c8fe;"|
+
|width="33%" style="border: 1px solid #c7c8fe;"|
 
<font size="3">'''Development documentation'''</font>  <!---------Development documentation--------->
 
<font size="3">'''Development documentation'''</font>  <!---------Development documentation--------->
  
Line 49: Line 64:
 
*[[Server Admin Port Development]]
 
*[[Server Admin Port Development]]
  
|width="50%" style="border: 1px solid #c7c8fe;"|
+
|width="33%" style="border: 1px solid #c7c8fe;"|
 
<font size="3">'''Help with coding'''</font>  <!------------- Help with coding ------------->
 
<font size="3">'''Help with coding'''</font>  <!------------- Help with coding ------------->
  
Line 56: Line 71:
 
*[[Debugging]]
 
*[[Debugging]]
 
*[[Strings]] - with the string system being not too userfriendly, this might help you on your way
 
*[[Strings]] - with the string system being not too userfriendly, this might help you on your way
 +
 +
|width="33%" style="border: 1px solid #c7c8fe;"|
 +
<font size="3">'''Miscellaneous'''</font>  <!------------- Miscellaneous ------------->
 +
 +
* [http://www.openttd.org OpenTTD website]
 +
* [http://www.tt-forums.net/viewforum.php?f=55 OpenTTD forum]
 +
* [http://cia.vc/stats/project/OpenTTD CIA Stats]
 +
* [[Todo list]]
 +
* List of [[Requested features|other patches]] (check also [http://www.tt-forums.net/viewforum.php?f=33 dev section of forums])
 +
* [[Rejected features]]
 +
* [[Miscellaneous suggestions]]
 +
* [[List of patches]]
 
|}
 
|}
  
  
 
[[Category:Development]]
 
[[Category:Development]]

Revision as of 20:47, 19 March 2019


BlackBook.png

OpenTTD Development Manual OpenTTD is an open source project, published under the GPL. You can view the sourcecode online or download the latest tree using SVN. If you modify the source you can submit a diff file with your changes to the Patch tracker.

Development

Objectives - OpenTTD's long term objectives, these are mission statements that should help define the boundaries of OpenTTD development into the future.

Recent and Current Developments shows the developments in trunk since the last major release as well as the purpose of the branches in our SVN repository.

The Todo list contains tasks which require no detailed knowledge of then OpenTTD code base. Look here if you want to get involved with the development of OpenTTD, but are unsure with what task to get started.

The latest changes to the OpenTTD SVN tree are on the cia.navi.cx service (RSS feed also available)

Coding

Subprojects

Development documentation

Help with coding

In the list below are some tips, and helpful tidbits to help you code/debug and get your patches to be accepted swiftly and without problems to the source

  • Coding style - to keep a coherent feel of the code, we ask you to code your patches in the following style
  • Debugging
  • Strings - with the string system being not too userfriendly, this might help you on your way

Miscellaneous

Personal tools