Commit Graph

779 Commits

Author SHA1 Message Date
Wliu
58d94c2827 Adds TF2_SetClientTeam to provide symmetry to TF2_GetClientTeam
Also remove some trailing whitespace
2015-02-20 21:23:27 -05:00
Nicholas Hastings
589482736f Merge pull request #247 from AnthonyIacono/normalshook-upgrade
Improvements for NormalSHook functionality (r=psychonic).
2015-02-18 14:43:33 -05:00
Nicholas Hastings
a541acb2bc Convert admin SQL plugins to use AdminId/GroupId methodmaps, newdecls. 2015-02-17 09:13:40 -08:00
Nicholas Hastings
63d1fa2d8e Convert admin-flatfile to use AdminId/GroupId methodmaps and newdecls. 2015-02-17 08:24:46 -08:00
Nicholas Hastings
e4ee52e1ac Convert adminhelp to newdecls. 2015-02-17 08:24:11 -08:00
Nicholas Hastings
c0729ff5e2 Add methodmap for GroupId. 2015-02-17 08:21:14 -08:00
Nicholas Hastings
c2d37cdff5 Add methmodmap for AdminId. 2015-02-17 07:19:56 -08:00
Ryan Stecker
0203d2c811 Fix tag mismatch warning when using SQLite_UseDatabase. (bug 6310) 2015-02-15 21:53:31 -06:00
Nicholas Hastings
840b432ce0 Merge pull request #253 from alliedmodders/adminmenu-newdecl
Convert adminmenu to use newdecls and new classes/methodmaps (r=dvander).
2015-01-28 18:52:53 -05:00
Nicholas Hastings
e1b6e09cd3 Merge pull request #250 from alliedmodders/sdkhooks-newdecls
Convert remainder of sdkhooks.inc to newdecls (r=dvander).
2015-01-28 18:52:41 -05:00
Nicholas Hastings
43bca4dcc2 Convert adminmenu to use newdecls and new classes/methodmaps. 2015-01-27 18:13:10 -08:00
Nicholas Hastings
dbbc30368d Convert remainder of sdkhooks.inc to newdecls. 2015-01-27 18:06:14 -08:00
Nicholas Hastings
5f651f7fde Convert remainder of topmenus.inc to newdecls. 2015-01-27 18:03:59 -08:00
Nicholas Hastings
eadfec75a4 Make TopMenuHandler pass topmeut as TopMenu instead of Handle. 2015-01-27 18:03:24 -08:00
Anthony
ee0575bbb0 Adding EmitSoundEntry() for engines >= portal 2 2015-01-21 10:33:29 -08:00
Anthony
cddae6f456 Upgrading the normal sound hook for games like CS:GO 2015-01-20 15:08:57 -08:00
Simone
fbb6e88d0d Add missing semicolon. 2015-01-17 11:47:26 +01:00
Ryan Stecker
2516654d2e Use BfRead or Protobuf tags in umsg hook callbacks, rather than a generic Handle. 2015-01-15 13:40:21 -06:00
Ryan Stecker
8dbcfde314 Revert "Use BfRead tag in umsg hook typedef, rather than a generic Handle."
This reverts commit 89119880b5.
2015-01-15 13:32:54 -06:00
Ryan Stecker
89119880b5 Use BfRead tag in umsg hook typedef, rather than a generic Handle. 2015-01-13 21:33:11 -06:00
Ross Bemrose
8567246772 ClearArray was changed to Clear in recent SourceMod builds. 2015-01-06 10:07:15 -05:00
Ross Bemrose
a9961d3bb4 Merge branch 'master' of https://github.com/alliedmodders/sourcemod into mapchooser-updates 2015-01-06 10:04:25 -05:00
Nicholas Hastings
3e012e7f79 Fix ArrayList.Clear func name. 2015-01-04 12:28:38 -05:00
Nicholas Hastings
56d768f546 Merge pull request #239 from peace-maker/sdkhooks_otdsig
Fix missing params in OnTakeDamagePost typedef (r=psychonic).
2015-01-03 15:00:03 -05:00
David Anderson
822501b8a1 Fix typos in dbi.inc transitional syntax. 2015-01-03 11:38:51 -08:00
Peace-Maker
ff9ae0782e Fix missing params in OnTakeDamagePost typedef
Looks like the |weapon| parameter went missing during the switch to the
transitional syntax.

