updated Makefile to have all the .cpp files - we need to keep better track of this

various gcc whinings fixed

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40609
This commit is contained in:
David Anderson 2007-03-12 17:42:44 +00:00
parent 57d0a7a23a
commit b3d3b30855
4 changed files with 16 additions and 11 deletions

View File

@ -369,7 +369,7 @@ bool EventManager::OnFireEvent_Post(IGameEvent *pEvent, bool bDontBroadcast)
{ {
EventHook *pHook; EventHook *pHook;
IChangeableForward *pForward; IChangeableForward *pForward;
Handle_t hndl; Handle_t hndl = 0;
if (!m_NotifyPlugins) if (!m_NotifyPlugins)
{ {

View File

@ -19,16 +19,19 @@ BINARY = sourcemod_mm_i486.so
HL2PUB = $(HL2SDK)/public HL2PUB = $(HL2SDK)/public
HL2LIB = $(HL2SDK)/linux_sdk HL2LIB = $(HL2SDK)/linux_sdk
OBJECTS = sourcemm_api.cpp sourcemod.cpp AdminCache.cpp ConVarManager.cpp CDataPack.cpp \ OBJECTS = AdminCache.cpp CDataPack.cpp ConCmdManager.cpp ConVarManager.cpp \
DebugReporter.cpp Logger.cpp PlayerManager.cpp TextParsers.cpp Translator.cpp \ DebugReporter.cpp EventManager.cpp GameConfigs.cpp HalfLife2.cpp Logger.cpp \
sm_autonatives.cpp sm_memtable.cpp sm_srvcmds.cpp sm_trie.cpp \ PlayerManager.cpp TextParsers.cpp TimerSys.cpp Translator.cpp UserMessages.cpp \
sm_stringutil.cpp smn_filesystem.cpp smn_float.cpp smn_handles.cpp \ sm_autonatives.cpp sm_memtable.cpp sm_srvcmds.cpp sm_stringutil.cpp sm_trie.cpp \
smn_player.cpp smn_string.cpp smn_textparse.cpp smn_console.cpp smn_admin.cpp \ sourcemm_api.cpp sourcemod.cpp
smn_datapacks.cpp smn_lang.cpp \ OBJECTS += smn_admin.cpp smn_bitbuffer.cpp smn_console.cpp smn_core.cpp \
systems/ExtensionSys.cpp systems/ForwardSys.cpp systems/HandleSys.cpp \ smn_datapacks.cpp smn_entities.cpp smn_events.cpp smn_fakenatives.cpp \
systems/LibrarySys.cpp systems/PluginInfoDatabase.cpp \ smn_filesystem.cpp smn_float.cpp smn_halflife.cpp smn_handles.cpp smn_lang.cpp \
systems/PluginSys.cpp systems/ShareSys.cpp vm/sp_vm_basecontext.cpp \ smn_player.cpp smn_sorting.cpp smn_textparse.cpp smn_usermsgs.cpp
vm/sp_vm_engine.cpp vm/sp_vm_function.cpp ConCmdManager.cpp TimerSys.cpp OBJECTS += systems/ExtensionSys.cpp systems/ForwardSys.cpp systems/HandleSys.cpp \
systems/LibrarySys.cpp systems/PluginInfoDatabase.cpp systems/PluginSys.cpp \
systems/ShareSys.cpp vm/sp_vm_basecontext.cpp vm/sp_vm_engine.cpp \
vm/sp_vm_function.cpp
OBJECTS_C = zlib/adler32.c zlib/compress.c zlib/crc32.c zlib/deflate.c zlib/gzio.c \ OBJECTS_C = zlib/adler32.c zlib/compress.c zlib/crc32.c zlib/deflate.c zlib/gzio.c \
zlib/infback.c zlib/inffast.c zlib/inflate.c zlib/inftrees.c zlib/trees.c \ zlib/infback.c zlib/inffast.c zlib/inflate.c zlib/inftrees.c zlib/trees.c \
zlib/uncompr.c zlib/zutil.c zlib/uncompr.c zlib/zutil.c

View File

@ -516,6 +516,7 @@ REGISTER_NATIVES(entityNatives)
{"GetEntDataEnt", GetEntDataEnt}, {"GetEntDataEnt", GetEntDataEnt},
{"GetEntDataFloat", GetEntDataFloat}, {"GetEntDataFloat", GetEntDataFloat},
{"GetEntDataVector", GetEntDataVector}, {"GetEntDataVector", GetEntDataVector},
{"GetEntityCount", GetEntityCount},
{"GetEntityNetClass", GetEntityNetClass}, {"GetEntityNetClass", GetEntityNetClass},
{"GetMaxEntities", GetMaxEntities}, {"GetMaxEntities", GetMaxEntities},
{"IsEntNetworkable", IsEntNetworkable}, {"IsEntNetworkable", IsEntNetworkable},

View File

@ -14,6 +14,7 @@
#include "sm_globals.h" #include "sm_globals.h"
#include <IHandleSys.h> #include <IHandleSys.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h>
/*********************************** /***********************************
* About the double array hack * * About the double array hack *