Commit Graph

210 Commits

Author SHA1 Message Date
Borja Ferrer
45860880ef Executable memory is now provided by MM:S's allocator, this should reduce virtual memory usage.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401900
2008-02-23 20:18:49 +00:00
David Anderson
d2740940fc fixed double quotes in project filex
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401888
2008-02-22 15:05:51 +00:00
David Anderson
5398db729c shiny new Makefiles with new build procedure. i've removed ep1+mms16 support for now. i've also removed -fPIC since it's useless bloat on modern x86.
--HG--
rename : core/Makefile.orig => core/Makefile
rename : extensions/cstrike/Makefile.orig => extensions/cstrike/Makefile
rename : extensions/sdktools/Makefile.orig => extensions/sdktools/Makefile
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401884
2008-02-22 14:16:53 +00:00
Matt Woodrow
9a49bf2f08 Update of project file to match latest hl2sdk
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401877
2008-02-20 07:56:33 +00:00
David Anderson
22bc72c0d4 cross-compiles
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401873
2008-01-30 20:50:45 +00:00
David Anderson
98720129b3 Makefiles now cross-compile on 64-bit systems
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401872
2008-01-30 20:50:28 +00:00
David Anderson
4ade0dbdc2 added amb1403 - CBaseTrace.plane from pRED
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401865
2008-01-23 17:05:50 +00:00
David Anderson
aba5378f95 fixed amb1373 - off-by-one error a helper routine prevented CS natives from using the last client
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401863
2008-01-22 22:53:41 +00:00
David Anderson
38012bf3e6 added amb1383 - data value to filter functions
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401861
2008-01-22 17:18:15 +00:00
David Anderson
99ebeb1645 added amb1276 - local socket support
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401796
2007-12-14 05:09:29 +00:00
David Anderson
7847e6e2e8 fixed amb1266 - cstrike's ProcCmdString hook had a bug
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401787
2007-12-10 12:19:24 +00:00
Borja Ferrer
1ad8e34181 fixed amb1252, GetPlayerInfo wouldnt work for the last player index
fixed iserver crashing on linux

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401779
2007-12-07 00:17:24 +00:00
Borja Ferrer
9ab9eba5d7 added amb1235, added support for the IServer interface
added a native to retrieve the spray file of a client
added a native to get the net traffic of the server

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401775
2007-12-06 02:25:35 +00:00
David Anderson
b4aca8dd06 fixed @aim giving wrong name in ProcessTargetString() feedback
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401773
2007-12-05 18:12:25 +00:00
David Anderson
5ae2a5c4fe sm_dump_handles now shows memory usage
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401772
2007-12-05 18:07:18 +00:00
David Anderson
ec11691734 fixed build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401764
2007-12-04 02:10:02 +00:00
David Anderson
b569bd8f97 - fixed a bug where sdktools did not filter @aim properly (:. immunity was ignored)
- fixed a bug where sdktools did not check to see if g_pBinTools was valid before using it

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401763
2007-12-04 01:17:15 +00:00
David Anderson
3dd4c767c1 added @t, @ts, @ct, @cts target patterns
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401762
2007-12-04 01:08:03 +00:00
Borja Ferrer
da9168082c stop crying gcc
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401743
2007-12-02 02:05:55 +00:00
Borja Ferrer
67417e2bf6 added amb861, sounds can be hooked now
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401741
2007-12-02 01:51:48 +00:00
Borja Ferrer
ef8db35a49 added SetEntityModel native
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401726
2007-11-24 18:17:00 +00:00
Borja Ferrer
a86f386f12 gah forgot this
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401724
2007-11-23 23:24:40 +00:00
David Anderson
4aa9ae379f renamed the new native
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401706
2007-11-20 02:24:10 +00:00
David Anderson
d04d0e4089 submitting patch from amb1181 - retrieving topmenu object name
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401705
2007-11-20 02:22:26 +00:00
David Anderson
36cbf57b85 fixed makefiles
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401703
2007-11-19 22:08:51 +00:00
David Anderson
200fe16e1c fix for amb1156 - CS:S Tools overrides the PrintHintText native with its own version. this is a fail-safe for CS:S being loaded, as we can have better control from an extension.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401698
2007-11-17 05:41:47 +00:00
David Anderson
116553f7df fixed bug amb1132 - team finding code crashed ins from null deref
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401679
2007-11-11 06:50:50 +00:00
David Anderson
172f28d676 fixed a number of memory complaints from valgrind. most of these were minor, but there was a rather disturbing memory over-read error in the SMC text parser. correcting this brought about a rewrite of its API. this change is BACKWARDS INCOMPATIBLE for C++ extensions, but it was sorely needed, and the API is now both future-extensible and much easier to work with. plugins didn't need any changes, but they will probably get the better API changes in a future release. as a special bonus, the RawLine() hook is now much less expensive since the entire stream buffer won't be shoved through it like before!
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401662
2007-10-31 05:04:07 +00:00
David Anderson
45f99fbb9c mirroed sdk fixes
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401656
2007-10-28 08:25:56 +00:00
David Anderson
0cf6a24414 Updated le makefile
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401653
2007-10-28 05:51:10 +00:00
David Anderson
7ba2c6ae7e added missing new sqlite 3.5.1 file
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401652
2007-10-28 05:49:37 +00:00
David Anderson
f78ceafdce updated to sqlite-3.5.1 now that it's stable
used new shared cache functionality (yay)

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401651
2007-10-28 05:48:06 +00:00
David Anderson
dc746c5806 fixed amb190 - serious bug in the target processor
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401650
2007-10-28 05:06:12 +00:00
David Anderson
095dc2ec4b sm_dump_netprops now shows classnames
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401646
2007-10-22 22:57:08 +00:00
David Anderson
00ec666f18 sdktools' te dump command now uses mod dir instead of game dir
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401643
2007-10-22 07:54:04 +00:00
David Anderson
b302164b01 added sm_dump_netprops and sm_dump_netprops_xml to sdktools for debugging
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401642
2007-10-22 07:41:57 +00:00
David Anderson
3864882ef0 fixed a compatibility bug in AddToTopMenu()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401641
2007-10-22 07:27:48 +00:00
David Anderson
2e333caf77 - added amb1050 - topmenu info strings (similar to menus)
- added removal detection to topmenus

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401640
2007-10-22 06:56:17 +00:00
David Anderson
b1aa7a1ed2 added @aim target to sdktools
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401634
2007-10-22 03:27:22 +00:00
David Anderson
f5370eb171 removed IsPlayerAlive() from sdktools (it's in Core now)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401628
2007-10-21 20:09:28 +00:00
David Anderson
c3149f22cf fixed amb1055
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401625
2007-10-21 15:18:01 +00:00
Borja Ferrer
871f27c858 synced linux build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401620
2007-10-20 23:43:48 +00:00
Borja Ferrer
ff2819e266 added amb814, added a set of team natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401619
2007-10-20 23:39:10 +00:00
David Anderson
98e921c210 fixed GetClientEyeAngles() again
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401618
2007-10-19 09:03:34 +00:00
David Anderson
c2644b2f94 - added GetClientAimTarget()
- fixed a bug where GetClientEyeAngles() was basically bogus

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401617
2007-10-19 08:51:05 +00:00
David Anderson
ca4ca95bfd updated sdktools support for tf2
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401603
2007-10-17 01:44:46 +00:00
Borja Ferrer
adfea8ade8 prepared sdktools base natives for OB port
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401602
2007-10-16 22:32:26 +00:00
David Anderson
f1c72419b6 fixed topmenus bug
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401601
2007-10-16 20:10:43 +00:00
David Anderson
4bb433b17c topmenu config files are now read properly
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401595
2007-10-16 17:28:19 +00:00
Borja Ferrer
b281adbb7b fixed linux build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401594
2007-10-16 17:24:52 +00:00