Little cleanup (#461)
* Remove FAKEMETA leftovers * Move "require_module" native to where it belongs * Remove broken AMX module support * Remove useless natives * Remove "alloc_amxmemory" and "free_amxmemory" functions * Remove "strip_name" function * Clean engine a bit * Export "GiveFnptrsToDll" (Windows) (Core) * memcpy -> ke::SafeStrcpy * Export GiveFnptrsToDll in modules * Update msvc project files
This commit is contained in:
		
				
					committed by
					
						
						Vincent Herbet
					
				
			
			
				
	
			
			
			
						parent
						
							d2e736b10a
						
					
				
				
					commit
					d6e71c8f4f
				
			@@ -24,5 +24,9 @@ binary.sources = [
 | 
			
		||||
 | 
			
		||||
if builder.target_platform == 'windows':
 | 
			
		||||
    binary.sources += ['version.rc']
 | 
			
		||||
    
 | 
			
		||||
    binary.compiler.linkflags += [
 | 
			
		||||
      '/EXPORT:GiveFnptrsToDll=_GiveFnptrsToDll@8,@1',
 | 
			
		||||
      '/SECTION:.data,RW',
 | 
			
		||||
    ]
 | 
			
		||||
 | 
			
		||||
AMXX.modules += [builder.Add(binary)]
 | 
			
		||||
 
 | 
			
		||||
@@ -73,6 +73,8 @@
 | 
			
		||||
      <TargetMachine>MachineX86</TargetMachine>
 | 
			
		||||
      <IgnoreSpecificDefaultLibraries>LIBCMT;</IgnoreSpecificDefaultLibraries>
 | 
			
		||||
      <ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
 | 
			
		||||
      <AdditionalOptions>/EXPORT:GiveFnptrsToDll=_GiveFnptrsToDll@8,@1 %(AdditionalOptions)</AdditionalOptions>
 | 
			
		||||
      <SpecifySectionAttributes>.data,RW</SpecifySectionAttributes>
 | 
			
		||||
    </Link>
 | 
			
		||||
    <PostBuildEvent>
 | 
			
		||||
      <Command>
 | 
			
		||||
@@ -97,6 +99,8 @@
 | 
			
		||||
      <EnableCOMDATFolding>true</EnableCOMDATFolding>
 | 
			
		||||
      <ImportLibrary>$(OutDir)hamsandwich.lib</ImportLibrary>
 | 
			
		||||
      <TargetMachine>MachineX86</TargetMachine>
 | 
			
		||||
      <AdditionalOptions>/EXPORT:GiveFnptrsToDll=_GiveFnptrsToDll@8,@1 %(AdditionalOptions)</AdditionalOptions>
 | 
			
		||||
      <SpecifySectionAttributes>.data,RW</SpecifySectionAttributes>
 | 
			
		||||
    </Link>
 | 
			
		||||
  </ItemDefinitionGroup>
 | 
			
		||||
  <ItemGroup>
 | 
			
		||||
@@ -138,4 +142,4 @@
 | 
			
		||||
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
 | 
			
		||||
  <ImportGroup Label="ExtensionTargets">
 | 
			
		||||
  </ImportGroup>
 | 
			
		||||
</Project>
 | 
			
		||||
</Project>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user