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

127 Commits

Author SHA1 Message Date
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
David Anderson
d97f5d9fe7 Bumped all versions. 2009-02-25 20:26:19 -05:00
Scott Ehlert
054120c5b3 Ugh, fixed core Linux makefile for Dark Messiah. 2009-02-20 07:50:02 -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
David Anderson
ee50d4adfc Fixed mprotect() being called with invalid length values (bug 3642, r=ds). 2009-02-16 15:52:46 -05:00
Scott Ehlert
1f263e3c88 Merged changes from mmsource-1.7 branch. 2008-12-29 11:42:44 -06: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
13ad066d93 Merged changes from 1.7 branch. 2008-12-07 23:51:58 -06:00
Scott Ehlert
c229ac6a4c Shell script code in Makefiles is now POSIX compliant and is able to be run on dash. 2008-12-07 23:49:13 -06:00
Scott Ehlert
d438d73454 Merged changes from 1.7 branch. 2008-11-26 08:48:14 -06:00
David Anderson
6608e4bf4d Bumped build changesets. 2008-11-26 01:51:57 -06:00
David Anderson
1e6413ac0d Bumped build IDs again. 2008-11-26 01:49:17 -06:00
Scott Ehlert
d8fa2493c4 Removed tag for 1.7.0 2008-11-26 01:40:41 -06:00
David Anderson
2c969fdaf3 Bumped versions. 2008-11-26 00:30:49 -06:00
David Anderson
ab4dfdc722 Updated changelog, added license headers. 2008-11-26 00:19:30 -06:00
Scott Ehlert
6d2145cee3 Bumped central to 1.8 2008-11-26 00:09:17 -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
Scott Ehlert
09a410314e Fixed core/version.rc for windows, so the filename field has the correct engine.
Also applied fix for other builds just in case target filename ever changes.
2008-11-24 03:30:52 -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
Scott Ehlert
08a462ac61 Added unload logic for core and core-legacy; no crash on exit anymore 2008-11-18 07:20:38 -06:00
David Anderson
b77a352f7e Another version.rc bug. 2008-11-18 04:57:10 -06:00
David Anderson
129fc75971 Oh my god, more version.rc fixes. 2008-11-18 04:48:28 -06:00
David Anderson
392f3478eb More version.rc fixes. 2008-11-18 04:44:36 -06:00
David Anderson
284ab1bdb1 Fixed version.rc files for win32. 2008-11-18 04:41:15 -06:00
David Anderson
ba07ce8299 Fixed makefile for l4d release. 2008-11-18 03:32:29 -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
3fceddfdd3 Added vsp bridge file to core. 2008-11-16 22:33:16 -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
3134b5be4e Moved builds out of provider.
--HG--
rename : core/provider/msvc8/sourcemm.sln => core/msvc8/sourcemm.sln
rename : core/provider/msvc8/sourcemm.vcproj => core/msvc8/sourcemm.vcproj
rename : core/provider/msvc9/sourcemm.sln => core/msvc9/sourcemm.sln
rename : core/provider/msvc9/sourcemm.vcproj => core/msvc9/sourcemm.vcproj
2008-11-15 21:54:46 -06:00
David Anderson
5b81f97c52 New top-levl folder for miscellany.
--HG--
rename : core-1.4/SourceMM.Doxyfile => support/SourceMM.Doxyfile
rename : core/changelog.txt => support/changelog.txt
2008-11-14 04:32:06 -06:00
David Anderson
c238d16ba1 More reorganization.
--HG--
rename : core/LICENSE.txt => LICENSE.txt
2008-11-14 04:29:33 -06:00
David Anderson
20552a8939 More re-arranging. Not what we discussed in IRC but I think it works out better, Make can't deal with upward dependencies nicely.
--HG--
rename : installer/Attach.cfg => cruft/installer/Attach.cfg
rename : installer/Attach.dpr => cruft/installer/Attach.dpr
rename : installer/Attach.exe => cruft/installer/Attach.exe
rename : installer/HL2Launch.cfg => cruft/installer/HL2Launch.cfg
rename : installer/HL2Launch.dpr => cruft/installer/HL2Launch.dpr
rename : installer/HL2Launch.exe => cruft/installer/HL2Launch.exe
rename : installer/MMS_Installer.cfg => cruft/installer/MMS_Installer.cfg
rename : installer/MMS_Installer.dpr => cruft/installer/MMS_Installer.dpr
rename : installer/MMS_Installer.exe => cruft/installer/MMS_Installer.exe
rename : installer/MMS_Installer.res => cruft/installer/MMS_Installer.res
rename : installer/UnitFunctions.pas => cruft/installer/UnitFunctions.pas
rename : installer/UnitInstall.pas => cruft/installer/UnitInstall.pas
rename : installer/UnitPackSystem.pas => cruft/installer/UnitPackSystem.pas
rename : installer/UnitSelectModPath.dfm => cruft/installer/UnitSelectModPath.dfm
rename : installer/UnitSelectModPath.pas => cruft/installer/UnitSelectModPath.pas
rename : installer/UnitfrmMain.dfm => cruft/installer/UnitfrmMain.dfm
rename : installer/UnitfrmMain.pas => cruft/installer/UnitfrmMain.pas
rename : installer/UnitfrmProxy.dfm => cruft/installer/UnitfrmProxy.dfm
rename : installer/UnitfrmProxy.pas => cruft/installer/UnitfrmProxy.pas
rename : installer/del.bat => cruft/installer/del.bat
rename : installer/files/Readme.txt => cruft/installer/files/Readme.txt
rename : installer/install.bmp => cruft/installer/install.bmp
rename : installer/upx.exe => cruft/installer/upx.exe
2008-11-14 04:14:35 -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