Skip to content

Commit

Permalink
Updated AMBuild API
Browse files Browse the repository at this point in the history
  • Loading branch information
APGRoboCop committed Feb 1, 2022
1 parent 196059b commit 19912f1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
2 changes: 2 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ Updated by RoboCop

- Increased priority for bots to steal flags

- Increased the bot's flexabilty to steer quickly when turning corners and aim faster

- Optimised pathway for 2fort, shutdown2, rock2, well and dustbowl

- Repaired rock2 waypoints and the rock2 variants by allowing bots to cap properly
Expand Down
16 changes: 9 additions & 7 deletions configure.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
API_VERSION = '2.1'
# vim: set sts=2 ts=8 sw=2 tw=99 et:
API_VERSION = '2.2'

import sys
try:
from ambuild2 import run
if not run.HasAPI(API_VERSION):
raise Exception()
from ambuild2 import run
if not run.HasAPI(API_VERSION):
raise Exception()
except:
sys.stderr.write('AMBuild {0} must be installed to build this project.\n'.format(API_VERSION))
sys.stderr.write('http://www.alliedmods.net/ambuild\n')
sys.exit(1)
sys.stderr.write('AMBuild {0} must be installed to build this project.\n'.format(API_VERSION))
sys.stderr.write('http://www.alliedmods.net/ambuild\n')
sys.exit(1)


prep = run.PrepareBuild(sourcePath=sys.path[0])
prep.default_build_folder = 'obj-' + prep.target_platform
Expand Down

0 comments on commit 19912f1

Please sign in to comment.