Commit Graph

4456 Commits

Author SHA1 Message Date
Kyle Sanderson
975fc93e1f Replace SourceHook list usages in tf with AMTL. 2014-06-04 17:36:53 -07:00
Kyle Sanderson
6c37a5d9f3 Replace SourceHook list usages in cstrike with AMTL. 2014-06-04 17:36:28 -07:00
SystematicMania
7b59b7f384 Fix "sm version" command reporting incorrect compile time in many cases (bug 6078, r=asherkin). 2014-06-03 15:55:25 -04:00
Nicholas Hastings
0ca218931a Trigger build again for hl2sdk-l4d and hl2sdk-dota changes. 2014-06-02 09:57:02 -04:00
Nicholas Hastings
1d9f769a42 Trigger build for hl2sdk-dota changes. 2014-06-02 09:30:25 -04:00
Scott Ehlert
083edcedc7 Merge pull request #22 from alliedmodders/css-clan-teamscore-mac
Update clan tag and team score offsets for cstrike ext on OS X.
2014-06-01 17:02:12 -05:00
Scott Ehlert
fb5c3c86da Add clan tag and team score commands to cstrike test plugin. 2014-06-01 16:52:03 -05:00
Scott Ehlert
3c89f2b1c2 Update clan tag and team score offsets for cstrike ext on OS X. 2014-06-01 16:47:49 -05:00
Nicholas Hastings
4c7cf6ce06 Trigger build for hl2sdk-l4d changes. 2014-06-01 16:27:52 -04:00
David Anderson
195104487e Merge pull request #21 from alliedmodders/components
Convert build scripts to the new project-based API.
2014-05-31 21:02:33 -07:00
Nicholas Hastings
39993c7019 Merge pull request #20 from psychonic/bot-hibernation-disconnect
Fix case where bots leave server without disconnect notice (hibernation) (r=KyleS).
2014-05-31 23:00:03 -04:00
David Anderson
897aa42135 Remove tag(). 2014-05-31 19:59:02 -07:00
David Anderson
abdf7d5b07 Port build scripts to the new project API. 2014-05-31 19:56:42 -07:00
David Anderson
9f8f879590 Fix typo. 2014-05-31 18:12:49 -07:00
David Anderson
db14d2d00a Factor out versioning. 2014-05-31 17:57:53 -07:00
Nicholas Hastings
a0f3410f3b Fix a case where bots can leave server without disconnect notice (hibernation), triggering other issues. 2014-05-31 15:18:17 -04:00
David Anderson
4159e1a177 Merge pull request #19 from alliedmodders/update-build-scrpt
Update the build script to the latest AMBuild API.
2014-05-30 22:55:49 -07:00
David Anderson
4f7b0ff487 Update the build script to the latest AMBuild API. 2014-05-30 22:50:35 -07:00
Asher Baker
891ebe4480 Merge pull request #18 from asherkin/version-count
Revert to using revision count for full version strings (r=dvander).
2014-05-31 04:44:51 +01:00
David Anderson
859be35b34 Fix build. 2014-05-30 19:49:54 -07:00
Asher Baker
88c452581b Revert to using revision count for full version strings. 2014-05-31 03:28:09 +01:00
David Anderson
b0ccc87638 Merge pull request #17 from alliedmodders/vsgen
Add support for the preliminary IDE project file generator.
2014-05-30 19:18:40 -07:00
David Anderson
1e6843f8db Add support for the preliminary IDE project file generator. 2014-05-30 19:07:56 -07:00
Nicholas Hastings
76a589f689 Merge pull request #16 from psychonic/client-disconnect-quirks
Fix inconsistencies with OnClientDisconnected calls (bug 5988, r=kyles)
2014-05-30 19:09:50 -04:00
Nicholas Hastings
e7621ad8a7 Fix inconsistencies with OnClientDisconnected calls (bug 5988) 2014-05-30 17:45:49 -04:00
Nicholas Hastings
c4232510a1 Merge pull request #15 from 50Wliu/contributing
Create CONTRIBUTING.md (r=psychonic).
2014-05-29 23:27:12 -04:00
Wliu
e2878d3df8 Create CONTRIBUTING.md
As discussed in #11.
2014-05-29 17:49:18 -04:00
Nicholas Hastings
5cb10441d7 Merge pull request #7 from Bara20/patch-1
Add CS_DMG_HEADSHOT define (r=psychonic).
2014-05-29 15:39:33 -04:00
Nicholas Hastings
6ee42dc7fe Really fix Mac build. 2014-05-29 15:09:38 -04:00
Nicholas Hastings
e0f6544c86 Fix Mac build. 2014-05-29 14:16:11 -04:00
Asher Baker
ab68e70998 Merge pull request #14 from psychonic/rip-magic
Replace magic numbers for sm_show_activity with named constants (r=asherkin).
2014-05-29 19:06:22 +01:00
Asher Baker
8be1feadc1 Merge pull request #13 from psychonic/adminsys2logic
Move adminsys and more natives from core to logic (r=asherkin).
2014-05-29 19:04:40 +01:00
Nicholas Hastings
beb3f8c1d4 Replace magic numbers for sm_show_activity with named constants. 2014-05-29 13:54:51 -04:00
Nicholas Hastings
35784c018d Move adminsys and more natives from core to logic. 2014-05-29 13:31:12 -04:00
Ruben Gonzalez
dc4c3f2f1a Update CS:GO Gamedata 2014-05-29 09:31:07 -04:00
Nicholas Hastings
9ff6cdef8c Merge pull request #12 from psychonic/more2logic
Move many player natives from core to logic.
2014-05-29 00:51:29 -04:00
Nicholas Hastings
dbc881143b Move many player natives from core to logic. 2014-05-28 23:20:41 -04:00
Kyle Sanderson
556d5e0949 Merge pull request #9 from KyleSanderson/amtlutilloudness
Quell isNaN MSVC performance warning.
2014-05-28 18:12:32 -07:00
Nicholas Hastings
6456b937be Fix build. 2014-05-28 21:10:40 -04:00
Kyle Sanderson
05d8622ea9 Quell isNaN MSVC performance warning. 2014-05-28 18:05:55 -07:00
Nicholas Hastings
f1387c892e Merge pull request #10 from psychonic/platform-defs
Fix up PLATFORM defs to match same-name ones in some SDK versions.
2014-05-28 21:01:17 -04:00
Nicholas Hastings
cae5d48d31 Merge pull request #8 from psychonic/travis-ci
Add support for Travis-CI
2014-05-28 20:56:14 -04:00
Nicholas Hastings
d83d72fd88 Give define value (of 1) to PLATFORM defs to match the same-name defs in some SDKs. 2014-05-28 20:36:52 -04:00
Nicholas Hastings
ff42e854bb Add Travis-CI config file. 2014-05-28 14:38:55 -04:00
Nicholas Hastings
a462feee61 Fix version script failing when HEAD directly contains hash instead of ref to it. 2014-05-28 14:38:17 -04:00
Bara
5eef4bccd3 Add CS_DMG_HEADSHOT define
but i don't know if it works in other games.

