Commit Graph

51 Commits

Author SHA1 Message Date
Borja Ferrer
708a3a9a5c oh one native for the hat man teame
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40665
2007-03-29 19:48:54 +00:00
Borja Ferrer
fd1e3c4e97 added precache natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40662
2007-03-25 22:25:45 +00:00
Borja Ferrer
862f25b223 fixed possible overflow cases
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40657
2007-03-19 19:19:41 +00:00
David Anderson
88eae4ad1e added a new forward for OnServerActivate
included timers from sourcemod.inc

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40649
2007-03-17 20:25:08 +00:00
Scott Ehlert
5187ea1903 Changed some tags to "any" where appropriate (did I miss anything?)
Plus some other strange things...

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40640
2007-03-16 20:39:32 +00:00
Scott Ehlert
5fa53bfc68 Dear me, I should have committed this long ago...
1) Added natives to create and manipulate global and private forward
2) Added natives to call forwards and functions
3) Added an IChanageableForward::RemoveFunction overload for convenience or something
4) Added test suite plugins for functions and forwards
5) Some random touch-ups to some include files

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40627
2007-03-16 06:54:24 +00:00
David Anderson
279c102ddc random touchups that might not be so great
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40625
2007-03-15 20:44:23 +00:00
David Anderson
0aadfbdfab added natives for iterating plugins and retrieving plugin info
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40624
2007-03-15 20:10:25 +00:00
David Anderson
7c06d89b00 initial import of dynamic native code for both the JIT and plugins
note: dependency resolution is not done yet!

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40607
2007-03-12 07:08:05 +00:00
David Anderson
c2f106d4c6 added request amb80 (system time)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40601
2007-03-11 18:30:29 +00:00
Scott Ehlert
68f40e96f2 Initial import of event stuff: Natives to hook and fire game events
Also made some minor internal changes to convars

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40582
2007-03-04 04:05:03 +00:00
David Anderson
66b244011e added ThrowError() a la amxmodx's abort()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40566
2007-03-02 19:10:44 +00:00
David Anderson
16eab8a091 internal reorganization
renamed edict to entity where appropriate

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40560
2007-03-02 00:52:55 +00:00
David Anderson
9e98944097 split sourcemod.inc into clients.inc and fixed some bugs
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40551
2007-02-27 23:39:30 +00:00
David Anderson
09887584f4 added functions for target immunity testing
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40546
2007-02-27 03:32:14 +00:00
David Anderson
78eb5b7747 removed Handle:myself from OnPluginStart
added GetMyHandle to get handle now, but there's no use...

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40542
2007-02-26 08:32:20 +00:00
David Anderson
5cb299014a added sorting natives (phew)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40541
2007-02-26 08:21:09 +00:00
David Anderson
1cc70a46eb added a crapload of random natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40538
2007-02-26 05:26:54 +00:00
David Anderson
95e92b25aa added a gameframe hook
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40537
2007-02-26 04:36:15 +00:00
David Anderson
bb69a9f0d2 added random number natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40536
2007-02-26 04:24:06 +00:00
David Anderson
d30525b8f8 put usermessages at the end of the include so it will compile
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40529
2007-02-21 22:05:44 +00:00
Borja Ferrer
bf69dad3bf Id was broken for this file
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40512
2007-02-16 18:50:27 +00:00
Borja Ferrer
0fbb38ef8e initial user message implementation with its natives and such
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40511
2007-02-16 18:47:16 +00:00
David Anderson
76903cd919 added client-based console commands
extended console command functions to have an argument number
renamed Result to Action

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40506
2007-02-16 02:17:41 +00:00
David Anderson
12b9e2750e made these names more consistent, except for authorized, since only players get authids
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40498
2007-02-14 17:48:49 +00:00
David Anderson
c5316168de moved two console commands
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40486
2007-02-12 19:45:23 +00:00
Scott Ehlert
6cff249b5c Fixed tabs, hopefully...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40481
2007-02-12 09:00:55 +00:00
David Anderson
57c1f0dd4d added and tested admin authentication. WOOT. only steam-based works for now.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40466
2007-02-09 04:41:03 +00:00
David Anderson
1c80875ea3 initial import of binding user admin ids to players in game
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40464
2007-02-09 01:08:59 +00:00
Scott Ehlert
fdba3e1f66 Initial import of convar stuff
1) Natives to create, find, set, and get convars
2) "cvars" option added to sm menu
3) Some internal additions to CPlugin to store a convar list
Still some things left to do...

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40463
2007-02-08 21:41:28 +00:00
David Anderson
471da79fa5 added a wrapper for getclientconvarvalue
fixed a bug in the player manager

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40462
2007-02-08 20:37:24 +00:00
David Anderson
03fd3139c5 added steamid auth functions
added better bot detection
added gameframe hook for timer
renamed more playermanager stuff

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40454
2007-02-07 08:44:48 +00:00
David Anderson
4f5edf7b1f what
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40435
2007-02-04 08:01:07 +00:00
David Anderson
8649e57ebc added API spec sample for data packs
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40434
2007-02-04 08:00:44 +00:00
Scott Ehlert
02ffffe05a Oi, consistency...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40432
2007-02-02 22:47:14 +00:00
David Anderson
6abb60a908 added license info to include files
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40379
2007-01-26 02:07:24 +00:00
David Anderson
f9a5920e5b added an easier format string Function
changed normal log names to be more consistent
added logging natives

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40352
2007-01-25 06:19:17 +00:00
David Anderson
e506745890 Added more path building stuff
Addeed text parsing API

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40350
2007-01-25 04:37:23 +00:00
David Anderson
e596003b94 added admin natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40342
2007-01-25 00:17:32 +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
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
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
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
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
a46c500e68 little fixes
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40255
2007-01-01 18:03:43 +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
8792f0b4f0 new plugin API, sample plugin is now a fail load plugin
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40217
2006-12-15 13:45:21 +00:00
David Anderson
ac761f61ce initial import of plugin loading code
little fixes to API
temporarily commented dependency iface until final

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40177
2006-11-10 07:49:38 +00:00
David Anderson
c89dd6f101 imported new API for exposing plugin info
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40175
2006-11-10 00:16:33 +00:00