here a personal experimental mockup of how I imagine wrapping world edges should look like. bouncing one could be similar just with mirrored stuff. please test and share opinion. note: you might wanna disable auto-cam
#!/bin/shif [ -d QTfrontend ]; then cd QTfrontendelse if [ -d ../QTfrontend ]; then cd ../QTfrontend else echo 'abort: Directory "QTfrontend" not found!' >&2 exit 1 fifiif [ -z "$1" ]; then OUTPUT_DIRECTORY="../doc/QTfrontend"else OUTPUT_DIRECTORY="$1"fiecho "Creating documentation for Qt-Frontend in $OUTPUT_DIRECTORY ..."if [ $(which hg) ]; thenbranch=$(hg identify -b)rev=$(hg identify -rdefault -i)branchurl="<a href=http://code.google.com/p/hedgewars/source/list?name=${branch}>${branch}</a>"revurl="<a href=http://code.google.com/p/hedgewars/source/detail?r=${rev}>${rev}</a>"export PROJECT_NUMBER="${branchurl} as of ${revurl}"export OUTPUT_DIRECTORYfidoxygenexit $?