Commit Graph

6305 Commits

Author SHA1 Message Date
David Anderson
1857f29efc Added extension loading/unloading
Extended SDK for interface sharing
Completed Metamod extension support

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40309
2007-01-17 03:01:38 +00:00
David Anderson
b7e10b111f added Id property
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40308
2007-01-16 20:45:13 +00:00
David Anderson
aec325b19c test of svn rev id
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40307
2007-01-16 20:40:00 +00:00
David Anderson
0182ef0d5f fixed log tag
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40306
2007-01-16 20:38:22 +00:00
David Anderson
4a1c111350 fixed up bad includes
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40305
2007-01-16 20:36:09 +00:00
David Anderson
e4602813e8 initial import of SDK proper
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40304
2007-01-16 19:42:05 +00:00
David Anderson
03277707b5 initial import of extension API and SDK as well as auto-loading
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40303
2007-01-16 19:41:21 +00:00
David Anderson
f7545a848f Fixed an off-by-one bug in the handle system
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40302
2007-01-16 19:34:32 +00:00
David Anderson
5366d05ce2 Fixed a serious potential corruption bug
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40301
2007-01-16 19:03:29 +00:00
David Anderson
c97d129c4d temporarily removed optimization that is breaking zlib somehow
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40300
2007-01-15 23:10:59 +00:00
David Anderson
9331fe2a5c small notice to srvcommands
preparation for extension system import

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40299
2007-01-15 22:33:50 +00:00
David Anderson
f4cd98191e small optimization, fixed a corruption bug
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40298
2007-01-15 22:09:11 +00:00
David Anderson
d74e35f1d5 changed default logging method
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40297
2007-01-15 22:08:43 +00:00
Borja Ferrer
9f2c0e370e forwards are now really unregistered
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40296
2007-01-15 03:28:55 +00:00
Borja Ferrer
89350a1785 Added capability to toggle debug state in plugins at runtime
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40295
2007-01-15 00:56:39 +00:00
Borja Ferrer
e13c228c5a SMGlobalClass unloads now
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40294
2007-01-13 04:28:13 +00:00
Borja Ferrer
eea576cb52 Added new debugger logger
Added format errors
Paused plugins now have their forwards blocked
Fixed bug where pausing a plugin wouldnt make any effect

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40293
2007-01-12 23:56:02 +00:00
David Anderson
b50bb2bdca whoa done
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40292
2007-01-12 05:23:39 +00:00
David Anderson
7ccf3a1787 sizeof() now returns character array sizes correctly
added untested cellsof() opreator

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40291
2007-01-12 04:11:39 +00:00
David Anderson
8d27faa359 filled out info about pausing
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40290
2007-01-11 08:46:41 +00:00
David Anderson
3250194a87 added todo
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40289
2007-01-11 08:45:38 +00:00
David Anderson
efd3a8ab5f Handle system can now unload identities safely. when an identity is removed, all handles owned by it are removed in a chain.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40288
2007-01-11 07:29:09 +00:00
David Anderson
09b01f7950 removed a few TODOs and filled out some PluginSys stuff
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40287
2007-01-11 01:13:34 +00:00
Borja Ferrer
f30dfedeeb logger gets initialized now
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40286
2007-01-11 01:11:24 +00:00
Borja Ferrer
8ec61eecbf added some console natives
more consts here and there in the logger

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40285
2007-01-10 23:49:22 +00:00
David Anderson
951e942ed6 PLATFORM_LINUX -> PLATFORM_POSIX
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40284
2007-01-07 08:55:02 +00:00
David Anderson
07729d669e initial import of core translation strings
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40283
2007-01-07 08:51:18 +00:00
David Anderson
0849820a3a initial import of languages file
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40282
2007-01-07 08:48:54 +00:00
David Anderson
95368e57cd initial import of translator code (tested)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40281
2007-01-07 08:47:38 +00:00
Borja Ferrer
b3ddba4832 i have a hat
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40280
2007-01-07 01:32:08 +00:00
Borja Ferrer
45baab94a6 Added a bunch of new file natives.
Fixed possible corruption in snprintf when input buffer was bigger than output buffer and relaying on its retval.
Fixed all cases when the above situation happened.
Fixed _PrintToHL2Log not taking va_list in.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40279
2007-01-07 01:30:28 +00:00
David Anderson
7bb52e67f3 compiles again
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40278
2007-01-06 19:35:25 +00:00
David Anderson
43005abc2f added API for getting error messages
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40277
2007-01-06 07:53:56 +00:00
David Anderson
814007df49 since these two functions are implemented separately, API calls are now divided
got rid of ARRAYSIZE warning

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40276
2007-01-06 07:53:34 +00:00
Borja Ferrer
ac50163647 added console cmd list
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40275
2007-01-05 13:23:25 +00:00
Borja Ferrer
c4d8d30a39 whoa this caused a memory LEEK
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40274
2007-01-05 00:58:28 +00:00
Borja Ferrer
d899b7a32a Fixed CPlayer init, it was called too early.
nothing important on the logger

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40273
2007-01-05 00:42:22 +00:00
Borja Ferrer
35896b6eb3 forgot this
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40272
2007-01-04 23:43:01 +00:00
Borja Ferrer
6a0ddf78d4 Initial import of the logger
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40271
2007-01-04 23:41:51 +00:00
David Anderson
ab004f5ce5 cleaned up some handle code
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40270
2007-01-04 23:32:46 +00:00
David Anderson
7bbe099cea fixed a bug causing mapchanges to crash
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40269
2007-01-04 23:30:54 +00:00
David Anderson
4508cea343 fixed some doc problems
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40268
2007-01-04 20:43:28 +00:00
David Anderson
4bd40d69e1 restructure of HandleSys admin permissions and interface
removal of HandleSys helper functions
removed useless BaseContext stuff from Engine
put SourceMod specific stuff in BaseContext
cleaned up broken Handle code

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40267
2007-01-04 02:08:27 +00:00
Borja Ferrer
15beb5afb0 Added radix conversion stocks
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40266
2007-01-02 02:59:49 +00:00
Borja Ferrer
5c6bc80f20 Registered player and float natives.
Added error strings to these natives.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40265
2007-01-02 02:40:32 +00:00
David Anderson
32a2aa75e3 fixed various issues in the handle system with cloning
fixed plugins being able to free each other's handles

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40264
2007-01-02 01:44:46 +00:00
Borja Ferrer
0f711cd479 more comments
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40263
2007-01-01 23:14:20 +00:00
David Anderson
2a7f0b9854 more natives touchups/additions
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40262
2007-01-01 21:46:33 +00:00
Borja Ferrer
5d23974a3e typo fix
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40261
2007-01-01 21:31:09 +00:00
David Anderson
929957643f tested file natives and handle system
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40260
2007-01-01 21:18:56 +00:00