projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
well yeah i guess
[carveJwlIkooP6JGAAIwe30JlM.git]
/
build.sh
diff --git
a/build.sh
b/build.sh
index 0b958721a60804f5854e175e43499f9694830e6a..fad620190cce6a31a17c14c4b1dc5b418e1efe7f 100755
(executable)
--- a/
build.sh
+++ b/
build.sh
@@
-23,7
+23,7
@@
_windows_asan=""
_windows_linksteam="vg/dep/steam/steam_api.dll"
_windows_folder="bin/win32"
_windows_linksteam="vg/dep/steam/steam_api.dll"
_windows_folder="bin/win32"
-_options_debugmode="-O0 -ggdb3 -fno-omit-frame-pointer"
+_options_debugmode="-O0 -ggdb3 -fno-omit-frame-pointer
-rdynamic
"
_options_release="-O3 -DVG_RELEASE"
# Compiler lines
_options_release="-O3 -DVG_RELEASE"
# Compiler lines
@@
-57,7
+57,7
@@
compile_miniaudio(){
# TODO
run_game(){
cd $_linux_folder
# TODO
run_game(){
cd $_linux_folder
- ./skaterift
+ ./skaterift
--samples=4
cd ./../
}
cd ./../
}
@@
-73,6
+73,10
@@
delay_run_game(){
}
link_content(){
}
link_content(){
+ unlink $1/textures
+ unlink $1/models
+ unlink $1/sound
+
ln -srf bin/content/textures $1/textures
ln -srf bin/content/models $1/models
ln -srf bin/content/sound $1/sound
ln -srf bin/content/textures $1/textures
ln -srf bin/content/models $1/models
ln -srf bin/content/sound $1/sound
@@
-224,6
+228,11
@@
vg_command(){
test)
run_game
;;
test)
run_game
;;
+ gdb)
+ cd $_linux_folder
+ gdb -tui ./skaterift
+ cd ./../
+ ;;
testserver)
run_server
;;
testserver)
run_server
;;