This commit is contained in:
parent
0625abdaf4
commit
471df1c6b1
@ -1172,6 +1172,7 @@ Simplifying physics cases
|
|||||||
Allow variable collision bits for collidable entities
|
Allow variable collision bits for collidable entities
|
||||||
Autodisable terrain colliders
|
Autodisable terrain colliders
|
||||||
Lower grass radius
|
Lower grass radius
|
||||||
|
Work on diagnosing data cell misalignment with entities
|
||||||
|
|
||||||
|
|
||||||
# TODO
|
# TODO
|
||||||
@ -1207,6 +1208,7 @@ Bug Fixes
|
|||||||
- Fix flickering when applying yoga signal (may need to rethink arch here)
|
- Fix flickering when applying yoga signal (may need to rethink arch here)
|
||||||
- Fix virtual scrollables not working
|
- Fix virtual scrollables not working
|
||||||
- Fix foliage flickering on edit
|
- Fix foliage flickering on edit
|
||||||
|
- Fix single blades of grass generating in bad locations
|
||||||
|
|
||||||
Startup Performance
|
Startup Performance
|
||||||
- Allow texture map to bind multiple model paths to a single set of mesh->textures
|
- Allow texture map to bind multiple model paths to a single set of mesh->textures
|
||||||
|
|||||||
@ -127,10 +127,10 @@ public class VirtualAudioSourceManager {
|
|||||||
}
|
}
|
||||||
//sort audio sources
|
//sort audio sources
|
||||||
virtualSourceQueue.sort(Comparator.naturalOrder());
|
virtualSourceQueue.sort(Comparator.naturalOrder());
|
||||||
LoggerInterface.loggerAudio.DEBUG("Virtual audio source count: " + virtualSourceQueue.size());
|
LoggerInterface.loggerAudio.DEBUG_LOOP("[VirtualAudioSourceManager] Virtual audio source count: " + virtualSourceQueue.size());
|
||||||
//for each bucket that has capacity, start available sources
|
//for each bucket that has capacity, start available sources
|
||||||
for(VirtualAudioSourceCategory category : categories){
|
for(VirtualAudioSourceCategory category : categories){
|
||||||
LoggerInterface.loggerAudio.DEBUG("Audio category: " + category.type + " Active Virtual Sources: " + category.activeVirtualSources.size());
|
LoggerInterface.loggerAudio.DEBUG_LOOP("[VirtualAudioSourceManager] Audio category: " + category.type + " Active Virtual Sources: " + category.activeVirtualSources.size());
|
||||||
//
|
//
|
||||||
for(VirtualAudioSource source : virtualSourceQueue){
|
for(VirtualAudioSource source : virtualSourceQueue){
|
||||||
if(source.type != category.type){
|
if(source.type != category.type){
|
||||||
@ -156,7 +156,7 @@ public class VirtualAudioSourceManager {
|
|||||||
//activate source here
|
//activate source here
|
||||||
category.activeVirtualSources.add(source);
|
category.activeVirtualSources.add(source);
|
||||||
AudioSource realSource = null;
|
AudioSource realSource = null;
|
||||||
LoggerInterface.loggerAudio.DEBUG("MAP Audio to real source! ");
|
LoggerInterface.loggerAudio.DEBUG("[VirtualAudioSourceManager] MAP Audio to real source! ");
|
||||||
if(source.position == null){
|
if(source.position == null){
|
||||||
realSource = AudioUtils.playAudio(source.filePath,source.loops);
|
realSource = AudioUtils.playAudio(source.filePath,source.loops);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@ -63,7 +63,7 @@ public class ServerContentGenerator {
|
|||||||
for(int z = 0; z < ServerTerrainChunk.CHUNK_DIMENSION; z++){
|
for(int z = 0; z < ServerTerrainChunk.CHUNK_DIMENSION; z++){
|
||||||
double height = realm.getServerWorldData().getServerTerrainManager().getElevation(worldPos.x, worldPos.z, x, z) + HEIGHT_MANUAL_ADJUSTMENT;
|
double height = realm.getServerWorldData().getServerTerrainManager().getElevation(worldPos.x, worldPos.z, x, z) + HEIGHT_MANUAL_ADJUSTMENT;
|
||||||
if(
|
if(
|
||||||
realm.getServerWorldData().convertVoxelToRealSpace(0, worldPos.y) <= height &&
|
realm.getServerWorldData().convertVoxelToRealSpace(0, worldPos.y) < height &&
|
||||||
realm.getServerWorldData().convertVoxelToRealSpace(ServerTerrainChunk.CHUNK_DIMENSION, worldPos.y) > height
|
realm.getServerWorldData().convertVoxelToRealSpace(ServerTerrainChunk.CHUNK_DIMENSION, worldPos.y) > height
|
||||||
){
|
){
|
||||||
for(BiomeFoliageDescription foliageDescription : foliageDescriptions){
|
for(BiomeFoliageDescription foliageDescription : foliageDescriptions){
|
||||||
|
|||||||
@ -469,8 +469,8 @@ public class GriddedDataCellManager implements DataCellManager, VoxelCellManager
|
|||||||
worldZ >= 0 && worldZ < this.serverWorldData.getWorldSizeDiscrete() &&
|
worldZ >= 0 && worldZ < this.serverWorldData.getWorldSizeDiscrete() &&
|
||||||
//isn't null
|
//isn't null
|
||||||
groundDataCells.get(getServerDataCellKey(worldPos)) != null
|
groundDataCells.get(getServerDataCellKey(worldPos)) != null
|
||||||
){
|
){
|
||||||
LoggerInterface.loggerEngine.DEBUG("Get server data cell key: " + getServerDataCellKey(worldPos));
|
LoggerInterface.loggerEngine.DEBUG("Get server data cell key: " + this.getServerDataCellKey(worldPos));
|
||||||
rVal = groundDataCells.get(getServerDataCellKey(worldPos));
|
rVal = groundDataCells.get(getServerDataCellKey(worldPos));
|
||||||
} else {
|
} else {
|
||||||
LoggerInterface.loggerEngine.DEBUG("Failed to get server data cell at: " + worldPos);
|
LoggerInterface.loggerEngine.DEBUG("Failed to get server data cell at: " + worldPos);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user