No description
988e377ec9
SviewCreate() now takes a SGPropertyNode* config which contains all information needed to specify the view, including window size and position. By default views are defined using a series of <step>...</step> nodes which map to SviewStep* classes internally. Alternatively, existing extra-view functionality is supported using type='current', 'last_pair' or 'last_pair_double', plus one can use old-style <view>...<view> nodes with type='legacy'. See src/Viewer/sview.hxx for details and examples. The extra-view commands view-clone, view-last-pair and view-last-pair-double now pass the supplied SGPropertyNode* through the underlying FGViewMgr to SviewCreate(). Improved handling of +/- heading and pitch values. For example some legacy views have inverse relationship between heading-offset-deg and the actual heading offset, so we now only multiply by -1 early on when handling these legacy views, and SviewStepRotate does not negate. Fixed Helicopter view direction bug with multiplayer aircraft - need to use global /sim/current-view/heading-offset-deg, even for multiplayer aircraft. Fixed incorrect handling of roll in pilot view - when adding in extra changes of heading, pitch and roll to things like Helicopter view, simply adding to heading, pitch and roll doesn't work if aircraft roll is not zero. Instead we need to do the calculation with SGQuatd, so have added optional rotation params to SviewStepFinal. Added support for legacy Tower view look from. Details: src/Main/fg_commands.cxx src/Viewer/viewmgr.cxx src/Viewer/viewmgr.hxx Added 'view-new' command. All recently-added view commands now pass the SGPropertyNode* arg to globals->get_viewmgr() and from there to SviewCreate(). src/Viewer/sview.cxx src/Viewer/sview.hxx SviewStepAircraft and SviewStepNearestTower uses new Callsign class for tracking multiplayer aircraft by callsign instead of /ai/models/multiplayer[] number, so we cope when multiplayer aircraft are renumbered by network outages. Double views are now implemented as a final view step, instead of in a separate class derived from SviewView. So all views are implemented using SviewViewEyeTarget, and there is arguably no need for the separate SviewView base class. SviewViewEyeTarget now has a single list of steps, instead of separate lists for eye and target, because the use of SviewStepCopyToTarget makes separate lists unnecessary. |
||
---|---|---|
3rdparty | ||
CMakeModules | ||
docs-mini | ||
examples/netfdm | ||
icons | ||
man | ||
package | ||
scripts | ||
src | ||
test_suite | ||
utils | ||
.clang-format | ||
.gitignore | ||
AUTHORS | ||
ChangeLog | ||
CMakeLists.txt | ||
COPYING | ||
flightgear-version | ||
INSTALL | ||
NEWS | ||
README | ||
README.cmake | ||
README.msvc | ||
README.OSG | ||
README.plib | ||
README.SimGear | ||
README.sound | ||
Thanks |
Welcome to the FlightGear Flight Simulator project. =================================================== The primary web page for this project is: http://www.flightgear.org For basic installation instructions see the "INSTALL" file. Before you can run FlightGear you will also need to download and install the "base" package which is a collection of textures, sounds, sample scenery, and other data files needed by the sim. For additional install help for specific platforms please browse the "docs-mini/" subdirectory. More complete documentation is available from our web page as a separate distribution. Please take a look at the "Thanks" file for a list of people who have contributed to this project. If you have contributed something but don't find your name in this file. Please send a polite reminder to http://www.flightgear.org/~curt For a summary of changes/additions by version see the "NEWS" file. This project is GPL'd. For complete details on our licensing please see the "COPYING" file. For information on available mailing lists, mailing list archives, and other available source code and documenation, please visit our web site. FlightGear is a product of the collaboration of large international group of volunteers. FlightGear is a work in progress. FlightGear comes with no warrantee. We hope you enjoy FlightGear and/or find it of some value!