1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2024-11-28 10:24:20 +01:00
Commit Graph

1278 Commits

Author SHA1 Message Date
GAMMACASE
6b8ae69227 Improve s2_sample_mm build script
Now it's possible to use run-time variables to compute the target paths/defines for includes/libs/defines
2023-12-21 13:09:36 -05:00
Kaela
bc36e072a1 Update sh_memory.h (tidy up things) 2023-12-18 19:31:18 -05:00
KaelaSavia
f2d9d3e9e5 Replace fscanf with faster parsing #2 2023-12-18 19:31:18 -05:00
Juice
62f21ea058 S2 Sample: fix Hook_ClientPutInServer message formatting 2023-12-11 10:31:58 -05:00
Nick Hastings
31eff17e47 Merge branch 'master' of https://github.com/alliedmodders/metamod-source 2023-12-09 09:13:17 -05:00
Nick Hastings
17a036585c S2 sample: fix memoverride path 2023-12-09 09:13:10 -05:00
Nick Hastings
5ccaa37289 S2 sample: Add note about --hl2sdk-manifests to readme 2023-12-09 09:12:59 -05:00
Mai Ooizumi
47b23c6c16
new SourceHook syntax for s2_sample_mm (#151)
- SH_ADD_HOOK_MEMFUNC and SH_REMOVE_HOOK_MEMFUNC has been deprecated since SouceHook v5.0.
- source: https://wiki.alliedmods.net/Sourcehook_Development#Old_Macros

Signed-off-by: Mai Ooizumi <mai@imomoe.moe>
2023-12-03 16:32:59 -08:00
vanz666
36b9858a11 Update AMBuildScript 2023-11-18 21:18:46 -05:00
vanz666
942c9d7963 Update AMBuildScript 2023-11-18 21:18:46 -05:00
vanz666
1a0c220656 Update AMBuildScript 2023-11-18 21:18:46 -05:00
Nick Hastings
c5456647c1 Upgrade Python version in CI 2023-11-18 21:17:56 -05:00
Nick Hastings
1489f33b25 Update hl2sdk-manifests submodule 2023-11-15 19:09:10 -05:00
Nick Hastings
fb6638d10e S2 sample: Add --hl2sdk-manifests configure arg 2023-11-15 19:09:10 -05:00
Nick Hastings
bde97a6dff Remove s2 sample plugin hl2sdk-manifest submodule 2023-11-15 19:09:10 -05:00
Nick Hastings
90521711f4 CS2: Add network_connections proto with new ambuild for updated sdk 2023-11-15 19:09:10 -05:00
Nick Hastings
30f0aa65b4 Move standard source 2 include source files in HL2Library 2023-11-15 19:09:10 -05:00
Nick Hastings
6c62ea0360 Update s2 sample protoc usage for sdkhelpers update.
(TODO: update submodule after merge)
2023-11-15 19:09:10 -05:00
Nick Hastings
c0dd94fb76 Update S2 sample plugin to use hl2sdk-manifests, with its in-progress proto support 2023-11-15 19:09:10 -05:00
Nick Hastings
9948ad3d03 Fix unescaped regex warning in build script 2023-11-13 19:55:09 -05:00
Nick Hastings
eb4fcf21ea Update amtl 2023-11-12 12:42:07 -05:00
Nick Hastings
a8050d0da7 Fix MM:S no longer being to load on games built with old, incompatible libm (fixes #146) 2023-11-11 12:26:12 -05:00
GAMMACASE
6ee74f047a Fix IMetamodListener events in s2_sample_mm 2023-10-30 09:29:45 -07:00
GAMMACASE
e67e2a9e73 Fix MSVC 2017 build issues 2023-10-28 07:01:44 -07:00
Nick Hastings
07a479f2d5 Fix build when no SDKs are specified (for running SourceHook tests) 2023-10-26 14:49:34 -05:00
Nick Hastings
7d7946ae4d Replace csgo and dota CI targets with cs2 2023-10-26 14:49:34 -05:00
Nick Hastings
9104644ae6 Fix Linux CI not finding SDKs 2023-10-26 14:49:34 -05:00
Nicholas Hastings
f376348feb
Merge pull request #142 from alliedmodders/psy/s2-safety-check
Add check for -dedicated or -insecure on S2
2023-10-26 12:56:27 -05:00
Nick Hastings
af1f4f4607 Don't attempt to load on Source 2 games if neither -dedicated nor -insecure are present 2023-10-26 13:54:51 -04:00
Nicholas Hastings
6a05a21fd4
Merge pull request #141 from noahbkim/fix-provider_source2
Fix integer signedness warning in provider_source2.cpp
2023-10-22 16:57:29 -05:00
Noah Kim
c71b457b06 Fix integer signedness warning in provider_source2.cpp 2023-10-22 16:17:54 -04:00
Nicholas Hastings
33a43fc929
Merge pull request #140 from noahbkim/feature/disable-auto-versioning
Expose --disable-auto-versioning
2023-10-18 22:30:12 -04:00
Noah Kim
144fbb52c4 Expose --disable-auto-versioning 2023-10-18 20:33:06 -04:00
sappho
e857fbe90c
convert UTIL_TrimRight/TrimLeft to use std string internally (#121)
Convert UTIL_TrimRight/TrimLeft to use std string internally
2023-10-17 21:32:20 -07:00
David Anderson
e5b704ff23 Use clang-14 to work around a PLT/GOT bug. 2023-10-16 21:17:01 -07:00
Nick Hastings
f710febc71 Fix build 2023-10-15 23:54:09 -04:00
Nick Hastings
d4e4e62871 Merge branch 'master' of https://github.com/alliedmodders/metamod-source 2023-10-15 23:07:44 -04:00
Nick Hastings
b2b9f3d287 S2: rework GameInit/LevelInit/LevelShutdown flow to better match S1 2023-10-15 23:06:58 -04:00
Nick Hastings
2f0d9fca20 S2: set g_pFullFileSystem 2023-10-15 23:06:12 -04:00
Nick Hastings
8c394c03c2 S2: fix ClientCommand not getting unhooked on shutdown 2023-10-15 23:05:37 -04:00
David Anderson
79975541ac Clean up the SDK detection algorithm to fix hl2dm errors. 2023-10-15 12:57:10 -07:00
Nick Hastings
3955c1b8fc Fix regression causing --sdks ambuild option to be ignored 2023-10-14 13:09:59 -04:00
Nick Hastings
65ef24fe47 Fix regex backslash escaping in build script 2023-10-14 12:54:09 -04:00
David Anderson
f71a1d37ec Fix minimal rebuilds on buildbot. 2023-10-13 21:30:02 -07:00
sappho
437de2b6fe
Switch to C++17 (#128) 2023-10-13 10:01:09 -07:00
David Anderson
fc17601a96 Move bootstrap.pl to Python.
This also moves env var control back into the local build, so we don't
have to restart buildbot to change that.
2023-10-12 22:36:16 -07:00
David Anderson
9dd5144128 Update manifests; statically link libstdc++ now. 2023-10-11 21:19:16 -07:00
David Anderson
e11a90b5db Update manifests. 2023-10-11 09:48:57 -07:00
David Anderson
1aae42c579
Switch to a manifest-based build model. (#131)
Rather than hardcode a bunch of SDK stuff, this is an attempt to move
SDK information to a declarative model. Each SDK gets a manifest, and
the manifests are stored in a shared repository.

Manifests encode stuff like "what platforms does this SDK build on" and
"what link flags do I need on each architecture".

This will hopefully reduce the complexity of the build scripts, since
going forward we only have to add new manifests, rather than figure out
how to attach more gunk into the build logic.
2023-10-10 22:17:27 -07:00
Nicholas Hastings
36cc78aea4
Merge pull request #129 from GAMMACASE/sample_memoverride_fix
Fix potential issues with s2_sample_mm & memoverride on linux
2023-10-08 14:10:43 -04:00