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

126 Commits

Author SHA1 Message Date
Nick Hastings
e1a81e3c06 Improve CS2 support and S2 game detection 2023-05-21 12:07:05 -04:00
Nick Hastings
b19e5333f1 Remove unmaintained build files. 2023-03-31 23:22:01 -04:00
Nick Hastings
0e35864432 Revert "add support for IServerPluginCallbacks v3 and v4"
This reverts commit 4e5ddf833b.

Fixes #101
2023-02-15 19:41:48 -05:00
old-pigeon
4e5ddf833b add support for IServerPluginCallbacks v3 and v4 2023-02-09 01:58:39 -05: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
a919db5694 Fix lin/mac build 2020-03-11 22:40:19 +00:00
Asher Baker
1b449d20b8 Changes required for upcoming Blade Symphony update 2020-03-10 23:54:57 +00:00
Kyle Sanderson
e573602f81
Add additional test coverage to Travis-CI. (#50)
* NPOTB: clang clang clang goes the trolly, gcc7 goes the bell.

* Update AMBuildScript

* Initialize engine_path when abspath fails.

* Fix lptr being uninitialized when getcwd fails.

* Remove GCC6; deeper issues than this PR will cover
2018-07-27 22:03:33 -07:00
Nicholas Hastings
30c6e9107d
Normalize paths when comparing. (fixes #37). (#38)
When resolving bin paths from gameinfo to platform-specific absolute paths, we end
up with ".." instances on x64, causing the paths being compared to look different. MM:S
then cannot differentiate it's server bin path from the game's server bin, causing us to
load ourselves as the server bin over and over again, causing a stack overflow.
2018-01-28 11:49:28 -05:00
Scott Ehlert
79435093d9
64-bit support for CSGO on Linux and macOS (#35) 2017-12-20 01:11:57 -06:00
Nicholas Hastings
1f0124d499
Split Day of Infamy to separate engine build (#36) 2017-11-03 14:52:37 -04:00
Nicholas Hastings
8d1526f188 Fix loading on Source SDK 2013 mods. 2017-06-21 07:40:49 -04:00
Nicholas Hastings
9af2b18a7e Restore the comma to the people. 2017-04-16 16:25:34 -04:00
Nicholas Hastings
558a5bb446 Restore Dark Messiah compat. 2017-04-15 10:23:36 -04:00
Nicholas Hastings
a8110f530b Merge 'master' into S2. 2017-04-15 09:43:39 -04:00
Nicholas Hastings
760126ea8c Fix more issues compiling on GCC 5+. 2016-11-09 18:08:42 -05:00
Nicholas Hastings
46846712d4 Fix loader's CreateInterface not being exported with GCC 5 and later. 2016-11-09 16:20:26 -05:00
Nicholas Hastings
0509616baf Update loader for BM:S again. 2016-11-07 21:02:30 -05:00
Nicholas Hastings
937b4016ff Nuke core-legacy - MM:S v1.4 API. (#29) 2016-10-11 13:29:37 -04:00
David Anderson
1b91dc28ca Add --target-arch support. 2016-07-23 19:29:56 -07:00
David Anderson
0eaf14f9ec Update configure.py and buildscripts to AMBuild API v2.1. 2016-07-23 19:25:54 -07:00
Nicholas Hastings
314e116927 Remove old Source1 Dota detection. Not used anymore. 2016-07-22 15:39:14 -04:00
Nicholas Hastings
878f7531fb Fix a few unrelated compile warnings. 2016-07-22 14:04:02 -04:00
Nicholas Hastings
18bdaf4732 Hack to account for Dota server bin name being "libserver". 2016-07-22 14:03:21 -04:00
Nicholas Hastings
a2400e3681 Change AllowDedicatedServer hook to be Windows-only.
It's not needed elsewhere right now.
2016-07-22 14:02:37 -04:00
Nicholas Hastings
a88de796a3 Build Dota core and loader + versionlib as 64-bit.
TODO: we need both x86 and x64 of versionlib and loader.
2016-07-22 14:01:34 -04:00
Nicholas Hastings
366a27e10c Ditch "source2" naming, restoring "dota". 2016-07-22 13:57:54 -04:00
Nicholas Hastings
e12bd47c32 Upload loader for Black Mesa engine changes. 2015-12-22 06:51:14 -08:00
Nicholas Hastings
4472cc4cc7 Update AllowDedicatedServers offset in loader. 2015-12-18 08:42:41 -05:00
Nicholas Hastings
f17a958c66 Merge branch 'master' into S2
Conflicts:
	configure.py
	core/sourcehook/test/main.cpp
2015-11-23 15:12:55 -05:00
Nicholas Hastings
c9dae39e6b Update offset for AllowDedicatedServer in loader. 2015-09-22 07:33:27 -04:00
Nicholas Hastings
112cbcaa3a Revert "Remove hook on AllowDedicatedServer - no longer necessary."
This reverts commit 4461b5e1b8.
2015-09-21 13:29:01 -04:00
Nicholas Hastings
5ecfdcaa2b Revert "Hook Connect on ISource2Server instead of ISource2ServerConfig."
This reverts commit c07bab9763.
2015-09-21 13:28:52 -04:00
Nicholas Hastings
c06dc2dfed Fix detection on TF2-branch games after recent updates. 2015-09-10 18:22:11 -04:00
Nicholas Hastings
c07bab9763 Hook Connect on ISource2Server instead of ISource2ServerConfig. 2015-08-31 14:59:29 -04:00
Nicholas Hastings
4461b5e1b8 Remove hook on AllowDedicatedServer - no longer necessary. 2015-08-31 14:05:09 -04:00
Scott Ehlert
95f2033341 Support loading Source 2 game DLL from different paths based on OS and arch. 2015-07-09 16:30:13 -05:00
Nicholas Hastings
f65b6c9856 Fix core load on s2. 2015-07-09 14:27:18 -04:00
Nicholas Hastings
30b7be46a8 Merge loader, loader2. Rename env var HL2SDKS2 -> HL2SDKSOURCE2. 2015-07-09 14:09:56 -04:00
Nicholas Hastings
4b75bcb431 Renamed s2 -> source2. 2015-07-09 13:15:41 -04:00
Nicholas Hastings
269555d2fb Update MM:S to support Black Mesa.
Uses new bms branch in our hl2sdk repo.
2015-05-06 17:51:54 -04:00
Nicholas Hastings
8cfab6c637 Merge new versioning logic from SourceMod, fixes manual builds and --gen=vs. 2015-04-11 10:25:06 -04:00
Nicholas Hastings
36d26dd1b4 Fix build. 2015-03-21 14:31:12 -04:00
Nicholas Hastings
e6ef9ad31f Fix game detection on Nuclear Dawn (bug 6327). 2015-03-21 08:53:58 -04:00
Nicholas Hastings
1af0cde81a Fix Mac build. 2014-08-16 11:57:24 -04:00
Nicholas Hastings
dd9860321f Undo accidental EOL conversion in loader.cpp. 2014-08-16 11:16:44 -04:00