-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
663c6d3
commit 4092a1b
Showing
101 changed files
with
1,667 additions
and
925 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
src/main/java/ru/hollowhorizon/hollowstory/client/ClientEvents.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package ru.hollowhorizon.hollowstory.client | ||
|
||
import net.minecraft.util.math.vector.Matrix4f | ||
import net.minecraftforge.api.distmarker.Dist | ||
import net.minecraftforge.client.event.RenderWorldLastEvent | ||
import net.minecraftforge.eventbus.api.SubscribeEvent | ||
import net.minecraftforge.fml.common.Mod | ||
import ru.hollowhorizon.hollowstory.HollowStory | ||
|
||
object ClientEvents { | ||
val PROJ_MAT = Matrix4f().apply { setIdentity() } | ||
val VIEW_MAT = Matrix4f().apply { setIdentity() } | ||
|
||
@JvmStatic | ||
fun renderLast(event: RenderWorldLastEvent) { | ||
PROJ_MAT.set(event.projectionMatrix) | ||
VIEW_MAT.set(event.matrixStack.last().pose()) | ||
} | ||
} |
81 changes: 0 additions & 81 deletions
81
src/main/java/ru/hollowhorizon/hollowstory/client/gui/NPCBuilderScreen.kt
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
src/main/java/ru/hollowhorizon/hollowstory/client/gui/VisualEditorGUI.kt
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
src/main/java/ru/hollowhorizon/hollowstory/client/gui/widget/ISaveable.java
This file was deleted.
Oops, something went wrong.
84 changes: 0 additions & 84 deletions
84
src/main/java/ru/hollowhorizon/hollowstory/client/gui/widget/TextFieldChoicerWidget.kt
This file was deleted.
Oops, something went wrong.
44 changes: 0 additions & 44 deletions
44
src/main/java/ru/hollowhorizon/hollowstory/client/gui/widget/box/TypeBox.kt
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.