mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-06 08:38:30 +09:00
Compare commits
66 Commits
test-vecto
...
newlight2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
49f055ca27 | ||
|
|
b7f7589990 | ||
|
|
a7ef6b1f53 | ||
|
|
f857d49d82 | ||
|
|
503229675f | ||
|
|
ead33aeb7a | ||
|
|
feb2becbc2 | ||
|
|
01e10824f7 | ||
|
|
cc0646ffc9 | ||
|
|
fdb258f578 | ||
|
|
c8235aa57a | ||
|
|
d22959e993 | ||
|
|
cbf0064e13 | ||
|
|
50b98d565a | ||
|
|
216bc299a8 | ||
|
|
ddebb65362 | ||
|
|
0d8c93d18e | ||
|
|
e0fcf35f5b | ||
|
|
b2ad541355 | ||
|
|
eb2e47e2a5 | ||
|
|
b07e7f5fdd | ||
|
|
ac144da0b4 | ||
|
|
f5624af47c | ||
|
|
299e10a381 | ||
|
|
14eb765670 | ||
|
|
de164f6516 | ||
|
|
7f99bb4f4f | ||
|
|
619352e915 | ||
|
|
8469d22f93 | ||
|
|
c849669845 | ||
|
|
be6cddb1d6 | ||
|
|
2faebfcd27 | ||
|
|
64e9d3c0e4 | ||
|
|
4d46a44c51 | ||
|
|
87ce59194c | ||
|
|
4feb889aa8 | ||
|
|
f3e1cc53f8 | ||
|
|
37bc8a6aff | ||
|
|
04cf817303 | ||
|
|
f7ff220967 | ||
|
|
ccb9d33a36 | ||
|
|
096a34c6a6 | ||
|
|
4076e6d74e | ||
|
|
b5da05c9a0 | ||
|
|
25043cb36e | ||
|
|
1a98292b92 | ||
|
|
f469772c86 | ||
|
|
0bc52a7351 | ||
|
|
9670b5771f | ||
|
|
9e3008d6fe | ||
|
|
ae390fe6f5 | ||
|
|
02ad64487b | ||
|
|
8f08609d65 | ||
|
|
42b26597b4 | ||
|
|
9e082e914d | ||
|
|
a08d09b1b8 | ||
|
|
3982933aad | ||
|
|
ed5c823154 | ||
|
|
8589f1f8fa | ||
|
|
16f85f6bfa | ||
|
|
6b2970cbfd | ||
|
|
a501a353dd | ||
|
|
47d5d9c1b2 | ||
|
|
9ddfa48cd9 | ||
|
|
3b793d5ad4 | ||
|
|
82514180ea |
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -5,3 +5,4 @@
|
||||
*.opus filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.kra filter=lfs diff=lfs merge=lfs -text
|
||||
3
.gitignore
vendored
3
.gitignore
vendored
@@ -13,6 +13,8 @@ replay_pid*
|
||||
Thumbs.db
|
||||
.DS_Store
|
||||
desktop.ini
|
||||
.directory
|
||||
*/.directory
|
||||
|
||||
# Resources that should not be tracked
|
||||
assets/mods/basegame/demoworld
|
||||
@@ -26,6 +28,7 @@ workspace.xml
|
||||
# Temporary files
|
||||
.tmp*
|
||||
tmp_*
|
||||
*.bak
|
||||
## Microsoft Office
|
||||
~$*
|
||||
## Generic temp files in Linux
|
||||
|
||||
3
.idea/libraries/KotlinJavaRuntime.xml
generated
3
.idea/libraries/KotlinJavaRuntime.xml
generated
@@ -4,6 +4,9 @@
|
||||
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-stdlib.jar!/" />
|
||||
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-reflect.jar!/" />
|
||||
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-test.jar!/" />
|
||||
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlinx-coroutines-core-1.0.1.jar!/" />
|
||||
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlinx-coroutines-io-jvm-0.1.1.jar!/" />
|
||||
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlinx-coroutines-jdk8-1.0.1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
|
||||
53
.idea/libraries/com_badlogicgames_gdx_gdx_backend_lwjgl3_1_9_10.xml
generated
Normal file
53
.idea/libraries/com_badlogicgames_gdx_gdx_backend_lwjgl3_1_9_10.xml
generated
Normal file
@@ -0,0 +1,53 @@
|
||||
<component name="libraryTable">
|
||||
<library name="com.badlogicgames.gdx:gdx-backend-lwjgl3:1.9.10" type="repository">
|
||||
<properties maven-id="com.badlogicgames.gdx:gdx-backend-lwjgl3:1.9.10" />
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/lib/gdx-backend-lwjgl3-1.9.10.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/gdx-1.9.10.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/lwjgl-3.2.1.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/lwjgl-3.2.1-natives-windows.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/lwjgl-3.2.1-natives-linux.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/lwjgl-3.2.1-natives-macos.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/lwjgl-glfw-3.2.1.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/lwjgl-glfw-3.2.1-natives-windows.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/lwjgl-glfw-3.2.1-natives-linux.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/lwjgl-glfw-3.2.1-natives-macos.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/lwjgl-jemalloc-3.2.1.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/lwjgl-jemalloc-3.2.1-natives-windows.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/lwjgl-jemalloc-3.2.1-natives-linux.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/lwjgl-jemalloc-3.2.1-natives-macos.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/lwjgl-opengl-3.2.1.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/lwjgl-opengl-3.2.1-natives-windows.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/lwjgl-opengl-3.2.1-natives-linux.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/lwjgl-opengl-3.2.1-natives-macos.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/lwjgl-openal-3.2.1.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/lwjgl-openal-3.2.1-natives-windows.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/lwjgl-openal-3.2.1-natives-linux.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/lwjgl-openal-3.2.1-natives-macos.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/jlayer-1.0.1-gdx.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/jorbis-0.0.17.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/lib/gdx-backend-lwjgl3-1.9.10-javadoc.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/gdx-1.9.10-javadoc.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/lwjgl-3.2.1-javadoc.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/lwjgl-glfw-3.2.1-javadoc.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/lwjgl-jemalloc-3.2.1-javadoc.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/lwjgl-opengl-3.2.1-javadoc.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/lwjgl-openal-3.2.1-javadoc.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/jlayer-1.0.1-gdx-javadoc.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/jorbis-0.0.17-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/lib/gdx-backend-lwjgl3-1.9.10-sources.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/gdx-1.9.10-sources.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/lwjgl-3.2.1-sources.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/lwjgl-glfw-3.2.1-sources.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/lwjgl-jemalloc-3.2.1-sources.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/lwjgl-opengl-3.2.1-sources.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/lwjgl-openal-3.2.1-sources.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/jlayer-1.0.1-gdx-sources.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/jorbis-0.0.17-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
||||
41
.idea/libraries/com_badlogicgames_gdx_gdx_backend_lwjgl_1_9_10.xml
generated
Normal file
41
.idea/libraries/com_badlogicgames_gdx_gdx_backend_lwjgl_1_9_10.xml
generated
Normal file
@@ -0,0 +1,41 @@
|
||||
<component name="libraryTable">
|
||||
<library name="com.badlogicgames.gdx:gdx-backend-lwjgl:1.9.10" type="repository">
|
||||
<properties maven-id="com.badlogicgames.gdx:gdx-backend-lwjgl:1.9.10" />
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/lib/gdx-backend-lwjgl-1.9.10.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/gdx-1.9.10.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/lwjgl-2.9.3.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/lwjgl-platform-2.9.3-natives-windows.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/lwjgl-platform-2.9.3-natives-linux.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/lwjgl-platform-2.9.3-natives-osx.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/jinput-2.0.5.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/jutils-1.0.0.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/jinput-platform-2.0.5-natives-linux.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/jinput-platform-2.0.5-natives-windows.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/jinput-platform-2.0.5-natives-osx.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/lwjgl_util-2.9.3.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/jlayer-1.0.1-gdx.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/jorbis-0.0.17.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/lib/gdx-backend-lwjgl-1.9.10-javadoc.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/gdx-1.9.10-javadoc.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/lwjgl-2.9.3-javadoc.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/jinput-2.0.5-javadoc.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/jutils-1.0.0-javadoc.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/lwjgl_util-2.9.3-javadoc.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/jlayer-1.0.1-gdx-javadoc.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/jorbis-0.0.17-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/lib/gdx-backend-lwjgl-1.9.10-sources.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/gdx-1.9.10-sources.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/lwjgl-2.9.3-sources.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/jinput-2.0.5-sources.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/jutils-1.0.0-sources.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/lwjgl_util-2.9.3-sources.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/jlayer-1.0.1-gdx-sources.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/jorbis-0.0.17-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
||||
20
.idea/libraries/com_badlogicgames_gdx_gdx_controllers_desktop_1_9_10.xml
generated
Normal file
20
.idea/libraries/com_badlogicgames_gdx_gdx_controllers_desktop_1_9_10.xml
generated
Normal file
@@ -0,0 +1,20 @@
|
||||
<component name="libraryTable">
|
||||
<library name="com.badlogicgames.gdx:gdx-controllers-desktop:1.9.10" type="repository">
|
||||
<properties maven-id="com.badlogicgames.gdx:gdx-controllers-desktop:1.9.10" />
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/lib/gdx-controllers-desktop-1.9.10.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/gdx-1.9.10.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/gdx-controllers-1.9.10.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/lib/gdx-controllers-desktop-1.9.10-javadoc.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/gdx-1.9.10-javadoc.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/gdx-controllers-1.9.10-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/lib/gdx-controllers-desktop-1.9.10-sources.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/gdx-1.9.10-sources.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/gdx-controllers-1.9.10-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
||||
18
.idea/libraries/com_badlogicgames_gdx_gdx_controllers_platform_1_9_10.xml
generated
Normal file
18
.idea/libraries/com_badlogicgames_gdx_gdx_controllers_platform_1_9_10.xml
generated
Normal file
@@ -0,0 +1,18 @@
|
||||
<component name="libraryTable">
|
||||
<library name="com.badlogicgames.gdx:gdx-controllers-platform:1.9.10" type="repository">
|
||||
<properties maven-id="com.badlogicgames.gdx:gdx-controllers-platform:1.9.10" />
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/lib/gdx-controllers-platform-1.9.10.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/gdx-controllers-1.9.10.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/gdx-1.9.10.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/lib/gdx-controllers-1.9.10-javadoc.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/gdx-1.9.10-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/lib/gdx-controllers-1.9.10-sources.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/gdx-1.9.10-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
||||
10
.idea/libraries/com_badlogicgames_gdx_gdx_platform_1_9_10.xml
generated
Normal file
10
.idea/libraries/com_badlogicgames_gdx_gdx_platform_1_9_10.xml
generated
Normal file
@@ -0,0 +1,10 @@
|
||||
<component name="libraryTable">
|
||||
<library name="com.badlogicgames.gdx:gdx-platform:1.9.10" type="repository">
|
||||
<properties maven-id="com.badlogicgames.gdx:gdx-platform:1.9.10" />
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/lib/gdx-platform-1.9.10.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</component>
|
||||
7
.idea/libraries/lib.xml
generated
7
.idea/libraries/lib.xml
generated
@@ -4,24 +4,17 @@
|
||||
<root url="file://$PROJECT_DIR$/lib" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="file://$PROJECT_DIR$/lib/javadoc" />
|
||||
<root url="http://libgdx.badlogicgames.com/nightlies/docs/api/" />
|
||||
<root url="https://libgdx.badlogicgames.com/ci/nightlies/docs/api/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/javadoc/gdx-docs.zip!/" />
|
||||
</JAVADOC>
|
||||
<NATIVE>
|
||||
<root url="file://$PROJECT_DIR$/lib" />
|
||||
<root url="file://$PROJECT_DIR$/lib/x86" />
|
||||
<root url="file://$PROJECT_DIR$/lib/x86_64" />
|
||||
</NATIVE>
|
||||
<SOURCES>
|
||||
<root url="file://$PROJECT_DIR$/lib/source" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/Terrarum_Joise.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/source/gdx-backend-lwjgl-sources.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/TerrarumSansBitmap.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/prtree.jar!/" />
|
||||
</SOURCES>
|
||||
<jarDirectory url="file://$PROJECT_DIR$/lib" recursive="false" />
|
||||
<jarDirectory url="file://$PROJECT_DIR$/lib/source" recursive="false" type="SOURCES" />
|
||||
</library>
|
||||
</component>
|
||||
2
.idea/misc.xml
generated
2
.idea/misc.xml
generated
@@ -38,7 +38,7 @@
|
||||
<property name="caretWidth" class="java.lang.Integer" />
|
||||
</properties>
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_X" default="false" project-jdk-name="15-ea" project-jdk-type="JavaSDK">
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="false" project-jdk-name="1.8.0_242" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/out" />
|
||||
</component>
|
||||
</project>
|
||||
@@ -7,7 +7,7 @@
|
||||
|0x10_0000..0x0FFF_FFFF|Items (dynamic\*) (267M possible)|
|
||||
|0x1000_0000..0x7FFF_FFFF|Actors (1879M possible)|
|
||||
|-1..-65536|Virtual Tiles|
|
||||
|-2147483648..-1 (all negative numbers)|Faction (2147M possible)|
|
||||
|-2147483648..-65537 (all negative numbers)|Faction (2147M possible)|
|
||||
|
||||
* dynamic items have own properties that will persist through savegame.
|
||||
|
||||
@@ -19,4 +19,6 @@ Actors range in-depth
|
||||
|0x2000_0000..0x4FFF_FFFF|Regular actors (e.g. almost all of them)|
|
||||
|0x5000_0000..0x5FFF_FFFF|Special (e.g. weapon swung, bullets, dropped item, particles)|
|
||||
|0x6000_0000..0x6FFF_FFFF|Rendered front (e.g. fake tile)|
|
||||
|0x7000_0000..0x7FFF_FFFF|Rendered as screen overlay, not affected by light nor environment overlays|
|
||||
|0x7000_0000..0x7FFF_FFFF|Rendered as screen overlay, not affected by light nor environment overlays|
|
||||
|
||||
Actor IDs are assigned in 256 groups, single actor can have 256 sub-actors
|
||||
@@ -1,4 +1,4 @@
|
||||
#version 120
|
||||
#version 130
|
||||
#ifdef GL_ES
|
||||
precision mediump float;
|
||||
#endif
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#version 120
|
||||
#version 130
|
||||
#ifdef GL_ES
|
||||
precision mediump float;
|
||||
#endif
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#version 120
|
||||
#version 130
|
||||
#ifdef GL_ES
|
||||
precision mediump float;
|
||||
#endif
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#version 120
|
||||
#version 130
|
||||
#ifdef GL_ES
|
||||
precision mediump float;
|
||||
#endif
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#version 120
|
||||
#version 130
|
||||
#ifdef GL_ES
|
||||
precision mediump float;
|
||||
#endif
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
assets/graphics/fonts/terrarum-sans-bitmap/insular_variable.tga
LFS
Normal file → Executable file
BIN
assets/graphics/fonts/terrarum-sans-bitmap/insular_variable.tga
LFS
Normal file → Executable file
Binary file not shown.
BIN
assets/graphics/fonts/terrarum-sans-bitmap/latinExtD_variable.tga
LFS
Normal file
BIN
assets/graphics/fonts/terrarum-sans-bitmap/latinExtD_variable.tga
LFS
Normal file
Binary file not shown.
@@ -1,4 +1,4 @@
|
||||
#version 120
|
||||
#version 130
|
||||
#ifdef GL_ES
|
||||
precision mediump float;
|
||||
#endif
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#version 120
|
||||
#version 130
|
||||
#ifdef GL_ES
|
||||
precision mediump float;
|
||||
#endif
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
"EAUR"; "768"; "0";"8192"; "21"; "1.36"; "1.0";"elven aurichalcum"
|
||||
"TIAL"; "900"; "0";"4420"; "33"; "2.16"; "1.0";"titanium alloy (Ti6Al4V)"
|
||||
"ADMT";"2000";"4090";"2700"; "71"; "3.42"; "1.0";"adamant"
|
||||
"OOZE"; "20"; "0";"1000"; "1"; "N/A"; "0.5";"genetic ooze; data is about human skin"
|
||||
"OOZE"; "20"; "0";"1000"; "1"; "0.08"; "0.5";"genetic ooze; data is about human skin"
|
||||
"BONE"; "130"; "0";"2000"; "1"; "0.23"; "0.55";"data is that of bovine bone"
|
||||
|
||||
# idst: ID_STRING, ALL CAPS
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#version 120
|
||||
#version 130
|
||||
#ifdef GL_ES
|
||||
precision mediump float;
|
||||
#endif
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#version 120
|
||||
#version 130
|
||||
#ifdef GL_ES
|
||||
precision mediump float;
|
||||
#endif
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#version 120
|
||||
#version 130
|
||||
#ifdef GL_ES
|
||||
precision mediump float;
|
||||
#endif
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#version 120
|
||||
#version 130
|
||||
#ifdef GL_ES
|
||||
precision mediump float;
|
||||
#endif
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
*/
|
||||
|
||||
#version 120
|
||||
#version 130
|
||||
#ifdef GL_ES
|
||||
precision mediump float;
|
||||
#endif
|
||||
@@ -17,27 +17,24 @@ uniform sampler2D u_texture;
|
||||
|
||||
|
||||
uniform vec2 screenDimension;
|
||||
uniform vec2 tilesInAxes; // basically a screen dimension; vec2(tiles_in_horizontal, tiles_in_vertical)
|
||||
uniform vec2 tilesInAxes; // size of the tilemap texture; vec2(tiles_in_horizontal, tiles_in_vertical)
|
||||
|
||||
uniform ivec2 tilemapDimension;
|
||||
uniform sampler2D tilemap; // RGBA8888
|
||||
|
||||
uniform sampler2D tilesAtlas; // terrain, wire, fluids, etc.
|
||||
uniform sampler2D tilesBlendAtlas; // alternative terrain for the weather mix (e.g. yellowed grass)
|
||||
uniform float tilesBlend = 0.0; // percentage of blending [0f..1f]. 0: draws tilesAtlas, 1: draws tilesBlendAtlas
|
||||
|
||||
uniform ivec2 tilesInAtlas = ivec2(256, 256);
|
||||
uniform ivec2 atlasTexSize = ivec2(4096, 4096);
|
||||
ivec2 tileSizeInPx = atlasTexSize / tilesInAtlas; // should be like ivec2(16, 16)
|
||||
uniform vec2 tilesInAtlas = ivec2(256.0, 256.0);
|
||||
uniform vec2 atlasTexSize = ivec2(4096.0, 4096.0);
|
||||
vec2 tileSizeInPx = atlasTexSize / tilesInAtlas; // should be like ivec2(16.0, 16.0)
|
||||
|
||||
uniform vec4 colourFilter = vec4(1, 1, 1, 1); // used by WALL to darken it
|
||||
|
||||
uniform ivec2 cameraTranslation = ivec2(0, 0); // used to offset the drawing
|
||||
uniform ivec2 cameraTranslation = ivec2(0, 0); // used to offset the drawing; it's integer because we want the drawing to be pixel-aligned
|
||||
|
||||
uniform float drawBreakage = 1.0; // set it to 0f to not draw breakage, 1f to draw it; NEVER set to any other values.
|
||||
|
||||
uniform float zoom = 1.0;
|
||||
|
||||
|
||||
ivec2 getTileXY(int tileNumber) {
|
||||
return ivec2(tileNumber % int(tilesInAtlas.x), tileNumber / int(tilesInAtlas.x));
|
||||
@@ -70,10 +67,8 @@ void main() {
|
||||
|
||||
// default gl_FragCoord takes half-integer (represeting centre of the pixel) -- could be useful for phys solver?
|
||||
// This one, however, takes exact integer by rounding down. //
|
||||
vec2 overscannedScreenDimension = tilesInAxes * tileSizeInPx; // how many tiles will fit into a screen; one used by the tileFromMap
|
||||
vec2 overscannedScreenDimension = tilesInAxes * tileSizeInPx; // how many tiles will fit into a screen; one used by the tileFromMap; we need this because screen size is not integer multiple of the tile size
|
||||
vec2 flippedFragCoord = vec2(gl_FragCoord.x, screenDimension.y - gl_FragCoord.y) + cameraTranslation; // NO IVEC2!!; this flips Y
|
||||
//vec2 pxCoord = flippedFragCoord.xy; // TODO do I actually need 'pxCoord'?
|
||||
vec2 zoomVec = vec2(zoom);
|
||||
|
||||
// get required tile numbers //
|
||||
|
||||
@@ -83,23 +78,17 @@ void main() {
|
||||
ivec2 tileXY = getTileXY(tile);
|
||||
ivec2 breakageXY = getTileXY(breakage + 5); // +5 is hard-coded constant that depends on the atlas
|
||||
|
||||
// cauculate the UV coord value for texture sampling //
|
||||
|
||||
//vec2 coordInTile = mod(pxCoord, tileSizeInPx) / tileSizeInPx; // 0..1 regardless of tile position in atlas // TODO do I actually need 'pxCoord'?
|
||||
vec2 coordInTile = mod(flippedFragCoord, tileSizeInPx) / tileSizeInPx; // 0..1 regardless of tile position in atlas
|
||||
// calculate the UV coord value for texture sampling //
|
||||
|
||||
// don't really need highp here; read the GLES spec
|
||||
vec2 singleTileSizeInUV = vec2(1) / tilesInAtlas; // constant 0.00390625 for unmodified default uniforms
|
||||
|
||||
vec2 uvCoordForTile = coordInTile * singleTileSizeInUV; // 0..0.00390625 regardless of tile position in atlas
|
||||
|
||||
vec2 uvCoordOffsetTile = tileXY * singleTileSizeInUV; // where the tile starts in the atlas, using uv coord (0..1)
|
||||
vec2 uvCoordOffsetBreakage = breakageXY * singleTileSizeInUV;
|
||||
vec2 uvCoordForTile = (mod(flippedFragCoord, tileSizeInPx) / tileSizeInPx) / tilesInAtlas; // 0..0.00390625 regardless of tile position in atlas
|
||||
vec2 uvCoordOffsetTile = tileXY / tilesInAtlas; // where the tile starts in the atlas, using uv coord (0..1)
|
||||
vec2 uvCoordOffsetBreakage = breakageXY / tilesInAtlas;
|
||||
|
||||
// get final UV coord for the actual sampling //
|
||||
|
||||
vec2 finalUVCoordForTile = (uvCoordForTile + uvCoordOffsetTile);// where we should be actually looking for in atlas, using UV coord (0..1)
|
||||
vec2 finalUVCoordForBreakage = (uvCoordForTile + uvCoordOffsetBreakage);
|
||||
vec2 finalUVCoordForTile = uvCoordForTile + uvCoordOffsetTile;// where we should be actually looking for in atlas, using UV coord (0..1)
|
||||
vec2 finalUVCoordForBreakage = uvCoordForTile + uvCoordOffsetBreakage;
|
||||
|
||||
// blending a breakage tex with main tex //
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
buildscript {
|
||||
ext.kotlin_version = '1.3.10'
|
||||
ext.kotlin_version = '1.3.72'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
@@ -27,6 +27,7 @@ repositories {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile "org.jetbrains.kotlin:kotlinx-coroutines-core"
|
||||
compile "org.jetbrains.kotlin:kotlin-stdlib"
|
||||
compile fileTree(dir: 'lib', include: ['*.jar'])
|
||||
implementation 'org.junit:junit-bom:5.2.0'
|
||||
|
||||
@@ -8,5 +8,10 @@
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="library" name="lib" level="project" />
|
||||
<orderEntry type="library" name="com.badlogicgames.gdx:gdx-backend-lwjgl:1.9.10" level="project" />
|
||||
<orderEntry type="library" name="com.badlogicgames.gdx:gdx-backend-lwjgl3:1.9.10" level="project" />
|
||||
<orderEntry type="library" name="com.badlogicgames.gdx:gdx-controllers-platform:1.9.10" level="project" />
|
||||
<orderEntry type="library" name="com.badlogicgames.gdx:gdx-controllers-desktop:1.9.10" level="project" />
|
||||
<orderEntry type="library" name="com.badlogicgames.gdx:gdx-platform:1.9.10" level="project" />
|
||||
</component>
|
||||
</module>
|
||||
Binary file not shown.
BIN
lib/gdx-1.9.10-javadoc.jar
Normal file
BIN
lib/gdx-1.9.10-javadoc.jar
Normal file
Binary file not shown.
BIN
lib/gdx-1.9.10-sources.jar
Normal file
BIN
lib/gdx-1.9.10-sources.jar
Normal file
Binary file not shown.
Binary file not shown.
BIN
lib/gdx-backend-lwjgl-1.9.10-javadoc.jar
Normal file
BIN
lib/gdx-backend-lwjgl-1.9.10-javadoc.jar
Normal file
Binary file not shown.
BIN
lib/gdx-backend-lwjgl-1.9.10-sources.jar
Normal file
BIN
lib/gdx-backend-lwjgl-1.9.10-sources.jar
Normal file
Binary file not shown.
BIN
lib/gdx-backend-lwjgl-1.9.10.jar
Normal file
BIN
lib/gdx-backend-lwjgl-1.9.10.jar
Normal file
Binary file not shown.
Binary file not shown.
BIN
lib/gdx-backend-lwjgl3-1.9.10-javadoc.jar
Normal file
BIN
lib/gdx-backend-lwjgl3-1.9.10-javadoc.jar
Normal file
Binary file not shown.
BIN
lib/gdx-backend-lwjgl3-1.9.10-sources.jar
Normal file
BIN
lib/gdx-backend-lwjgl3-1.9.10-sources.jar
Normal file
Binary file not shown.
BIN
lib/gdx-backend-lwjgl3-1.9.10.jar
Normal file
BIN
lib/gdx-backend-lwjgl3-1.9.10.jar
Normal file
Binary file not shown.
BIN
lib/gdx-backend-lwjgl3.jar.gz
LFS
BIN
lib/gdx-backend-lwjgl3.jar.gz
LFS
Binary file not shown.
BIN
lib/gdx-controllers-1.9.10-javadoc.jar
Normal file
BIN
lib/gdx-controllers-1.9.10-javadoc.jar
Normal file
Binary file not shown.
BIN
lib/gdx-controllers-1.9.10-sources.jar
Normal file
BIN
lib/gdx-controllers-1.9.10-sources.jar
Normal file
Binary file not shown.
Binary file not shown.
BIN
lib/gdx-controllers-desktop-1.9.10-javadoc.jar
Normal file
BIN
lib/gdx-controllers-desktop-1.9.10-javadoc.jar
Normal file
Binary file not shown.
BIN
lib/gdx-controllers-desktop-1.9.10-sources.jar
Normal file
BIN
lib/gdx-controllers-desktop-1.9.10-sources.jar
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
lib/gdx-controllers-platform-1.9.10.jar
Normal file
BIN
lib/gdx-controllers-platform-1.9.10.jar
Normal file
Binary file not shown.
Binary file not shown.
BIN
lib/gdx-nightly-20170610.zip.gz
LFS
BIN
lib/gdx-nightly-20170610.zip.gz
LFS
Binary file not shown.
BIN
lib/gdx-nightly-20181111.zip.gz
LFS
BIN
lib/gdx-nightly-20181111.zip.gz
LFS
Binary file not shown.
BIN
lib/gdx-nightly-20190112.zip.gz
LFS
BIN
lib/gdx-nightly-20190112.zip.gz
LFS
Binary file not shown.
BIN
lib/gdx-platform-1.9.10.jar
Normal file
BIN
lib/gdx-platform-1.9.10.jar
Normal file
Binary file not shown.
BIN
lib/javadoc/gdx-docs.zip
LFS
BIN
lib/javadoc/gdx-docs.zip
LFS
Binary file not shown.
Binary file not shown.
BIN
lib/javadoc/lwjgl3-javadoc.zip
LFS
BIN
lib/javadoc/lwjgl3-javadoc.zip
LFS
Binary file not shown.
BIN
lib/jinput-2.0.5-javadoc.jar
Normal file
BIN
lib/jinput-2.0.5-javadoc.jar
Normal file
Binary file not shown.
BIN
lib/jinput-2.0.5-sources.jar
Normal file
BIN
lib/jinput-2.0.5-sources.jar
Normal file
Binary file not shown.
BIN
lib/jinput-2.0.5.jar
Normal file
BIN
lib/jinput-2.0.5.jar
Normal file
Binary file not shown.
BIN
lib/jinput-platform-2.0.5-natives-linux.jar
Normal file
BIN
lib/jinput-platform-2.0.5-natives-linux.jar
Normal file
Binary file not shown.
BIN
lib/jinput-platform-2.0.5-natives-osx.jar
Normal file
BIN
lib/jinput-platform-2.0.5-natives-osx.jar
Normal file
Binary file not shown.
BIN
lib/jinput-platform-2.0.5-natives-windows.jar
Normal file
BIN
lib/jinput-platform-2.0.5-natives-windows.jar
Normal file
Binary file not shown.
BIN
lib/jlayer-1.0.1-gdx-javadoc.jar
Normal file
BIN
lib/jlayer-1.0.1-gdx-javadoc.jar
Normal file
Binary file not shown.
BIN
lib/jlayer-1.0.1-gdx-sources.jar
Normal file
BIN
lib/jlayer-1.0.1-gdx-sources.jar
Normal file
Binary file not shown.
BIN
lib/jlayer-1.0.1-gdx.jar
Normal file
BIN
lib/jlayer-1.0.1-gdx.jar
Normal file
Binary file not shown.
BIN
lib/jogg-0.0.7.jar.gz
LFS
BIN
lib/jogg-0.0.7.jar.gz
LFS
Binary file not shown.
BIN
lib/jorbis-0.0.17-javadoc.jar
Normal file
BIN
lib/jorbis-0.0.17-javadoc.jar
Normal file
Binary file not shown.
BIN
lib/jorbis-0.0.17-sources.jar
Normal file
BIN
lib/jorbis-0.0.17-sources.jar
Normal file
Binary file not shown.
BIN
lib/jorbis-0.0.17.jar
Normal file
BIN
lib/jorbis-0.0.17.jar
Normal file
Binary file not shown.
BIN
lib/jorbis-0.0.17.jar.gz
LFS
BIN
lib/jorbis-0.0.17.jar.gz
LFS
Binary file not shown.
BIN
lib/jutils-1.0.0-javadoc.jar
Normal file
BIN
lib/jutils-1.0.0-javadoc.jar
Normal file
Binary file not shown.
BIN
lib/jutils-1.0.0-sources.jar
Normal file
BIN
lib/jutils-1.0.0-sources.jar
Normal file
Binary file not shown.
BIN
lib/jutils-1.0.0.jar
Normal file
BIN
lib/jutils-1.0.0.jar
Normal file
Binary file not shown.
BIN
lib/libjinput.zip.gz
LFS
BIN
lib/libjinput.zip.gz
LFS
Binary file not shown.
BIN
lib/lwjgl-2.9.3-javadoc.jar
Normal file
BIN
lib/lwjgl-2.9.3-javadoc.jar
Normal file
Binary file not shown.
BIN
lib/lwjgl-2.9.3-sources.jar
Normal file
BIN
lib/lwjgl-2.9.3-sources.jar
Normal file
Binary file not shown.
Binary file not shown.
BIN
lib/lwjgl-3.2.1-javadoc.jar
Normal file
BIN
lib/lwjgl-3.2.1-javadoc.jar
Normal file
Binary file not shown.
BIN
lib/lwjgl-3.2.1-natives-linux.jar
Normal file
BIN
lib/lwjgl-3.2.1-natives-linux.jar
Normal file
Binary file not shown.
BIN
lib/lwjgl-3.2.1-natives-macos.jar
Normal file
BIN
lib/lwjgl-3.2.1-natives-macos.jar
Normal file
Binary file not shown.
BIN
lib/lwjgl-3.2.1-natives-windows.jar
Normal file
BIN
lib/lwjgl-3.2.1-natives-windows.jar
Normal file
Binary file not shown.
BIN
lib/lwjgl-3.2.1-sources.jar
Normal file
BIN
lib/lwjgl-3.2.1-sources.jar
Normal file
Binary file not shown.
BIN
lib/lwjgl-3.2.1.jar
Normal file
BIN
lib/lwjgl-3.2.1.jar
Normal file
Binary file not shown.
BIN
lib/lwjgl-glfw-3.2.1-javadoc.jar
Normal file
BIN
lib/lwjgl-glfw-3.2.1-javadoc.jar
Normal file
Binary file not shown.
BIN
lib/lwjgl-glfw-3.2.1-natives-linux.jar
Normal file
BIN
lib/lwjgl-glfw-3.2.1-natives-linux.jar
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user