Commit Graph

376 Commits

Author SHA1 Message Date
David Anderson
9588414f45 fixed amb769 (tag mismatch on MENU_ACTIONS_ALL)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401295
2007-08-09 18:19:23 +00:00
David Anderson
6da3335588 - added amb733 - running admin auth CheckSetAdmin
- fixed amb737 - reservedslots uses the new auth api
- fixed various FormatString() usage bugs in functions such as KickClient() and ServeRCommand()
- added API so sql admins will be fit into the whole system

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401279
2007-08-08 16:22:51 +00:00
David Anderson
ee7d75fcb9 added a menu parameter to the vote callback
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401277
2007-08-08 02:44:36 +00:00
David Anderson
6d60bd8de2 - massive overhaul of the voting subsystem
- NOTE: menu API compatibility was COMPLETELY broken for C++!
- cleaned up various aspects of the menu API
- implemented new extended vote results callback
- extended the debug reporter a tiny bit

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401275
2007-08-08 02:27:10 +00:00
Scott Ehlert
9d0c2ea4d8 Added #pragma deprecated to include files for deprecated functions and constants
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401274
2007-08-07 22:11:00 +00:00
David Anderson
70f22ab3ab implemented amb705 (you can now disable sounds per-menu)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401265
2007-08-03 11:40:21 +00:00
Borja Ferrer
ea9933ed1a yay fixed comments
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401262
2007-08-03 01:58:34 +00:00
Borja Ferrer
2c36a434b3 added amb719, added TE hooks and read prop natives to read props before transmission
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401261
2007-08-03 01:53:00 +00:00
Phong Dang
8d1cb3d579 Fixed amb726 for StrCat.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401260
2007-08-02 23:11:07 +00:00
Borja Ferrer
5a612d22e5 added new block_message flag in the message system
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401256
2007-08-02 00:47:47 +00:00
Borja Ferrer
a1e819f318 added id properties for teame06
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401253
2007-08-01 18:50:27 +00:00
Phong Dang
5c9f9dd7f0 Updated license header.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401251
2007-08-01 18:22:53 +00:00
Phong Dang
bf3c802e48 Fixed amb713, IsPlayerAlive native comment.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401250
2007-08-01 17:56:27 +00:00
Scott Ehlert
bcc798e165 Implemented amb584 - CGlobalEntityList support in SDKTools
Also added FindEntityByClassname native to start this off

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401246
2007-08-01 07:18:58 +00:00
Phong Dang
c611ba9ea5 Implemented IsPlayerAlive native.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401245
2007-08-01 06:55:55 +00:00
Phong Dang
15018176b5 Implemented requested amb603. Added voice natives.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401241
2007-08-01 04:17:36 +00:00
Borja Ferrer
b0a96e69c1 added amb567, new OnAllPluginsLoaded forward
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401227
2007-07-31 22:34:52 +00:00
Borja Ferrer
d05a57fcba added amb595, eye position and angle natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401225
2007-07-31 02:08:25 +00:00
Borja Ferrer
4a6a016790 added amb441, vguimenu and hinttext natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401224
2007-07-30 23:16:58 +00:00
Phong Dang
5acdc40618 Fixed PrintCenterTextAll not accepting the small translation key.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401223
2007-07-30 20:26:18 +00:00
Michael McKoy
9ddf5504ff Added FindTarget stock.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401183
2007-07-26 23:31:58 +00:00
David Anderson
78d054e077 added amb416 - SlapPlayer()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401175
2007-07-25 20:23:34 +00:00
David Anderson
1027d151e5 - added MenuAction_DisplayItem callback for plugins
- fixed various bugs in MenuAction_Display
- added an "access" parameter for IMenuManager.  better to do this now than later, even though it's not used yet
- hard bumped menu api to change the OnMenuDisplayItem callback.  sorry!

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401169
2007-07-25 01:18:11 +00:00
David Anderson
8fa974961c initial import of adt array natives for amb576
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401162
2007-07-24 01:18:28 +00:00
David Anderson
78d6d2b6e2 amb608 (MakeVectorFromPoints)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401161
2007-07-23 22:25:32 +00:00
David Anderson
4527682421 added request amb638 (SetLightStyle)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401158
2007-07-23 21:51:22 +00:00
David Anderson
a57acce746 added amb444 - ForcePlayerSuicide()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401157
2007-07-23 21:01:58 +00:00
David Anderson
1919b97e92 fixed doc comment (:todo: fix non-pagination so these get drawn?)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401142
2007-07-19 16:27:14 +00:00
Scott Ehlert
716233ec30 Fixed amb640 - GetServerLanguage() native mistakenly had client as a parameter
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401132
2007-07-16 04:25:00 +00:00
David Anderson
4ce48512b1 - added callbacks for libraries becoming available
- fixed MarkNTVOptional requring native to exist
- fixed a bug where it looks like plugins could not be paused

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401130
2007-07-16 02:06:02 +00:00
David Anderson
bf5a50b8c4 renamed "user" to "client"
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401126
2007-07-15 18:55:13 +00:00
David Anderson
d218f638b1 added api to walk cmd list
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401125
2007-07-15 18:51:25 +00:00
Scott Ehlert
662e5673f7 Oops
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401121
2007-07-15 07:48:15 +00:00
Scott Ehlert
a55ebc0c96 Partly addressed amb197 - added network string table natives to SDKTools
(Wow, I don't like this code)

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401120
2007-07-15 07:44:17 +00:00
Borja Ferrer
fe8ebeae89 added amb292, optional natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401118
2007-07-15 01:04:34 +00:00
David Anderson
c33c27391f added amb622, TIMER_FLAG_NO_MAPCHANGE
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401114
2007-07-14 01:55:15 +00:00
David Anderson
ee05ac6cfb added amb372 (setview)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401112
2007-07-14 01:30:01 +00:00
David Anderson
9c531423fb added request amb588 - language info embellishment
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401111
2007-07-14 01:04:15 +00:00
David Anderson
e8d5bf9521 added request amb579 - ShowActivityEx()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401110
2007-07-14 00:47:30 +00:00
David Anderson
cbb2546453 initial import of threaded sql functionality
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401102
2007-07-13 19:20:12 +00:00
David Anderson
22002778bb whoops
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401099
2007-07-13 00:40:42 +00:00
David Anderson
1e455f59ad --HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401098
2007-07-13 00:38:54 +00:00
Scott Ehlert
8bca9a9b32 Replaced deprecated functions in helpers.inc
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401089
2007-07-09 06:19:57 +00:00
Borja Ferrer
02cc2f6a74 added code for trace rays + natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401081
2007-07-08 19:39:19 +00:00
David Anderson
9a2fbe5f9f added requests amb565 and amb445
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401078
2007-07-08 18:00:35 +00:00
David Anderson
6dd0ff6b07 added amb577
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401077
2007-07-08 17:43:40 +00:00
David Anderson
c1190fe89d added vector stuff
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401075
2007-07-08 17:33:10 +00:00
Scott Ehlert
c0a869106f Wowzers
-Added support for CGameRules calls to SDKTools
-Changed some game names in sdktools.games.txt to descriptions

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401071
2007-07-08 09:46:27 +00:00
David Anderson
b3eb0d8631 small hack so knagg0's stuff can compile
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401069
2007-07-08 05:20:54 +00:00
David Anderson
ce6950aee2 a few little changes to tempent stocks
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401064
2007-07-08 03:17:55 +00:00
David Anderson
b0f5b985bb renamed TE_SendToOne to TE_SendToClient
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401059
2007-07-07 20:48:20 +00:00
David Anderson
f2ebf2f4b9 changed SOUND_FROM_PLAYER from -1 to -2 to maintain compatibility with SOUND_FROM_LOCAL_PLAYER
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401054
2007-07-07 17:51:29 +00:00
David Anderson
b5831fd263 added enginesound support
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401053
2007-07-07 17:46:17 +00:00
Borja Ferrer
8bf7cb08f2 added a time stamp argument to FormatTime
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401047
2007-07-05 14:47:36 +00:00
Borja Ferrer
3d7ef5ce49 added TE flags
added some @section stuff to inc files.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401046
2007-07-05 00:45:56 +00:00
Borja Ferrer
6e98ba7080 finalized TE setup stocks
added TE_SetEntDataFloatArray native to sdktools

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401045
2007-07-05 00:21:59 +00:00
Borja Ferrer
b80d04ba01 added amb449
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401043
2007-07-04 11:09:48 +00:00
David Anderson
cb77ef5b7d fixed amb455
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401040
2007-07-03 20:16:40 +00:00
David Anderson
816bdc8102 added request amb515
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401039
2007-07-03 19:03:14 +00:00
Borja Ferrer
8749f537d4 initial import of the TE code
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401037
2007-07-02 00:25:46 +00:00
David Anderson
25dc806a2e fixed bug amb462
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401021
2007-06-25 14:58:59 +00:00
David Anderson
ca3d74be45 .txt is now assumed for LoadTranslations() when no extension exists
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401020
2007-06-24 21:38:02 +00:00
David Anderson
5271043e92 - fixed SetEntDataArray being bogus
- fixed some comments

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401016
2007-06-24 18:56:58 +00:00
David Anderson
e52e896396 changed comment on MenuAction_DrawItem
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401013
2007-06-22 22:37:58 +00:00
David Anderson
368432baf5 added MenuAction_DrawItem for changing how an item gets drawn
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401012
2007-06-22 22:37:22 +00:00
David Anderson
38f95fc63d - added request amb426
- "Back" is now "Previous" and "Back" is used for ExitBack
- menu api got bumped again, but will be compat

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401011
2007-06-22 21:04:13 +00:00
David Anderson
3931a1283a tiny comment changes to halflife.inc
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401009
2007-06-22 17:25:19 +00:00
Scott Ehlert
aef5ba1d09 Implemented amb423 - Added IsClientObserver() native
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401007
2007-06-22 15:37:12 +00:00
David Anderson
3e88c91ad2 added ability to use NULL_STRING in KeyValues natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401006
2007-06-22 14:59:26 +00:00
David Anderson
58eedf6226 bumped menu api again - added feature to get menu end reason
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401003
2007-06-21 23:06:37 +00:00
Scott Ehlert
4a82ce501b Not sure how I did this, but fixed KickClient include
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401002
2007-06-21 19:51:34 +00:00
Scott Ehlert
243d31b7a6 Added KickClient() native. This is so that the "Kicked from console" string doesn't appear in the disconnect reason.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40998
2007-06-20 11:06:58 +00:00
David Anderson
7c63139574 - added amb379
- fixed a format bug in basecommands.sp
- added an any tag to Call_Finish()

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40988
2007-06-18 17:20:12 +00:00
David Anderson
a76f3eba97 A few sdktools functions now accept all entities and the Player versions are deprecated
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40986
2007-06-18 17:02:42 +00:00
David Anderson
db5c7cdc80 added deprecation warning
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40985
2007-06-18 07:09:47 +00:00
David Anderson
254fc2557a - removed OnServerCfg in favor of OnConfigsExecuted
- added AutoExecConfig() which automates safe config execution

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40984
2007-06-18 07:04:22 +00:00
David Anderson
8437e8ee04 added request amb404
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40966
2007-06-16 21:56:12 +00:00
David Anderson
0b9447d986 added a few more natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40961
2007-06-16 18:27:23 +00:00
David Anderson
11ff381289 - added bool type
- added pointer support
- added three default natives
- added include file for sdktools
- cleaned up decoding api a bit

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40960
2007-06-16 18:03:05 +00:00
David Anderson
6acaaac769 added a hacky way to get NULL references
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40944
2007-06-15 20:23:40 +00:00
Scott Ehlert
28ae0b0d65 Added two new optional paramaters to SetConVar* natives for purpose of replicating convar value to client and/or notifying of convar change
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40942
2007-06-15 06:26:19 +00:00
David Anderson
706b28cb64 added another unban command and added forwards for banning (amb369)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40933
2007-06-08 05:11:49 +00:00
David Anderson
48830e2c16 added request amb369, part 1
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40932
2007-06-08 04:40:40 +00:00
David Anderson
0ceec15c5a - ShowActivity() now handles command usage confirmation
- added sm_ban
- fixed up various issues and bugs in basecommands.sp

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40930
2007-06-08 03:38:57 +00:00
David Anderson
a5d17bbf6b - sm_show_activity is now protected
- added sm_who
- added GetCmdReplySource() for sm_who

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40929
2007-06-08 01:58:26 +00:00
Scott Ehlert
d4bc20d32b Whoa, bug. Hopefully fixed PrintToChatAll and PrintCenterTextAll once and for all...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40921
2007-06-07 07:36:41 +00:00
David Anderson
63c5d05747 added profiler (windows only for now) and a benchmark script
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40920
2007-06-07 07:29:55 +00:00
Scott Ehlert
f129a830b8 Added anti-flood plugin.
Added some missing includes to sourcemod.inc

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40919
2007-06-07 07:22:19 +00:00
David Anderson
092c4e88e9 - initial import of the first admin plugin (woot! it has one command!)
- added ShowActivity() native
- added lang.inc to sourcemod.inc

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40916
2007-06-07 06:17:57 +00:00
David Anderson
d19aa9f576 finished doc on SearchForClients
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40909
2007-06-07 03:57:10 +00:00
David Anderson
877b604ce9 - added SearchForClients
- fixed versions and some header info in base plugins

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40908
2007-06-07 03:45:44 +00:00
Scott Ehlert
7817602d75 Moved MAXPLAYERS define from sourcemod.inc to clients.inc
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40907
2007-06-07 02:39:37 +00:00
Scott Ehlert
897135194b Moved FakeClientCommand from clients.inc to console.inc since it was also moved internally
Fixed internal buffer sizes in PrintToChat() and PrintCenterText()

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40905
2007-06-07 02:26:06 +00:00
Scott Ehlert
95dee16788 Yikes, fixed PrintToChatAll() and PrintCenterTextAll()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40904
2007-06-07 02:04:05 +00:00
David Anderson
c843825e71 - added experimental (so far) support for SourceMod chat triggers
- added ReplyToCommand() for replying to triggers nicely

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40899
2007-06-06 22:16:15 +00:00
Scott Ehlert
bd15f93d7d Implemented amb370 - added PrintToChatAll stock
Also added PrintCenterTextAll stock

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40898
2007-06-06 20:51:17 +00:00
Scott Ehlert
96527c93dc Changed a few natives/stocks that should have used IsClientInGame() rather than IsClientConnected()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40897
2007-06-06 20:42:46 +00:00
David Anderson
1b6b0f6c5e added GetSysTickCount for benchmarking
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40892
2007-06-06 16:40:30 +00:00
David Anderson
13493fd7d5 exposed new voting features to plugins (MenuAction_VoteCancel, IsVoteInProgress)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40891
2007-06-06 06:33:57 +00:00
David Anderson
2ee18824e9 added vote functionality
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40884
2007-06-05 16:44:19 +00:00
Scott Ehlert
6c17b9f37b - Added natives: PrintToChat() and PrintCenterText()
- Bit of reorganization with moving some natives from sourcemod.inc to halflife.inc

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40879
2007-06-01 06:33:54 +00:00
Scott Ehlert
1ab452c897 Return values of GetNativeCell() and GetNativeCellRef() have been tagged as any. As a result GetNativeFloat() and GetNativeHandle() are now deprecated.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40878
2007-06-01 06:31:02 +00:00
David Anderson
eb54cbb4f5 fixed various bugs in the sql natives and manager
added a basic test plugin

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40875
2007-06-01 04:22:53 +00:00
David Anderson
e334e5f7e7 -initial import of database natives + config
-initial import of completed database layer
-CreateIdentity now requires a non-optional second pointer.  This breaks backwards compatibility for CreateIdentity(), however, this is not a function extension authors are supposed to be calling

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40874
2007-06-01 02:30:29 +00:00
Borja Ferrer
942c3acd8e spelling mistake
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40857
2007-05-23 20:24:28 +00:00
David Anderson
fa1740734a added a notice to OnServerCfg about mods not supporting it
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40855
2007-05-23 17:56:47 +00:00
David Anderson
0e8ba9ed15 added RoundFloat and deprecated FloatRound
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40851
2007-05-23 15:49:28 +00:00
David Anderson
82c578f32d added request amb320
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40846
2007-05-23 02:26:43 +00:00
Scott Ehlert
220aec7789 Fixed param order in documentation for SplitString
Why? I don't know.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40845
2007-05-23 02:24:13 +00:00
David Anderson
caab299d3e Added request amb231 (OnPluginStart errors cause load failures)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40844
2007-05-23 01:59:58 +00:00
David Anderson
936337e54d added request amb293 - SetFailState
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40843
2007-05-23 01:44:00 +00:00
Borja Ferrer
f4390609b3 re-added old float rounding native
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40842
2007-05-22 23:45:53 +00:00
David Anderson
5a50d8ca0a added string splitting, exploding, and imploding
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40840
2007-05-22 22:58:51 +00:00
David Anderson
0ef8935839 added ReplaceString and ReplaceStringEx (phew!)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40839
2007-05-22 20:50:48 +00:00
Borja Ferrer
e60940834b added floating point optimizations to the JIT
standarised a bit more x86_macros.h
some asm optimizations to bintools extension

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40837
2007-05-22 15:15:51 +00:00
Scott Ehlert
307181de8d Added TrimString() native
Renamed StrBreak to BreakString

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40836
2007-05-22 03:42:04 +00:00
David Anderson
a6f446d4ec removed unused param from GetEntDataArray
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40833
2007-05-21 17:16:15 +00:00
David Anderson
9549136e06 fixed this - of course, offset needs to be incremented (Set/GetEntDataArray)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40832
2007-05-21 17:14:45 +00:00
David Anderson
608a1f0d80 added request amb312
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40829
2007-05-21 02:13:47 +00:00
David Anderson
314e7097f8 added request amb285
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40828
2007-05-21 01:54:17 +00:00
David Anderson
459a9d41ba added request amb278
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40827
2007-05-21 01:28:38 +00:00
David Anderson
daceab19cd added key selection setting
fixed amb309

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40825
2007-05-21 01:11:37 +00:00
David Anderson
bee6b715b9 fixed a typo in an unusable stock (so our include parser won't choke)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40823
2007-05-19 22:19:27 +00:00
David Anderson
2cad3c3424 fixed capitalization on uint64 keyvalues natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40822
2007-05-19 21:36:14 +00:00
David Anderson
a55400b0ac include file cleanup
added semicolons where needed
replaced taglists with 'any' tag
added braces to one-line stocks

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40821
2007-05-19 21:21:55 +00:00
David Anderson
86344c06af invalid tokens removed from admin.inc
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40820
2007-05-19 17:28:19 +00:00
David Anderson
e1fd0b6940 updated admin.inc's commenting style
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40819
2007-05-18 18:05:11 +00:00
David Anderson
0fb64f891d removed @brief syntax from early includes
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40818
2007-05-18 18:00:35 +00:00
David Anderson
5d4693c6f9 added <menus> to sourcemod.inc
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40817
2007-05-17 17:17:14 +00:00
Scott Ehlert
4ed2d6e515 Implemented amb296 - Added HookEventEx() which does not generate a runtime error if the event does not exist and returns false instead.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40807
2007-05-16 04:09:31 +00:00
David Anderson
be9c5e8675 fixed a comment typo
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40802
2007-05-15 02:13:07 +00:00
David Anderson
49369d07bc redid API yet again - IMenuHandler is now bound to an IBaseMenu instance
implemented MOST natives
removed broadcasting/voting handlers for the time being
fixed a crash bug in basecontext when i didn't obey the api
moved radio displays to a caching stack

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40796
2007-05-14 04:46:06 +00:00
Scott Ehlert
8a9b5b7d41 amb283 - Renamed IsPlayerInGame() to IsClientInGame()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40790
2007-05-13 07:48:36 +00:00
David Anderson
47e359d195 fixed typo
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40770
2007-05-12 02:14:12 +00:00
David Anderson
3493467771 small rewrite of how keyvalues iterator and get deleted. phew!
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40759
2007-05-07 02:58:58 +00:00
David Anderson
2f14014f3f oops, how did this happen
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40758
2007-05-07 00:11:10 +00:00
David Anderson
e69edf05eb added amb260
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40756
2007-05-07 00:02:33 +00:00
David Anderson
67a0cdf1c3 added StrCat stock
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40755
2007-05-06 23:35:45 +00:00
David Anderson
eb5b94ec44 more string natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40754
2007-05-06 23:12:54 +00:00
David Anderson
7013072236 added request amb251
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40749
2007-05-06 06:15:48 +00:00
David Anderson
45d5518b11 these should be default as the comments imply so
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40731
2007-05-02 20:51:28 +00:00
David Anderson
a5c018724a added amb217 (server.cfg forward)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40729
2007-05-02 20:44:35 +00:00
Scott Ehlert
3cdd3c0d0d Added GetGameFolderName() native
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40727
2007-05-02 19:33:51 +00:00
David Anderson
3c3906b494 added request amb234 (OnMapEnd)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40724
2007-05-02 17:49:23 +00:00
David Anderson
d57f543820 renamed OnServerLoad to OnMapStart
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40723
2007-05-02 17:45:09 +00:00
David Anderson
d432dc0cbd fixups to a few include files
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40722
2007-05-02 02:15:45 +00:00
Scott Ehlert
41e473a60c - Removed GetConVarMin/Max() and replaced them with GetConVarBounds()
- Added SetConVarBounds() to set convar constraints after convar has already been created

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40720
2007-05-01 05:29:37 +00:00
Scott Ehlert
523e3d042d Added paramater to CreateEvent to determine whether or not creation should be forced even if nothing is hooking/listening to the event.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40719
2007-04-30 22:53:27 +00:00
Scott Ehlert
473e1d4135 Removed flags from FireEvent()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40718
2007-04-30 22:03:28 +00:00
David Anderson
053029af87 fixed comment
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40714
2007-04-27 00:21:21 +00:00