Format for new SDK pages

From Civilization Modding Wiki
Jump to navigationJump to search
The '''FILENAME''' file <<INSERT PURPOSE HERE>>.

The SDK is written in C++ and divided between header files (.h) and source files (.cpp). The header files contain all the unique classes used for Civ4; you will probably not be adding any new classes. They also hold lists of all the functions in the corresponding .cpp files, and their parameters. These files are divided into public, private, and protected areas, with variables and functions listed in each. The source files hold all the functions and the code - the meat of the SDK. Toying around with these will change AI behavior and let you mod the 'basic' parts of the game - sliders, traits, city structure, tiles, etc. 
<font color=red>This page is missing information.
Do not remove this notice until it is complete.</font>

==Functions==

Below is a list of all the functions in the given source/header file. Each function has a quick description attached to it. Note that there are comments strewn throughout these files, direct from the developers in order to aid the potential modders.
{| border="1" style="text-align:left" cellpadding="3" cellspacing="0"
|-
! style="background:#efefef;" | Function 
! style="background:#efefef;" | Parameters
! style="background:#efefef;" | Return Type
! style="background:#efefef;" | Description
|-
!include function type and name
|enter text here
|enter text here
|enter text here
|-
!include function type and name
|enter text here
|enter text here
|enter text here
|}


==Example==

This example is a quick idea of what you can do with functions in this file. 

  <insert code example from actual SDK file>

{{Civ4_SDK_Files}}