1
0
Fork 0
Commit graph

1342 commits

Author SHA1 Message Date
scttgs0
a263afd93b remove using std::
clean up
2023-05-07 20:33:15 -05:00
scttgs0
4d777cc802 clean up priorities.
Add Ortho as the top-most priority.
2023-05-07 20:29:21 -05:00
scttgs0
acf7841d3d remove using std::
remove borland c
clean up
2023-05-07 20:24:33 -05:00
scttgs0
bbb9d746a0 remove using std::
clean up
2023-05-07 20:20:23 -05:00
scttgs0
ae6006f350 remove unused headers.
clean up.
2023-05-07 20:18:53 -05:00
scttgs0
796e7daa96 maintenance: clean up the perl scripts 2023-05-07 19:28:40 -05:00
scttgs0
d021c32840 whitespace only 2023-05-07 18:41:09 -05:00
scttgs0
631bc02111 Remove Boost : foreach header is never used 2023-05-07 18:31:05 -05:00
scttgs0
67cd122bb4 implement parsing of apt.dat version 1200 2023-05-07 15:50:22 -05:00
scttgs0
06ccf1ca79 add lib/ and lib64/ to search path 2023-05-07 15:25:56 -05:00
scttgs0
d8ade7ba31 add source format configuration 2023-05-07 15:17:51 -05:00
scttgs0
c42237fc20 ignore .dccache file 2023-05-07 15:16:48 -05:00
scttgs0
983e190cb9 APT format 1200 2023-03-27 00:30:22 -05:00
scttgs0
f94413a678 clean up 2023-03-27 00:28:05 -05:00
scttgs0
8951fe646b require c++17 2023-03-27 00:25:53 -05:00
scttgs0
77920101d3 safety: prevent buffer overflows 2023-03-27 00:24:55 -05:00
scttgs0
cdb88ae745 fix spelling 2023-03-27 00:05:40 -05:00
Scott Giese
b6cd0335c6 obsolete: std::unary_function 2022-07-15 09:34:46 -05:00
Scott Giese
45effdba78 Support new line features 2022-03-05 08:42:40 -06:00
Scott Giese
c6ef571612 upgrade deprecated fixed-length types 2022-01-21 00:15:57 -06:00
Scott Giese
1f272e7d6f std::move not needed for local objects 2022-01-21 00:12:29 -06:00
Scott Giese
37ecd8aa21 tgconstruct: align with recent SimGear changes
sgClearReadError() has been removed.
sgClearWriteError() has been removed.
2021-05-09 18:03:42 -05:00
xDraconian
db606f647d Merge /u/deltaecho/terragear/ branch next into next
https://sourceforge.net/p/flightgear/terragear/merge-requests/19/
2020-12-24 00:01:24 +00:00
xDraconian
942cab3920 Merge /u/jreh/terragear/ branch improve-cliffs into next
https://sourceforge.net/p/flightgear/terragear/merge-requests/20/
2020-12-23 23:16:42 +00:00
Scott Giese
ae2dc9d8d7 Raised minimum versions
zlib 1.2.9
simgear 2020.1.0
2020-12-23 17:11:24 -06:00
xDraconian
97b0678040 Merge /u/tlesne/flightgear-terragear/ branch fix-coords-gdal3 into next
https://sourceforge.net/p/flightgear/terragear/merge-requests/23/
2020-12-23 21:49:39 +00:00
Julian Smith
34945788e1 src/Airports/GenAirports850/debug.hxx: fix incompatibility with latest simgear.
We now pass __FUNCTION__ to sglog().would_log().
2020-11-23 10:08:06 +00:00
Thomas LESNE
42f80efcf7 Fix coordinate transformation in ogr-decode for GDAL>=3 as advised in GDAL migration guide (fixes #2318) 2020-07-28 11:36:04 +02:00
James.Hester
d3e2f4d717 Calls to sglog are not thread-safe; removed. 2020-04-25 10:48:58 +10:00
James.Hester
10e6022da6 Whitespace fixup. 2020-01-28 23:27:05 +11:00
James.Hester
cce218627b Improved height interpolation for bad points near cliffs.
The original algorithm looked for good heights at the corners
of the rectangle with the target point at the centre. This fails
in pathological cases where only a single good point is available
in a non-corner position.
2020-01-28 19:52:54 +11:00
Delta Echo
8f0c836c04 Make shoulder width dependent on runway width 2020-01-04 12:43:16 +01:00
Delta Echo
8e40cf26b3 Extend support for more linear features 2019-07-29 15:43:12 +02:00
Scott Giese
3e9e87cb8b 3 character patch for terragear cliff height interpolation
James Hester <jamesrhester@gmail.com>
2019-07-15 13:38:54 -05:00
Scott Giese
6807638af1 Omni to Unidirectional lights. 2019-06-14 20:19:19 -05:00
legoboyvdlp R
17bd9d49c6 Linear Features: exit cleanly when GenApts comes across unrecognized linear features (avoid high memory consumption) 2019-06-06 21:39:47 +01:00
Scott Giese
a9e26a6099 [tg-construct] Bug fix.
SGGeod only overloaded operator==.
Avoid usage of operator!=.
North & East edge belong to adjacent buckets.
Displace bounding box away from the bucket edges to
avoid a slope to elevation zero when the adjacent bucket
does not exist.
2019-04-24 00:13:37 -05:00
Scott Giese
0eabdba9c8 [tg-construct] source code formatting. 2019-04-23 18:53:50 -05:00
Scott Giese
861d3bff78 [ogr-decode] cliff texture is only applied to cliffs
Ensure the cliff texture is only applied to cliffs.
Technical Debt and code maintenance.
2019-04-23 12:37:18 -05:00
Scott Giese
3e0ecec965 [ogr-decode] source code format only. 2019-04-23 11:51:05 -05:00
Scott Giese
6a00e62e08 [terrafit] performance increased 2% 2019-04-22 20:29:29 -05:00
Scott Giese
93440e4acd [terrafit] source code format only 2019-04-22 20:24:27 -05:00
Scott Giese
53cb8086b3 tgconstruct_landclass is obsolete. Removed. 2019-04-02 22:39:52 -05:00
Scott Giese
d591a24a40 USGS classes are obsolete. Removed. 2019-04-02 22:34:36 -05:00
Scott Giese
18f7e35c1d [bucket_span] Align with SimGear implementation 2019-04-02 19:15:10 -05:00
Scott Giese
e90d8a0593 [tg_polygon] Restore support for Texture(void) 2019-04-02 00:27:08 -05:00
James.Hester
61ea3cd50a Added new texturing method. Added sanity check for polygon file
reading.

New texturing method TG_TEX_HORIZ_REF requires that each polygon
has a reference texture coordinate specified for a specific point on the
polygon. The coordinate changes parallel to a direction (also
stored) and the other texture coordinate changes perpendicular
to this direction. The reference texture coordinates in polygons
of the same type can be chosen to match that of their neighbours
to produce a continous map onto a texture. This technique can
be used to texture rivers or cliffs as their direction
changes.

The sanity checks simply make sure that the number of contours
or polygons reported in a file are not too large. This could
happen if a polygon file was generated by a previous version
of terragear tools with an incompatible layout of polygon
information, or a non-polygon file is present in the input
directory and is opened as a polygon file.
2019-02-24 23:03:00 +11:00
James.Hester
b718d909a4 Merge remote-tracking branch 'origin/next' into next 2019-02-07 22:10:13 +11:00
Scott Giese
511a91b003 [chop.idx] Ensure binary r/w. 2019-02-01 14:53:24 -06:00
Scott Giese
8fe4a00eea [chop.idx] Make maintenance of the index cross-platform and reliable. 2019-02-01 12:54:43 -06:00