diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2018-06-26 02:19:50 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2018-06-26 02:19:50 +0200 |
commit | dd3232a74ab4b5f0d353d717cf3f080a73528a6e (patch) | |
tree | b729dda88ca07180cd0ba1545844cca50515fc53 | |
parent | ccbec710375ddab05e60d893851e57f7ee743d19 (diff) | |
download | gdx-boardgame-dd3232a74ab4b5f0d353d717cf3f080a73528a6e.zip gdx-boardgame-dd3232a74ab4b5f0d353d717cf3f080a73528a6e.tar.gz |
setup lvimrc,ctags,README,do,desktop screen size
-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 + |