diff options
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | .lvimrc | 7 | ||||
-rw-r--r-- | README.md | 13 | ||||
-rw-r--r-- | build.gradle | 8 | ||||
-rw-r--r-- | desktop/src/ch/asynk/zproject/desktop/DesktopLauncher.java | 2 | ||||
-rwxr-xr-x | do | 22 |
6 files changed, 55 insertions, 1 deletions
@@ -1,3 +1,7 @@ +## Mine +*~ +.tags + ## Java *.class @@ -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; } } @@ -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 + |