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

45 Commits

Author SHA1 Message Date
Nick Hastings
6bbcc152c3 Rename provider_ep2 -> provider_base 2023-03-31 23:49:24 -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
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
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
Scott Ehlert
79435093d9
64-bit support for CSGO on Linux and macOS (#35) 2017-12-20 01:11:57 -06:00
Nicholas Hastings
565a184994 Msg -> DevMsg for S2 GameInit/LevelInit/LevelShutdown messages. 2017-04-16 16:21:02 -04: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
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
Nicholas Hastings
4007ae8310 Disable dynamic hooking iface on non-Windows Dota.
This should really be disabled on x64 (or ported to work on it), but
not sure how to best check that in the AMBuilder file.
2016-07-22 13:59:58 -04:00
Nicholas Hastings
366a27e10c Ditch "source2" naming, restoring "dota". 2016-07-22 13:57:54 -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
36cb59aada Fix temporary meta_level_init, etc. commands not working. 2015-07-10 09:30:28 -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
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
Nicholas Hastings
1e6af85d64 Improve game detection in core (bug 6020). 2014-06-04 12:31: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
Nicholas Hastings
0452567b43 Updated for latest hl2sdk-dota changes. 2013-05-13 15:03:41 -04:00
Nicholas Hastings
de9e05f224 Remove unused variables and defines (bug 5523, r=asherkin). 2012-10-26 11:19:45 -04: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
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
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
8fbb8ba7b1 Merge. 2009-02-18 01:40:46 -06:00
Scott Ehlert
303176ab70 Added support for Dark Messiah engine and game. (no bug, r=me).
The development of this feature would not be possible without the support of the following people from the game's community:
Dylan Riggs, Carl Pettengill, Ed Moreland, and Christian.
2009-02-18 01:38:23 -06:00
David Anderson
cc2234ba88 Fixed "late" load parameter always being true in VSP mode (bug 3532, r=ds). 2009-02-17 13:58:25 -05:00
David Anderson
81d61c64a5 Normalized line endings to unix (no bug). 2009-02-16 17:54:39 -05:00
Scott Ehlert
774af58103 Fixed bug where plugin aliases defined in VDF files on core (Orange Box and L4D engines) didn't work. 2008-12-22 22:55:55 -06:00
Scott Ehlert
ed58f87408 El horrible: Fixed build. 2008-11-24 07:47:08 -06:00
Scott Ehlert
e329d40384 The 'meta refresh' command now handles plugins loaded via VDF files. 2008-11-24 07:25:46 -06:00
Scott Ehlert
73ea97f1dc Replaced SVN_FULL_VERSION with MMS_FULL_VERSION and SVN_FILE_VERSION with MMS_FILE_VERSION in version headers. 2008-11-24 03:50:12 -06:00
David Anderson
54feb19d21 Fixed up some cruft. 2008-11-24 00:11:54 -06:00
David Anderson
9066e6f509 Fixed core VSP listening when bridged as a VSP. 2008-11-23 23:54:03 -06:00
David Anderson
408f22481e Fixed core GameDLL loading not having a VSP listener. 2008-11-23 23:45:57 -06:00
David Anderson
105665bdaf Added gamedll bridging to ep2/l4d provider (bug 3412). 2008-11-23 23:22:33 -06:00
Scott Ehlert
ce7a3beab0 LookForVDFs() in core now 'relatizes' paths to VDFs that it finds.
This eliminates the annoying warning in L4D:
***VPK: FindFile Attempting to use full path with VPK file!
2008-11-19 01:17:48 -06:00
Scott Ehlert
d19cedd4eb Changed FindFirstFile code in LookForVDFs to look for *.vdf instead of *.* 2008-11-19 01:14:16 -06:00
David Anderson
fe68f19d79 Redid versioning for Mercurial.
--HG--
rename : core-legacy/svn_version.h => core-legacy/version.h
rename : core-legacy/svn_version.tpl => core-legacy/version.tpl
2008-11-18 02:28:38 -06:00
David Anderson
05a178f338 Loads again. 2008-11-16 03:44:21 -06:00
David Anderson
c1815bbf95 Fixed up bugs and linking errors - loads but crashes. 2008-11-16 03:41:17 -06:00
David Anderson
57509d39bf Initial commit of vsp bridge for new core. Not tested, barely compiles. 2008-11-15 23:46:27 -06:00
David Anderson
e19413dd5b Some reorganization.
--HG--
rename : sourcemm/IPluginManager.h => core/IPluginManager.h
rename : sourcemm/ISmmAPI.h => core/ISmmAPI.h
rename : sourcemm/ISmmPlugin.h => core/ISmmPlugin.h
rename : sourcemm/ISmmPluginExt.h => core/ISmmPluginExt.h
rename : sourcemm/LICENSE.txt => core/LICENSE.txt
rename : sourcemm/Makefile => core/Makefile
rename : sourcemm/changelog.txt => core/changelog.txt
rename : sourcemm/episode1/console.cpp => core/episode1/console.cpp
rename : sourcemm/episode1/console.h => core/episode1/console.h
rename : sourcemm/episode1/convar_smm.h => core/episode1/convar_smm.h
rename : sourcemm/episode1/msvc8/sourcemm.sln => core/episode1/msvc8/sourcemm.sln
rename : sourcemm/episode1/msvc8/sourcemm.vcproj => core/episode1/msvc8/sourcemm.vcproj
rename : sourcemm/episode1/provider_ep1.cpp => core/episode1/provider_ep1.cpp
rename : sourcemm/episode1/provider_ep1.h => core/episode1/provider_ep1.h
rename : sourcemm/episode1/vsp_listener.cpp => core/episode1/vsp_listener.cpp
rename : sourcemm/episode1/vsp_listener.h => core/episode1/vsp_listener.h
rename : sourcemm/metamod.cpp => core/metamod.cpp
rename : sourcemm/metamod.h => core/metamod.h
rename : sourcemm/metamod_console.cpp => core/metamod_console.cpp
rename : sourcemm/metamod_console.h => core/metamod_console.h
rename : sourcemm/metamod_oslink.cpp => core/metamod_oslink.cpp
rename : sourcemm/metamod_oslink.h => core/metamod_oslink.h
rename : sourcemm/metamod_plugins.cpp => core/metamod_plugins.cpp
rename : sourcemm/metamod_plugins.h => core/metamod_plugins.h
rename : sourcemm/metamod_provider.h => core/metamod_provider.h
rename : sourcemm/metamod_util.cpp => core/metamod_util.cpp
rename : sourcemm/metamod_util.h => core/metamod_util.h
rename : sourcemm/episode2/console.cpp => core/provider/console.cpp
rename : sourcemm/episode2/console.h => core/provider/console.h
rename : sourcemm/episode2/msvc8/sourcemm.sln => core/provider/msvc8/sourcemm.sln
rename : sourcemm/episode2/msvc8/sourcemm.vcproj => core/provider/msvc8/sourcemm.vcproj
rename : sourcemm/episode2/msvc9/sourcemm.sln => core/provider/msvc9/sourcemm.sln
rename : sourcemm/episode2/msvc9/sourcemm.vcproj => core/provider/msvc9/sourcemm.vcproj
rename : sourcemm/episode2/provider_ep2.cpp => core/provider/provider_ep2.cpp
rename : sourcemm/episode2/provider_ep2.h => core/provider/provider_ep2.h
rename : sourcemm/episode2/vsp_listener.cpp => core/provider/vsp_listener.cpp
rename : sourcemm/episode2/vsp_listener.h => core/provider/vsp_listener.h
rename : sourcehook/FastDelegate.h => core/sourcehook/FastDelegate.h
rename : sourcehook/generate/FastDelegate.h => core/sourcehook/generate/FastDelegate.h
rename : sourcehook/generate/FastDelegate.hxx => core/sourcehook/generate/FastDelegate.hxx
rename : sourcehook/generate/generate => core/sourcehook/generate/generate
rename : sourcehook/generate/generate.bat => core/sourcehook/generate/generate.bat
rename : sourcehook/generate/sh_memfuncinfo.h => core/sourcehook/generate/sh_memfuncinfo.h
rename : sourcehook/generate/sh_memfuncinfo.hxx => core/sourcehook/generate/sh_memfuncinfo.hxx
rename : sourcehook/generate/shworker.bin => core/sourcehook/generate/shworker.bin
rename : sourcehook/generate/shworker.exe => core/sourcehook/generate/shworker.exe
rename : sourcehook/generate/shworker/Makefile => core/sourcehook/generate/shworker/Makefile
rename : sourcehook/generate/shworker/fd_hopter.cpp => core/sourcehook/generate/shworker/fd_hopter.cpp
rename : sourcehook/generate/shworker/msvc7/shworker.vcproj => core/sourcehook/generate/shworker/msvc7/shworker.vcproj
rename : sourcehook/generate/shworker/msvc8/shworker.vcproj => core/sourcehook/generate/shworker/msvc8/shworker.vcproj
rename : sourcehook/generate/shworker/shworker.cpp => core/sourcehook/generate/shworker/shworker.cpp
rename : sourcehook/generate/sourcehook.h => core/sourcehook/generate/sourcehook.h
rename : sourcehook/generate/sourcehook.hxx => core/sourcehook/generate/sourcehook.hxx
rename : sourcehook/sh_list.h => core/sourcehook/sh_list.h
rename : sourcehook/sh_memfuncinfo.h => core/sourcehook/sh_memfuncinfo.h
rename : sourcehook/sh_memory.h => core/sourcehook/sh_memory.h
rename : sourcehook/sh_pagealloc.h => core/sourcehook/sh_pagealloc.h
rename : sourcehook/sh_stack.h => core/sourcehook/sh_stack.h
rename : sourcehook/sh_string.h => core/sourcehook/sh_string.h
rename : sourcehook/sh_tinyhash.h => core/sourcehook/sh_tinyhash.h
rename : sourcehook/sh_vector.h => core/sourcehook/sh_vector.h
rename : sourcehook/sourcehook.cpp => core/sourcehook/sourcehook.cpp
rename : sourcehook/sourcehook.h => core/sourcehook/sourcehook.h
rename : sourcehook/sourcehook_hookmangen.cpp => core/sourcehook/sourcehook_hookmangen.cpp
rename : sourcehook/sourcehook_hookmangen.h => core/sourcehook/sourcehook_hookmangen.h
rename : sourcehook/sourcehook_hookmangen_x86.h => core/sourcehook/sourcehook_hookmangen_x86.h
rename : sourcehook/sourcehook_impl.h => core/sourcehook/sourcehook_impl.h
rename : sourcehook/sourcehook_impl_chook.h => core/sourcehook/sourcehook_impl_chook.h
rename : sourcehook/sourcehook_impl_chookidman.h => core/sourcehook/sourcehook_impl_chookidman.h
rename : sourcehook/sourcehook_impl_chookmaninfo.h => core/sourcehook/sourcehook_impl_chookmaninfo.h
rename : sourcehook/sourcehook_impl_ciface.h => core/sourcehook/sourcehook_impl_ciface.h
rename : sourcehook/sourcehook_impl_cproto.h => core/sourcehook/sourcehook_impl_cproto.h
rename : sourcehook/sourcehook_impl_cvfnptr.h => core/sourcehook/sourcehook_impl_cvfnptr.h
rename : sourcehook/sourcehook_pibuilder.h => core/sourcehook/sourcehook_pibuilder.h
rename : sourcehook/test/Makefile => core/sourcehook/test/Makefile
rename : sourcehook/test/generate.bat => core/sourcehook/test/generate.bat
rename : sourcehook/test/main.cpp => core/sourcehook/test/main.cpp
rename : sourcehook/test/msvc7/test.vcproj => core/sourcehook/test/msvc7/test.vcproj
rename : sourcehook/test/msvc8/test.vcproj => core/sourcehook/test/msvc8/test.vcproj
rename : sourcehook/test/sourcehook_test.h => core/sourcehook/test/sourcehook_test.h
rename : sourcehook/test/test1.cpp => core/sourcehook/test/test1.cpp
rename : sourcehook/test/test2.cpp => core/sourcehook/test/test2.cpp
rename : sourcehook/test/test3.cpp => core/sourcehook/test/test3.cpp
rename : sourcehook/test/test4.cpp => core/sourcehook/test/test4.cpp
rename : sourcehook/test/testbail.cpp => core/sourcehook/test/testbail.cpp
rename : sourcehook/test/testbail.h => core/sourcehook/test/testbail.h
rename : sourcehook/test/testbail2.cpp => core/sourcehook/test/testbail2.cpp
rename : sourcehook/test/testevents.h => core/sourcehook/test/testevents.h
rename : sourcehook/test/testhookmangen.cpp => core/sourcehook/test/testhookmangen.cpp
rename : sourcehook/test/testhookmangen.h => core/sourcehook/test/testhookmangen.h
rename : sourcehook/test/testhookmangen.hxx => core/sourcehook/test/testhookmangen.hxx
rename : sourcehook/test/testlist.cpp => core/sourcehook/test/testlist.cpp
rename : sourcehook/test/testmanual.cpp => core/sourcehook/test/testmanual.cpp
rename : sourcehook/test/testmulti.cpp => core/sourcehook/test/testmulti.cpp
rename : sourcehook/test/testrecall.cpp => core/sourcehook/test/testrecall.cpp
rename : sourcehook/test/testreentr.cpp => core/sourcehook/test/testreentr.cpp
rename : sourcehook/test/testref.cpp => core/sourcehook/test/testref.cpp
rename : sourcehook/test/testrefret.cpp => core/sourcehook/test/testrefret.cpp
rename : sourcehook/test/testvphooks.cpp => core/sourcehook/test/testvphooks.cpp
rename : sourcemm/svn_version.h => core/svn_version.h
rename : sourcemm/svn_version.tpl => core/svn_version.tpl
rename : sourcemm/version.rc => core/version.rc
2008-11-14 04:04:02 -06:00