Commit Graph

731 Commits

Author SHA1 Message Date
Asher Baker
47dd2870d9 Merge pull request #476 from alliedmodders/query-format
Implement an auto-escaping Format native for SQL query construction
2016-10-03 16:20:01 +01:00
iNilo
f70a3ea297 Typo in OnRemoveBan documentation (#542)
Fix typo in OnRemoveBan documentation
2016-09-17 17:23:59 +01:00
David Anderson
adba0560d7 Fix syntax for SourcePawn update. 2016-07-09 12:24:18 -07:00
Nicholas Hastings
cb7eeef014 Remove TFHoliday_SpyVsEngyWar - no longer exists. 2016-07-08 15:44:49 -04:00
Nicholas Hastings
4eb1e8a4b0 Fix float unary minus operator not functioning properly after PR #510. 2016-06-09 21:36:46 -04:00
ErikMinekus
b9f7f20046 Fixed return doc spacing for GetGameFolderName (#515) 2016-05-31 07:34:54 -04:00
Nicholas Hastings
9b3b2eb23e Fix comment and reduce branching in TF2_IsPlayerInCondition. 2016-05-21 12:55:47 -04:00
Nicholas Hastings
e127a55b0a Clarified func doc for some edict/entity funcs. 2016-05-21 12:53:55 -04:00
ErikMinekus
542bb59978 Update large includes for transitional syntax #2 (#511) 2016-05-21 09:16:49 -04:00
ErikMinekus
f91d659c6f Update large includes for transitional syntax #1 (#510) 2016-05-21 08:52:43 -04:00
ErikMinekus
7451257578 Update small includes for transitional syntax (#509) 2016-05-20 15:56:21 -04:00
Nicholas Hastings
20c9815619 Add support for sending gameevent to specific client. (#505) 2016-05-12 22:15:23 -04:00
ErikMinekus
fb2117137e Update basebans and SQL admins plugins for transitional syntax (#484) 2016-04-27 09:34:22 -04:00
FlaminSarge
6dc602ad7c Update TFCond and tf2_stocks enums (#499)
* Update tf2_stocks DmgCustom and TFWeapon defines

* Update tf2 TFCond defines
2016-04-26 23:18:34 -04:00
Nicholas Hastings
ed46ca3328 Add support for retrieving game server Steam Id (bug 6404). (#495) 2016-04-26 23:17:08 -04:00
akowald
283bdad552 Makes sending the change the default behavior with the GameRules_Set* natives. 2016-03-25 00:43:39 -04:00
iNilo
11253eae1c GetClientSerial does not have @error documentation
Native "GetClientSerial" reported: Client index 0 is invalid
2016-02-25 15:06:23 +01:00
Asher Baker
700ec92a9a Implement an auto-escaping Format native for SQL query construction 2016-02-15 15:05:16 +00:00
Benoist3012
5703c323d6 Update tf2.inc 2016-02-06 15:27:09 +01:00
Benoist3012
40434f54aa Update tf2.inc 2016-02-06 13:35:37 +01:00
Peace-Maker
1c0a5b0420 Change Panel.DrawItem return tag to |int| (bug 6463) 2016-01-22 18:30:32 +01:00
Sean Lewis
52c7ef0f6f Update sourcepawn testing include to new syntax. 2016-01-06 18:35:16 -06:00
Peace-Maker
d3cc797f0f Add missing |bool| return tag to RemoveFromTrie native 2016-01-05 16:52:30 +01:00
Kristian Klausen
4cba1925fd Allow plugins to suppress entity outputs (fix 5515). 2015-12-30 17:51:57 +01:00
Nicholas Hastings
7fbcb81916 Merge pull request #456 from alliedmodders/canbeautobalanced
Add support for hooking CanBeAutobalanced to SDKHooks.
2015-12-29 15:56:24 -05:00
Nicholas Hastings
818e1e4e18 Add support for hooking CanBeAutobalanced to SDKHooks. 2015-11-26 10:35:00 -05:00
Nicholas Hastings
126ce99cd9 Resize clients array in newest NormalSHook prototype to MAXPLAYERS.
The old version of the newer one is left as a third typeset member to not break
compilation for users opting into it on dev branch. Both typeset members with
old array size are however marked as deprecated, since they can be missing
a client.
2015-11-26 09:43:08 -05:00
Nicholas Hastings
0d787e24ce Converted NormalSHook to typeset and added old prototype.
New prototype was added in PR #247
2015-11-25 17:25:35 -05:00
Asher Baker
ef147860c2 Fix GetEntSendPropOffs returning 0 for missing props when actual=false
Issue introduced in #439.
2015-11-21 01:46:35 +00:00
Asher Baker
c6323512ef Deprecate FindSendPropOffs and FindDataMapOffs, add HasEntProp. 2015-11-04 20:26:55 +00:00
David Anderson
cb3f6df111 Require that no plugin code be live when any plugin unloads. 2015-10-31 19:38:30 -07:00
Asher Baker
4346e963e5 Correct spelling in API documentation. 2015-10-30 12:26:34 +00:00
David Anderson
d0dda098a2 Merge pull request #429 from powerlord/sqltxn-dbresultset
Allow SQLTxnSuccess to use DBResultSet[] in addition to Handle[]
2015-10-22 23:40:28 -07:00
Nicholas Hastings
366c3c0e16 Merge pull request #425 from WildCard65/WildCard65-FixedDBI.inc
Fixed DBResultSet.IsFieldNull
2015-10-13 15:12:18 -04:00
Ross Bemrose
a4b45aea9b Allow SQLTxnSuccess to use DBResultSet[] in addition to Handle[] 2015-10-13 14:50:59 -04:00
Nicholas Hastings
fa65b62a04 Merge pull request #428 from FlaminSarge/tf_mannpower_conds
Update TFCond enum
2015-10-10 14:15:48 -04:00
FlaminSarge
e585e34670 Update TFCond enum 2015-10-10 02:27:08 -07:00
Ross Bemrose
f4adf33b4e Renumber holidays
Add CommunityUpdate holiday
2015-10-07 09:40:06 -04:00
WildCard65
8627fe1fa8 Fixed DBResultSet.IsFieldNull 2015-09-30 08:38:14 -04:00
Nicholas Hastings
c982cc9991 Merge pull request #354 from powerlord/findmap-plugins
GetMapDisplayName and associated core plugin changes.
2015-09-17 11:17:40 -04:00
Ruben Gonzalez
6aa776eab7 Add comments to VIP RoundEnd reasons. Fix typo. 2015-09-16 19:21:21 -04:00
Ruben Gonzalez
c86a6abdc5 Add shim for TerminateRound for CS:GO 2015-09-16 19:03:40 -04:00
Ross Bemrose
10a95cfdce Add new function: GetMapDisplayName.
This function will resolve the name of a map using FindMap, then (if applicable), will turn a workshop map name into a nicely formatted name.

Currently only TF2 and CS:GO Map Workshops are supported.  More can be added at a later date.

This function returns false if a map was not found, but true in any other instance even if FindMap could not resolve the map name.

This patch also updates the following core plugins to use this GetMapDisplayName:

BaseTriggers
BaseVotes
MapChooser
NextMap
Nominations
RandomCycle
RockTheVote
2015-09-15 16:16:58 -04:00
Kyle Sanderson
274e7bd329 Add FileTransfer Hooks to SDKTools (r=Drifter). 2015-09-12 13:01:33 -07:00
Kyle Sanderson
f59df243ea Change FindMap to take a const char* for searching instead of char*. 2015-09-10 11:47:46 -07:00
Kyle Sanderson
d85568b54b Merge pull request #321 from Bara20/getentityrendercolor
Add GetEntityRenderColor stock.
2015-09-08 16:22:16 -07:00
Sebastian K
e030bb4451 Add define included 2015-08-19 20:27:33 +02:00
David Anderson
246c32a202 Update SourcePawn and AMTL. 2015-08-13 22:08:47 -07:00
David Anderson
bcfef75c5d Update regex and datapack includes to not use binding syntax. 2015-08-12 11:52:57 -07:00
Ryan Stecker
86b04e36b5 Clarify the Get/SetPackPosition documentation. 2015-07-20 15:03:57 -05:00
Ryan Stecker
33d13ff81c Hide datapack positions behind an opaque handle. 2015-07-20 15:03:04 -05:00
Nicholas Hastings
e7aa159896 Clarify doc regarding KV handle. 2015-07-12 19:21:28 -04:00
Nicholas Hastings
c85cc5cbf7 Add support for listening to, blocking, changing, and faking ClientCommandKeyValues. 2015-07-12 13:14:46 -04:00
Nicholas Hastings
e0a83ff7b2 Add support for setting string_t values with SetEntPropString.
Adds new AllowPooledString func to CHalfLife2 to allocate a string in the game's string pool.
Also fixes SetEntPropString using incorrect offset for nested sendprops.
2015-07-02 14:47:31 -04:00
Nicholas Hastings
60ac7e23d0 Updated FindMap function doc. 2015-06-27 20:04:20 -04:00
Nicholas Hastings
f107ff9cd2 Expose FindMap/ResolveFuzzyMapName to plugins. 2015-06-27 13:10:47 -04:00
Nicholas Hastings
d0574dbe28 Merge pull request #226 from powerlord/mapchooser-updates
More New API changes for MapChooser, Nominations, RockTheVote, RandomCycle, and NextMap.
2015-06-12 14:58:12 -04:00
Nicholas Hastings
13ecd11543 Merge pull request #344 from alliedmodders/update-convar-flags
Update ConVar flags in console.inc.
2015-06-07 11:18:27 -04:00
Ross Bemrose
338b4ed5d9 Merge remote-tracking branch 'remotes/origin/master' into mapchooser-updates
Conflicts:
	plugins/nominations.sp
	plugins/rockthevote.sp
2015-06-04 21:39:04 -04:00
Nicholas Hastings
74802ce96e Minor indent fix. 2015-06-04 17:07:25 -04:00
Nicholas Hastings
952ee53383 Converted back to defines. Added deprecation notices on FCVAR_PLUGIN and FCVAR_LAUNCHERONLY. 2015-06-04 06:48:01 -04:00
Nicholas Hastings
1804dce9d9 More small convar flag inc changes:
* Re-added FCVAR_PLUGIN (shimmed to 0) and FCVAR_LAUNCHER with deprecation notes.
* Changed defines to const ints.
* Updated comments to use our newer, single-line comment style for cleanliness.
2015-06-03 23:38:31 -04:00
Nicholas Hastings
4231adaedf Update ConVar flags in console.inc.
The existing list was from the original engine, not even being accurate for EP1.
Flags that were never used and have since been removed from headers were removed.
Flags that were removed, but were used at one time co-exist with new flags that took over their value where applicable.
Flags that only exist on some engine versions are noted as such in the comment.
2015-06-03 23:06:26 -04:00
Nicholas Hastings
9e0dbfcf68 Fix inconsistencies with buffer sizes for player names.
Found any I could not using MAX_NAME_LENGTH and changed them to use it. I think that we should
increase MAX_NAME_LENGTH to 128 for CS:GO at some point as that's what it uses internally.
(Presumably to get the client's full multibyte name from Steam without truncation mid-codepoint which
can happen in other games. Steam's max is 32 characters if I remember correctly, but allows multibyte chars).
2015-06-03 22:40:43 -04:00
Nicholas Hastings
9f8a40f482 Merge pull request #337 from alliedmodders/earlier-maxclients
Populate MaxClients before OnPluginStart is called.
2015-05-20 06:48:08 -04:00
Nicholas Hastings
cb4b710885 Removed comment regarding MaxClients not being available in OnPluginStart. 2015-05-18 09:11:57 -04:00
Nicholas Hastings
fda0978225 Merge pull request #338 from alliedmodders/nuke-address-minvalid
Remove Address_MinimumValid entry from sp incs
2015-05-12 13:05:31 -04:00
Nicholas Hastings
51344262c6 Merge pull request #333 from TheMadSword/IncreasedPrintToBufferSize
Increased PrintToChat, PrintCenter & PrintHint w/ "all" version, buffer sizes from 192 to 254.
2015-05-12 09:23:25 -04:00
Nicholas Hastings
5574acda3d Remove Address_MinimumValid entry from sp incs
We have this defined in core for error checking, but it's useless in sp since unsigned comparisons are not supported.
2015-05-12 06:35:48 -04:00
TheMadSword
6686badc93 Increased PrintHint and PrintCenter buffer 2015-05-09 09:22:07 -04:00
TheMadSword
f57dbeb60f Increased PrintToChat & PrintToChatAll buffer size from 192 to 254; works in CSS/CSGO; dunno for the rest 2015-05-07 09:38:25 -04:00
Nicholas Hastings
64f9aedebc Add basic support for Black Mesa.
(Basically a copy of SDK 2013's support, but against BMS SDK).
2015-05-06 21:12:13 -04:00
Bara
1748a411e1 Added GetEntityRenderColor 2015-04-04 01:38:30 +02:00
Kyle Sanderson
7a8bf78f39 Merge pull request #229 from powerlord/menuactions_all_warning_fix
Stop MENU_ACTIONS_ALL from tossing warnings with #pragma newdecls required
2015-04-01 19:39:52 -07:00
Nicholas Hastings
7268987461 Merge pull request #301 from alliedmodders/get-team-entity
Add GetTeamEntity native to SDKTools.
2015-04-01 22:30:18 -04:00
Nicholas Hastings
91302da050 Merge pull request #313 from alliedmodders/set-client-name
Add SetClientName native.
2015-04-01 22:29:44 -04:00
Ruben Gonzalez
35e4374e2e Fix not being able to block CS_OnCSWeaponDrop and clarify include file. 2015-03-27 19:54:42 -04:00
Nicholas Hastings
53f9bb0402 Add missing SetClientName description in function doc. 2015-03-22 18:56:02 -04:00
Nicholas Hastings
7d795b523e Add SetClientName native. 2015-03-22 12:15:08 -07:00
Nicholas Hastings
ae8efdddcb Add GetTeamEntity native to SDKTools. 2015-03-10 07:27:43 -07:00
David Anderson
72475d6770 Merge pull request #295 from DoctorMcKay/fix-doc
Moved note about releasing resources from OnPluginStart to OnPluginEnd
2015-03-08 00:10:13 -08:00
WildCard65
a730cfe9b5 Fixed regex.inc 2015-03-07 08:07:11 -05:00
Alexander Corn
c9b6b7b212 Moved note about releasing resources from OnPluginStart to OnPluginEnd 2015-03-06 15:25:39 -05:00
Nicholas Hastings
d72a9150a1 Merge pull request #294 from alliedmodders/explicit-ret-types
Add explicit return types to forwards missing them (r=dvander).
2015-03-06 15:19:37 -05:00
Nicholas Hastings
bfaedba9ed Merge pull request #287 from peace-maker/tempent_range
Add TE_SendToAllInRange (r=psychonic).
2015-03-06 15:19:24 -05:00
Nicholas Hastings
adbdcd6b1d Add explicit return types to forwards missing them. 2015-03-06 10:18:09 -08:00
David Anderson
7c775aee2e Merge pull request #288 from klausenbusk/patch-1
Updated KillTimer documentation to reflect "Invalid handles" = runtime error.
2015-03-06 01:52:32 -08:00
InstantMuffin
98cbef547a Update functions.inc 2015-03-05 21:03:46 +01:00
InstantMuffin
3f2ad5ccb0 Documentation oddities for Call_PushStringEx
See changes for details, should be obvious. What also strikes me as odd is that there is only one cpflag atm. Has this always been the case? Will there be more in the future? Or why is this designed to be a flagstring?
2015-03-05 20:47:05 +01:00
Nicholas Hastings
6f8ffd55a7 Merge pull request #263 from alliedmodders/admins-trans
Update admins.inc with methodmaps, newdecls (r=dvander, asherkin).
2015-03-05 14:32:15 -05:00
Nicholas Hastings
c39565ddb1 Fix spacing. 2015-03-05 10:56:54 -08:00
Nicholas Hastings
70390ff1f7 Purge Purge. 2015-03-05 10:56:36 -08:00
Kristian Klausen
924b7621ac Updated KillTimer documentation.. 2015-03-05 17:15:54 +01:00
Peace-Maker
b53947ccc3 Add TE_SendToAllInRange
Add helper stock to mimic PVS and PAS recipient filters for tempents in
the SDK.
2015-03-03 17:22:01 +01:00
Asher Baker
6572989993 Merge pull request #213 from splewis/find-array-nonzero-blocks
Add block parameter to FindValueInArray native.
2015-02-24 22:37:49 +00:00
Wliu
20b5f76572 🎨 Change to TF2_ChangeClientTeam 2015-02-22 20:20:45 -05:00
Wliu
f772c88eed Whoops. 2015-02-20 21:26:34 -05:00
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
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
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
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
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
6d1a2b0d86 Expose Message_DetermineMulticastRecipients as GetClientsInRange native. 2014-12-30 15:37:57 -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
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
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
844fad263a Add new-style API compatibility for VoteHandler. 2014-12-16 16:06:20 -05:00
Ross Bemrose
bc4d6b7104 Eliminate extraneous view_as calls and also update mapchooser.inc. 2014-12-16 13:53:54 -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
b1cb06c5ce Update DBI for transitional syntax. 2014-12-13 16:34:58 -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
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
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
David Anderson
8479c2f067 Port SMC parsing API to transitional syntax. 2014-11-09 12:33:07 -08:00
David Anderson
c37174cb97 Fix some syntax errors in include files. 2014-11-09 02:03:09 -08:00
David Anderson
6ba4bcb955 Port string maps to transitional syntax. 2014-11-08 17:43:28 -08:00
David Anderson
919a31df57 Update ArrayList for transitional syntax. 2014-11-08 16:31:33 -08:00
David Anderson
cd0ac3ae37 Merge pull request #185 from powerlord/tr-event
Update events.inc to Transitional syntax.
2014-11-08 15:56:20 -08:00
David Anderson
f020b5682e Port KeyValues to the transitional syntax. 2014-11-08 15:54:40 -08:00
David Anderson
70e095f320 Define post-fix arrays as determinate and pre-fix arrays as indeterminate. 2014-11-07 22:39:00 -08:00
Ross Bemrose
9175c081ee Changed all the char something[] to char[] something as per dvander's comments. 2014-11-07 19:13:46 -05:00
Ross Bemrose
3579977b28 Added missing SetBroadcast to Event methodmap. 2014-11-07 16:47:20 -05:00
Ross Bemrose
21ea3c03b5 Something was throwing fits when those were Event earlier. 2014-11-07 16:30:29 -05:00
Ross Bemrose
e7ec41e872 Fix timers.inc's OnMapTimeLeftChanged forward while I'm at it. 2014-11-07 16:01:50 -05:00
Ross Bemrose
b76c948c95 Update condition names. Remove condition 87 for now. 2014-11-07 15:44:03 -05:00
Ross Bemrose
159f2c8335 Add return types to OnPluginEnd, OnPluginPauseChange, and OnGameFrame 2014-11-07 15:22:49 -05:00
Ross Bemrose
66bfd126b2 Initial pass for converting events.inc. 2014-11-07 14:35:45 -05:00
Ross Bemrose
e7f6a99087 New Halloween 2014 conditions. 2014-11-07 11:16:26 -05:00
Nicholas Hastings
89e7d1c45c Merge pull request #181 from powerlord/tf2-holiday-spyvengy
New Holiday as per Halloween update (r=psychonic).
2014-11-06 06:48:05 -05:00
Ross Bemrose
67f9069382 Updated the named with the ones bailopan suggested. 2014-11-05 16:34:04 -05:00
Ross Bemrose
3fff07b33d Changed ConVarChanged to take a ConVar variable. Backwards compatible with Handle variables (I tested this to make sure). 2014-11-05 15:50:03 -05:00
Ross Bemrose
87a21c7ff8 Add HookChange and UnhookChange to ConVar. 2014-11-05 15:26:03 -05:00
Ross Bemrose
0f9d2203a4 New Holiday as per Halloween update. 2014-11-05 11:01:04 -05:00
Ross Bemrose
286d484207 Rearrange order of methods in methodmap. Add missing Reset method to methodmap. 2014-10-31 17:21:37 -04:00
Ross Bemrose
cdc2b11a09 Add a ConVar class. 2014-10-31 17:06:42 -04:00
Nicholas Hastings
c7109ca651 Merge pull request #170 from alliedmodders/tr-datapack
Add transitional syntax support for datapack.inc (r=dvander).
2014-10-31 08:49:12 -04:00
David Anderson
b97335ccb0 Port TopMenus to transitional syntax. 2014-10-30 19:20:33 -07:00
Nicholas Hastings
86ddf1fea0 Revert accidental reverting of tf-regex merge. 2014-10-29 20:51:34 -04:00
Nicholas Hastings
585786b465 Fix inconsistent spacing in methodmap decl. 2014-10-28 14:20:34 -04:00
Nicholas Hastings
de045b5ab6 Add transitional syntax support for datapack.inc. 2014-10-28 14:06:11 -04:00
Ryan Stecker
a580f8c270 Whoops, forgot my hat. 2014-10-09 18:19:40 -05:00
Ryan Stecker
f2a80e33fd Expose some of ICommandLine to plugins. 2014-10-07 16:16:02 -05:00
Nicholas Hastings
ac96bb177a Merge pull request #157 from VoiDeD/getevent-defaults
Expose optional default values for the GetEvent* SP functions (r=psychonic)..
2014-10-05 09:14:30 -04:00
Ryan Stecker
a80e049352 Clients array in TE_Send should be const. 2014-09-14 19:08:54 -05:00
Ryan Stecker
3ffd4cd835 Expose optional default values for the GetEvent* SP functions. 2014-09-12 16:39:21 -05:00
Nicholas Hastings
775a35c5ab Update OnClientAuthorized function doc 2014-09-09 17:56:29 -07:00
Nicholas Hastings
a597277a64 Merge pull request #153 from alliedmodders/auth-fixups
More auth fixups for Steam auth (bug 6243, r=asherkin).
2014-09-09 16:24:57 -04:00
Ryan Stecker
07acec6550 Fix sdkhooks.inc compile error 2014-09-06 20:19:55 -05:00
Nicholas Hastings
7fff73ad64 Fix syntax error in sdkhooks.inc. 2014-09-05 08:18:04 -04:00