summaryrefslogtreecommitdiff
path: root/package/linux
diff options
context:
space:
mode:
authorPetr Mrázek2012-02-28 03:37:56 +0100
committerPetr Mrázek2012-02-28 03:37:56 +0100
commit731472a4781f091ae313bd39d512207e920db10c (patch)
tree25242218ca8f641ef4b36c6d6f46b4ad6cfb1f62 /package/linux
parentf8721c88b57b22842a2d0ecf60f58b31d151b600 (diff)
downloaddfhack-731472a4781f091ae313bd39d512207e920db10c.tar.gz
dfhack-731472a4781f091ae313bd39d512207e920db10c.tar.bz2
dfhack-731472a4781f091ae313bd39d512207e920db10c.tar.xz
Add eggy hooks (linux only for now)
Diffstat (limited to 'package/linux')
-rwxr-xr-xpackage/linux/egghack7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/linux/egghack b/package/linux/egghack
new file mode 100755
index 00000000..1ce583ce
--- /dev/null
+++ b/package/linux/egghack
@@ -0,0 +1,7 @@
+#!/bin/sh
+DF_DIR=$(dirname "$0")
+cd "${DF_DIR}"
+export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"./stonesense/deplibs":"./hack/deplibs"
+export SDL_DISABLE_LOCK_KEYS=1 # Work around for bug in Debian/Ubuntu SDL patch.
+#export SDL_VIDEO_CENTERED=1 # Centre the screen. Messes up resizing.
+./libs/Dwarf_Fortress $* # Go, go, go! :)