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
Scott Ehlert
2884483bef
Fixed amb363 - Compiler reports wrong line number for unused global symbols
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40882
2007-06-05 05:45:48 +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
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
14b0cc6efe
fixed linus build
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40877
2007-06-01 04:43:31 +00:00
David Anderson
344840bb20
added mysql to the build script, and now i have 18 minutes to make sure both servers will work with this change
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40876
2007-06-01 04:40:58 +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
2dfec132f7
Err, missed one thing from rev 871
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40872
2007-05-30 04:57:28 +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
ce3689c6ce
builds on linux now
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40870
2007-05-30 04:20:51 +00:00
David Anderson
4aab11577d
removed erroneous files
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40869
2007-05-30 04:18:28 +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
e942b77c48
- renamed global extension variables to be lowercase and simpler (old ones are still there so the SDK is still upgradeable)
...
- interface fetching is now configurable
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40865
2007-05-29 16:42:47 +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
Scott Ehlert
dd2986d1d8
Fixed amb333 - compiler crash when attempting to call native without parentheses
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40861
2007-05-24 04:37:20 +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
df9b23948b
JIT memory code is properly aligned now to 16 bytes
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40859
2007-05-23 23:42:04 +00:00
David Anderson
150cb6ec1f
added plugin compiling
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40858
2007-05-23 22:08:05 +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
Scott Ehlert
6dc9c923f4
Compiler uses local build number now
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40856
2007-05-23 20:22:31 +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
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
c9353c7a2f
insurgency doesn't work yet
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40853
2007-05-23 16:58:53 +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
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
Scott Ehlert
6f7f487275
amb318 - The warning message for tag mismatches with functags has been changed to "function prototypes do not match"
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40850
2007-05-23 07:23:24 +00:00
Scott Ehlert
273d146ee1
Oh, err. Fixed a small problem where errors 100-119 could be shown as fatal rather than normal error messages.
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40849
2007-05-23 05:17:03 +00:00
David Anderson
8a086fa820
fixed bug amb331 (compiler freeze on certain arrays)
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40848
2007-05-23 03:21:40 +00:00
Scott Ehlert
cf889d1346
New descriptive error messages concerning structs
...
Increased possible error messages to 119: Fatal error messages now start at 120 instead of 100.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40847
2007-05-23 03:05:35 +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