Update AMBuildScript and renamed the generic moduleconfig.h file to avoid conflict.

This commit is contained in:
Arkshine 2014-08-09 18:27:55 +02:00
parent c497d478ce
commit bc856740f2
3 changed files with 3 additions and 1 deletions

View File

@ -246,6 +246,7 @@ class AMXXConfig(object):
cfg.defines += ['AMBUILD']
cfg.includes += [os.path.join(builder.buildPath, 'includes')]
cfg.includes += [os.path.join(builder.sourcePath, 'public')]
cfg.includes += [os.path.join(builder.sourcePath, 'public', 'sdk')]
cfg.includes += [os.path.join(builder.sourcePath, 'public', 'amtl')]
cfg.includes += [os.path.join(builder.sourcePath, 'public', 'memtools')]
return

View File

@ -2,7 +2,8 @@
* STEP 1
Download the AMXX Sdk, and place all files into your module source dir.
Don't edit amxxmodule.h or amxxmodule.cpp
Rename moduleconfig.in.h to moduleconfig.h
Go through the moduleconfig.h file and do what it says
If you want to have natives in your module, uncomment line 30
( // #define FN_AMXX_ATTACH OnAmxxAttach )