Permalink
Browse files

Nuke core-legacy - MM:S v1.4 API. (#29)

  • Loading branch information...
psychonic committed Oct 11, 2016
1 parent a112f84 commit 937b4016ffab32c3e583737375dbf31cfcbce61d
Showing with 125 additions and 24,420 deletions.
  1. +0 −2 .travis.yml
  2. +2 −4 AMBuildScript
  3. +0 −20 core-legacy/AMBuilder
  4. +0 −721 core-legacy/CPlugin.cpp
  5. +0 −159 core-legacy/CPlugin.h
  6. +0 −653 core-legacy/CSmmAPI.cpp
  7. +0 −88 core-legacy/CSmmAPI.h
  8. +0 −137 core-legacy/IPluginManager.h
  9. +0 −349 core-legacy/ISmmAPI.h
  10. +0 −430 core-legacy/ISmmPlugin.h
  11. +0 −79 core-legacy/Makefile
  12. +0 −808 core-legacy/concommands.cpp
  13. +0 −44 core-legacy/concommands.h
  14. +0 −528 core-legacy/convar_smm.h
  15. +0 −133 core-legacy/gamedll_bridge.cpp
  16. +0 −20 core-legacy/msvc10/mm_core-legacy.sln
  17. +0 −170 core-legacy/msvc10/mm_core-legacy.vcxproj
  18. +0 −133 core-legacy/msvc10/mm_core-legacy.vcxproj.filters
  19. +0 −20 core-legacy/msvc9/mm_core-legacy.sln
  20. +0 −357 core-legacy/msvc9/mm_core-legacy.vcproj
  21. +0 −81 core-legacy/oslink.cpp
  22. +0 −93 core-legacy/oslink.h
  23. +0 −1,065 core-legacy/sourcehook/FastDelegate.h
  24. +0 −5 core-legacy/sourcehook/generate/generate
  25. +0 −8 core-legacy/sourcehook/generate/generate.bat
  26. BIN core-legacy/sourcehook/generate/shworker.bin
  27. BIN core-legacy/sourcehook/generate/shworker.exe
  28. +0 −13 core-legacy/sourcehook/generate/shworker/Makefile
  29. +0 −370 core-legacy/sourcehook/generate/shworker/fd_hopter.cpp
  30. +0 −137 core-legacy/sourcehook/generate/shworker/msvc7/shworker.vcproj
  31. +0 −208 core-legacy/sourcehook/generate/shworker/msvc8/shworker.vcproj
  32. +0 −767 core-legacy/sourcehook/generate/shworker/shworker.cpp
  33. +0 −1,532 core-legacy/sourcehook/generate/sourcehook.hxx
  34. +0 −291 core-legacy/sourcehook/sh_list.h
  35. +0 −147 core-legacy/sourcehook/sh_listcat.h
  36. +0 −322 core-legacy/sourcehook/sh_memfuncinfo.h
  37. +0 −340 core-legacy/sourcehook/sh_memory.h
  38. +0 −237 core-legacy/sourcehook/sh_stack.h
  39. +0 −401 core-legacy/sourcehook/sh_string.h
  40. +0 −534 core-legacy/sourcehook/sh_tinyhash.h
  41. +0 −519 core-legacy/sourcehook/sh_vector.h
  42. +0 −1,463 core-legacy/sourcehook/sourcehook.cpp
  43. +0 −3,412 core-legacy/sourcehook/sourcehook.h
  44. +0 −817 core-legacy/sourcehook/sourcehook_impl.h
  45. +0 −33 core-legacy/sourcehook/test/AMBuilder
  46. +0 −63 core-legacy/sourcehook/test/Makefile
  47. +0 −130 core-legacy/sourcehook/test/main.cpp
  48. +0 −374 core-legacy/sourcehook/test/msvc7/test.vcproj
  49. +0 −517 core-legacy/sourcehook/test/msvc8/test.vcproj
  50. +0 −27 core-legacy/sourcehook/test/sourcehook_test.h
  51. +0 −723 core-legacy/sourcehook/test/test1.cpp
  52. +0 −172 core-legacy/sourcehook/test/test2.cpp
  53. +0 −232 core-legacy/sourcehook/test/test3.cpp
  54. +0 −425 core-legacy/sourcehook/test/test4.cpp
  55. +0 −115 core-legacy/sourcehook/test/testbail.cpp
  56. +0 −39 core-legacy/sourcehook/test/testbail.h
  57. +0 −36 core-legacy/sourcehook/test/testbail2.cpp
  58. +0 −161 core-legacy/sourcehook/test/testevents.h
  59. +0 −282 core-legacy/sourcehook/test/testlist.cpp
  60. +0 −369 core-legacy/sourcehook/test/testmanual.cpp
  61. +0 −106 core-legacy/sourcehook/test/testmulti.cpp
  62. +0 −231 core-legacy/sourcehook/test/testrecall.cpp
  63. +0 −609 core-legacy/sourcehook/test/testreentr.cpp
  64. +0 −162 core-legacy/sourcehook/test/testref.cpp
  65. +0 −202 core-legacy/sourcehook/test/testrefret.cpp
  66. +0 −276 core-legacy/sourcehook/test/testvphooks.cpp
  67. +0 −656 core-legacy/sourcemm.cpp
  68. +0 −119 core-legacy/sourcemm.h
  69. +0 −340 core-legacy/util.cpp
  70. +0 −109 core-legacy/util.h
  71. +0 −102 core-legacy/version.rc
  72. +0 −138 core-legacy/vsp_bridge.cpp
  73. +0 −2 core/AMBuilder
  74. +1 −1 core/ISmmPluginExt.h
  75. +1 −45 core/metamod_console.cpp
  76. +7 −0 core/metamod_provider.h
  77. +1 −1 core/provider/console.cpp
  78. +1 −1 core/provider/console.h
  79. +110 −4 core/provider/provider_ep2.cpp
  80. +1 −0 core/provider/provider_ep2.h
  81. +1 −1 loader/loader.cpp
View
@@ -26,9 +26,7 @@ script:
- CC=clang-3.7 CXX=clang-3.7 python ../configure.py --enable-optimize --enable-tests --sdks=
- ambuild
- ./core/sourcehook/test/test_sourcehook/test_sourcehook -v
- - ./core-legacy/sourcehook/test/test_sourcehook/test_sourcehook -v
- cd .. && mkdir build-sh-debug && cd build-sh-debug
- CC=clang-3.7 CXX=clang-3.7 python ../configure.py --enable-debug --enable-tests --sdks=
- ambuild
- ./core/sourcehook/test/test_sourcehook/test_sourcehook -v
- - ./core-legacy/sourcehook/test/test_sourcehook/test_sourcehook -v
View
@@ -17,7 +17,7 @@ WinLinux = ['windows', 'linux']
WinLinuxMac = ['windows', 'linux', 'mac']
PossibleSDKs = {
- 'episode1': SDK('HL2SDK', '1.ep1', '1', 'EPISODEONE', WinLinux, 'episode1'),
+ 'episode1': SDK('HL2SDK', '2.ep1', '1', 'EPISODEONE', WinLinux, 'episode1'),
'ep2': SDK('HL2SDKOB', '2.ep2', '3', 'ORANGEBOX', WinLinux, 'orangebox'),
'css': SDK('HL2SDKCSS', '2.css', '6', 'CSS', WinLinuxMac, 'css'),
'hl2dm': SDK('HL2SDKHL2DM', '2.hl2dm', '7', 'HL2DM', WinLinuxMac, 'hl2dm'),
@@ -253,7 +253,7 @@ class MMSConfig(object):
os.path.join(context.sourcePath, 'loader'),
]
- defines = ['SE_' + self.sdks[i].define + '=' + self.sdks[i].code for i in self.sdks]
+ defines = ['SE_' + PossibleSDKs[i].define + '=' + PossibleSDKs[i].code for i in PossibleSDKs]
compiler.defines += defines
paths = [['public'],
['public', 'engine'],
@@ -415,13 +415,11 @@ if MMS.use_auto_versioning():
BuildScripts = [
'loader/AMBuilder',
- 'core-legacy/AMBuilder',
'core/AMBuilder',
]
if getattr(builder.options, 'enable_tests', False):
BuildScripts += [
'core/sourcehook/test/AMBuilder',
- 'core-legacy/sourcehook/test/AMBuilder',
]
if builder.backend == 'amb2':
View
@@ -1,20 +0,0 @@
-# vim: set sts=2 ts=8 sw=2 tw=99 et ft=python:
-import os
-
-if 'episode1' in MMS.sdks:
- sdk = MMS.sdks['episode1']
- name = 'metamod.' + sdk.ext
- binary = MMS.HL2Library(builder, name, sdk)
- binary.sources += [
- 'sourcemm.cpp',
- 'concommands.cpp',
- 'oslink.cpp',
- 'util.cpp',
- 'CSmmAPI.cpp',
- 'CPlugin.cpp',
- 'gamedll_bridge.cpp',
- 'vsp_bridge.cpp',
- 'sourcehook/sourcehook.cpp',
- ]
- nodes = builder.Add(binary)
- MMS.binaries += [nodes]
Oops, something went wrong.

0 comments on commit 937b401

Please sign in to comment.