Bleeding edgy refresh (#303)
* not code stuff * other things * global vars, defines, helpers * onclick hud stuff, orphans, world.dm * controllers and datums * game folder * everything not client/mobs in modules * client folder * stage 1 mob stuff * simple animal things * silicons * carbon things * ayylmaos and monkeys * hyoomahn * icons n shit * sprite fixes * compile fixes * some fixes I cherrypicked. * qdel fixes * forgot brain refractors
This commit is contained in:
@@ -5,11 +5,18 @@ set -e
|
||||
shopt -s globstar
|
||||
|
||||
if [ "$BUILD_TOOLS" = false ]; then
|
||||
(! grep 'step_[xy]' _maps/**/*.dmm)
|
||||
if grep 'step_[xy]' _maps/**/*.dmm; then
|
||||
echo "step_[xy] variables detected in maps, please remove them."
|
||||
exit 1
|
||||
fi;
|
||||
if grep '/turf\s*[,\){]' _maps/**/*.dmm; then
|
||||
echo "base /turf path use detected in maps, please replace with proper paths."
|
||||
exit 1
|
||||
fi;
|
||||
source $HOME/BYOND-${BYOND_MAJOR}.${BYOND_MINOR}/byond/bin/byondsetup
|
||||
if [ "$BUILD_TESTING" = true ]; then
|
||||
tools/travis/dm.sh -DTRAVISBUILDING -M${DM_MAPFILE} tgstation.dme
|
||||
tools/travis/dm.sh -DTRAVISBUILDING tgstation.dme
|
||||
else
|
||||
tools/travis/dm.sh -DTRAVISBUILDING -DTRAVISTESTING -Mruntimestation tgstation.dme
|
||||
tools/travis/dm.sh -DTRAVISBUILDING -DTRAVISTESTING -DALL_MAPS tgstation.dme
|
||||
fi;
|
||||
fi;
|
||||
|
||||
@@ -38,12 +38,6 @@ do
|
||||
sed -i '1s/^/#define '$arg'\n/' $dmepath.mdme
|
||||
continue
|
||||
fi
|
||||
if [[ $var == -M* ]]
|
||||
then
|
||||
sed -i '1s/^/#define MAP_OVERRIDE\n/' $dmepath.mdme
|
||||
sed -i 's!// BEGIN_INCLUDE!// BEGIN_INCLUDE\n#include "_maps\\'$arg'.dm"!' $dmepath.mdme
|
||||
continue
|
||||
fi
|
||||
done
|
||||
|
||||
#windows
|
||||
|
||||
Reference in New Issue
Block a user