1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2025-02-26 19:54:14 +01:00

208 Commits

Author SHA1 Message Date
Nick Hastings
878ec510ff fix(sourcehook): Disable tests on linux x64 for now 2024-08-04 15:04:01 -04:00
Nick Hastings
f5fe5a7944 fix(sourcehook): Fix compilation issues with standalone SourceHook 2024-08-04 15:03:50 -04:00
Kenzzer
236d6e50f1 lower log level 2024-08-03 11:25:54 -04:00
Kenzzer
e70219efff remove platform 64bits once more 2024-08-03 11:25:54 -04:00
Kenzzer
6fd50bebc7 requested changes 2024-08-03 11:25:54 -04:00
Kenzzer
7ce3c45e67 remove the test suite for now 2024-08-03 11:25:54 -04:00
Kenzzer
8025d8a139 remove sourcehook generated file 2024-08-03 11:25:54 -04:00
Kenzzer
d72a41ead3 Fix compilation for 32bits 2024-08-03 11:25:54 -04:00
Kenzzer
7504d9bdc6 make jit writer public 2024-08-03 11:25:54 -04:00
Kenzzer
7dcc7ee3ea avoid infinite logging loops 2024-08-03 11:25:54 -04:00
Kenzzer
cbb1be3e30 add x64 stub generator support 2024-08-03 11:25:54 -04:00
Kit o' Rifty
837fa2cfa5 Fix using updated SdkTarget in core/AMBuilder 2024-02-07 19:01:40 -05:00
David Anderson
b31f504fe3
Switch to a manifest-based build model. (#132)
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:23:38 -07:00
Nick Hastings
c3f0c4c7b6 Revert "Fix build regression from #102"
This reverts commit df3d2e7aa520aaa993933463aef7cb0f978fad11.
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
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
Nick Hastings
462babab06 Disable Dota 2 search path fixups until newer IFileSystem changes can be
better reversed.
2019-03-17 11:56:01 -04:00
David Anderson
7efa054b82
Merge pull request #52 from alliedmodders/warnings
Prevent some warnings for SM builds
2018-07-31 21:23:52 -07:00
Headline
d5030d0612 Re-add dummy, cast to void 2018-07-31 21:14:08 -07:00
Michael Flaherty
37738022ee dvander foxes 2018-07-31 13:17:48 -07:00
Kyle Sanderson
625c59dad5
Disable de-virtualization in sh-tests for gcc-4.9+ (#53)
* Update AMBuilder
* Re-add gcc6 to .travis.yml
* right; 🐍
* where Travis-CI?
* fix whitespace problems w/ travis.yml
2018-07-31 11:02:13 -07:00
Headline
b9b150e638 Fix warnings for SM builds 2018-07-29 04:09:18 -07: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
Nick Hastings
ad00df3864 Fix Dota build for hl2sdk-dota updates. 2018-07-07 14:06:14 -04:00
Nick Hastings
1b83816c7e Crank up SourceHook param count support from 17 to 20. 2018-07-07 08:45:23 -04: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
e770220590 Fix linking errors with some compilers when MM:S plugins call function in tier1 interface.h. (#34) 2017-09-07 12:39:27 -04:00
Nicholas Hastings
7079862139 Exclude hookgen on non-x86 instead of non-Windows Dota. 2017-04-22 21:25:27 -04:00
Nicholas Hastings
565a184994 Msg -> DevMsg for S2 GameInit/LevelInit/LevelShutdown messages. 2017-04-16 16:21:02 -04:00
Nicholas Hastings
16a270764c Use new SDK compat shim instead of ifdef for missing Error() in S2. 2017-04-15 10:06:52 -04:00
Nicholas Hastings
a8110f530b Merge 'master' into S2. 2017-04-15 09:43:39 -04:00
Nicholas Hastings
ba7b123f87 Remove unintended change that snuck in with last commit. 2017-02-18 14:15:07 -05:00
Nicholas Hastings
b070ac2f6b [Dota] Fix for getting INetworkGameServer after factory removal. 2017-02-18 10:23:59 -05:00
Nicholas Hastings
3eb98bd1c3 [Dota] Fix for new param added in INetworkGameServer::StartChangeLevel. 2017-02-18 10:23:20 -05:00
Nicholas Hastings
760126ea8c Fix more issues compiling on GCC 5+. 2016-11-09 18:08:42 -05:00
Nicholas Hastings
937b4016ff Nuke core-legacy - MM:S v1.4 API. (#29) 2016-10-11 13:29:37 -04:00
Nicholas Hastings
9a8ebe74ff Update for StartChangeLevel prototype change, again. 2016-10-10 14:54:54 -04:00
Nicholas Hastings
2785cd2573 Update for StartChangeLevel prototype change. 2016-08-29 19:13:07 -04:00
David Anderson
0eaf14f9ec Update configure.py and buildscripts to AMBuild API v2.1. 2016-07-23 19:25:54 -07:00
Nicholas Hastings
878f7531fb Fix a few unrelated compile warnings. 2016-07-22 14:04:02 -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