timoore
97d86e10f7
Fix typo in DatabasePager interface changes for OSG 2.4
2008-06-03 05:36:19 +00:00
timoore
8d1c97d94b
Changes for new DatabasePager interface in OSG 2.5.1
2008-06-02 21:10:13 +00:00
timoore
32e9505eed
Clean up header file use of iostream and "using" declarations
...
Replace include <iostream> with istream, ostream and/or iosfwd as
appropriate.
Remove using namespace std and using std::foo from header files.
2008-06-02 21:09:51 +00:00
timoore
fe1dd9474e
iostream cleanup wip
2008-06-02 21:09:10 +00:00
timoore
a251fd35cb
Include <iostream> and using declarations as needed.
...
SimGear no longer includes iostream and avoids using declarations in
header files, so various fixups are needed.
2008-06-02 21:07:35 +00:00
mfranz
eb2a167331
attach listener after setting the default values (of course :-)
2008-06-02 11:44:02 +00:00
mfranz
47b9da740b
- export font properties to the property tree again
...
- don't keep oodles of class member variables public (eek!)
- use ::hasValue() instead of ::getType() != SGPropertyNode::NONE
- consistency fixes and cosmetics
2008-06-02 09:32:37 +00:00
mfranz
4b245467c7
change default font values
2008-06-01 18:16:35 +00:00
mfranz
e0aeda5a51
Csaba HALASZ & Syd ADAMS: make radar font configurable
...
mf: move font color parts to the font listener
2008-06-01 18:08:01 +00:00
fredb
68124ca36d
Remove unused variables
2008-06-01 14:59:20 +00:00
fredb
af879b8310
Fix Traffic Manager XML parser
2008-06-01 11:56:32 +00:00
frohlich
61dc8df110
Implement rotation offsets for cameras.
2008-05-26 20:34:26 +00:00
mfranz
8dbfe52319
sync with $FG_ROOT/Docs/READEM.xmlsound:
...
- <delay-sec> added
- spelling fixes
- fix mixed indentation
2008-05-21 15:00:20 +00:00
fredb
504b74ee47
Update MSVC 7.1 projects. Add WindowSystemAdapter
2008-05-20 06:36:24 +00:00
fredb
cc8c65a6ee
puInitialize returns nothing.
2008-05-20 06:35:37 +00:00
timoore
580ebf637b
Clean up OSG camera setup and interface to plib PUI
...
Switch to defining PU_USE_NONE and providing our own callback
functions to pui for "get window" and "get window size." A new
WindowSystemAdapter class assigns ID numbers to windows for the
purpose of identifying them to plib; the window size can be extracted
from the osg::GraphicsContext class in all the different
implementations (osgViewer, glut, sdl).
Implement a GraphicsContextOperation that runs code in a particular
graphics context, perhaps in another thread, and provides an
isFinished() method to test if the operation has finished. This allows
us to initialize plib PUI properly if there are multiple graphics
contexts without using fgMakeCurrent(). fgMakeCurrent() can't work in
multi-threaded OSG configurations.
Eliminate fgMakeCurrent() and all its uses, either by using
GraphicsContextOperation or by seeing that it is not necessary.
Attach the GUI camera as a slave camera.
Don't manipulate the OSG state in the drawImplementation() functions
for SGHUDAndPanelDrawable and SGPuDrawable; it's not needed.
2008-05-19 21:21:03 +00:00
mfranz
c92dcc6b24
- use fireValueChanged() instead of setBoolValue(true) (micro-optimization :-)
...
- comment out rather pointless FDM status message
2008-05-18 21:13:25 +00:00
mfranz
6fb7b8ead9
noise--
2008-05-18 21:05:11 +00:00
timoore
4dea9807f6
fg: move most scenery-related code to simgear
...
From Till Busch.
2008-05-14 22:10:07 +00:00
fredb
87b6632ba6
Rename FontStatus enum labels because ERROR is already a macro under Windows
2008-05-14 09:51:11 +00:00
fredb
4db30b5abb
Update MSVC 7.1 projects. Rename ATC -> ATCDCL
2008-05-14 09:50:05 +00:00
durk
ee405fbdd0
Make sure that the compiler knows about the new location of the ATC code.
2008-05-12 14:58:43 +00:00
durk
4e24fba0d5
Merging David Luff's AI/ATC code with AIModels. Part 1:
...
- Move Dave's original code to a new directory (ATCDCL) so we can recycle
the original ATC directory for generic ATC functions.
2008-05-12 10:38:04 +00:00
durk
aacebaf4b8
Merging David Luff's AI/ATC code with AIModels. Part 1:
...
- Move Dave's original code to a new directory (ATCDCL) so we can recycle
the original ATC directory for generic ATC functions.
2008-05-12 10:07:41 +00:00
mfranz
a6a78b7185
- rename fgcommand "set-mouse" to "set-cursor"
...
- write new {x,y} coords to /devices/status/mice/mouse/{x,y}, so that
they are immediately available
2008-05-08 10:07:51 +00:00
durk
0e59cf4a08
- Add some DEBUG level log messages to help users in getting traffic files
...
to work.
- Add the possibility to load only proportion of traffic in order to
reduce some of the workload, in case of a slower computer.
2008-05-08 06:11:43 +00:00
mfranz
60dc921a80
add fgcommand "set-mouse", which sets mouse coordinates and cursor type
2008-05-07 21:49:35 +00:00
timoore
6cd9794b0c
Add a subclass of fntTexFont that defers font loading
...
Loading is deferred until the first render so that it has a chance of
happening in the proper graphics context.
2008-05-06 21:31:01 +00:00
mfranz
43a882b2ec
script to output all frequencies for an airport as well as frequencies of
...
nearby radio navigation facilities and their distance/bearing to the airport
2008-05-04 21:33:16 +00:00
mfranz
ff06e015c9
read runway start offset from /sim/airport/runways/start-offset-m
...
(Defaults to 5.0, which was hard-coded before. /sim/airport/runways/
does already exist and contains the runway search parameters.)
2008-05-02 21:31:30 +00:00
mfranz
ad2788bf74
add unit suffixes -nm and -deg to /sim/presets/offset-{distance,azimuth}
2008-05-01 21:14:02 +00:00
mfranz
1454c1e4cc
cleanup after last commit
2008-04-29 15:35:09 +00:00
mfranz
2ece66aded
- improve comments (contents and spelling)
...
- fix bad indentation (mixed 2/4 spaces or tabs/spaces)
2008-04-29 14:49:44 +00:00
mfranz
3842fa0edc
Csaba "Jester" HALASZ:
...
Attached patch adds support for multiple FIXes with the same name.
Applies to both branches.
New functionality is in query_and_offset, which now returns the FIX
closest to the passed in location.
Updated route manager to take advantage of this.
Otherwise, query functions return an unspecified member from the set
of identically named FIXes. (This was previously the one occurring
last in the database file, but I don't think anybody counted on that.)
2008-04-28 11:26:02 +00:00
mfranz
3fa32b1fcc
remove sgVec3Slider.hxx use
2008-04-27 18:07:38 +00:00
mfranz
907b9a7240
remove obsolete constants for hardcoded pui dialogs (after sgVec3Slider removal)
2008-04-27 18:00:21 +00:00
mfranz
8904a17277
move sgVec3Slider dialog to the Attic/:
...
- it's unused
- it's hardcoded (we already got rid of all other hardcoded dialogs)
- we'll have to consider switching to osgWidget, which is planned to
get imported into osg. It's unlikely that we add *more* of PLIB
in the meantime.
2008-04-27 17:56:05 +00:00
mfranz
586bfe0aea
move constants here so that the file is complete in the Attic/
2008-04-27 17:50:44 +00:00
mfranz
881274b1fd
remove sgVec3Slider.cxx sgVec3Slider.hxx altogether. Files will follow.
2008-04-27 17:44:14 +00:00
mfranz
17adffc5f9
comment out currently unused symbols (gui_msg_OK etc.)
2008-04-27 16:18:23 +00:00
mfranz
f134a708df
comment out unused widget. Needs to be reviewed and either actually
...
used or removed
2008-04-27 16:16:45 +00:00
fredb
3947a58e3d
Update MSVC 7.1 projects
2008-04-27 16:15:20 +00:00
mfranz
c8f2013c77
Nicolas: make screenshot target dir configurable (idea and first draft)
...
--prop:sim/paths/screenshot-dir=/tmp
2008-04-26 22:34:46 +00:00
mfranz
8f509ba82a
restore NumPad translation
2008-04-26 17:01:08 +00:00
mfranz
4c5d7bb0f9
- export modifier bitmask
...
- consider negative keys returned from an event handler as invalid
(was 0 before)
- warning--
2008-04-26 13:25:08 +00:00
mfranz
7a904ea0ac
document <mod-hyper>
2008-04-25 23:40:05 +00:00
mfranz
160e246a0c
add hyper support
2008-04-25 23:21:47 +00:00
mfranz
dd3fbd50d8
after OSG 2.4 upgrade, remove modifier workaround and comment out numpad
...
workaround (we have yet to verify if the latter is really obsolete)
2008-04-25 22:45:43 +00:00
timoore
de277df8b8
make --enable-osgviewer the default
...
From Till Busch
2008-04-25 21:29:03 +00:00
mfranz
a04d4cbed6
Till BUSCH:
...
"the [...] patch (for fg) increases the time before invisible geometry (i.e.
geometry not inside the view frustrum) gets deleted. default was 10 seconds
which i am increasing to 2 minutes."
2008-04-25 08:43:59 +00:00