summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore4
-rw-r--r--.lvimrc7
-rw-r--r--README.md13
-rw-r--r--build.gradle8
-rw-r--r--desktop/src/ch/asynk/zproject/desktop/DesktopLauncher.java2
-rwxr-xr-xdo22
6 files changed, 55 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 6d842f2..ad948a8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,7 @@
+## Mine
+*~
+.tags
+
## Java
*.class
diff --git a/.lvimrc b/.lvimrc
new file mode 100644
index 0000000..bfb6546
--- /dev/null
+++ b/.lvimrc
@@ -0,0 +1,7 @@
+
+" let g:ctrlp_user_command = 'find %s -type f'
+" let g:ctrlp_use_caching = 0
+let g:ctrlp_custom_ignore = {
+ \ 'dir': '\v[\/](javadoc|assets)$',
+ \ 'file': '\v\.(html|class)$',
+ \ }
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..6034523
--- /dev/null
+++ b/README.md
@@ -0,0 +1,13 @@
+
+# TODO
+ - GameScreen
+ - BoardCamera
+ - Assets
+ - LoadingScreen
+ - Fonts
+ - UI widgets
+ - SquareMap
+ - HexMap
+ - TriangleMap
+ - CircleMap
+ - gfx
diff --git a/build.gradle b/build.gradle
index be3ccec..2504886 100644
--- a/build.gradle
+++ b/build.gradle
@@ -91,6 +91,12 @@ project(":core") {
}
}
+task ctags(type: Exec) {
+ executable "ctags"
+ args "-R", "--language-force=java", "--exclude=*~", "-f.tags", "core/src/"
+}
+
+
tasks.eclipse.doLast {
delete ".project"
-} \ No newline at end of file
+}
diff --git a/desktop/src/ch/asynk/zproject/desktop/DesktopLauncher.java b/desktop/src/ch/asynk/zproject/desktop/DesktopLauncher.java
index c6a3885..15865dc 100644
--- a/desktop/src/ch/asynk/zproject/desktop/DesktopLauncher.java
+++ b/desktop/src/ch/asynk/zproject/desktop/DesktopLauncher.java
@@ -8,5 +8,7 @@ public class DesktopLauncher {
public static void main (String[] arg) {
LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
new LwjglApplication(new ZProject(), config);
+ config.width=800;
+ config.height=600;
}
}
diff --git a/do b/do
new file mode 100755
index 0000000..7dd1f98
--- /dev/null
+++ b/do
@@ -0,0 +1,22 @@
+#! /bin/bash
+
+ARGS="ctags desktop:run"
+
+function gradlew_do()
+{
+ echo "./gradlew $ARGS" && ./gradlew $ARGS || exit 1
+}
+
+case "$1" in
+# dist
+ "d")
+ shift;
+ ARGS="desktop:dist $@"
+ gradlew_do
+ ;;
+ *)
+ ARGS="$ARGS $@"
+ gradlew_do
+ ;;
+esac
+