Commit Graph

825 Commits

Author SHA1 Message Date
David Anderson
2bd5170e33 stupid gcc... what is it with you and newlines (fixes linux build)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401238
2007-08-01 02:18:19 +00:00
David Anderson
38ddbb37b9 updated more header files (mostly internal now)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401237
2007-08-01 02:12:47 +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
David Anderson
b0e107bdfb added amb704 (menu sound support)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401226
2007-07-31 18:56:55 +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
David Anderson
2f3c518eb1 fixed a bug where extensions were forwarded their unload call AFTER being dropped as an identity
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401208
2007-07-29 01:05:58 +00:00
David Anderson
76c34cc268 fixed a bug where the database manager removed itself from the plugins listener
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401207
2007-07-29 01:05:11 +00:00
Phong Dang
f2630470c4 Fixed AskPluginLoad would still allowed plugin to load even if it returned false.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401206
2007-07-29 00:26:18 +00:00
Phong Dang
eb0de8dad9 Fixed infinite loop when using SetArraySize() or 2nd parameter of CreateArray().
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401204
2007-07-28 20:01:30 +00:00
David Anderson
9d7db20b96 fixed a bug where HandleSecurity was not initialized properly for the datapack natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401199
2007-07-27 21:00:50 +00:00
David Anderson
1154b20fc9 added a new function to ILibrarySys
added define in SDK for LIBRARYSYS

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401198
2007-07-27 18:24:09 +00:00
David Anderson
fa07c9d8a2 exposed DataPack Handle type
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401197
2007-07-27 15:45:15 +00:00
David Anderson
d8b18c91a0 fixed a small crash bug when unloading
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401171
2007-07-25 04:32:54 +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
39f7d51747 added amb403 (sm_reloadadmins)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401168
2007-07-24 22:20:58 +00:00
David Anderson
48d71cae26 finished a(nother) rewrite of how players authenticate. name-based authentication has been added and passwords work fully now.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401167
2007-07-24 20:11:47 +00:00
David Anderson
9ef04b07e7 added password support
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401166
2007-07-24 17:05:46 +00:00
David Anderson
9c44d29b23 fixed a small bug in GetArrayCell/PushArrayCell that caused cell/char to be swapped
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401165
2007-07-24 15:07:38 +00:00
David Anderson
c3cd2ac4a3 added amb670 (exposed IDBThreadOperation to extensions)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401163
2007-07-24 02:24:37 +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
30b475ef35 fixed bug amb659 (unloading parent extensions)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401156
2007-07-23 20:20:45 +00:00
Scott Ehlert
8b758a079a No comment worth mentioning for this one :x
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401155
2007-07-23 19:38:02 +00:00
Scott Ehlert
416752a0cc Fixed another issue with crashing on exit in relation to convars
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401154
2007-07-23 19:34:26 +00:00
David Anderson
172b3e8ab8 new jit api versioning scheme for amb398
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401153
2007-07-23 19:12:54 +00:00
Scott Ehlert
b4ba442d3c Oh, forgot this - added some missing code for SourceMM 1.5 version of rev 1151
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401152
2007-07-23 18:56:20 +00:00
Scott Ehlert
b372d50f3c Fixed amb660 - crash on exit when handles were created for convars that belonged to Metamod:Source plugins (or SM extensions that were loaded as MM:S plugins)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401151
2007-07-23 18:30:02 +00:00
David Anderson
54c3e17a14 fixed amb664 - BOM markings were not properly ignored
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401149
2007-07-23 17:25:18 +00:00
David Anderson
ee6f4cb1fa fixed amb658 - timer_flag_no_mapchange conflicted with simulated ticking
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401148
2007-07-22 16:01:01 +00:00
David Anderson
1a65cc5934 oh no, missing license header
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401147
2007-07-22 02:01:18 +00:00
Scott Ehlert
d7512156e8 Fixed amb667 - Forward called twice when returning Plugin_Stop in ET_Hook
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401146
2007-07-21 21:48:26 +00:00
Scott Ehlert
5de1cc57ce Fixed amb663 - crash when say or say_team command had no arguments
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401145
2007-07-20 07:31:09 +00:00
David Anderson
59f47dfd17 fixed another translator cache issue
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401140
2007-07-19 03:22:10 +00:00
David Anderson
c4a913231a fixed various memory relocation corruption bugs in the translator
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401139
2007-07-19 02:08:42 +00:00
David Anderson
3fdc205544 - changed TextMsg to return a bool
- fixed a bug where you couldn't send messages from post hooks
- added protection in functions which expect StartMessage to succeed

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401138
2007-07-19 00:34:44 +00:00
David Anderson
0069612c95 fixed a serious corruption bug in fastlink causing menus to corrupt memory after a while
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401137
2007-07-18 06:20:00 +00:00
Scott Ehlert
387ac70d1e Fixed linux build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401131
2007-07-16 04:22:16 +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
399fb8a8e8 fixed a bug where __pl_*_SetNTVOptional could not be called
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401129
2007-07-15 22:34:30 +00:00
David Anderson
a80d38f799 - reloading now refreshes weak native binds
- fixed a crash bug when unloading a plugin being pointed to by weak ntvrefs in another plugin

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401128
2007-07-15 21:29:49 +00:00
David Anderson
430e63d6cd fixed crash bug when unloading a plugin with a weak ntvref
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401127
2007-07-15 20:27:11 +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
1b4b16af47 Fixed loonix build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401119
2007-07-15 03:07:58 +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
68901b71d2 added craaaaazy debugger so we can get full minidumps
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401117
2007-07-14 17:36:11 +00:00
David Anderson
1f919c1f09 fixed linux build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401116
2007-07-14 04:15:08 +00:00
David Anderson
12696fc289 fixed amb477, textparser_smc crash
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401115
2007-07-14 02:06:42 +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
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
f2194aa2d9 fixed amb582 - private triggers getting fired twice
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401109
2007-07-14 00:35:08 +00:00
David Anderson
d4f2d30332 tquery now fails on nonts drivers
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401107
2007-07-13 20:27:21 +00:00
David Anderson
c7c7fed3d5 fixed a bug where failed TConnects would have no error message
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401106
2007-07-13 19:57:01 +00:00
David Anderson
560ff04a4d fixed linux build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401105
2007-07-13 19:47:10 +00:00
David Anderson
8a3b34bcdc added missing headers for priority queue
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401104
2007-07-13 19:43:02 +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
41aa77314d fixed a bug where threader wasn't exposed
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401100
2007-07-13 17:26:32 +00:00
David Anderson
215a5b49bc fixed linux build for pthreads
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401097
2007-07-12 16:59:08 +00:00
David Anderson
529933739d - added callback functionality to IThreadWorker
- added exposure of IThreader to sample sdk

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401096
2007-07-12 16:57:26 +00:00
Borja Ferrer
8a8e6ef594 added experimental optional natives (part 1)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401095
2007-07-12 02:57:43 +00:00
Scott Ehlert
5b8ffc08eb Fixed minor issue with sm_trie_add where memory was being read beyond the allocated boundaries
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401094
2007-07-10 08:21:24 +00:00
David Anderson
411f7693c3 - removed threader from version tracker
- replaced mutexes with critical sections for windows

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401093
2007-07-09 23:42:30 +00:00
David Anderson
b94de1dfae synced linux build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401091
2007-07-09 16:14:16 +00:00
David Anderson
b13e48ae0b added threader to core (not used yet)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401090
2007-07-09 16:10:23 +00:00
Scott Ehlert
984df35414 Fixed amb581 - reentrancy problems with Call_Finish()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401088
2007-07-09 06:03:04 +00:00
David Anderson
0756c18bea wrong name for setcmdreplysource
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401083
2007-07-08 20:08:15 +00:00
David Anderson
de2db4670f fixed windows build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401080
2007-07-08 19:02:27 +00:00
David Anderson
3f4158aa7e added support for escape characters in SMC files
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401079
2007-07-08 18:43:13 +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
f3566e6f4c cleanup of vector import
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401076
2007-07-08 17:34:44 +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
da8399c870 Gameconfs now support descriptions to identify games with '!' at the beginning of the string
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401070
2007-07-08 09:34:20 +00:00
David Anderson
9400850d03 removed a message that could have been spammed on mods with only one platform binary
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401067
2007-07-08 04:38:07 +00:00
David Anderson
e87d5a0a6a fixed a small bug where trie replace didn't always work
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401066
2007-07-08 04:36:14 +00:00
David Anderson
a2617e5644 gameconfs can now inherit properly with a new trie replace function
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401063
2007-07-08 03:17:29 +00:00
David Anderson
5743211846 removed errors on faulty gameconf sig finds - this sort of made partial inheritance awkward because an error could be thrown even if the signature was found later
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401060
2007-07-07 23:24:36 +00:00
David Anderson
904aceb435 fixed bug amb569
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401056
2007-07-07 18:24:02 +00:00
David Anderson
081620b1d3 added amb543
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401055
2007-07-07 18:17:49 +00:00
Scott Ehlert
cce60de20f Fixed bug where multiple "#default" sections in game config file would be ignored if the first section does not work for the running game/mod
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401049
2007-07-07 04:06:47 +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
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
d5dbffc6ab added amb505
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401042
2007-07-03 20:46:17 +00:00
David Anderson
17ac4f9331 fixed amb522
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401041
2007-07-03 20:22:39 +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
David Anderson
8da18eefac updated linux makefile
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401035
2007-06-30 16:50:13 +00:00
David Anderson
b649d60cb0 - added IADTFactory for sdktools
- updated sample extension and sdktools sdks

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401034
2007-06-30 16:43:11 +00:00
David Anderson
c19c607b14 fixed amb472
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401031
2007-06-27 01:55:18 +00:00
David Anderson
1915dd049e fixed a bug where improper event removals could cause a crash
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401028
2007-06-26 22:28:37 +00:00
David Anderson
37622cece6 fixed exec'ing from cfg literally
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401027
2007-06-26 20:10:36 +00:00
Scott Ehlert
3c809ae9b0 Made some things const in convar_sm.h
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401026
2007-06-26 19:29:24 +00:00
David Anderson
a3f7248990 cvar exclusion hack -- amb468
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401025
2007-06-26 18:34:06 +00:00
David Anderson
271a8b5b56 - sourcemod can now unload properly without crashing
- extensions now unload, dependencies are resolved

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401024
2007-06-26 17:08:07 +00:00
David Anderson
5e7b7589be PrintToChat/PrintToCenter natives will now break out of displaying if FormatString throws an error
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401023
2007-06-25 23:14:24 +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
28d24a7f97 - renamed translation files from .cfg -> .txt
- renamed trans core file to core.phrases.txt
- renamed trans common file to common.phrases.txt
- added some backwards compat so this doesn't break everyone's plugins

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401019
2007-06-24 21:14:06 +00:00
David Anderson
c5b593a275 added a bcompat hack to deal with upcoming .cfg -> .txt changes in core
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401018
2007-06-24 21:04:20 +00:00
David Anderson
2f3e46f8f8 added SetGlobalTarget() calls to anything that uses Format()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401017
2007-06-24 19:40:25 +00:00
David Anderson
493ee21c6d fixed bug amb400
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401014
2007-06-24 01:45:33 +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
efea4ebbcb fixed amb424
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401010
2007-06-22 18:44:27 +00:00
David Anderson
97c5ff6b65 fixed a bug where the "keyOnly" parameter to KvGotoNextKey was read backwards
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401008
2007-06-22 17:24:48 +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
Scott Ehlert
db83c8e2d9 Fixed a million bugs in reserved slots plugin - should be perfect now (I hope)
Finalized KickClient native

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401004
2007-06-22 03:43:00 +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
b93aea922f Changed "Player" to "Client" in error messages about clients (attempt at some sort of error message consistency)
P.S. Happy 1000 Revisions, SourceMod!

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401000
2007-06-20 11:30:29 +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
Scott Ehlert
6762b6c29f This was a long time coming, but - renamed "sm convars" to "sm cvars"
This is sort of a consistency fix due to the "sm_cvar" command in basecommands.sp

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40996
2007-06-20 08:54:26 +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
33b2d04e2d fixed a bug where menu handler used wrong variable for param2 bitmask in MenuVoteEnd
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40983
2007-06-18 03:39:15 +00:00
David Anderson
e16d731d81 fixed a bug where linux did not read dladdr() return value right for gameconfs
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40979
2007-06-17 19:23:43 +00:00
David Anderson
ffc624fe54 fixed bug amb401
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40978
2007-06-17 18:48:46 +00:00
David Anderson
c5898044c1 Fixed a bug where the GameConfig file cache was not cleared once a file was fully closed
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40977
2007-06-17 18:26:34 +00:00
David Anderson
68d2f741cf added extensive menu action logging
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40976
2007-06-17 18:06:03 +00:00
David Anderson
5b7d82570f fixed a state bug in the gameconf parser that would break parsing after a signature section was done
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40975
2007-06-17 07:32:31 +00:00
David Anderson
1e1992482f finally exposed IGameHelpers interface
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40971
2007-06-17 04:04:17 +00:00
David Anderson
9bd438d3bb fixed a bug where only one signature per file would be parsed
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40970
2007-06-17 02:50:04 +00:00
David Anderson
35c13983df fixed a bug when no one votes for a menu
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40968
2007-06-16 22:10:22 +00:00
David Anderson
8335aab394 fixed bug amb399
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40967
2007-06-16 22:04:46 +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
fe0d41198b fixed bug amb402
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40965
2007-06-16 21:42:05 +00:00
David Anderson
29f36e2e3f fixed linux build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40957
2007-06-16 15:15:30 +00:00
David Anderson
c133002c14 added handle reading to GameConfigManager
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40955
2007-06-16 08:35:26 +00:00
David Anderson
b706a6990c - moved gamedata out of "configs"
- added signature scanning to gameconfs
- renamed "*" to "#default" in gameconfs
- added new inheritance feature to gameconfs

