updated Makefile to have all the .cpp files - we need to keep better track of this
authorDavid Anderson <dvander@alliedmods.net>
Mon Mar 12 17:42:44 2007 +0000 (2007-03-12)
changeset 603a71f010463c4
parent 602 dcc958866d37
child 604 f373aaca29db
updated Makefile to have all the .cpp files - we need to keep better track of this
various gcc whinings fixed
core/EventManager.cpp
core/Makefile
core/smn_entities.cpp
core/smn_sorting.cpp
     1.1 --- a/core/EventManager.cpp	Mon Mar 12 17:33:39 2007 +0000
     1.2 +++ b/core/EventManager.cpp	Mon Mar 12 17:42:44 2007 +0000
     1.3 @@ -369,7 +369,7 @@
     1.4  {
     1.5  	EventHook *pHook;
     1.6  	IChangeableForward *pForward;
     1.7 -	Handle_t hndl;
     1.8 +	Handle_t hndl = 0;
     1.9  
    1.10  	if (!m_NotifyPlugins)
    1.11  	{
     2.1 --- a/core/Makefile	Mon Mar 12 17:33:39 2007 +0000
     2.2 +++ b/core/Makefile	Mon Mar 12 17:42:44 2007 +0000
     2.3 @@ -19,16 +19,19 @@
     2.4  HL2PUB = $(HL2SDK)/public
     2.5  HL2LIB = $(HL2SDK)/linux_sdk
     2.6  
     2.7 -OBJECTS = sourcemm_api.cpp sourcemod.cpp AdminCache.cpp ConVarManager.cpp CDataPack.cpp \
     2.8 -          DebugReporter.cpp Logger.cpp PlayerManager.cpp TextParsers.cpp Translator.cpp \
     2.9 -	  sm_autonatives.cpp sm_memtable.cpp sm_srvcmds.cpp sm_trie.cpp \
    2.10 -	  sm_stringutil.cpp smn_filesystem.cpp smn_float.cpp smn_handles.cpp \
    2.11 -	  smn_player.cpp smn_string.cpp smn_textparse.cpp smn_console.cpp smn_admin.cpp \
    2.12 -	  smn_datapacks.cpp smn_lang.cpp \
    2.13 -	  systems/ExtensionSys.cpp systems/ForwardSys.cpp systems/HandleSys.cpp \
    2.14 -	  systems/LibrarySys.cpp systems/PluginInfoDatabase.cpp \
    2.15 -	  systems/PluginSys.cpp systems/ShareSys.cpp vm/sp_vm_basecontext.cpp \
    2.16 -	  vm/sp_vm_engine.cpp vm/sp_vm_function.cpp ConCmdManager.cpp TimerSys.cpp 
    2.17 +OBJECTS = AdminCache.cpp CDataPack.cpp ConCmdManager.cpp ConVarManager.cpp \
    2.18 +	DebugReporter.cpp EventManager.cpp GameConfigs.cpp HalfLife2.cpp Logger.cpp \
    2.19 +	PlayerManager.cpp TextParsers.cpp TimerSys.cpp Translator.cpp UserMessages.cpp \
    2.20 +	sm_autonatives.cpp sm_memtable.cpp sm_srvcmds.cpp sm_stringutil.cpp sm_trie.cpp \
    2.21 +	sourcemm_api.cpp sourcemod.cpp
    2.22 +OBJECTS += smn_admin.cpp smn_bitbuffer.cpp smn_console.cpp smn_core.cpp \
    2.23 +	smn_datapacks.cpp smn_entities.cpp smn_events.cpp smn_fakenatives.cpp \
    2.24 +	smn_filesystem.cpp smn_float.cpp smn_halflife.cpp smn_handles.cpp smn_lang.cpp \
    2.25 +	smn_player.cpp smn_sorting.cpp smn_textparse.cpp smn_usermsgs.cpp
    2.26 +OBJECTS += systems/ExtensionSys.cpp systems/ForwardSys.cpp systems/HandleSys.cpp \
    2.27 +	  systems/LibrarySys.cpp systems/PluginInfoDatabase.cpp systems/PluginSys.cpp \
    2.28 +	  systems/ShareSys.cpp vm/sp_vm_basecontext.cpp vm/sp_vm_engine.cpp \
    2.29 +	  vm/sp_vm_function.cpp 
    2.30  OBJECTS_C = zlib/adler32.c zlib/compress.c zlib/crc32.c zlib/deflate.c zlib/gzio.c \
    2.31  	   zlib/infback.c zlib/inffast.c zlib/inflate.c zlib/inftrees.c zlib/trees.c \
    2.32  	   zlib/uncompr.c zlib/zutil.c
     3.1 --- a/core/smn_entities.cpp	Mon Mar 12 17:33:39 2007 +0000
     3.2 +++ b/core/smn_entities.cpp	Mon Mar 12 17:42:44 2007 +0000
     3.3 @@ -516,6 +516,7 @@
     3.4  	{"GetEntDataEnt",			GetEntDataEnt},
     3.5  	{"GetEntDataFloat",			GetEntDataFloat},
     3.6  	{"GetEntDataVector",		GetEntDataVector},
     3.7 +	{"GetEntityCount",			GetEntityCount},
     3.8  	{"GetEntityNetClass",		GetEntityNetClass},
     3.9  	{"GetMaxEntities",			GetMaxEntities},
    3.10  	{"IsEntNetworkable",		IsEntNetworkable},
     4.1 --- a/core/smn_sorting.cpp	Mon Mar 12 17:33:39 2007 +0000
     4.2 +++ b/core/smn_sorting.cpp	Mon Mar 12 17:42:44 2007 +0000
     4.3 @@ -14,6 +14,7 @@
     4.4  #include "sm_globals.h"
     4.5  #include <IHandleSys.h>
     4.6  #include <stdlib.h>
     4.7 +#include <string.h>
     4.8  
     4.9  /***********************************
    4.10   *   About the double array hack   *