mirror of
https://github.com/ineedbots/t6_bot_warfare.git
synced 2025-05-13 07:34:49 +00:00
init
This commit is contained in:
commit
7d05d259b5
21
.astylerc
Normal file
21
.astylerc
Normal 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
34
.gitignore
vendored
Normal 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
|
BIN
raw/scripts/mp/test-compiled.gsc
Normal file
BIN
raw/scripts/mp/test-compiled.gsc
Normal file
Binary file not shown.
19
raw/scripts/mp/test.gsc
Normal file
19
raw/scripts/mp/test.gsc
Normal file
@ -0,0 +1,19 @@
|
||||
init()
|
||||
{
|
||||
for ( ;; )
|
||||
{
|
||||
level waittill ( "connected", player );
|
||||
|
||||
player thread test();
|
||||
}
|
||||
}
|
||||
|
||||
test()
|
||||
{
|
||||
self endon( "disconnect" );
|
||||
|
||||
for ( ;; )
|
||||
{
|
||||
wait 0.05;
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user