--HG--
rename : configs/gamedata/core.games.txt => gamedata/core.games.txt
rename : configs/gamedata/sdktools.games.txt => gamedata/sdktools.games.txt
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40953
2007-06-16 05:42:16 +00:00
David Anderson
74a2a1498c ShareSys::AddDependency now functions
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40947
2007-06-16 01:34:05 +00:00
Scott Ehlert
173037a0e9 Added -Wno-unitialized to makefile; this is usually the cause of pointless build failures
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40946
2007-06-15 21:40:09 +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
4b613ac5d5 fixed bug amb386
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40941
2007-06-15 03:16:08 +00:00
David Anderson
07d6a7d7ee fixed bug amb395
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40939
2007-06-15 01:58:13 +00:00
David Anderson
86ec0aee32 added database file to linux build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40938
2007-06-15 01:29:28 +00:00
David Anderson
eee7c78342 fixed ipaddr lookup not working for admins
fixed a bug where steam-based auth could override ip auth

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40937
2007-06-08 16:14:22 +00:00
David Anderson
2e3c61c849 SourceMod now does authentication in core; admin-auth gets removed. this has an added bonus that OnClientAuthorized reliably has whether an admin is validated
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40936
2007-06-08 07:54:45 +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
David Anderson
2463cf50bf mispelled "phrase"
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40925
2007-06-07 22:26:38 +00:00
David Anderson
be6335c91a Fixed bugs amb352 and amb274
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40922
2007-06-07 18:50:52 +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
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
a2dff5f7d0 - fixed a bug where translation parameters were simply not read right
- fixed some oddness about how SourceMod determines that a phrase does not exist

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40915
2007-06-07 06:16:38 +00:00
Scott Ehlert
ebf3afb35f Added SVN Id keyword to plugin headers
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40914
2007-06-07 06:08:16 +00:00
David Anderson
d79c0223c1 fixed a bug where GetAdminFlag could return false if a user had root
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40913
2007-06-07 05:53:50 +00:00
David Anderson
9f9b92ec43 fixed a bug where the console was not a valid loggable player from %L
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40912
2007-06-07 05:53:32 +00:00
David Anderson
c94e1f7a97 added %L format specifier for logging player info
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40911
2007-06-07 04:47:03 +00:00
David Anderson
30eb92174f fixed the Windows build! (it's not too often we say that, eh)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40910
2007-06-07 04:08:34 +00:00
David Anderson
00e9d047c7 added sm_dump_handles command for tracking down Handle leaks... more to come someday
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40906
2007-06-07 02:36:54 +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
David Anderson
f6a1db7633 added say_team hooks
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40903
2007-06-06 22:37:36 +00:00
David Anderson
7ab88f2020 added config options for chat triggers
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40902
2007-06-06 22:31:54 +00:00
David Anderson
1eb1072687 the "No Access" phrase now replies correctly from chat triggers
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40901
2007-06-06 22:26:40 +00:00
David Anderson
c094ea1b22 added linux support to chat triggers
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40900
2007-06-06 22:18:53 +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
Scott Ehlert
3a182c20b1 Plugin_Stop now works for event hooks
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40896
2007-06-06 20:03:35 +00:00
Scott Ehlert
db97cf2cc8 Fixed Linux build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40895
2007-06-06 18:38:23 +00:00
David Anderson
5193fe5a4e - fixed a serious bug where %T arguments were read backwards (they now match the wiki documentation of phrase and then client)
- fixed a bug where the argument count for %T was not checked properly

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40894
2007-06-06 17:34:35 +00:00
David Anderson
8303b79ef7 fixed a crash bug in translation file loading where big files would reset the string cache and not update pointers
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40893
2007-06-06 17:34:16 +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
6f4784e3d1 - vote menus now get cancelled properly (and get a new callback with it)
- added api for seeing if a menu is in a VoteDisplay
- fixed another item count bug
- removed some cruft from the vote handler header

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40890
2007-06-06 06:27:47 +00:00
David Anderson
749f2a2ce7 fixed inheritance not being used in the base menu style when removing clients from the watch list
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40889
2007-06-06 06:04:16 +00:00
David Anderson
92e8b40b99 fixed a bug where votes could potentially select a completely invalid item
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40888
2007-06-06 06:02:43 +00:00
David Anderson
465a3962cb yet again
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40887
2007-06-05 18:27:31 +00:00
David Anderson
2a801d8c09 reverted bad change
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40886
2007-06-05 18:24:30 +00:00
David Anderson
a290cf6c1b fixed linux build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40885
2007-06-05 17:21:47 +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
David Anderson
aea69f5fe8 added experimental voting API
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40883
2007-06-05 16:27:45 +00:00
David Anderson
a3687d9258 databases now get separate handles for persistent connections
removed GetHandle from IDatabase
simplified IDatabase::Close

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40881
2007-06-01 21:26:52 +00:00
Scott Ehlert
3ed301e9af Fixed builds *sigh*
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40880
2007-06-01 07:21:07 +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
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
Scott Ehlert
d461239e74 Fixed amb362 - convars could sometimes appear more than once in convar list
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40873
2007-05-31 21:35:33 +00:00
Scott Ehlert
d48e1f358e Disabled RTTI in all MSVC project files - this has the side effect of reducing the size of some Windows binaries
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40871
2007-05-30 04:54:35 +00:00
David Anderson
11470d81ca added new (somewhat experimental) mysql extension and finalized the API
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40868
2007-05-30 03:25:18 +00:00
Scott Ehlert
1dffe2e648 Fixed linux build *sigh*
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40867
2007-05-29 22:05:52 +00:00
Scott Ehlert
8bd6bf1b57 Implemented amb20 - 'sm plugins info' now shows when plugin will be reloaded
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40866
2007-05-29 20:18:53 +00:00
David Anderson
f48263b9d2 posted new IDBDriver API - no natives are implemented yet, MySQL extension coming very shortly
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40864
2007-05-29 08:32:12 +00:00
David Anderson
be634bb027 - the handle system now lets you create HandleSecurity structs easier, but source compatibility is broken (using the old syntax wasn't really good C++ anyway!)
- fixed VM including PluginSys for some reason

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40863
2007-05-29 08:30:13 +00:00
Scott Ehlert
c1c293ccc4 Fixed amb324 - Client index of host was sometimes passed as 0 on listen server
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40862
2007-05-28 07:25:12 +00:00
David Anderson
ca3c8eb6b7 fixed a bug in the index-based linked list template which caused head or tail removals (but not both) to result in a corrupt link chain
additionally, fixed a bug where the list size was not maintained properly

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40860
2007-05-24 02:25:18 +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
196a665d51 implemented request amb302 (onservercfg and onmapstart are now called if a plugin is late loaded)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40854
2007-05-23 17:54:45 +00:00
David Anderson
60386df00f fixed a bug where disconnected clients did not have their menus cancelled for radio style menus
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40852
2007-05-23 16:56:24 +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
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
4db651b4de fixed linux build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40841
2007-05-22 23:00:12 +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
Scott Ehlert
a5e3c79402 Wow, how did this go unnoticed:
Fixed ILibrarySys::GetFileExtension() and loading plugins without the "smx" extension.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40835
2007-05-22 03:39:18 +00:00
David Anderson
48cf71877b fixed a bug where the menu watch processor removed the wrong index from its list
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40831
2007-05-21 05:00:38 +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
1049600e99 disallowed pagination of 1
fixed pagination setting bugs in valve style

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40826
2007-05-21 01:18:55 +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
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
6328445043 vm errors from dynamic natives will now be explained more clearly to the calling plugin
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40811
2007-05-16 21:53:47 +00:00
David Anderson
f3b3ca6b22 jit errors will now get passed upwards
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40809
2007-05-16 18:30:43 +00:00
Scott Ehlert
727e15b5a3 Yikes, fixed HookEventEx()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40808
2007-05-16 05:04:28 +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
c9bc46e770 core will now ignore missing natives starting with '@'
the compiler will now resolve aliased natives to single references and export '@' natives for each redundant entry

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40804
2007-05-15 04:59:24 +00:00
David Anderson
82e07a9bf0 fixed a visual spacer being added to radio menus when no control options existed
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40803
2007-05-15 02:23:12 +00:00
David Anderson
a03caa9120 fixed makefile for radio menus being excluded
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40801
2007-05-14 22:10:18 +00:00
Scott Ehlert
515be43896 Implemented amb286 - .smx extension no longer required with "sm plugins load"
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40800
2007-05-14 21:29:17 +00:00
Scott Ehlert
663906c60e Fixed amb289 - Crash on SourceMod shutdown when hooking events as post in Linux.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40798
2007-05-14 06:45:27 +00:00
David Anderson
2af178229d fixed linux build for menu natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40797
2007-05-14 04:48:03 +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
David Anderson
d1dea716a6 Added a re-entrancy check to Handles so the destructor won't fire twice in certain cases
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40795
2007-05-13 22:36:22 +00:00
David Anderson
0b45984017 changed IMenuDisplay/CreateDisplay to IMenuPanel/CreatePanel
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40793
2007-05-13 18:55:59 +00:00
Borja Ferrer
ae8b06194f fixed bug in amb275
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40792
2007-05-13 17:23:42 +00:00
David Anderson
f76a2b4e07 finished radio menus
added a new item flag so radio menus could ignore disabled control items due to a bug where 0 is always white in Valve menus
fixed a bug where ClientPressedKey() did not account for the max page items in a style
fixed some pagination drawing bugs with control items

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40791
2007-05-13 17:12:16 +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
d417dea968 external menus time out now
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40788
2007-05-13 05:59:06 +00:00
David Anderson
32a472fccf exposed the interface since the API is almost stable
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40787
2007-05-13 05:53:36 +00:00
David Anderson
94c0783d5c initial import of radio message - UNTESTED, DO NOT EVEN TRY LOL
added supported mods for radio messages into core gameconf
various internal fixes/improvements for menus

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40786
2007-05-13 05:51:30 +00:00
David Anderson
530a5aad80 fixed various linux compilation problems
added menus to the makefile

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40784
2007-05-13 04:43:52 +00:00
David Anderson
d9b06e298c some minor fixups
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40782
2007-05-13 04:41:10 +00:00
David Anderson
5aabd81406 moved a whole crapload of code into a BaseMenuStyle so I can keep my precious sanity
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40781
2007-05-13 03:38:36 +00:00
David Anderson
c07bfbe9bd fixed some re-entrancy bugs
removed debug commands

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40780
2007-05-13 00:42:39 +00:00
David Anderson
0eae31dd4a fixed this file not having our header
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40779
2007-05-13 00:19:05 +00:00
David Anderson
abb434f63a fixed an issue with fastlink iterators not working right
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40778
2007-05-13 00:18:04 +00:00
David Anderson
e3b3d89bc8 test of properties
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40777
2007-05-12 23:50:04 +00:00
David Anderson
d7b2f9a721 behold with your eyes and view upon what are MENUS
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40775
2007-05-12 23:45:52 +00:00
David Anderson
e76b4cd255 whoa, added a new template function
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40773
2007-05-12 22:52:25 +00:00
Scott Ehlert
a11f687f2a Oh, wow, removed some debug messages. Nice going DS.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40772
2007-05-12 04:49:40 +00:00
Scott Ehlert
a9abbed7dc User message functions now fallback on IServerGameDLL::GetUserMessageInfo() if SourceMM was unable to get the message list for some reason.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40771
2007-05-12 04:47:58 +00:00
Scott Ehlert
1274c0b8bd Fixed linux build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40769
2007-05-11 20:00:29 +00:00
Borja Ferrer
4ae67c9213 added debug code for leak detection on plugins
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40768
2007-05-10 22:51:56 +00:00
Scott Ehlert
ec13f1b998 Fixed an issue where unloading and then reloading a plugin that creates convars would make it's convar list blank
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40765
2007-05-09 20:14:56 +00:00
Borja Ferrer
9d9369079a fixed bug for amb266
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40762
2007-05-08 22:26:30 +00:00
Scott Ehlert
3851dc9243 Renamed err_max to maxlength. Yes, I am crazy.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40761
2007-05-08 00:21:44 +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
ca7ebffc8a oops
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40757
2007-05-07 00:03:37 +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
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
ffe0867d1a fixed amb254
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40753
2007-05-06 19:52:00 +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
Scott Ehlert
a994857444 Couple of random of things
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40747
2007-05-06 03:24:54 +00:00
Scott Ehlert
1205de4e67 Normal daily and error logs now use YYYYMMDD date format in their file names (like AMXX 1.8 will)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40744
2007-05-04 21:21:55 +00:00
Scott Ehlert
cc7a4904c5 Added missing return...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40743
2007-05-04 20:52:35 +00:00
Borja Ferrer
b91f1b21ba fixed bug in amb249
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40742
2007-05-04 20:03:51 +00:00
Borja Ferrer
d8c7af77a3 exposed the sourcepawn and JIT interfaces with pointers
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40739
2007-05-04 01:28:08 +00:00
David Anderson
01b0432776 changed LANG_ENGLISH to CORELANG_ENGLISH
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40738
2007-05-03 05:27:22 +00:00