From da881dff573c8d70b48cf747b552c9a0e03072c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johnny=20Bergstr=C3=B6m?= Date: Mon, 16 Feb 2004 09:50:52 +0000 Subject: [PATCH] Removed some debug messages that slipped into previous versions + changed to fun.dll --- dlls/fun/fun.cpp | 5 +---- dlls/fun/fun.dsp | 6 +++--- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/dlls/fun/fun.cpp b/dlls/fun/fun.cpp index f5780389..b360983a 100755 --- a/dlls/fun/fun.cpp +++ b/dlls/fun/fun.cpp @@ -516,7 +516,6 @@ static cell AMX_NATIVE_CALL set_hitzones(AMX *amx, cell *params) // set_hitzones // Gets user gravity. // params[1] = body hitzones - LOG_CONSOLE(PLID, "body is %d", params[1]); // Fetch player pointer g_body = params[1]; @@ -625,8 +624,6 @@ C_DLLEXPORT int Meta_Attach(PLUG_LOADTIME now, META_FUNCTIONS *pFunctionTable, m #define HITGROUP_RIGHTLEG 7 */ - LOG_CONSOLE(PLID, "!!!!!!!!!!!!!!!!g_body is originally %d", g_body); - return(TRUE); } @@ -652,7 +649,7 @@ C_DLLEXPORT int AMX_Attach(pfnamx_engine_g* amxeng,pfnmodule_engine_g* meng) { g_engAmxFunc = amxeng; g_engModuleFunc = meng; - if(!gpMetaGlobals) REPORT_ERROR(1, "[AMX] fun is not attached to metamod (module \"%s\")\n", LOGTAG); + if(!gpMetaGlobals) REPORT_ERROR(1, "[AMX] Fun module is not attached to metamod (module \"%s\")\n", LOGTAG); ADD_AMXNATIVES(&module_info, fun_Exports); diff --git a/dlls/fun/fun.dsp b/dlls/fun/fun.dsp index ad02e202..81c00dba 100755 --- a/dlls/fun/fun.dsp +++ b/dlls/fun/fun.dsp @@ -53,10 +53,10 @@ 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/fun_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 # Begin Special Build Tool SOURCE="$(InputPath)" -PostBuild_Cmds=echo Copying dll... copy Release\fun_mm.dll K:\S\cstrike\addons\amx\dlls\fun_mm.dll echo Copying inc... copy fun.inc K:\S\cstrike\addons\amx\examples\include copy fun.inc K:\S\cstrike\addons\amx\plugins\include +PostBuild_Cmds=echo Copying dll... copy Release\fun.dll K:\S\cstrike\addons\amx\dlls echo Copying inc... copy fun.inc K:\S\cstrike\addons\amx\examples\include copy fun.inc K:\S\cstrike\addons\amx\plugins\include # End Special Build Tool !ELSEIF "$(CFG)" == "fun - Win32 Debug" @@ -83,7 +83,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 /debug /machine:I386 /pdbtype:sept -# 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 /debug /machine:I386 /out:"Debug/fun_mm_debug.dll" /pdbtype:sept +# 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 /debug /machine:I386 /out:"Debug/fun_debug.dll" /pdbtype:sept !ENDIF