Refactoring client location in codebased
This commit is contained in:
		
							parent
							
								
									d8f234503a
								
							
						
					
					
						commit
						e02a02eb5f
					
				| @ -1,4 +1,4 @@ | |||||||
| package electrosphere.game.client.player; | package electrosphere.client.player; | ||||||
| 
 | 
 | ||||||
| import org.joml.Vector3i; | import org.joml.Vector3i; | ||||||
| 
 | 
 | ||||||
| @ -1,4 +1,4 @@ | |||||||
| package electrosphere.game.client.world; | package electrosphere.client.scene; | ||||||
| 
 | 
 | ||||||
| import electrosphere.game.server.world.*; | import electrosphere.game.server.world.*; | ||||||
| import electrosphere.server.datacell.ServerDataCell; | import electrosphere.server.datacell.ServerDataCell; | ||||||
| @ -1,9 +1,9 @@ | |||||||
| package electrosphere.game.client; | package electrosphere.client.sim; | ||||||
| 
 | 
 | ||||||
|  | import electrosphere.client.terrain.manager.ClientTerrainManager; | ||||||
| import electrosphere.engine.Globals; | import electrosphere.engine.Globals; | ||||||
| import electrosphere.entity.EntityUtils; | import electrosphere.entity.EntityUtils; | ||||||
| import electrosphere.entity.types.camera.CameraEntityUtils; | import electrosphere.entity.types.camera.CameraEntityUtils; | ||||||
| import electrosphere.game.client.terrain.manager.ClientTerrainManager; |  | ||||||
| 
 | 
 | ||||||
| import org.joml.Vector3d; | import org.joml.Vector3d; | ||||||
| import org.joml.Vector3f; | import org.joml.Vector3f; | ||||||
| @ -1,5 +1,6 @@ | |||||||
| package electrosphere.client.sim; | package electrosphere.client.sim; | ||||||
| 
 | 
 | ||||||
|  | import electrosphere.client.targeting.crosshair.Crosshair; | ||||||
| import electrosphere.engine.Globals; | import electrosphere.engine.Globals; | ||||||
| import electrosphere.engine.Main; | import electrosphere.engine.Main; | ||||||
| import electrosphere.entity.Entity; | import electrosphere.entity.Entity; | ||||||
| @ -10,7 +11,6 @@ import electrosphere.entity.types.attach.AttachUtils; | |||||||
| import electrosphere.entity.types.hitbox.HitboxUtils; | import electrosphere.entity.types.hitbox.HitboxUtils; | ||||||
| import electrosphere.entity.types.item.ItemUtils; | import electrosphere.entity.types.item.ItemUtils; | ||||||
| import electrosphere.entity.types.particle.ParticleUtils; | import electrosphere.entity.types.particle.ParticleUtils; | ||||||
| import electrosphere.game.client.targeting.crosshair.Crosshair; |  | ||||||
| import electrosphere.renderer.actor.Actor; | import electrosphere.renderer.actor.Actor; | ||||||
| 
 | 
 | ||||||
