Thomas Geymayer
258d387d15
Allow setting emission for each canvas placement
2012-11-21 13:07:57 +01:00
Thomas Geymayer
28779e7a51
Update for new simgear Canvas system.
...
A refactored version of the Canvas system can now be found in
SimGear.
2012-11-04 14:18:31 +01:00
Thomas Geymayer
2ad82a1b60
Move FGODGauge implementation to SimGear
2012-10-19 11:59:36 +02:00
James Turner
4994973ef4
Separate instruments from cockpit displays.
2012-10-05 18:13:50 +01:00
James Turner
2a276ae5d1
Disable panel-extent drawing in hot-spots mode.
...
To keep the tutorial looking nice, switch off the panel extent outlines for the 2.8 release. Longer-term I should remove the code, or add a separate property if this feature is actually useful.
2012-07-02 11:44:34 +01:00
James Turner
8f10fff8dc
Lazy-loading of the 2D panel node.
...
Sink the 2D panel logic into FGPanelNode, simplifying
renderer.cxx and a few other places. Also allows potential
for unloading / paging of 2.5D panels in the future.
2012-05-16 11:43:09 +01:00
ThorstenB
89b41395d8
Move viewer-related sources to separate folder.
...
Simple source directory clean-up, so "Main" folder contains fewer stuff
and the list of files in the editors a lot shorter.
2012-04-25 23:28:00 +02:00
James Turner
91f2d0798a
Make 2D panel mouse action repeat independent of the frame-rate.
2012-04-15 13:21:12 +01:00
James Turner
086df400de
Fix 2.5D panel hit detection, compute logical panel extend from actions.
2012-03-25 18:46:04 +01:00
ThorstenB
92d5620b9f
Fix Linux build
2012-03-16 23:21:07 +01:00
James Turner
8c187164fe
Work on making 2D panels act like standard scene-graph elements for picking and drawing.
...
(This includes 2.5D panels in the 3D scene)
2012-03-16 17:22:18 +00:00
Torsten Dreyer
ddb4fa050f
Some warning fixes, mostly unused variables
2011-12-25 14:41:47 +01:00
ThorstenB
d47342a5a4
Add --log-class option, improve logging classes.
...
Replace SG_GENERAL by more specific log classes in many places.
Allow "," to separate logging classes (using "|" is odd on the
command-line).
Also add new option to make logging more useful for developers.
You can use:
--log-level=debug --log-class=environment
to only get environment debug messages, or
--log-level=debug --log-class=sound,ai
to only get debug messages related to the sound or AI subsystem.
2011-12-11 14:06:17 +01:00
James Turner
a05ea36acb
Restructure GUI code, isolate PLIB in source files, to ease future refactoring and alternative GUI layers.
2011-11-19 20:25:51 +00:00
James Turner
70b4f38ebc
Goodbye automake.
2011-11-01 11:15:53 +00:00
James Turner
b1b4b7ecf4
Fix (nearly) all the std:: namespace violations in headers, in preparation for fixing SGsmplstat.hxx to *not* do a 'using namespace std'.
2011-10-17 17:41:59 +01:00
James Turner
6c52a5ac85
Fixes for include-file flattening - condition.hxx no longer pulls in props or props_io
2011-07-30 10:47:28 +01:00
James Turner
7abf7c5748
CMake header support for XCode/Visual Studio
2011-07-19 07:58:03 +01:00
James Turner
a91ec5f9f9
Initial work on CMake build files, with considerable help from Olaf Flebbe.
2010-12-19 15:06:04 +00:00
Christian Schmitt
0a5e86f4e6
remove old .cvsignore files
2010-11-11 01:16:29 +01:00
James Turner
f02267e3e3
Remove a stray include that got missed.
2010-10-29 14:11:54 +01:00
James Turner
d1a4590721
Goodbye old HUD - and the archeology it depended upon in cockpit.cxx
2010-10-29 08:47:58 +01:00
James Turner
d573cb43a0
Move three more subsystems into the init + update scheme - fixes some crashes found by papillion.
2010-10-22 16:44:37 +01:00
Tim Moore
f901dac2ac
replace GLU functions with OSG functionality
2010-10-08 23:48:01 +02:00
James Turner
1afd4e602e
Get rid of FGGeneral; expose equivlanet values via properties.
2010-10-01 09:33:31 +01:00
James Turner
a363da9274
Really fix bug 146 - angle units confusiuon.
2010-08-14 19:29:02 +01:00
James Turner
6266491aea
Candidate fix for bug 146, view_direction computed incorrectly.
2010-08-14 19:24:48 +01:00
James Turner
8e5f3ac8a3
Set the key SGModelLib callback to make aircraft-dir OSG loading work.
2010-07-29 01:07:32 +01:00
James Turner
ab495d1370
Add --fg-aircraft option, and aircraft dir path list. Partial support in places that load files, for respecting the setting.
...
Add helper to look for an aircraft branch path in multiple candidate locations.
Update the main subsystems to use the helper, and hence load from any aircraft dir.
2010-07-28 22:03:10 +01:00
James Turner
01e0156b5d
Remove current_aircraft global, fgAIRCRAFT struct, and dead code for reading aircraft dirs.
2010-07-01 22:33:51 +01:00
James Turner
a0588272dc
Merge branch 'topics/mainloop' into next
2010-06-26 15:30:00 +01:00
James Turner
4a948f5955
Remove uses of the global FDM interface in the cockpit/HUD code.
2010-06-26 14:21:16 +01:00
James Turner
85be9be1e0
Initial work on FDM shell, and removal of cur_fdm_state
2010-06-26 10:31:22 +01:00
Erik Hofman
de3afcce99
gcc issues 'format not a string literal and no format arguments' when running -Werror, trick gcc into thinking everything is alright.
2010-06-26 09:36:48 +02:00
Tim Moore
351d1ddb5e
Merge branch 'jmt/gui' into next
2010-02-17 07:41:48 +01:00
jmt
4f99561f63
Quiet: reduce log-level of various things from INFO to DEBUG or BULK, and tune the categories/level of some specific messages.
...
Commit split by timoore in order to apply most of it to maint branch.
2010-02-17 07:41:23 +01:00
jmt
73334cf61b
Bugfix #35 / denker #20F:
...
Guard against invalid font names in panel XML files, and make font name
comparisons case-insensitive so that 'helvetica', 'Helvetica' or 'HELVETICA'
work as expected.
2010-02-11 00:20:59 +01:00
Tim Moore
e503591af4
Merge branch 'jmt/gps'
...
Conflicts:
src/Instrumentation/gps.cxx
2009-11-27 06:40:47 +01:00
jmt
069b26bbb8
Make panel-IO quieter.
2009-10-19 23:56:51 +02:00
jmt
71a9e3d419
HUD tweak - don't show cross-track error if it's (effectively) zero.
2009-10-19 23:56:51 +02:00
jmt
093e267091
Make the HUD show GPS state, instead of RM state.
2009-10-14 00:42:36 +02:00
jmt
3637482916
Fix various route-manager issues - HUD display of waypoints, some potential divide-by-zeroes when paused or stationary, and Win32 compilation.
2009-10-12 07:54:09 +02:00
jmt
b49ad1aaed
Remove plib/fnt.h from panel header.
2009-09-20 16:46:32 +02:00
jmt
0c8c8380b1
Break viewmgr.hxx dependency on on viewer.hxx.
2009-09-20 00:20:17 +02:00
jmt
fbf7d58c25
Logging: less verbose panel loading.
2009-09-17 22:45:29 +02:00
torsten
e294ab7b39
warning fixes
2009-08-23 21:43:09 +02:00
torsten
c5f63a4ac1
Advanced input subsystem - Step1: cleanup dependencies
2009-08-08 08:37:14 +02:00
daveluff
443f3f3654
Fix the rendering of the KLN89 on the 2D panel that was broken during the move to osg. This is an interim step with the aim being to eventually use render-to-texture.
2009-07-27 23:52:32 +02:00
Tim Moore
b588a92b7f
adapt to changes in sg_exception interface
...
sg_location now uses C strings. Also, change uses of sg_throwable to more
specific exceptions like sg_io_exception.
2009-06-16 11:46:47 +02:00
mfranz
b07ad149ae
turn a few #include paths from the "foo" form to <foo>
...
The quotes form is normally only used for headers with path relative
to the including file's path, though the standard doesn't strictly
mandate this. This is consistent with the rest of sg/fg, it makes the
code's intent clearer and helps to find headers. (And it's a few
milliseconds faster, too.)
2009-05-18 12:24:17 +02:00