Howto:Start core development: Difference between revisions

Jump to navigation Jump to search
m
→‎The source code: undo/improve previous change: explicit linsk are to be avoided, in case the underlying infrastructure is migrated - e.g. see the simgear/flightgear repo merge currently discussed
m (→‎The source code: undo/improve previous change: explicit linsk are to be avoided, in case the underlying infrastructure is migrated - e.g. see the simgear/flightgear repo merge currently discussed)
(One intermediate revision by one other user not shown)
Line 129: Line 129:
FlightGear is multi-platform software, that runs on all major versions of MS Windows, Mac OS and Linux. That means, the FlightGear source code also needs to be written and maintained with cross-platform considerations in mind.  
FlightGear is multi-platform software, that runs on all major versions of MS Windows, Mac OS and Linux. That means, the FlightGear source code also needs to be written and maintained with cross-platform considerations in mind.  


The core FlightGear source code itself is largely written in C++, some C and a bunch of helper scripts. FlightGear is based on OpenGL (NOT DirectX !), OSG (OpenSceneGraph) and OpenAL (for sound). An increasing number of features are implemented in scripting space, using a high level scripting language called [[Nasal]], Nasal scripts are maintained in the base package ($FG_ROOT).
The core FlightGear source code itself is largely written in C++, some C and a bunch of helper scripts. FlightGear is based on OpenGL (NOT DirectX !), OSG (OpenSceneGraph) and OpenAL (for sound). An increasing number of features are implemented in scripting space, using a high level scripting language called [[Nasal]], Nasal scripts are maintained in the fgdata repository and available at runtime under ($FG_ROOT).


The SimGear and FlightGear source trees both make use of the [[Building using CMake|CMake]] build system as of 2012.
The SimGear and FlightGear source trees both make use of the [[Building using CMake|CMake]] build system as of 2012.
Line 135: Line 135:
The FlightGear project uses the decentralized source code management system "git" see [[Git]] for more info.
The FlightGear project uses the decentralized source code management system "git" see [[Git]] for more info.


The project sources are hosted at sourceforge: https://sourceforge.net/p/flightgear/flightgear/ci/next/tree/
The project sources are hosted at sourceforge: https://sourceforge.net/p/flightgear/


If you know for sure that you'd like to fiddle with the core source code, you'll inevitably need to be able build FG from source, this is also documented in our wiki, a more recent article is to be found here: http://wiki.flightgear.org/Howto:_Build_FlightGear_with_NetBeans_using_CMake
Development is primarily on the 'next' branches of the three main git repositories:
 
* {{repo link
| site = sf
| proj = flightgear
| repo = flightgear
| view = log
}}
 
* {{repo link
| site = sf
| proj = flightgear
| repo = simgear
| view = log
}}
* {{repo link
| site = sf
| proj = flightgear
| repo = fgdata
| view = log
}}
 
If you know for sure that you'd like to fiddle with the core source code, you'll inevitably need to be able build FG from source, see [[Building_FlightGear]].


You can find tutorials for different platforms/OS at the end of the article.
You can find tutorials for different platforms/OS at the end of the article.

Navigation menu