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

196 Commits

Author SHA1 Message Date
David Anderson
4a652ceea6 Use variadic templates for ExecutableClass (core changes). 2015-09-25 17:53:45 -07:00
David Anderson
60f878f132 Merge pull request #22 from alliedmodders/tl
Replace SetOverrideResult/GetRecallIface with variadic templates.
2015-09-25 17:19:00 -07:00
David Anderson
4477448924 Replace SetOverrideResult/GetRecallIface with variadic templates. 2015-09-24 21:16:29 -07:00
David Anderson
219cd7203f Fix testvphooks. 2015-09-24 21:03:49 -07:00
David Anderson
5f44dd2d22 Enable SourceHook tests on Travis. 2015-09-24 20:40:05 -07:00
Nicholas Hastings
81d2973129 Disable VDF plugin loading on Source2 until KV issues are worked out. 2015-09-22 07:33:50 -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
030706fdcd Fix recent regression with finding engine ptr on CS:S, DoD:S, HL2:DM.
They are still only have engine v21, not yet v22 (let alone v23).
2015-09-14 09:54:46 -04:00
Nicholas Hastings
e4cfea7227 Shim for TF2-branch games to find latest, non-shimmed engine iface. 2015-09-10 20:41:27 -04:00
Nicholas Hastings
e29ff511ff Fix failing to load as VSP is GameDLL iface version >= 10. 2015-09-10 18:50:00 -04:00
Nicholas Hastings
4461b5e1b8 Remove hook on AllowDedicatedServer - no longer necessary. 2015-08-31 14:05:09 -04:00
Nicholas Hastings
a73b63cb51 Initial version of GameInit, LevelInit, LevelShutdown hookup; removed cmds to manually trigger them. 2015-07-11 13:59:51 -04:00
Nicholas Hastings
1c7fb146ff Fix breakage from iserverplugin.h removal. 2015-07-11 13:58:53 -04:00
Nicholas Hastings
ff2e763b99 Fix server exiting on map change. 2015-07-10 09:30:51 -04:00
Nicholas Hastings
36cb59aada Fix temporary meta_level_init, etc. commands not working. 2015-07-10 09:30:28 -04:00
Scott Ehlert
77e74a5eeb Partial 64-bit support for SourceHook on Windows 2015-07-09 15:12:16 -05:00
Scott Ehlert
1f1aca02f3 Fix build of SourceHook tests 2015-07-09 14:24:18 -05:00
Nicholas Hastings
30b7be46a8 Merge loader, loader2. Rename env var HL2SDKS2 -> HL2SDKSOURCE2. 2015-07-09 14:09:56 -04:00
Nicholas Hastings
cb8b0fd8d5 Remove some testing crap. 2015-07-09 06:54:44 -04:00
Nicholas Hastings
fcb4849b3c S2 WiP 2015-07-08 21:39:28 -04:00
Nicholas Hastings
5d54a0abb7 Improve "meta version" output and remove version code duplication.
Version output improvements:
* Added more consistent indentation. (Matches SM's version output formatting now).
* Added missing newline after compile date.
* Added Build ID.
* Removed duplicated compile time.
* Re-ordered lines to have version numbers before compile/build information. (Again, to be formatted similar to SM's and more readable).

Refactored to have version and credits output logic not duplicated between server command and client command.

In core, moved engine names to near top of file instead of having huge list right in the middle of command output.
2015-05-12 15:29:23 -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
2800d66712 Convert compile-time checks to use static_assert.
Fixes unused-local-typedefs warnings when checks pass.
2015-04-15 08:16:16 -07:00
Nicholas Hastings
8cfab6c637 Merge new versioning logic from SourceMod, fixes manual builds and --gen=vs. 2015-04-11 10:25:06 -04:00
Kyle Sanderson
d3bfaa302d Don't use engine specific IFACE status enum in MM:S. 2015-01-20 16:30:13 -08:00
Kyle Sanderson
37b6268cff Relocate META_IFACE enum to ISmmPlugin.h 2015-01-20 16:24:52 -08:00
Nicholas Hastings
5667763019 Revert "Branch fixes."
This reverts commit ed081f045e.
2014-09-11 19:15:41 -04:00
Nicholas Hastings
27cec07977 Revert "Hacks to correct linking."
This reverts commit ef1cdc9767.
2014-09-11 19:15:28 -04:00
David Anderson
ef1cdc9767 Hacks to correct linking. 2014-09-10 23:12:40 -07:00
David Anderson
ed081f045e Branch fixes. 2014-09-10 23:12:34 -07:00
Nicholas Hastings
1e6af85d64 Improve game detection in core (bug 6020). 2014-06-04 12:31:46 -04:00
David Anderson
5f1f405956 Fix. 2014-05-25 03:41:32 -07:00
David Anderson
1817478b0e Add rev count back. 2014-05-25 03:26:08 -07:00
David Anderson
149bc768b7 Port build process to Git. 2014-05-25 02:16:03 -07:00
Nicholas Hastings
c9d17a6ca7 Add support for Contagion (bug 6006).
--HG--
extra : rebase_source : 97d4ba1776b724715142ee84df64af9437e86d4c
2014-03-23 23:37:46 -04:00
David Anderson
f9d3b05fdb Extract version info into a static library to speed up builds (bug 5990, r=ds). 2013-11-23 19:10:27 -08:00
David Anderson
e9a426ca46 Upgrade build scripts to AMBuild 2 (bug 5970, r=ds). 2013-11-18 09:46:46 -08:00
Nicholas Hastings
d4ffbd8710 Add support for Insurgency (bug 5950, r=asherkin). 2013-10-09 09:00:23 -04:00
Nicholas Hastings
c8a3fd5959 Add support for Blade Symphony (bug 5948, r=asherkin). 2013-10-09 08:46:13 -04:00
Nicholas Hastings
1af37d530f Add support for Source SDK Base 2013 (bug 5916, r=asherkin). 2013-10-08 21:01:53 -04:00
Nicholas Hastings
17ae4f0c49 Fixed MetamodVersionInfo::GetGameDir always returning NULL or garbage. 2013-08-03 13:56:58 -04:00
Nicholas Hastings
6abcf7283e Split TF2, DoD:S, HL2:DM, and ND to separate binaries (bug 5667, r=asherkin). 2013-07-31 06:49:21 -04:00
Nicholas Hastings
947a33c10e Updated for latest hl2sdk-dota changes. 2013-07-12 02:31:24 -04:00
Nicholas Hastings
421ac4487b Updated makefiles.
--HG--
extra : rebase_source : 9ec29eb9c771c0e92cf8e3d1a1ee16e8f1ab6b54
2013-06-30 10:39:04 -04:00
Nicholas Hastings
0452567b43 Updated for latest hl2sdk-dota changes. 2013-05-13 15:03:41 -04:00
Nicholas Hastings
29a7b11189 Build fixes for recent hl2sdk-dota updates. 2013-04-22 19:01:48 -04:00
Nicholas Hastings
0f2d7aa234 Added support for Dota 2 (bug 5640). 2013-03-04 10:38:17 -05:00
Peace-Maker
afa0fcaa74 Updated for CS:S sync (r=asherkin). 2013-02-05 21:26:40 +00:00
Nicholas Hastings
e3e40c67a0 Removed usermessage api support for CS:GO (bug 5578, r=asherkin). 2013-01-22 21:38:16 -05:00
Nicholas Hastings
bb906b94c5 Updated Makefiles (NPOTB). 2012-10-27 11:48:06 -04:00
Nicholas Hastings
de9e05f224 Remove unused variables and defines (bug 5523, r=asherkin). 2012-10-26 11:19:45 -04:00
Nicholas Hastings
76858fc2f3 Fixed core Makefile trying to link interfaces lib on non-csgo engines (NPOTB). 2012-10-26 11:19:02 -04:00
Asher Baker
a87dedcf75 Fixed include order issue introduced in 276192fd70a1 (bug 5079, bug 5469). 2012-09-03 13:43:02 +01:00
Nicholas Hastings
15d5b335c0 Fixed incompatibility introduced by cset a1b97ab6e0b1 (bug 5369). 2012-08-20 14:40:23 -04:00
Nicholas Hastings
a883459f16 Updated project files for CS:S as new engine (bug 5369) (NPOTB). 2012-08-20 14:25:56 -04:00
Nicholas Hastings
b5771f3c96 Split CS:S support off to a separate engine/build (bug 5369, r=asherkin). 2012-08-20 14:25:29 -04:00
Asher Baker
37abddb712 Added META_NO_HL2SDK define to stop MM:S headers using the HL2SDK (bug 5079, r=dvander). 2012-08-20 14:23:58 -04:00
Nicholas Hastings
59b71fbcc6 Added missing vc10 proj configs, updated to only build necessary core ver (NPOTB). 2012-07-20 17:26:56 -04:00
Nicholas Hastings
ed44092793 Overhauled vc10 proj files, fixed .rc errors, added combined sln, added MMSOUTDIR env var support (NPOTB). 2012-07-20 17:06:10 -04:00
Asher Baker
756fbf3bca Backed out changeset: ba8cd35102b1 (bug 5079) 2012-05-27 02:44:19 +01:00
Asher Baker
46787b81df Merge. 2012-05-27 02:16:48 +01:00
Asher Baker
03ebf0a76c Added META_NO_HL2SDK define to stop MM:S headers using the HL2SDK (bug 5079, r=dvander). 2012-05-27 02:16:08 +01:00
Nicholas Hastings
fb73ddece1 Fixed passage of non-literals as error and warning format strings (r=DS). 2012-05-26 17:46:02 -04:00
Nicholas Hastings
3aa20f1405 Added support for CS: Global Offensive (bug 5228, r=DS). 2012-05-26 17:07:26 -04:00
Nicholas Hastings
c857fe1ea1 Remove std string include from core and core-legacy headers (bug 5304, r=DS). 2012-05-26 15:43:00 -04:00
David Anderson
12ff1edd6a Delay unloading of plugins until it is absolutely safe (bug 5034, r=ds). 2011-12-12 15:53:56 -06:00
David Anderson
3cdeb6d0d2 Fix page protection bug causing a rare startup crash (bug 5133, r=fyren). 2011-10-15 22:16:50 -07:00
Nicholas Hastings
3e67d47414 Added support for E.Y.E. Divine Cybermancy (bug 5034, r=DS). 2011-08-08 08:57:03 -04:00
Nicholas Hastings
8d7e8e26b7 Load activities now finish when filesystem iface cannot be found (bug 4958, r=DS). 2011-06-18 14:14:47 -04:00
Nicholas Hastings
5dd80ddebc Updated core vcproj (NPOTB). 2011-06-17 23:03:23 -04:00
Fyren
0093bc3135 Update Makefile (NPOTB) 2011-04-27 09:49:25 -07:00
Scott Ehlert
29df2351c9 Added detection for clang compiler and fixed various warnings triggered by it (bug 4877, r=dvander). 2011-04-23 21:35:10 -05:00
Nicholas Hastings
bb3fd3ea2d Added support for Bloody Good Time (bug 4784, r=DS). 2011-01-10 14:09:50 -05:00
Pavol Marko
31be74561d Fixed hooking vtables with unaligned thunk entries, and returning references in manual hooks. (bug 4655, r=dvander) 2010-10-16 23:21:58 -07:00
Scott Ehlert
769ce745b0 Added support for Alien Swarm (bug 4529, r=dvander). 2010-07-22 03:22:27 -05:00
Scott Ehlert
05d2af1eef Fixed problem on OBV where alternately loaded plugins (CreateInterface_MMS) could be incorrectly told they were on the OB engine (bug 4491, r=dvander).
This only happened when there was more than one plugin that loaded this way. And the first plugin to load had to fail on OBV first so that OB could be tried. It was being permanently set to OB for future plugin loads and this caused problems.
2010-07-01 02:43:22 -05:00
Scott Ehlert
a8f53b8e14 Allow loading of plugins without "_i486" in the filename when ".so" extension is ommitted on Linux (bug 4410, r=dvander). 2010-05-19 01:28:55 -05:00
Scott Ehlert
31c8cc9681 Mac OS X build fixes (bug 4391, r=dvander). 2010-05-14 00:34:56 -05:00
Scott Ehlert
73e2daec56 Converted build system to AMBuild (bug 4403, r=dvander).
--HG--
rename : support/pushbuild.txt => pushbuild.txt
2010-05-14 00:34:36 -05:00
Fyren
80910d9449 Updated Makefile for latest OB Valve (bug 4372, r=dvander, a=blocking). 2010-04-28 23:19:40 -07:00
Scott Ehlert
42688bbb28 Updated stub and sample plugins to compile for latest L4D2 update (bug 4360, r=dvander). 2010-04-23 16:59:32 -04:00
Scott Ehlert
2c5cd02440 Fixed loading on Left 4 Dead 2 DLC (The Passing) (bug 4358, r=dvander). 2010-04-23 16:55:51 -04:00
David Anderson
0a7253a190 Re-added -dev tag, bumped version to 1.9.0. 2009-12-19 17:20:54 -08:00
David Anderson
7549974a6a Pinned release version strings. 2009-12-19 16:50:07 -08:00
Scott Ehlert
1f1d6e57f9 Rewrote user message caching code to always use IServerGameDLL::GetUserMessageInfo (bug 4117, r=dvander).
Games where the above function can crash are handled by detouring tier0's Error() function and jumping back to our own code. So in theory this should work on all games now.
2009-12-10 00:59:50 -06:00
Scott Ehlert
d1e8ae40af Fixed crashes in code generated by SourceHook's HookManGen on Mac OS X (bug 3514, r=dvander).
This fixes two problems:
1) On OS X structures/objects with sizes of 1, 2, 4, or 8 are returned from functions in registers, not memory addresses.
2) A function returning anything which was 8 bytes in size was crashing. This problem affected all compilers/operating systems.
2009-11-24 07:33:52 -06:00
David Anderson
2e4b4c9f62 Fixed SourceHook v5 includes in core to be usable on Mac OS X (bug 3514, r=ds). 2009-11-24 07:19:57 -06:00
Scott Ehlert
15e694bce8 Fixed VSP listener on Linux when loaded via gameinfo.txt on Left 4 Dead 2 (bug 4113, r=dvander).
This moves the actual VSP listener to the loader and so "plugin_load" is given the path to the loader rather than one of the engine specific binaries.
2009-11-22 23:54:55 -06:00
Scott Ehlert
a2bd947492 Fixed exit crash on Linux on Left 4 Dead 2 (bug 4114, r=dvander). 2009-11-17 04:49:17 -05:00
Scott Ehlert
b90b93e849 Fixed issue with vsnprintf macro being defined under MSVC 9/2008 (bug 3887, r=dvander). 2009-11-14 00:49:35 -06:00
Scott Ehlert
7f8a2f37f3 Nothing to see here. Move along. 2009-11-02 11:08:56 -06:00
David Anderson
f8898db698 Added inline game_dir helper to MetamodVersionInfo (no bug, r=ds). 2009-10-29 21:41:07 -07:00
Scott Ehlert
9408b525ac Added separate build for Orange Box Valve engine (bug 4084, r=dvander).
Also extended MetamodVersionInfo with a game_dir member for getting the game name/directory.
And bumped METAMOD_PLAPI_VERSION to 15 for the above.
2009-10-29 16:23:25 -05:00
Scott Ehlert
562da82efe Oh. Fixed Linux build by pulling tier0 and vstdlib libraries from SDK directory. 2009-10-29 11:26:05 -05:00
Scott Ehlert
07a7cc20cd Added support for Left 4 Dead 2 (bug 4078, r=dvander). 2009-10-29 10:57:27 -05:00
Scott Ehlert
a6b2f0c80f Changed my name in the credits for great justice! 2009-10-29 05:21:54 -05:00
Scott Ehlert
60bfe29189 Fixed line endings on a few files. 2009-10-29 00:07:23 -05:00
Scott Ehlert
4ca2a32878 Ran versionchanger script for consistency. 2009-02-25 22:48:58 -06:00
Scott Ehlert
db5f531c78 Merged changes from 1.7 branch. 2009-02-25 22:40:11 -06:00
Scott Ehlert
ddb11f2e31 Re-added -dev tag for snapshots. 2009-02-25 22:13:30 -06:00