This commit is contained in:
ineedbots 2021-06-19 13:03:18 -06:00
commit 7d05d259b5
4 changed files with 74 additions and 0 deletions

21
.astylerc Normal file
View File

@ -0,0 +1,21 @@
# try to mimic the original gsc provided
mode=c
style=allman
indent=tab
lineend=windows
pad-oper
pad-paren-in
pad-header
# delete-empty-lines
break-blocks
# remove-braces
indent-switches
indent-cases
indent-after-parens
remove-comment-prefix

34
.gitignore vendored Normal file
View File

@ -0,0 +1,34 @@
# Ignore everything in repository root
/*
# Files to not ignore
!/.gitignore
# Folder to not ignore
!/raw
/raw/*
!/raw/scripts
!/.astylerc
!/deploy.js
!/deploy.bat
!/z_deploy.bat
!/raw/maps
/raw/maps/*
!/raw/maps/mp/
/raw/maps/mp/*
!/raw/maps/mp/bots/
!/raw/bw-assets
!/raw/bots.txt
!/README.md
*.zip
*.log
*.stat
logs/
demos/
images/
missingasset.csv

Binary file not shown.

19
raw/scripts/mp/test.gsc Normal file
View File

@ -0,0 +1,19 @@
init()
{
for ( ;; )
{
level waittill ( "connected", player );
player thread test();
}
}
test()
{
self endon( "disconnect" );
for ( ;; )
{
wait 0.05;
}
}