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
Nicholas Hastings
937b4016ff
Nuke core-legacy - MM:S v1.4 API. ( #29 )
2016-10-11 13:29:37 -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
8cfab6c637
Merge new versioning logic from SourceMod, fixes manual builds and --gen=vs.
2015-04-11 10:25:06 -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
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
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
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
0452567b43
Updated for latest hl2sdk-dota changes.
2013-05-13 15:03:41 -04:00
Nicholas Hastings
0f2d7aa234
Added support for Dota 2 (bug 5640).
2013-03-04 10:38:17 -05: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
Nicholas Hastings
3aa20f1405
Added support for CS: Global Offensive (bug 5228, r=DS).
2012-05-26 17:07:26 -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
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
bb3fd3ea2d
Added support for Bloody Good Time (bug 4784, r=DS).
2011-01-10 14:09:50 -05:00
Scott Ehlert
769ce745b0
Added support for Alien Swarm (bug 4529, r=dvander).
2010-07-22 03:22:27 -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
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
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
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
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
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
daef40e504
Merge.
2008-11-18 02:28:55 -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
Scott Ehlert
9d4dae81e3
Added Windows support for loader, core, and core-legacy
...
--HG--
rename : core-legacy/msvc9/sourcemm.sln => core-legacy/msvc9/mm_core-legacy.sln
rename : core-legacy/msvc9/sourcemm.vcproj => core-legacy/msvc9/mm_core-legacy.vcproj
rename : core/msvc9/sourcemm.sln => core/msvc9/mm_core.sln
rename : core/msvc9/sourcemm.vcproj => core/msvc9/mm_core.vcproj
2008-11-17 00:57: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