( I'm using this already in my only headshot plugin - https://forums.alliedmods.net/showthread.php?t=234169 and works fine in CSS/CSGO )
2014-05-28 15:32:58 +02:00
David Anderson
609fa50763 Revert "Add string literal concatenation using ellipses "..." (bug 4261, PR #5)"
This reverts commit 7868767dde.
2014-05-27 19:45:26 -07:00
Peace-Maker
7868767dde Add string literal concatenation using ellipses "..." (bug 4261, PR #5)
commit cd0d31805c
Author: Peace-Maker <peace-maker@wcfan.de>
Date:   Wed May 28 03:07:25 2014 +0200

    Ignore \ ctrlchar in lexing

commit cf617a4d20
Author: Peace-Maker <peace-maker@wcfan.de>
Date:   Tue May 27 13:32:59 2014 +0200

    Add string literal concatenation using ellipses "..." (bug 4261)

    Backported the changes CompuPhase did to the compiler to support string
    literal concatenation including all fixes in later commits from r30 on.
    http://code.google.com/p/pawnscript/source/detail?r=30

    Pawn uses ellipses "..." to concatenate so it looks like this:

    #define PROJECT_AUTHOR "Greyscale"
    #define PROJECT_COPYRIGHT "Copyright (C) 2010  " ... PROJECT_AUTHOR

    This would result in PROJECT_COPYRIGHT being defined as
    "Copyright (C) 2010  Greyscale"

    While i've been at it, that stringizing a macro parameter feature was
    ported too.
    From the changelog for version 3.3.4026
    (http://www.compuphase.com/pawn/pawnhistory.htm):

    The macro substition processor now recognizes the "#" character for
    "stringizing" a parameter. For example, if you have the definition
    #define log(%1) #%1
    Then the expression log(test) will result in "test".
    Note that concatenation of literal strings requires an ellipsis in pawn
    (which is different than C/C++). So to combine the parameter with
    literal strings, use a syntax like:
    #define log(%1) "logging: " ... #%1 ... "\n"
    The stringize operator is only available in the replacement text of a
    macro.

    Doing
    PrintToServer(log(hello));
    would print
    logging: hello\n
2014-05-27 19:30:13 -07:00
Peace-Maker
6ac013376f Call OnLibraryAdded for all available libraries (bug 5925, PR #4)
commit c1b064c9232553045f6f5bfaf7df0feb6ceb4571
Author: Peace-Maker <peace-maker@wcfan.de>
Date:   Wed May 28 03:16:22 2014 +0200

    Coding style adjustments

commit 37a16dbba24cc2035fb8838be8729067cb9bc13a
Author: Peace-Maker <peace-maker@wcfan.de>
Date:   Wed May 28 03:03:25 2014 +0200

    Load core.phrases before calling OnLibraryAdded

commit 676ac951111c7e8f565debbd4316850a4c4a8d00
Author: Peace-Maker <peace-maker@wcfan.de>
Date:   Tue May 27 13:18:48 2014 +0200

    Call OnLibraryAdded for all available librarys (bug 5925)

    When loading multiple plugins at once (on server start or mapchange)
    OnLibraryAdded is only called for libraries which are loaded after the
    current plugin. The plugin isn't informed about the libraries that were
    added before its OnPluginStart forward was called.

    This patch calls OnLibraryAdded for all already registered libraries the
    current plugin has missed.
2014-05-27 19:26:58 -07:00
David Anderson
cfde247ef7 Revert "Call OnLibraryAdded for all available librarys (bug 5925, pull request #4)"
This reverts commit ac11eb8910.
2014-05-27 19:25:52 -07:00