There was no -Post typedef including the |damagecustom| bit at all too.
2015-01-03 19:45:27 +01:00
Nicholas Hastings
4dd9131847 Merge pull request #234 from alliedmodders/expose-getmulticastrecips
Expose Message_DetermineMulticastRecipients as GetClientsInRange native (r=asherkin).
2014-12-30 15:42:25 -05:00
Nicholas Hastings
6d1a2b0d86 Expose Message_DetermineMulticastRecipients as GetClientsInRange native. 2014-12-30 15:37:57 -05:00
Nicholas Hastings
4a9dffd3e1 Change sm_trigger_show default value to 0 / disabled. 2014-12-29 11:56:07 -05:00
Ross Bemrose
f69f4eb85f Fixes to make mapchooser.inc transitional compliant. Also updated comments in mapchooser.sp to match the new mapchooser.inc signature. 2014-12-26 12:36:12 -05:00
Ross Bemrose
84782a40df Merge branch 'master' of https://github.com/alliedmodders/sourcemod into mapchooser-updates 2014-12-26 12:30:21 -05:00
FlaminSarge
7b71ff2643 Denote TFCond multiples of 32 consistently 2014-12-23 02:21:02 -08:00
FlaminSarge
97e88640ca Update TFCond enum for Mannpower 2014-12-23 02:13:51 -08:00
Ross Bemrose
6dff44da54 Merge branch 'master' of https://github.com/alliedmodders/sourcemod into mapchooser-updates 2014-12-22 15:56:18 -05:00
Nicholas Hastings
7fddf5abf4 Disable nextmap on Insurgency. 2014-12-20 22:55:36 -05:00
Ross Bemrose
7edc1f8a6d Stop MENU_ACTIONS_ALL from tossing warnings when #pragma newdecls required is set. 2014-12-19 11:29:05 -05:00
Ross Bemrose
a0dd8cbc97 Merge branch 'master' of https://github.com/alliedmodders/sourcemod into mapchooser-updates 2014-12-19 11:15:04 -05:00
Nicholas Hastings
4311dc3270 Bump version to 1.8.0-dev. 2014-12-18 04:55:58 -08:00
Ross Bemrose
01f4b204c9 Added two items missed in the original conversion with the Runoff vote. 2014-12-17 16:05:14 -05:00
Ross Bemrose
f40bfbf762 Updated nextmap.inc. Also fixed copyright years and added missing copyright header to mapchooser.inc (all .inc files use the same copyright header, so...) 2014-12-17 11:53:02 -05:00
Ross Bemrose
ccf5aa6b54 Change all view_as<>(null) back to INVALID_HANDLE for now. 2014-12-17 11:07:51 -05:00
Ross Bemrose
032dde7be9 Missed a few GetArrayCell and GetArraySizes in MapChooser. 2014-12-16 17:00:00 -05:00
Ross Bemrose
2d5b71c832 Deleted comment... checked into it and its working as intended. 2014-12-16 16:57:49 -05:00
Ross Bemrose
8272151d78 Convert the MapChooser VoteHandlers over to the new style. 2014-12-16 16:20:03 -05:00
Ross Bemrose
844fad263a Add new-style API compatibility for VoteHandler. 2014-12-16 16:06:20 -05:00
Ross Bemrose
1b79252947 Update NextMap, Nominations, RandomCycle, and RockTheVote with newer MethodMap stuff 2014-12-16 14:16:06 -05:00
Ross Bemrose
bc4d6b7104 Eliminate extraneous view_as calls and also update mapchooser.inc. 2014-12-16 13:53:54 -05:00
Ross Bemrose
46839b9752 Update MapChooser to use 1.7 syntax... except there's a bug you run into with Advanced Vote Callbacks. 2014-12-16 13:38:43 -05:00
Ryan Stecker
20ed5c338c Fix UserMessageToBfWrite and UserMessageToBfRead not working correctly for non-protobuf usermessages. 2014-12-15 23:07:53 -06:00
David Anderson
b60ef1669c Update SQL plugins for transitional syntax. 2014-12-14 18:37:32 -08:00
David Anderson
b1cb06c5ce Update DBI for transitional syntax. 2014-12-13 16:34:58 -08:00
David Anderson
1328984e0b Update plugins for transitional methods. 2014-12-13 13:29:15 -08:00
David Anderson
722a23c818 Redo menu methodmaps. 2014-12-13 12:53:30 -08:00
David Anderson
28eb663f9b Port events to transitional syntax. 2014-12-13 12:51:16 -08:00
David Anderson
61bf7de101 Revert adminmenu API changes. 2014-12-12 10:10:46 -08:00
Nicholas Hastings
46d620cb6a Merge pull request #217 from alliedmodders/tf2-holidayvars
Convert TFHoliday values to pubvars.
2014-12-10 08:31:15 -05:00
David Anderson
18cc1b414b Fix some compile errors in new-style includes. 2014-12-10 02:12:53 -08:00
David Anderson
a9e252314d Use typeset in sdkhooks.inc. 2014-12-10 01:13:08 -08:00
Kyle Sanderson
bc4081718b Merge pull request #218 from KyleSanderson/damageeeee
Return the 'e' to OnTakeDamagAlive comment.
2014-12-09 23:20:20 -08:00
David Anderson
94bed806fe Reserve many keywords. 2014-12-09 23:04:13 -08:00
David Anderson
9c98edd104 Rename "union" semantics to "typeset". 2014-12-09 22:36:42 -08:00
Kyle Sanderson
0375aedd47 Return the 'e' to OnTakeDamagAlive comment. 2014-12-09 22:21:46 -08:00
Nicholas Hastings
09060c265f Convert TFHoliday values to pubvars. 2014-12-09 20:21:24 -05:00
Sean Lewis
3ef2bdcb8d Add block parameter to FindValueInArray native. 2014-12-06 03:21:53 -06:00
Bara
a91d5bf754 Fix warning in files.inc 2014-12-02 03:35:56 +01:00
David Anderson
cb4fdf1aa9 Update plugins for new syntax. 2014-11-30 18:57:38 -08:00
David Anderson
08388de7dd Merge pull request #199 from alliedmodders/tr-convars
Port ConVars to transitional syntax.
2014-11-19 22:38:56 -08:00
David Anderson
be6da2f810 Merge pull request #173 from alliedmodders/tr-smc
Port SMC parsing API to transitional syntax.
2014-11-19 22:38:19 -08:00
Nicholas Hastings
f38fd6a550 Merge pull request #205 from alliedmodders/tf2condex3
Add support for TF2 player conditions above >= 96 (r=asherkin).
2014-11-19 17:15:56 -05:00
David Anderson
0511543c76 Merge pull request #206 from alliedmodders/tr-files
Port files.inc to transitional syntax.
2014-11-18 18:56:07 -08:00
David Anderson
79143d8b6e Port files.inc to transitional syntax. 2014-11-15 13:42:28 -08:00
David Anderson
f25953bb6c Merge pull request #187 from alliedmodders/tr-arrays
Update ArrayList for transitional syntax.
2014-11-15 13:04:29 -08:00
David Anderson
461dc3af3d Merge pull request #189 from alliedmodders/tr-tries
Port string maps to transitional syntax.
2014-11-15 12:52:37 -08:00
David Anderson
5e362ec169 Merge branch 'tr-bitbuf' 2014-11-15 12:49:39 -08:00
David Anderson
e46d5d211d Merge pull request #196 from alliedmodders/tr-protobuf
Add transitional syntax support for Protobuf natives.
2014-11-15 12:47:46 -08:00
David Anderson
758a7c955c Merge pull request #188 from alliedmodders/tr-stack
Port adt_stack to transitional syntax.
2014-11-15 12:47:21 -08:00
David Anderson
4cb29eb054 Port adt_stack to transitional syntax. 2014-11-15 12:46:17 -08:00
Nicholas Hastings
a369d51f23 Merge pull request #183 from powerlord/tf2-halloween-2014
New Halloween 2014 conditions (r=psychonic).
2014-11-15 10:12:48 -05:00
Nicholas Hastings
849df7895b Update TF2 extension for new m_nPlayerCondEx3 player conditions field. 2014-11-15 10:08:07 -05:00
Nicholas Hastings
f42a1fe0e4 Merge pull request #201 from DoctorMcKay/tf2-getclientteam
Added TF2_GetClientTeam stock (r=psychonic).
2014-11-15 08:06:27 -05:00
Alexander Corn
1562530cdd Added TF2_GetClientTeam stock
Also fixed some weird spacing and language in doc comments
2014-11-11 02:23:44 -05:00
Ross Bemrose
f55bc6719d Add condition 87 back. 2014-11-10 14:44:26 -05:00
David Anderson
2cfe54f34b Port BitBuffers to transitional syntax. 2014-11-09 16:56:50 -08:00
David Anderson
4a66b67d81 Port remaining .sp files. 2014-11-09 16:52:06 -08:00
David Anderson
110440988d Port gag.sp. 2014-11-09 16:37:07 -08:00
David Anderson
4a14b776db Port basecomm.sp. 2014-11-09 16:35:52 -08:00
David Anderson
fb5b552f86 Port basecommands.sp. 2014-11-09 16:35:45 -08:00
David Anderson
614fa86311 Port basechat.sp. 2014-11-09 16:31:17 -08:00
David Anderson
9980930dff Port antiflood. 2014-11-09 16:30:41 -08:00
David Anderson
e68c228a36 Port basevotes.sp. 2014-11-09 16:29:44 -08:00
David Anderson
8fd0cbecf7 Port funvotes.sp. 2014-11-09 16:28:03 -08:00
David Anderson
c425305cde Port mapchooser. 2014-11-09 16:25:52 -08:00
David Anderson
59fbeb4f2c Port nominations. 2014-11-09 16:11:36 -08:00
David Anderson
d68eea6dea Port randomcycle. 2014-11-09 16:10:31 -08:00
David Anderson
86d4cdc0c4 Port rockthevote. 2014-11-09 16:10:25 -08:00
David Anderson
16330d1c4c Port reservedslots. 2014-11-09 16:10:13 -08:00
David Anderson
65dfd3cdd1 Add C++ definitions. 2014-11-09 15:39:13 -08:00
David Anderson
9886eea487 Use new-style. 2014-11-09 15:09:46 -08:00
David Anderson
affff9eeb7 Move ConVar API into its own include. 2014-11-09 15:02:42 -08:00
David Anderson
6b714dafe3 Add transitional syntax support for Protobuf natives. 2014-11-09 14:19:16 -08:00