Skip to content

Commit

Permalink
Finally fixed wrong MPH being shown in chat
Browse files Browse the repository at this point in the history
  • Loading branch information
Wyatt Wheeler committed Jul 28, 2019
1 parent d91e7ef commit 35e9ab9
Show file tree
Hide file tree
Showing 4 changed files with 300 additions and 274 deletions.
20 changes: 20 additions & 0 deletions compile.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/bin/bash -e
cd "$(dirname "$0")"

test -e compiled || mkdir compiled

if [[ $# -ne 0 ]]; then
for sourcefile in "$@"
do
smxfile="`echo $sourcefile | sed -e 's/\.sp$/\.smx/'`"
echo -e "\nCompiling $sourcefile..."
./spcomp $sourcefile -ocompiled/$smxfile
done
else
for sourcefile in *.sp
do
smxfile="`echo $sourcefile | sed -e 's/\.sp$/\.smx/'`"
echo -e "\nCompiling $sourcefile ..."
./spcomp $sourcefile -ocompiled/$smxfile
done
fi
Binary file modified compiled/tf2_dodgeball.smx
Binary file not shown.
Binary file added spcomp
Binary file not shown.
Loading

0 comments on commit 35e9ab9

Please sign in to comment.