Commit Graph

236 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
67442ac4a0 added amb1447 - IRootConsoleMenu exposure
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401889
2008-02-22 16:07:27 +00:00
David Anderson
5f61876ab6 fixed amb1379 with sweeping changes to the entity stuff. all prop stocks are now natives so they can properly compute everything quickly, as well as do type checks. Get/SetEntDataEnt are deprecated for being sucky, the new 2 versions do more checking and uses better values. lastly, there are functions/parameters for finding types and sizes of property.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401853
2008-01-13 08:10:25 +00:00
David Anderson
4e1fb49096 added amb1336 - GetTrieSize()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401835
2008-01-03 06:11:26 +00:00
David Anderson
f8f5a6a888 added extended error info to text parser API; GameConfigs now display better errors
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401821
2007-12-22 19:36:28 +00:00
David Anderson
c3456b8804 moved errno.h to top of platform includes
fixed bug where FormatMessage() did not ignore inserts

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401820
2007-12-22 19:35:54 +00:00
David Anderson
c987c2f0f7 added new ktrie function for running custom destructor
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401786
2007-12-10 05:16:08 +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
7e013d8343 fixed linux build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401749
2007-12-02 05:38:58 +00:00
David Anderson
a8ecd7fea4 - added beefy new ReadMapList() native
- admin menu now uses ReadMapList()
- added UTIL_TrimWhitespace() to stringutils
- moved GetFileTime() implementation to ILibrarySys
- cleaned up sorting include a bit
- removed adminmenu_maplist.ini, since it's specified by maplists.cfg
- added maplists.cfg

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401744
2007-12-02 02:10:37 +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
David Anderson
34b7563160 added DS's patch from amb1179
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401737
2007-11-27 22:50:52 +00:00
David Anderson
b98edf88b6 added amb1191 - absolute paths
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401735
2007-11-27 02:19:39 +00:00
David Anderson
d09ea8fda2 added ITopMenu::GetObjectName()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401708
2007-11-20 03:50:55 +00:00
David Anderson
5c2e13b12b updated sdk to include usermsgs
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401699
2007-11-17 05:50:09 +00:00
David Anderson
f950225229 added GetGlobalTarget/SetGlobalTarget to g_pSM
const'd some things

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401696
2007-11-17 05:33:47 +00:00
David Anderson
a79a169384 added a quick experimental system for overriding core natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401695
2007-11-17 04:31:01 +00:00
David Anderson
dfa007081b added amb1165 - exposed some plugin admin functionality to extensions
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401694
2007-11-17 02:54:44 +00:00
David Anderson
0f9a7eee81 more doxygen comment fixes
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401686
2007-11-16 02:27:02 +00:00
David Anderson
2989163de4 another minor doxytypo
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401685
2007-11-16 01:27:38 +00:00
David Anderson
0e4dc3a565 fixed some doxygen comment typos
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401684
2007-11-16 01:24:15 +00:00
David Anderson
6c1af7ee30 whoops, another minor fix
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401676
2007-11-10 07:32:04 +00:00
David Anderson
7ed29b4fe3 removed absolute path comments
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401675
2007-11-10 06:39:36 +00:00
David Anderson
ca0da2559d fixed bugs in the external extension system
import of external SDK that's been sitting around for a while

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401674
2007-11-10 05:46:09 +00:00
David Anderson
6bda3e55b9 fixed a long-standing problem that tries ignored empty strings
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401673
2007-11-10 03:18:55 +00:00
David Anderson
00682b7782 fixed build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401663
2007-10-31 05:09:07 +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
e425558f3f added more "remote extension" stuff
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401661
2007-10-30 20:43:59 +00:00
David Anderson
4abf26c626 fixed amb1098 - SetMenuExitButton() did not work with MENU_NO_PAGINATION
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401659
2007-10-30 01:22:47 +00:00
David Anderson
afb4bd6d8b fixed macro bug in the sdk
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401655
2007-10-28 08:24:47 +00:00
David Anderson
f60369a005 added experimental extension interface for loading external extensions from mm:s
hard-bumped the extension api

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401654
2007-10-28 08:02:24 +00:00
David Anderson
af68caaf85 - sourcemod now intelligently unloads plugins which are leaking insane amounts of handles. these unloads get logged to sourcemod_fatal.log
- unloading is now delayed if a plugin is in the middle of a callstack

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401644
2007-10-22 08:53:15 +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
04b2845b0d - improved comments on ShowActivity() natives
- switched to ShowActivity2() in basecommands
- added lifestates offsets to core gamedata file
- added a few translation phrases that were missing
- added new API calls to IPlayerHelpers for extending target processing

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401629
2007-10-21 20:35:15 +00:00
David Anderson
7f667a58d0 fixed a trie lookup bug where terminated string arcs could be return false positives. for example, sm_k would match sm_kick, if and only if the sm_k formed the arc and the ick formed the termination
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401585
2007-10-15 19:38:18 +00:00
David Anderson
c803eb8328 fixed an overall deficiency where libraries did not include extensions. extensions can now mark themselves as libraries, and they thus become fully optional just as plugins do. additionally, a bug was fixed where plugins could be accidentally marked as required instead of optional. these changes resulted in a bcompat API bump to the extension/sharesys interface.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401578
2007-10-15 04:06:57 +00:00
David Anderson
3e00e7f07a added new makefiles for sample SDK
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401561
2007-10-14 20:10:36 +00:00
Borja Ferrer
f2293087fe cstrike extension builds now
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401558
2007-10-14 19:34:46 +00:00
David Anderson
4c1f97bd81 fixed compat wrappers including core stuff
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401551
2007-10-14 17:55:02 +00:00
Borja Ferrer
b7d9d487cc ported SM's core to Orange Box
build is broken now in purpose

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401547
2007-10-14 00:04:21 +00:00
David Anderson
5fa3cbf134 experimental changes to topmenu api -- drawing/displaying is now properly abstracted
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401532
2007-10-02 15:13:13 +00:00
David Anderson
c420f453de added reply-to stuff for the C++ API
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401525
2007-10-02 01:50:36 +00:00
David Anderson
035d646dfd - TOPMENUS ARE STILL UNTESTED
- added appropriate client+plugins listeners to topmenus
- initial import of plugin API + implementation
- added call for finding category object ids
- various internal improvements

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401501
2007-09-26 20:34:50 +00:00
David Anderson
527ffe85de added -Wno-uninitialized to sdk makefile, since gcc doesn't know what it's talking about
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401496
2007-09-26 14:44:07 +00:00
David Anderson
924cfb4f9f initial import of UNTESTED, UNFINISHED topmenus extension
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401494
2007-09-26 14:38:40 +00:00
David Anderson
6867f28071 updated sdk for more interfaces
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401493
2007-09-26 14:36:08 +00:00
David Anderson
0bd7df8667 made new playerhelpers api backwards compatible; added note about server activation and maxclients
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401492
2007-09-26 13:14:41 +00:00
David Anderson
fda5ac1738 added new api to IPlayerHelpers for detecting when the server starts up
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401491
2007-09-26 13:12:59 +00:00
David Anderson
53df0cba3f fixed CheckAccess() in IAdminSystem having the wrong parameter type
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401483
2007-09-26 02:14:05 +00:00
David Anderson
cd6007f54c added amb870 - menus can display from a given item
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401482
2007-09-26 01:48:52 +00:00