Commit Graph

30 Commits

Author SHA1 Message Date
UbitUmarov
2950d07c86 cosmetics 2025-08-27 23:46:22 +01:00
UbitUmarov
0d71b6d871 very useless changes 2025-06-25 02:22:28 +01:00
UbitUmarov
4b1df46f6a make more use of stream.CopyTo on (de)compressors, plus several cosmetics 2025-06-19 20:11:42 +01:00
UbitUmarov
9a02b55bf2 a few more changes on terrain 2025-03-29 23:29:42 +00:00
UbitUmarov
e5d10bf127 try to fix some terrain issues, Add some more locking 2025-03-29 01:21:43 +00:00
UbitUmarov
7d76df9610 change get terrain height again 2023-02-23 23:56:46 +00:00
UbitUmarov
22ba1c7688 avoid array out of bounds on last terrain getheight 2023-02-14 02:02:37 +00:00
UbitUmarov
a0165816de change get terrain height 2023-02-09 17:56:10 +00:00
UbitUmarov
79b3157d0b a little use of MathF 2022-10-03 18:43:52 +01:00
UbitUmarov
a68b8acba3 add compiler define NET48 to the .net4.8 xml 2022-03-30 15:02:18 +01:00
UbitUmarov
667a18161b some cosmetics, like npcs down eat terrain 2022-03-30 01:15:31 +01:00
UbitUmarov
3f30f17187 add TerrainTaintsArray, a specialized BitArray for terrain taints. Start using it 2022-03-29 22:18:28 +01:00
UbitUmarov
30b7bb7d45 minor pointers changes 2022-03-26 03:51:42 +00:00
UbitUmarov
e1ce7408da a few more use array.Empty<byte> 2022-03-13 02:05:56 +00:00
UbitUmarov
a82618f6f6 oops forgot needed integer math 2020-09-09 15:59:21 +01:00
UbitUmarov
719e0d1c61 make main terrain taints also a bitarray 2020-09-09 15:24:51 +01:00
UbitUmarov
af1e20d054 missing file 2020-05-13 14:58:26 +01:00
UbitUmarov
d10f11d310 terrain replace double by float 2019-11-12 18:19:12 +00:00
UbitUmarov
b242232c7b minor cleanup 2019-02-15 01:38:49 +00:00
UbitUmarov
611cfc83d6 give up on Lazy<T> 2019-01-21 13:15:11 +00:00
UbitUmarov
33a062612f remove terraindata abstraction layer, since we only have heightmap type 2019-01-21 06:05:21 +00:00
UbitUmarov
0c38d52538 cosmetics on terrain patchs 2019-01-20 20:58:27 +00:00
UbitUmarov
3bfa278984 cosmetics 2019-01-20 02:02:24 +00:00
UbitUmarov
4dc787eb32 store all terrain in Variable2DGzip format 2016-09-17 19:13:46 +01:00
UbitUmarov
c7f148ee64 minor clear. Use isTainted in is read clear form 2015-08-27 14:13:23 +01:00
UbitUmarov
ef3deffeeb remove rest of ushort test code 2015-08-25 17:54:49 +01:00
UbitUmarov
244f0c6352 change terrain internal representation to float. ushort work with legal
sl terrain, but may break existent terrain and that may cost a lot more
 than the cost of memory
2015-08-25 16:51:48 +01:00
UbitUmarov
64d05bab0f terrain stored as ushorts with gzip compression 2015-08-25 13:36:45 +01:00
UbitUmarov
1c752296bf change internal representation of terrain from int to ushort. This will
suporte height from 0 to 655.53m that includes SL limits ( still need to
 add code to trap eventual negative values from dbs or user input)
2015-08-24 18:40:28 +01:00
Robert Adams
bedafb8fae varregion: refactor use of 'double heightmap[,]' into references to new class TerrainData
and push the implementation from Scene into the database readers and writers.
2015-03-27 19:32:50 -07:00