1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2024-12-02 14:24:16 +01:00
Commit Graph

235 Commits

Author SHA1 Message Date
Noah Kim
c71b457b06 Fix integer signedness warning in provider_source2.cpp 2023-10-22 16:17:54 -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
Nick Hastings
f710febc71 Fix build 2023-10-15 23:54:09 -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
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
Peak
2fe0c36845
Replace fscanf with faster parsing (#127) 2023-10-07 10:45:54 -07:00
GAMMACASE
62dd3dd4fa
Fix Source2 linux packaging layout (#120)
* Fix linux packaging layout
* Split binary layouts per sdk
2023-09-28 19:42:30 -07:00
Wend4r2
5ed17a9081 Malloc override on s2 2023-09-28 22:56:19 +03:00
Nick Hastings
fe826bbc51 More build fixes 2023-09-27 20:01:43 -04:00
Nick Hastings
85d410adbd More build fixes 2023-09-27 19:50:51 -04:00
Nick Hastings
40ee69cf78 More build fixes 2023-09-27 19:43:41 -04:00
Nick Hastings
2ce27062b0 Build fixes 2023-09-27 19:33:20 -04:00
Nick Hastings
799f1660a3 Build fixes 2023-09-27 18:52:44 -04:00
Nicholas Hastings
ef78389803
Merge branch 'master' into 🍿 2023-09-27 16:59:24 +00:00
GAMMACASE
0807f197cc Fix search paths cleanup 2023-09-27 16:56:39 +00:00
GAMMACASE
f6a8c7b482 Add missing cpp files to the compilation step 2023-09-27 16:56:39 +00:00
GAMMACASE
3b5d72df1d Obsolete KVLoadFromFile
Current implementation isn't used anywhere in the s2 provider and due to the removal of MemAllocScratch & MemFreeScratch I guess this could be obsoleted
2023-09-27 16:56:39 +00:00
Nick Hastings
c3f0c4c7b6 Revert "Fix build regression from #102"
This reverts commit df3d2e7aa5.
2023-09-24 13:46:41 -04:00
Nick Hastings
df3d2e7aa5 Fix build regression from #102 2023-09-24 13:37:25 -04:00
Benoist
2261ff4f9c
Fix sourcehook compilation warning (#106)
Fix sourcehook compilation warning.

Co-authored-by: Kenzzer <kenzzer@users.noreply.github.com>
2023-07-30 21:36:23 -07:00
Nick Hastings
ee9243c82f Replace hardcoded "ServerGameDLL" part of iface name in meta game output 2023-05-21 15:27:46 -04:00
Nick Hastings
817b5f940e Iterate on ConCommands, ClientCommands, and the split S1/S2 compat 2023-05-21 12:13:17 -04:00
Nick Hastings
e1a81e3c06 Improve CS2 support and S2 game detection 2023-05-21 12:07:05 -04:00
Nick Hastings
d62379244c Add and use META_IS_SOURCE2 define 2023-05-16 14:31:31 -04:00
Nick Hastings
acd8644688 Fix provider reaching calling directly outside for "meta" ConCommand 2023-04-02 12:08:28 -04:00
Nick Hastings
15c84495cb Don't compile in VSP bridge on s2. 2023-04-02 11:01:22 -04:00
Nick Hastings
6a1a79df42 Missed part of ClientCommand s2 hack removal outside of provider 2023-04-02 10:44:11 -04:00
Nick Hastings
8f619851df Remove ProvidedHooks enum. No longer used 2023-04-02 10:30:26 -04:00
Nick Hastings
088e2d80c7 Do s1/s2 split on GetCommandLineValue 2023-04-02 10:15:58 -04:00
Nick Hastings
b727c5455e Remove ClientCommand Source 2 hacks from outside of provider 2023-04-02 10:13:21 -04:00
Nick Hastings
ebf79cf73d Remove exporting of var accessor from provider. It's not used outside
(and shouldn't stay that way)
2023-04-02 09:31:12 -04:00
Nick Hastings
b336c9c30d Make ConVars opaque outside of providers 2023-04-02 09:30:08 -04:00
Nick Hastings
522d8f2034 Tie ConVar accessor to Source 1 provider. Stub out for Source 2 provider. 2023-04-02 09:11:53 -04:00
Nick Hastings
c0bd8e3b87 Remove unused IsRemotePrintingAvailable function 2023-04-01 23:00:03 -04:00
Nick Hastings
e5f5a8ce6f Round 1 of base provider split. (Only compilation has been tested) 2023-04-01 22:59:39 -04:00
Nick Hastings
3704e2f3c1 Add SOURCE_ENGINE_CS2 2023-04-01 10:34:52 -04:00
Nick Hastings
0c426d9bf3 Make provider overrides explicit 2023-04-01 00:20:46 -04:00
Nick Hastings
82cd23bc10 Add cs2 build. (No targets for now) 2023-04-01 00:19:42 -04:00
Nick Hastings
f9f7513399 Create initial provider split between Source and Source 2. 2023-04-01 00:02:45 -04:00
Nick Hastings
6bbcc152c3 Rename provider_ep2 -> provider_base 2023-03-31 23:49:24 -04:00
Nick Hastings
b19e5333f1 Remove unmaintained build files. 2023-03-31 23:22:01 -04:00
David Anderson
86b5917309 Only load plugins that have executable extensions.
Bug: issue #102
Test: meta load crab.yam with hl2sdk-mock
2023-02-20 11:08:01 -08:00
Nicholas Hastings
63c5c15a9f
Add support for Military Conflict: Vietnam (#100) 2022-12-20 01:27:03 +00:00
Spirrwell
437feb57bd
Split PVKII into its own engine branch (#97)
* Initial PVKII branch support

* Fix compiler error

* Add missing SE_PVKII check

* Update checkout-deps with 'pvkii'

* Change PVKII code to 10 and bump others by 1, including recommended change in provider_ep2.cpp:135
2022-10-24 16:57:18 +00:00
David Anderson
4f1721e9e4 Add support for hl2sdk-mock.
This also fixes UTIL_Relatize basically being completely bogus. For
backwards compat it's wrapped in a helper though.
2021-09-22 12:05:15 -07:00
David Anderson
acea12f29b Upgrade to AMBuild 2.2. 2020-08-19 14:41:55 -07:00
peace-maker
b267567e50
Fix detection of Blade Symphony on Windows x64 (#67)
* Fix detection of Blade Symphony on Windows x64

Port finding the module base address on x64 builds from SourceMod.
Fix a bunch of truncation warnings on x64 while at it too.

* Fix mm_TrimComments stripping last char before comment

```c
char test[] = "hi this is a a test!// comment";
mm_TrimComments(test);
puts(test); // prints "hi this is a test" without the !
```

* Fix unsigned comparison warnings

* Fix truncation warnings in SourceHook::String

* Fix unsigned comparison warnings

clang does have some nice analysis.
2020-06-25 00:04:36 +00:00
Asher Baker
1b449d20b8 Changes required for upcoming Blade Symphony update 2020-03-10 23:54:57 +00:00