Julian Smith
0c8949e723
simgear/environment/metar.cxx:SGMetar::getDescription(): minor improvements to returned text.
...
remove special characters from output. We used to include 0xb0 characters -
small 'o' degree symbol, but this isn't reliable and looks bad in flightgear's
weather window.
Consistently use space between number and its unit.
remove 'METAR Report' header.
2019-11-06 19:56:03 +00:00
James Turner
012966f6a2
Merge /u/fgarlin/simgear/ branch next into next
...
https://sourceforge.net/p/flightgear/simgear/merge-requests/67/
2019-11-05 09:32:28 +00:00
Erik Hofman
82b1cca247
Also add pressure to the mix
2019-11-04 15:18:59 +01:00
Erik Hofman
2976dc29d5
Merge branch 'next' of ssh://git.code.sf.net/p/flightgear/simgear into next
2019-11-04 14:54:30 +01:00
Erik Hofman
99d5b0dc8a
Switch to in-place declarations and to the ISO9613 distance attenuation model for AeonWave which also calcualtes the proper sound velocity based on atmospheric properties
2019-11-04 14:54:06 +01:00
Fernando García Liñán
d1eb768de6
Disabled CASTSHADOW_BIT on most of the scene graph geometry to optimize performance
2019-11-03 20:53:55 +01:00
Julian Smith
5db8e42c69
simgear/environment/metar.*: added getDescription().
...
Returns human-readable descrition of metar. Uses code from
flightgear:src/Main/metar_main.cxx.
2019-11-01 22:55:20 +00:00
Fernando García Liñán
c7efa81efe
Only use effect schemes when the Compositor is enabled
2019-10-30 17:14:38 +01:00
James Turner
7d92698644
Merge /u/fgarlin/simgear/ branch next into next
...
https://sourceforge.net/p/flightgear/simgear/merge-requests/64/
2019-10-29 08:40:00 +00:00
Stuart Buchanan
4b280a00db
Shader Buildings - fix roofs, set small tex to 5m
...
Fix a bug in the roof transformation that meant the
roof ridges were not sized correctly. Also change
the texture "unit" width for small buildings from 6m
to 5m following discussions with Rick Gruber-Riemer.
2019-10-26 16:29:37 +01:00
Fernando García Liñán
02b61b145a
Compositor: Shaders are looked for in $FG_ROOT/Compositor/Shaders when the compositor is enabled.
...
Fixed Compositor/ always being added to the effect filename. Now it is only added when the base folder is Effects/.
2019-10-26 01:53:30 +02:00
James Turner
0a7514c47b
Add new ‘listener-safe’ SGProperty attribute
...
Used in FG to make certain tied properties as safe to use with
listeners, and hence suppress the warning.
2019-10-20 13:03:15 +01:00
James Turner
4b1a53367f
Runway lights improvements from Sascha Reißner
...
(Sascha Reißner <reiszner@novaplan.at>)
2019-10-20 13:02:30 +01:00
James Turner
de3625d992
Fix linkage of OpenAL tests
...
Now we no longer list OpenAL a s apublic dependency of SimGear, we
need to explicitly link the tests against OpenAL, since they use it
directly, in all cases.
2019-10-19 07:42:28 -07:00
Mykola Orliuk
65331599ec
BoostTestTargets.cmake: support CMake 3.15
...
Signed-off-by: James Turner <zakalawe@mac.com>
2019-10-17 09:41:35 +01:00
Stuart Buchanan
74cd8cf75c
Shader building roof types
...
Shader buildings now support multiple roof types:
- flat
- gabled
- hipped
- pyramidal
2019-10-08 21:38:48 +01:00
Stuart Buchanan
07586e84ce
Rotate orientation of pitched roofs by 90 degrees
...
Also add some additional checking of parameters.
2019-10-06 12:52:12 +01:00
James Turner
ca97b4371b
Use alternative name for internal expat_config.h
...
Avoid clashes when system has expat installed.
2019-10-05 17:19:09 +01:00
Scott Giese
b742607c76
[ReaderWriteSTG] fix for missing header.
2019-10-03 11:50:07 -05:00
ThomasS
1399cc9482
Additional interface to ReaderWriterSTG for adding callbacks for unknown STG token handler
2019-10-03 08:03:37 +02:00
Stuart Buchanan
7464e17e22
Swap width and depth for shader defined buildings
...
Previously the width was set as the x-axis and
depth for the y-axis when passed through to the
shader. This was incorrect, as the x-axis is actually
the depth of the building.
2019-10-01 14:56:18 +01:00
Stuart Buchanan
053bda26a4
Shader buildings - split wall and roof tex index
...
Previously there was very limited texture variations
as a given texture index was used for both the wall
and ceiling. Now these can be specified separately,
allowing for more variation in both STG defined and
random buildings.
2019-09-25 21:53:19 +01:00
James Turner
93995cd742
Nasal GC : Fix crash running FG unit-tests
...
When freeing a context, clear its stack so that anything dangling in
them (especially the opStack) is GCed.
2019-09-19 08:05:55 +01:00
Scott Giese
202dfc9ebe
Merge branch 'next' of https://git.code.sf.net/p/flightgear/simgear into next
2019-09-17 12:51:47 -05:00
Scott Giese
23f378cd93
Support VS 2019 - courtesy of Lars Toenning
2019-09-17 12:51:05 -05:00
Scott Giese
70c564dd2c
Fix compile issue on Win10 VS2019
2019-09-16 23:30:59 -05:00
Julian Smith
9bea6afb80
Revert "simgear/scene/model/ModelRegistry.cxx: avoid noisy diagnostic from OSG."
...
This reverts commit 7762bc2cad
.
This broke Windows and Mac builds.
2019-09-05 15:00:22 +01:00
Julian Smith
20fb7a9ce0
simgear/debug/logstream.cxx: Allow runtime control of file:line in diagnostics.
...
New fn logstream::setFileLine() allows other code to control whether log output
includes file:line information.
2019-09-02 16:10:38 +01:00
Julian Smith
7762bc2cad
simgear/scene/model/ModelRegistry.cxx: avoid noisy diagnostic from OSG.
2019-09-02 16:10:10 +01:00
Julian Smith
f407785f10
Fixes for building on OpenBSD.
2019-08-22 17:35:13 +01:00
Stuart Buchanan
138e28fcbe
Instance-based random buildings
...
Replace existing random buildings implementation with one using
proper instancing. This allows better control of the buildings
themselves and allows BUILDING_LIST STG verb to specify
individual building dimensions. See README.scenery for details.
2019-08-20 17:00:17 +01:00
Richard Harrison
38f6a5a40a
Remove fairly irrelevant startup log message from NasalMainLoopRecipient
...
This is probably the reason why the tests are failing.
2019-08-14 16:47:25 +02:00
Scott Giese
b28f030874
[CanvasText] Restore support for OSG 3.4
2019-08-04 10:43:00 -05:00
Scott Giese
d883ab278d
[osgText.getActiveFont] Breaking change within OSG
2019-08-04 02:27:57 -05:00
gallaert
40ce45c8e9
Merge branch 'next' of https://git.code.sf.net/p/flightgear/simgear into next
2019-07-13 18:12:22 +01:00
Edward d'Auvergne
fa754ecaf8
SGSubsystem classes: Registration of all subsystems.
2019-07-01 14:37:49 +02:00
Edward d'Auvergne
c11557316d
SGSubsystemMgr: Changed the Registrant class argument order.
...
The updateInterval argument is used a lot less than the dependency list, so
these have been swapped. That simplifies the registration code in the subsystem
implementations as the updateInterval default of 0.0 no longer need to be
supplied.
2019-07-01 14:37:49 +02:00
Edward d'Auvergne
5bf28d3f90
SGSubsystemMgr: Expanded the dependency list types.
...
All the dependency types are now documented.
2019-07-01 14:37:49 +02:00
Edward d'Auvergne
c8625ce599
SGSubsystem classes: Addition of staticSubsystemClassId() to all subsystems.
2019-07-01 14:37:48 +02:00
Edward d'Auvergne
991fafb839
SGSubsystemGroup: Removal of the subsystem group naming.
...
This is a partial reversion of c1dd8faa29
and a
complete reversion of caea68007e
and
846f024e91
. These changes are incompatible with
the subsystem class IDs.
2019-07-01 11:07:03 +02:00
Edward d'Auvergne
d7323f5f19
SGSubsystem classes: Renaming of the subsystem ID variables and functions.
2019-07-01 10:51:41 +02:00
Edward d'Auvergne
10662e4ca5
SGSubsystem classes: Subsystem and subsystem group API declaration standardisation.
...
This is a cleanup commit.
2019-06-16 14:12:38 +02:00
Edward d'Auvergne
b73dfb08ae
SGSubsystem classes: Whitespace standardisation of the declarations.
...
This is a clean up commit prior to the subsystem API standardisation to simplify
the diffs. It includes all SGSubsystem and SGSubsystemGroup derived classes.
2019-06-16 14:12:38 +02:00
Scott Giese
d8a46cffa5
[emesary] Fix naming conflict with some compilers
2019-06-15 17:22:53 -05:00
Scott Giese
3b3093c72e
[nasal] remediate segfault in lib.c
...
state of vaCopy is altered during each usage, so it needs to be discarded and not reused by multiple calls.
2019-06-15 11:54:35 -05:00
Scott Giese
3d841a214c
Merge branch 'next' of https://git.code.sf.net/p/flightgear/simgear into next
2019-06-14 22:12:02 -05:00
Scott Giese
2cbbb29eb5
[Emesary] Fix compile on Linux.
2019-06-14 22:11:31 -05:00
Scott Giese
c0677ad8c5
[Emesary] Fix compile on Linux.
2019-06-14 21:43:47 -05:00
James Turner
098c5b0924
Merge /u/fgarlin/simgear/ branch next into next
...
https://sourceforge.net/p/flightgear/simgear/merge-requests/62/
2019-06-11 21:56:28 +00:00
Richard Harrison
01ac9a71b7
Fix case sensitive filename for emesary.cxx
2019-06-11 23:40:21 +02:00