new file names+headers
This commit is contained in:
parent
2a7b5b714d
commit
b311a9ccc3
|
@ -1,5 +1,5 @@
|
|||
//#define __cswonbuild__ // comment when compiling for STEAM
|
||||
#define CS_WON_BUILD
|
||||
//#define CS_WON_BUILD
|
||||
|
||||
/* AMX Mod X
|
||||
* Counter-Strike Module
|
||||
|
@ -113,7 +113,8 @@ pfnmodule_engine_g* g_engModuleFunc;
|
|||
#define OFFSET_CSDEATHS 448 + EXTRAOFFSET // differs -1 from STEAM
|
||||
// "weapon_*" entities
|
||||
#define OFFSET_WEAPONTYPE 43 + EXTRAOFFSET // same as STEAM
|
||||
//#define OFFSET_CLIPAMMO 51 + EXTRAOFFSET // not tested under WON!!!!!!!!!!!!!!!!!!
|
||||
//jghg I uncommented this so it would compile
|
||||
#define OFFSET_CLIPAMMO 51 + EXTRAOFFSET // not tested under WON!!!!!!!!!!!!!!!!!!
|
||||
#define OFFSET_SILENCER_FIREMODE 70 + EXTRAOFFSET // differs -4 from STEAM
|
||||
// "hostage_entity" entities
|
||||
#define OFFSET_HOSTAGEFOLLOW 86 + EXTRAOFFSET // same as STEAM
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
ProjectType="Visual C++"
|
||||
Version="7.10"
|
||||
Name="cstrike"
|
||||
ProjectGUID="{AB148B92-4F47-42E6-8268-AB4E588EC6A2}"
|
||||
SccProjectName=""
|
||||
SccLocalPath="">
|
||||
<Platforms>
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
rm meta_api.o
|
||||
rm engine.so
|
||||
|
||||
#use VexD's optimizations
|
||||
|
||||
gcc -static -march=i686 -O6 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fno-exceptions -fno-rtti -s -Wall -Wno-unknown-pragmas -DOPT_TYPE=\"optimized\" -lstdc++ -fPIC -I. -I../metamod/metamod -I../hlsdk/multiplayer/engine -I../hlsdk/multiplayer/common -I../hlsdk/multiplayer/pm_shared -I../hlsdk/multiplayer/dlls -I../hlsdk/multiplayer -I../amxmodx/ -c meta_api.cpp -o meta_api.o
|
||||
|
||||
gcc -static -march=i686 -O6 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fno-exceptions -fno-rtti -s -Wall -Wno-unknown-pragmas -DOPT_TYPE=\"optimized\" -shared -ldl -lm -lstdc++ meta_api.o -o engine.so
|
|
@ -1,4 +1,4 @@
|
|||
LIBRARY engine_mm
|
||||
LIBRARY engine_amx
|
||||
EXPORTS
|
||||
GiveFnptrsToDll @1
|
||||
Meta_Attach @2
|
||||
|
|
|
@ -17,7 +17,7 @@ CFG=engine - Win32 Debug
|
|||
!MESSAGE
|
||||
!MESSAGE Possible choices for configuration are:
|
||||
!MESSAGE
|
||||
!MESSAGE "engine_mm - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
|
||||
!MESSAGE "engine_amx - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
|
||||
!MESSAGE "engine - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
|
||||
!MESSAGE
|
||||
|
||||
|
@ -29,7 +29,7 @@ CPP=cl.exe
|
|||
MTL=midl.exe
|
||||
RSC=rc.exe
|
||||
|
||||
!IF "$(CFG)" == "engine_mm - Win32 Release"
|
||||
!IF "$(CFG)" == "engine_amx - Win32 Release"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 0
|
||||
|
@ -52,7 +52,7 @@ BSC32=bscmake.exe
|
|||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386
|
||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"release/engine_mm.dll"
|
||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"release/engine_amx.dll"
|
||||
|
||||
!ELSEIF "$(CFG)" == "engine - Win32 Debug"
|
||||
|
||||
|
@ -83,7 +83,7 @@ LINK32=link.exe
|
|||
|
||||
# Begin Target
|
||||
|
||||
# Name "engine_mm - Win32 Release"
|
||||
# Name "engine_amx - Win32 Release"
|
||||
# Name "engine - Win32 Debug"
|
||||
# Begin Group "Source Files"
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ Microsoft Developer Studio Workspace File, Format Version 6.00
|
|||
|
||||
###############################################################################
|
||||
|
||||
Project: "engine_mm"=".\engine.dsp" - Package Owner=<4>
|
||||
Project: "engine_amx"=".\engine.dsp" - Package Owner=<4>
|
||||
|
||||
Package=<5>
|
||||
{{{
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
* version.
|
||||
*/
|
||||
|
||||
#define VERSION "0.15"
|
||||
#define VERSION "0.16"
|
||||
|
||||
plugin_info_t Plugin_info = {
|
||||
|
||||
|
|
|
@ -39,12 +39,12 @@
|
|||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
OutputFile="release/engine_mm.dll"
|
||||
OutputFile="release/engine_amx.dll"
|
||||
LinkIncremental="1"
|
||||
SuppressStartupBanner="TRUE"
|
||||
ModuleDefinitionFile=".\engine.def"
|
||||
ProgramDatabaseFile=".\Release/engine_mm.pdb"
|
||||
ImportLibrary=".\Release/engine_mm.lib"
|
||||
ProgramDatabaseFile=".\Release/engine_amx.pdb"
|
||||
ImportLibrary=".\Release/engine_amx.lib"
|
||||
TargetMachine="1"/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
|
|
Loading…
Reference in New Issue
Block a user