Howto:Add new fgcommands to FlightGear: Difference between revisions

Jump to navigation Jump to search
m
Line 259: Line 259:


When you send patches or file merge requests for new fgcommands, please also make sure to send patches for README.commands, too - so that your new commands are documented there.
When you send patches or file merge requests for new fgcommands, please also make sure to send patches for README.commands, too - so that your new commands are documented there.
Depending on the nature of functionality that you would like to add to FlightGear, you may want to use a more sophisticated method of adding new features, such as [[Howto:Extend Nasal|adding custom Nasal extension functions]], or [[Howto:Create new subsystems|adding a dedicated SGSubsystem]], a full property tree wrapper using listeners, or the cppbind framework in Simgear in order to expose full classes/objects.


This was just an introduction intended to get you started, most of the missing information can be learned by referring to the plethora of existing fgcommands and seeing how they are implemented and working.
This was just an introduction intended to get you started, most of the missing information can be learned by referring to the plethora of existing fgcommands and seeing how they are implemented and working.

Navigation menu