Commit Graph

94 Commits

Author SHA1 Message Date
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
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
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
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
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
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
David Anderson
f072110a44 temporarily disabled binary search code
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40259
2007-01-01 21:18:35 +00:00
David Anderson
2fc806542a added usage of the Handle System to begin experimenting
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40257
2007-01-01 19:50:16 +00:00
David Anderson
80b75f2196 added note for player natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40254
2007-01-01 10:36:29 +00:00
David Anderson
271fba7b50 updated project file
added todo for floats

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40253
2007-01-01 10:35:15 +00:00
David Anderson
9f7c852c77 initial import of handle natives and a few minor API changes
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40252
2007-01-01 10:33:51 +00:00
David Anderson
f8c88a75df implemented debugger
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40251
2007-01-01 03:40:29 +00:00
Borja Ferrer
86f9be5714 Added CPlayer class
Added new player natives
Fixed floatround returning a float instead of an int
Added new float.inc file
Added OnClientSettingsChanged forward

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40247
2007-01-01 03:33:14 +00:00
David Anderson
378e4d20f3 initial import of new debugger API
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40245
2007-01-01 01:09:53 +00:00
Borja Ferrer
cf15783eb0 fixed atcprintf counting the null terminator for the return value
added format and formatex natives

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40241
2006-12-31 03:02:40 +00:00
Borja Ferrer
8c09e0c50d removed radix stuff from trig natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40240
2006-12-30 22:16:53 +00:00
David Anderson
388c062c96 added automatic native registration
added string include file
renamed typeutil and its functions
redid a bunch of the string natives
string natives now register

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40238
2006-12-30 07:23:17 +00:00
David Anderson
17af34bba5 unmanaged forwards need to be pruned for dead plugins too
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40237
2006-12-30 06:07:32 +00:00
David Anderson
307d5b20c2 updated project file
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40236
2006-12-30 00:18:06 +00:00
Borja Ferrer
4153221ca8 fixed a "-1" bug in atcprintf
moved string functions to the stringutils file
added strncopy

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40235
2006-12-29 23:28:44 +00:00
David Anderson
f068587ecc initial import of sharesystem (unfinished)
final revision of handle system (I hope!)
initial import of plugin handles

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40234
2006-12-29 23:18:13 +00:00
Borja Ferrer
5b331ca858 added atcprintf
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40233
2006-12-29 03:29:17 +00:00
Borja Ferrer
6e7e89e9cf added atcprintf
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40232
2006-12-29 03:21:09 +00:00
Borja Ferrer
5e75d0928c Added PlayerManager basic hookings
Moved ftoc and ctof to an utility file
Added some more string natives

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40231
2006-12-28 00:48:09 +00:00
Borja Ferrer
aba273f93d IPlugin context pointer is passed now to natives
Added basic string natives
Added floating point natives

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40230
2006-12-23 02:20:53 +00:00
Borja Ferrer
2fb3501e0d recommited this, hi
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40229
2006-12-17 20:33:31 +00:00
David Anderson
7af40128a3 Clarified states a little
Fixed include order and double include prevention

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40228
2006-12-17 09:59:01 +00:00
David Anderson
352b15c1b7 Added Handle cloning and reference counting in preparation for IShareSys
Made the internal code a bit more flexible and improved access security structures

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40227
2006-12-17 09:56:45 +00:00
Borja Ferrer
1e573fe0d0 fixed null string condition being always true
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40226
2006-12-17 02:51:35 +00:00
David Anderson
522a1f605f these should compile now
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40225
2006-12-16 22:31:32 +00:00
David Anderson
77ca28b8a3 each plugin must have its own identity.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40224
2006-12-16 22:30:58 +00:00
David Anderson
c189dfa991 implemented and finalized initial HandleSystem API
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40223
2006-12-16 22:27:18 +00:00
Borja Ferrer
a4737a2808 added status strings
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40222
2006-12-16 02:48:58 +00:00
Borja Ferrer
c9002c2011 Added initial console commands for plugins
fixed crash in plugin destructor
fixed compilation not being freed causing a crash
fixed small issues in plugin system
fixed plugin iterator not being reseted when freed and not being initialized it's current pointer.
fixed a bug where insertion of a prefixed string would not check whether a value could be set.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40221
2006-12-16 02:16:21 +00:00
David Anderson
e0bd4f9782 i have changed some letters in these files
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40220
2006-12-16 01:51:45 +00:00
David Anderson
649b96ac9d added global class initializers
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40219
2006-12-15 13:58:22 +00:00
David Anderson
a9087b13dd added second pass function
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40218
2006-12-15 13:53:58 +00:00