Development

From OpenTTD
(Difference between revisions)
Jump to: navigation, search
Line 9: Line 9:
 
|language_page=en
 
|language_page=en
 
}}
 
}}
<div style="background-color: #f1f2fe; border: 1px solid #c7c8fe; margin:0; padding: 1em 1em 1em 1em; text-align:left">
+
<div style="background-color: #f1f2fe; border: 1px solid #c7c8fe; margin:0; padding: 1em 1em 1em 1em; text-align:left; border-bottom: none;">
 
[[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 [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].
 
[[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" align="center" cellpadding="10px" style="background-color: #E7EBFF; border: 1px solid #c7c8fe; margin:0; border-top:none; padding:0"
+
{| cellspacing="3" class="mainpagetable" align="center" cellpadding="10px" style="margin:0;"
|- valign="top"  
+
|- valign="top"
|width="33%"|
+
|width="33%" style="border: 1px solid #c7c8fe; border-bottom: none;"|
 
<font size="3">'''Development'''</font> <!-----------------------Development--------->
 
<font size="3">'''Development'''</font> <!-----------------------Development--------->
  
Line 25: Line 25:
 
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="33%"|
+
|width="33%" style="border: 1px solid #c7c8fe; border-bottom: none;"|
 
<font size="3">'''Coding'''</font>  <!-----------------------Coding--------->
 
<font size="3">'''Coding'''</font>  <!-----------------------Coding--------->
  
Line 38: Line 38:
 
*[http://bugs.openttd.org/ Bug tracker]
 
*[http://bugs.openttd.org/ Bug tracker]
  
|width="33%"|
+
|width="33%" style="border: 1px solid #c7c8fe; border-bottom: none;"|
 
<font size="3">'''Subprojects'''</font> <!-----------------------Subprojects--------->
 
<font size="3">'''Subprojects'''</font> <!-----------------------Subprojects--------->
  
Line 49: Line 49:
 
{| cellspacing="3" class="mainpagetable" align="center" cellpadding="10px" style="background-color: #E7EBFF; border: 1px solid #c7c8fe; margin:0; border-top:none; padding:0; margin-bottom:2em"
 
{| cellspacing="3" class="mainpagetable" align="center" 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="33%"|
+
|width="33%" style="border: 1px solid #c7c8fe;"|
 
<font size="3">'''Development documentation'''</font>  <!---------Development documentation--------->
 
<font size="3">'''Development documentation'''</font>  <!---------Development documentation--------->
  
Line 60: Line 60:
 
*[[OpenTTD Release History]]
 
*[[OpenTTD Release History]]
  
|width="33%"|
+
|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 68: Line 68:
 
*[[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%"|
+
|width="33%" style="border: 1px solid #c7c8fe;"|
 
<font size="3">'''Miscellaneous'''</font>  <!------------- Miscellaneous ------------->
 
<font size="3">'''Miscellaneous'''</font>  <!------------- Miscellaneous ------------->
  

Revision as of 20:47, 28 September 2011


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 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 guidelines - 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