From 94aee4033aebc6dffe1cbbc1379d804067268544 Mon Sep 17 00:00:00 2001 From: Smyler Date: Sun, 7 Jul 2024 00:01:46 +0200 Subject: [PATCH] Move compass widgets to core Terramap module --- .../net/smyler}/terramap/gui/widgets/CircularCompassWidget.java | 2 +- .../net/smyler}/terramap/gui/widgets/RibbonCompassWidget.java | 2 +- .../main/java/fr/thesmyler/terramap/gui/HudScreenHandler.java | 2 +- .../java/fr/thesmyler/terramap/gui/screens/TerramapScreen.java | 2 +- .../thesmyler/terramap/gui/screens/config/HudConfigScreen.java | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) rename {forge/src/main/java/fr/thesmyler => core/src/main/java/net/smyler}/terramap/gui/widgets/CircularCompassWidget.java (99%) rename {forge/src/main/java/fr/thesmyler => core/src/main/java/net/smyler}/terramap/gui/widgets/RibbonCompassWidget.java (99%) diff --git a/forge/src/main/java/fr/thesmyler/terramap/gui/widgets/CircularCompassWidget.java b/core/src/main/java/net/smyler/terramap/gui/widgets/CircularCompassWidget.java similarity index 99% rename from forge/src/main/java/fr/thesmyler/terramap/gui/widgets/CircularCompassWidget.java rename to core/src/main/java/net/smyler/terramap/gui/widgets/CircularCompassWidget.java index 9b0b8b7c..7125e897 100644 --- a/forge/src/main/java/fr/thesmyler/terramap/gui/widgets/CircularCompassWidget.java +++ b/core/src/main/java/net/smyler/terramap/gui/widgets/CircularCompassWidget.java @@ -1,4 +1,4 @@ -package fr.thesmyler.terramap.gui.widgets; +package net.smyler.terramap.gui.widgets; import net.smyler.smylib.gui.UiDrawContext; import net.smyler.smylib.gui.gl.GlContext; diff --git a/forge/src/main/java/fr/thesmyler/terramap/gui/widgets/RibbonCompassWidget.java b/core/src/main/java/net/smyler/terramap/gui/widgets/RibbonCompassWidget.java similarity index 99% rename from forge/src/main/java/fr/thesmyler/terramap/gui/widgets/RibbonCompassWidget.java rename to core/src/main/java/net/smyler/terramap/gui/widgets/RibbonCompassWidget.java index 6a81d9e0..78ae3500 100644 --- a/forge/src/main/java/fr/thesmyler/terramap/gui/widgets/RibbonCompassWidget.java +++ b/core/src/main/java/net/smyler/terramap/gui/widgets/RibbonCompassWidget.java @@ -1,4 +1,4 @@ -package fr.thesmyler.terramap.gui.widgets; +package net.smyler.terramap.gui.widgets; import net.smyler.smylib.Identifier; import net.smyler.smylib.gui.UiDrawContext; diff --git a/forge/src/main/java/fr/thesmyler/terramap/gui/HudScreenHandler.java b/forge/src/main/java/fr/thesmyler/terramap/gui/HudScreenHandler.java index 85e6f76c..eb6f2c30 100644 --- a/forge/src/main/java/fr/thesmyler/terramap/gui/HudScreenHandler.java +++ b/forge/src/main/java/fr/thesmyler/terramap/gui/HudScreenHandler.java @@ -9,7 +9,7 @@ import fr.thesmyler.terramap.TerramapConfig; import fr.thesmyler.terramap.gui.screens.LayerRenderingOffsetPopup; import fr.thesmyler.terramap.gui.screens.config.HudConfigScreen; -import fr.thesmyler.terramap.gui.widgets.RibbonCompassWidget; +import net.smyler.terramap.gui.widgets.RibbonCompassWidget; import fr.thesmyler.terramap.gui.widgets.map.MinimapWidget; import fr.thesmyler.terramap.gui.widgets.map.layer.OnlineRasterMapLayer; import net.buildtheearth.terraplusplus.projection.GeographicProjection; diff --git a/forge/src/main/java/fr/thesmyler/terramap/gui/screens/TerramapScreen.java b/forge/src/main/java/fr/thesmyler/terramap/gui/screens/TerramapScreen.java index 8c955ea3..5f6ae230 100644 --- a/forge/src/main/java/fr/thesmyler/terramap/gui/screens/TerramapScreen.java +++ b/forge/src/main/java/fr/thesmyler/terramap/gui/screens/TerramapScreen.java @@ -51,7 +51,7 @@ import fr.thesmyler.terramap.TerramapClientContext; import fr.thesmyler.terramap.TerramapConfig; import fr.thesmyler.terramap.gui.screens.config.TerramapConfigScreen; -import fr.thesmyler.terramap.gui.widgets.CircularCompassWidget; +import net.smyler.terramap.gui.widgets.CircularCompassWidget; import fr.thesmyler.terramap.gui.widgets.markers.controllers.FeatureVisibilityController; import fr.thesmyler.terramap.gui.widgets.markers.markers.Marker; import fr.thesmyler.terramap.gui.widgets.markers.markers.entities.MainPlayerMarker; diff --git a/forge/src/main/java/fr/thesmyler/terramap/gui/screens/config/HudConfigScreen.java b/forge/src/main/java/fr/thesmyler/terramap/gui/screens/config/HudConfigScreen.java index e54c4dae..a0035977 100644 --- a/forge/src/main/java/fr/thesmyler/terramap/gui/screens/config/HudConfigScreen.java +++ b/forge/src/main/java/fr/thesmyler/terramap/gui/screens/config/HudConfigScreen.java @@ -22,7 +22,7 @@ import fr.thesmyler.terramap.TerramapClientContext; import fr.thesmyler.terramap.TerramapConfig; import fr.thesmyler.terramap.gui.screens.config.TerramapConfigScreen.TileScalingOption; -import fr.thesmyler.terramap.gui.widgets.RibbonCompassWidget; +import net.smyler.terramap.gui.widgets.RibbonCompassWidget; import fr.thesmyler.terramap.gui.widgets.map.MapController; import fr.thesmyler.terramap.gui.widgets.map.MapWidget; import fr.thesmyler.terramap.gui.widgets.map.layer.McChunksLayer;