| public class ClientSimulation { | public class ClientSimulation { | ||||||
|  | |||||||
| @ -1,4 +1,4 @@ | |||||||
| package electrosphere.game.client.targeting.crosshair; | package electrosphere.client.targeting.crosshair; | ||||||
| 
 | 
 | ||||||
| import electrosphere.engine.Globals; | import electrosphere.engine.Globals; | ||||||
| import electrosphere.entity.Entity; | import electrosphere.entity.Entity; | ||||||
| @ -1,4 +1,4 @@ | |||||||
| package electrosphere.game.client.terrain.cache; | package electrosphere.client.terrain.cache; | ||||||
| 
 | 
 | ||||||
| /** | /** | ||||||
|  * |  * | ||||||
| @ -1,6 +1,6 @@ | |||||||
| package electrosphere.game.client.terrain.cache; | package electrosphere.client.terrain.cache; | ||||||
| 
 | 
 | ||||||
| import electrosphere.game.client.world.ClientWorldData; | import electrosphere.client.scene.ClientWorldData; | ||||||
| import electrosphere.game.terrain.processing.TerrainInterpolator; | import electrosphere.game.terrain.processing.TerrainInterpolator; | ||||||
| import electrosphere.server.terrain.models.TerrainModel; | import electrosphere.server.terrain.models.TerrainModel; | ||||||
| 
 | 
 | ||||||
| @ -1,6 +1,6 @@ | |||||||
| package electrosphere.game.client.terrain.cache; | package electrosphere.client.terrain.cache; | ||||||
| 
 | 
 | ||||||
| import electrosphere.game.client.world.ClientWorldData; | import electrosphere.client.scene.ClientWorldData; | ||||||
| import electrosphere.game.terrain.processing.TerrainInterpolator; | import electrosphere.game.terrain.processing.TerrainInterpolator; | ||||||
| import java.util.ArrayList; | import java.util.ArrayList; | ||||||
| import java.util.List; | import java.util.List; | ||||||
| @ -1,4 +1,4 @@ | |||||||
| package electrosphere.game.client.terrain.cache; | package electrosphere.client.terrain.cache; | ||||||
| 
 | 
 | ||||||
| import java.util.Collection; | import java.util.Collection; | ||||||
| import java.util.HashMap; | import java.util.HashMap; | ||||||
| @ -1,4 +1,4 @@ | |||||||
| package electrosphere.game.client.cells; | package electrosphere.client.terrain.cells; | ||||||
| 
 | 
 | ||||||
| import electrosphere.entity.Entity; | import electrosphere.entity.Entity; | ||||||
| import java.util.LinkedList; | import java.util.LinkedList; | ||||||
| @ -1,4 +1,4 @@ | |||||||
| package electrosphere.game.client.cells; | package electrosphere.client.terrain.cells; | ||||||
| 
 | 
 | ||||||
| import electrosphere.collision.dispatch.CollisionObject; | import electrosphere.collision.dispatch.CollisionObject; | ||||||
| import electrosphere.dynamics.RigidBody; | import electrosphere.dynamics.RigidBody; | ||||||
| @ -1,9 +1,9 @@ | |||||||
| package electrosphere.game.client.cells; | package electrosphere.client.terrain.cells; | ||||||
| 
 | 
 | ||||||
|  | import electrosphere.client.scene.ClientWorldData; | ||||||
|  | import electrosphere.client.terrain.manager.ClientTerrainManager; | ||||||
| import electrosphere.engine.Globals; | import electrosphere.engine.Globals; | ||||||
| import electrosphere.game.client.terrain.manager.ClientTerrainManager; |  | ||||||
| import electrosphere.game.terrain.processing.TerrainInterpolator; | import electrosphere.game.terrain.processing.TerrainInterpolator; | ||||||
| import electrosphere.game.client.world.ClientWorldData; |  | ||||||
| import electrosphere.game.collision.CommonWorldData; | import electrosphere.game.collision.CommonWorldData; | ||||||
| import electrosphere.net.parser.net.message.TerrainMessage; | import electrosphere.net.parser.net.message.TerrainMessage; | ||||||
| import electrosphere.renderer.ShaderProgram; | import electrosphere.renderer.ShaderProgram; | ||||||
| @ -1,11 +1,11 @@ | |||||||
| package electrosphere.game.client.terrain.manager; | package electrosphere.client.terrain.manager; | ||||||
| 
 | 
 | ||||||
|  | import electrosphere.client.scene.ClientWorldData; | ||||||
|  | import electrosphere.client.terrain.cache.ClientTerrainCache; | ||||||
|  | import electrosphere.client.terrain.cache.LoadingChunk; | ||||||
|  | import electrosphere.client.terrain.cache.LoadingChunkCache; | ||||||
| import electrosphere.engine.Globals; | import electrosphere.engine.Globals; | ||||||
| import electrosphere.entity.types.terrain.TerrainChunkData; | import electrosphere.entity.types.terrain.TerrainChunkData; | ||||||
| import electrosphere.game.client.terrain.cache.ClientTerrainCache; |  | ||||||
| import electrosphere.game.client.terrain.cache.LoadingChunk; |  | ||||||
| import electrosphere.game.client.terrain.cache.LoadingChunkCache; |  | ||||||
| import electrosphere.game.client.world.ClientWorldData; |  | ||||||
| import electrosphere.logger.LoggerInterface; | import electrosphere.logger.LoggerInterface; | ||||||
| import electrosphere.net.parser.net.message.TerrainMessage; | import electrosphere.net.parser.net.message.TerrainMessage; | ||||||
| import electrosphere.renderer.Model; | import electrosphere.renderer.Model; | ||||||
| @ -1,4 +1,4 @@ | |||||||
| package electrosphere.game.client.terrain.manager; | package electrosphere.client.terrain.manager; | ||||||
| 
 | 
 | ||||||
| import electrosphere.entity.types.terrain.TerrainChunkData; | import electrosphere.entity.types.terrain.TerrainChunkData; | ||||||
| 
 | 
 | ||||||
| @ -4,11 +4,11 @@ import org.joml.Quaternionf; | |||||||
| import org.joml.Vector3d; | import org.joml.Vector3d; | ||||||
| import org.joml.Vector3f; | import org.joml.Vector3f; | ||||||
| 
 | 
 | ||||||
|  | import electrosphere.client.targeting.crosshair.Crosshair; | ||||||
| import electrosphere.engine.Globals; | import electrosphere.engine.Globals; | ||||||
| import electrosphere.engine.Main; | import electrosphere.engine.Main; | ||||||
| import electrosphere.entity.EntityUtils; | import electrosphere.entity.EntityUtils; | ||||||
| import electrosphere.entity.types.camera.CameraEntityUtils; | import electrosphere.entity.types.camera.CameraEntityUtils; | ||||||
| import electrosphere.game.client.targeting.crosshair.Crosshair; |  | ||||||
| import electrosphere.renderer.ui.events.MouseEvent; | import electrosphere.renderer.ui.events.MouseEvent; | ||||||
| 
 | 
 | ||||||
| public class CameraHandler { | public class CameraHandler { | ||||||
|  | |||||||
| @ -72,6 +72,7 @@ import org.joml.Vector3f; | |||||||
| import org.lwjgl.glfw.GLFW; | import org.lwjgl.glfw.GLFW; | ||||||
| 
 | 
 | ||||||
| import electrosphere.audio.AudioUtils; | import electrosphere.audio.AudioUtils; | ||||||
|  | import electrosphere.client.targeting.crosshair.Crosshair; | ||||||
| import electrosphere.controls.Control.ControlMethod; | import electrosphere.controls.Control.ControlMethod; | ||||||
| import electrosphere.controls.Control.ControlType; | import electrosphere.controls.Control.ControlType; | ||||||
| import electrosphere.engine.Globals; | import electrosphere.engine.Globals; | ||||||
| @ -91,7 +92,6 @@ import electrosphere.entity.state.movement.JumpTree; | |||||||
| import electrosphere.entity.state.movement.SprintTree; | import electrosphere.entity.state.movement.SprintTree; | ||||||
| import electrosphere.entity.types.camera.CameraEntityUtils; | import electrosphere.entity.types.camera.CameraEntityUtils; | ||||||
| import electrosphere.entity.types.creature.CreatureUtils; | import electrosphere.entity.types.creature.CreatureUtils; | ||||||
| import electrosphere.game.client.targeting.crosshair.Crosshair; |  | ||||||
| import electrosphere.logger.LoggerInterface; | import electrosphere.logger.LoggerInterface; | ||||||
| import electrosphere.menu.MenuGenerators; | import electrosphere.menu.MenuGenerators; | ||||||
| import electrosphere.menu.MenuGeneratorsDebug; | import electrosphere.menu.MenuGeneratorsDebug; | ||||||
|  | |||||||
| @ -13,8 +13,12 @@ import electrosphere.audio.AudioEngine; | |||||||
| import electrosphere.auth.AuthenticationManager; | import electrosphere.auth.AuthenticationManager; | ||||||
| import electrosphere.client.culling.ClientEntityCullingManager; | import electrosphere.client.culling.ClientEntityCullingManager; | ||||||
| import electrosphere.client.foliagemanager.ClientFoliageManager; | import electrosphere.client.foliagemanager.ClientFoliageManager; | ||||||
|  | import electrosphere.client.player.ClientPlayerData; | ||||||
| import electrosphere.client.scene.ClientSceneWrapper; | import electrosphere.client.scene.ClientSceneWrapper; | ||||||
|  | import electrosphere.client.scene.ClientWorldData; | ||||||
| import electrosphere.client.sim.ClientSimulation; | import electrosphere.client.sim.ClientSimulation; | ||||||
|  | import electrosphere.client.terrain.cells.DrawCellManager; | ||||||
|  | import electrosphere.client.terrain.manager.ClientTerrainManager; | ||||||
| import electrosphere.collision.dispatch.CollisionObject; | import electrosphere.collision.dispatch.CollisionObject; | ||||||
| import electrosphere.controls.CameraHandler; | import electrosphere.controls.CameraHandler; | ||||||
| import electrosphere.controls.ControlCallback; | import electrosphere.controls.ControlCallback; | ||||||
| @ -26,10 +30,6 @@ import electrosphere.engine.loadingthreads.LoadingThread; | |||||||
| import electrosphere.entity.Entity; | import electrosphere.entity.Entity; | ||||||
| import electrosphere.entity.Scene; | import electrosphere.entity.Scene; | ||||||
| import electrosphere.entity.types.hitbox.HitboxManager; | import electrosphere.entity.types.hitbox.HitboxManager; | ||||||
| import electrosphere.game.client.cells.DrawCellManager; |  | ||||||
| import electrosphere.game.client.player.ClientPlayerData; |  | ||||||
| import electrosphere.game.client.terrain.manager.ClientTerrainManager; |  | ||||||
| import electrosphere.game.client.world.ClientWorldData; |  | ||||||
| import electrosphere.game.collision.CollisionEngine; | import electrosphere.game.collision.CollisionEngine; | ||||||
| import electrosphere.game.collision.CommonWorldData; | import electrosphere.game.collision.CommonWorldData; | ||||||
| import electrosphere.game.config.UserSettings; | import electrosphere.game.config.UserSettings; | ||||||
|  | |||||||
| @ -7,10 +7,10 @@ import static org.lwjgl.glfw.GLFW.glfwWindowShouldClose; | |||||||
| import java.util.concurrent.TimeUnit; | import java.util.concurrent.TimeUnit; | ||||||
| 
 | 
 | ||||||
| import electrosphere.audio.AudioEngine; | import electrosphere.audio.AudioEngine; | ||||||
|  | import electrosphere.client.sim.ClientFunctions; | ||||||
| import electrosphere.controls.ControlHandler; | import electrosphere.controls.ControlHandler; | ||||||
| import electrosphere.engine.cli.CLIParser; | import electrosphere.engine.cli.CLIParser; | ||||||
| import electrosphere.engine.loadingthreads.LoadingThread; | import electrosphere.engine.loadingthreads.LoadingThread; | ||||||
| import electrosphere.game.client.ClientFunctions; |  | ||||||
| import electrosphere.game.config.UserSettings; | import electrosphere.game.config.UserSettings; | ||||||
| import electrosphere.logger.LoggerInterface; | import electrosphere.logger.LoggerInterface; | ||||||
| import electrosphere.net.parser.net.message.TerrainMessage; | import electrosphere.net.parser.net.message.TerrainMessage; | ||||||
|  | |||||||
| @ -11,8 +11,6 @@ import electrosphere.entity.EntityCreationUtils; | |||||||
| import electrosphere.entity.EntityUtils; | import electrosphere.entity.EntityUtils; | ||||||
| import electrosphere.entity.state.movement.ApplyRotationTree; | import electrosphere.entity.state.movement.ApplyRotationTree; | ||||||
| import electrosphere.entity.types.camera.CameraEntityUtils; | import electrosphere.entity.types.camera.CameraEntityUtils; | ||||||
| import electrosphere.game.client.cells.DrawCellManager; |  | ||||||
| import electrosphere.game.client.targeting.crosshair.Crosshair; |  | ||||||
| import electrosphere.logger.LoggerInterface; | import electrosphere.logger.LoggerInterface; | ||||||
| import electrosphere.menu.MenuGenerators; | import electrosphere.menu.MenuGenerators; | ||||||
| import electrosphere.menu.MenuGeneratorsMultiplayer; | import electrosphere.menu.MenuGeneratorsMultiplayer; | ||||||
| @ -24,6 +22,8 @@ import electrosphere.renderer.ui.Window; | |||||||
| import electrosphere.client.culling.ClientEntityCullingManager; | import electrosphere.client.culling.ClientEntityCullingManager; | ||||||
| import electrosphere.client.foliagemanager.ClientFoliageManager; | import electrosphere.client.foliagemanager.ClientFoliageManager; | ||||||
| import electrosphere.client.sim.ClientSimulation; | import electrosphere.client.sim.ClientSimulation; | ||||||
|  | import electrosphere.client.targeting.crosshair.Crosshair; | ||||||
|  | import electrosphere.client.terrain.cells.DrawCellManager; | ||||||
| import electrosphere.controls.ControlHandler; | import electrosphere.controls.ControlHandler; | ||||||
| 
 | 
 | ||||||
| public class ClientLoading { | public class ClientLoading { | ||||||
|  | |||||||
| @ -5,9 +5,9 @@ import java.util.concurrent.TimeUnit; | |||||||
| import org.joml.Vector3f; | import org.joml.Vector3f; | ||||||
| 
 | 
 | ||||||
| import electrosphere.auth.AuthenticationManager; | import electrosphere.auth.AuthenticationManager; | ||||||
|  | import electrosphere.client.targeting.crosshair.Crosshair; | ||||||
| import electrosphere.engine.Globals; | import electrosphere.engine.Globals; | ||||||
| import electrosphere.entity.types.camera.CameraEntityUtils; | import electrosphere.entity.types.camera.CameraEntityUtils; | ||||||
| import electrosphere.game.client.targeting.crosshair.Crosshair; |  | ||||||
| import electrosphere.game.server.world.ServerWorldData; | import electrosphere.game.server.world.ServerWorldData; | ||||||
| import electrosphere.logger.LoggerInterface; | import electrosphere.logger.LoggerInterface; | ||||||
| import electrosphere.menu.MenuGenerators; | import electrosphere.menu.MenuGenerators; | ||||||
|  | |||||||
| @ -12,6 +12,7 @@ import org.joml.Vector3f; | |||||||
| import org.joml.Vector3i; | import org.joml.Vector3i; | ||||||
| 
 | 
 | ||||||
| import electrosphere.auth.AuthenticationManager; | import electrosphere.auth.AuthenticationManager; | ||||||
|  | import electrosphere.client.terrain.cells.DrawCellManager; | ||||||
| import electrosphere.engine.Globals; | import electrosphere.engine.Globals; | ||||||
| import electrosphere.entity.Entity; | import electrosphere.entity.Entity; | ||||||
| import electrosphere.entity.EntityUtils; | import electrosphere.entity.EntityUtils; | ||||||
| @ -19,7 +20,6 @@ import electrosphere.entity.ServerEntityUtils; | |||||||
| import electrosphere.entity.state.movement.ApplyRotationTree; | import electrosphere.entity.state.movement.ApplyRotationTree; | ||||||
| import electrosphere.entity.types.creature.CreatureTemplate; | import electrosphere.entity.types.creature.CreatureTemplate; | ||||||
| import electrosphere.entity.types.creature.CreatureUtils; | import electrosphere.entity.types.creature.CreatureUtils; | ||||||
| import electrosphere.game.client.cells.DrawCellManager; |  | ||||||
| import electrosphere.game.collision.CommonWorldData; | import electrosphere.game.collision.CommonWorldData; | ||||||
| import electrosphere.game.data.creature.type.CreatureType; | import electrosphere.game.data.creature.type.CreatureType; | ||||||
| import electrosphere.game.data.creature.type.visualattribute.VisualAttribute; | import electrosphere.game.data.creature.type.visualattribute.VisualAttribute; | ||||||
|  | |||||||
| @ -7,6 +7,7 @@ import java.util.Map; | |||||||
| 
 | 
 | ||||||
| import org.joml.Vector3d; | import org.joml.Vector3d; | ||||||
| 
 | 
 | ||||||
|  | import electrosphere.client.targeting.crosshair.Crosshair; | ||||||
| import electrosphere.collision.dispatch.CollisionObject; | import electrosphere.collision.dispatch.CollisionObject; | ||||||
| import electrosphere.dynamics.RigidBody; | import electrosphere.dynamics.RigidBody; | ||||||
| import electrosphere.engine.Globals; | import electrosphere.engine.Globals; | ||||||
| @ -21,7 +22,6 @@ import electrosphere.entity.state.inventory.UnrelationalInventoryState; | |||||||
| import electrosphere.entity.types.attach.AttachUtils; | import electrosphere.entity.types.attach.AttachUtils; | ||||||
| import electrosphere.entity.types.creature.CreatureUtils; | import electrosphere.entity.types.creature.CreatureUtils; | ||||||
| import electrosphere.entity.types.item.ItemUtils; | import electrosphere.entity.types.item.ItemUtils; | ||||||
| import electrosphere.game.client.targeting.crosshair.Crosshair; |  | ||||||
| import electrosphere.game.collision.collidable.Collidable; | import electrosphere.game.collision.collidable.Collidable; | ||||||
| import electrosphere.game.data.creature.type.equip.EquipPoint; | import electrosphere.game.data.creature.type.equip.EquipPoint; | ||||||
| import electrosphere.game.data.item.type.EquipWhitelist; | import electrosphere.game.data.item.type.EquipWhitelist; | ||||||
|  | |||||||
| @ -3,13 +3,13 @@ package electrosphere.entity.types.terrain; | |||||||
| import org.joml.Vector3d; | import org.joml.Vector3d; | ||||||
| import org.joml.Vector3f; | import org.joml.Vector3f; | ||||||
| 
 | 
 | ||||||
|  | import electrosphere.client.terrain.manager.ClientTerrainManager; | ||||||
| import electrosphere.engine.Globals; | import electrosphere.engine.Globals; | ||||||
| import electrosphere.entity.Entity; | import electrosphere.entity.Entity; | ||||||
| import electrosphere.entity.EntityCreationUtils; | import electrosphere.entity.EntityCreationUtils; | ||||||
| import electrosphere.entity.EntityDataStrings; | import electrosphere.entity.EntityDataStrings; | ||||||
| import electrosphere.entity.EntityUtils; | import electrosphere.entity.EntityUtils; | ||||||
| import electrosphere.entity.ServerEntityUtils; | import electrosphere.entity.ServerEntityUtils; | ||||||
| import electrosphere.game.client.terrain.manager.ClientTerrainManager; |  | ||||||
| import electrosphere.game.collision.PhysicsUtils; | import electrosphere.game.collision.PhysicsUtils; | ||||||
| import electrosphere.renderer.Model; | import electrosphere.renderer.Model; | ||||||
| import electrosphere.renderer.meshgen.TerrainChunkModelGeneration; | import electrosphere.renderer.meshgen.TerrainChunkModelGeneration; | ||||||
|  | |||||||
| @ -1,7 +1,7 @@ | |||||||
| package electrosphere.game.collision; | package electrosphere.game.collision; | ||||||
| 
 | 
 | ||||||
| import electrosphere.game.client.terrain.manager.ClientTerrainManager; | import electrosphere.client.scene.ClientWorldData; | ||||||
| import electrosphere.game.client.world.ClientWorldData; | import electrosphere.client.terrain.manager.ClientTerrainManager; | ||||||
| import electrosphere.game.server.world.ServerWorldData; | import electrosphere.game.server.world.ServerWorldData; | ||||||
| import electrosphere.server.terrain.manager.ServerTerrainManager; | import electrosphere.server.terrain.manager.ServerTerrainManager; | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -1,11 +1,11 @@ | |||||||
| package electrosphere.net.client.protocol; | package electrosphere.net.client.protocol; | ||||||
| 
 | 
 | ||||||
|  | import electrosphere.client.scene.ClientWorldData; | ||||||
| import electrosphere.engine.Globals; | import electrosphere.engine.Globals; | ||||||
| import electrosphere.engine.Main; | import electrosphere.engine.Main; | ||||||
| import electrosphere.entity.Entity; | import electrosphere.entity.Entity; | ||||||
| import electrosphere.entity.EntityUtils; | import electrosphere.entity.EntityUtils; | ||||||
| import electrosphere.entity.types.creature.CreatureUtils; | import electrosphere.entity.types.creature.CreatureUtils; | ||||||
| import electrosphere.game.client.world.ClientWorldData; |  | ||||||
| import electrosphere.entity.types.attach.AttachUtils; | import electrosphere.entity.types.attach.AttachUtils; | ||||||
| import electrosphere.entity.types.item.ItemUtils; | import electrosphere.entity.types.item.ItemUtils; | ||||||
| import electrosphere.logger.LoggerInterface; | import electrosphere.logger.LoggerInterface; | ||||||
|  | |||||||
| @ -4,8 +4,8 @@ import javax.vecmath.Vector3d; | |||||||
| 
 | 
 | ||||||
| import org.joml.Vector3f; | import org.joml.Vector3f; | ||||||
| 
 | 
 | ||||||
|  | import electrosphere.client.scene.ClientWorldData; | ||||||
| import electrosphere.engine.Globals; | import electrosphere.engine.Globals; | ||||||
| import electrosphere.game.client.world.ClientWorldData; |  | ||||||
| import electrosphere.logger.LoggerInterface; | import electrosphere.logger.LoggerInterface; | ||||||
| import electrosphere.net.parser.net.message.TerrainMessage; | import electrosphere.net.parser.net.message.TerrainMessage; | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -1,9 +1,9 @@ | |||||||
| package electrosphere.server.datacell.physics; | package electrosphere.server.datacell.physics; | ||||||
| 
 | 
 | ||||||
|  | import electrosphere.client.scene.ClientWorldData; | ||||||
|  | import electrosphere.client.terrain.manager.ClientTerrainManager; | ||||||
| import electrosphere.engine.Globals; | import electrosphere.engine.Globals; | ||||||
| import electrosphere.game.client.terrain.manager.ClientTerrainManager; |  | ||||||
| import electrosphere.game.terrain.processing.TerrainInterpolator; | import electrosphere.game.terrain.processing.TerrainInterpolator; | ||||||
| import electrosphere.game.client.world.ClientWorldData; |  | ||||||
| import electrosphere.game.collision.CommonWorldData; | import electrosphere.game.collision.CommonWorldData; | ||||||
| import electrosphere.net.parser.net.message.TerrainMessage; | import electrosphere.net.parser.net.message.TerrainMessage; | ||||||
| import electrosphere.renderer.ShaderProgram; | import electrosphere.renderer.ShaderProgram; | ||||||
|  | |||||||
| @ -1,6 +1,7 @@ | |||||||
| package electrosphere.server.simulation; | package electrosphere.server.simulation; | ||||||
| 
 | 
 | ||||||
| import electrosphere.entity.types.attach.AttachUtils; | import electrosphere.entity.types.attach.AttachUtils; | ||||||
|  | import electrosphere.client.targeting.crosshair.Crosshair; | ||||||
| import electrosphere.engine.Globals; | import electrosphere.engine.Globals; | ||||||
| import electrosphere.engine.Main; | import electrosphere.engine.Main; | ||||||
| import electrosphere.entity.Entity; | import electrosphere.entity.Entity; | ||||||
| @ -24,7 +25,6 @@ import electrosphere.entity.state.life.LifeState; | |||||||
| import electrosphere.entity.state.life.LifeUtils; | import electrosphere.entity.state.life.LifeUtils; | ||||||
| import electrosphere.entity.state.movement.SprintTree; | import electrosphere.entity.state.movement.SprintTree; | ||||||
| import electrosphere.entity.types.particle.ParticleUtils; | import electrosphere.entity.types.particle.ParticleUtils; | ||||||
| import electrosphere.game.client.targeting.crosshair.Crosshair; |  | ||||||
| import electrosphere.net.parser.net.message.EntityMessage; | import electrosphere.net.parser.net.message.EntityMessage; | ||||||
| import electrosphere.renderer.actor.Actor; | import electrosphere.renderer.actor.Actor; | ||||||
| import electrosphere.server.datacell.ServerDataCell; | import electrosphere.server.datacell.ServerDataCell; | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user