Commit Graph

906 Commits

Author SHA1 Message Date
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
David Anderson
8479c2f067 Port SMC parsing API to transitional syntax. 2014-11-09 12:33:07 -08:00
David Anderson
4802d4bae2 Remove use of macros in mapchooser. 2014-11-09 12:13:52 -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
8c8d9b072a Fix more line-endings. 2014-10-30 21:30:12 -07:00
David Anderson
9c6c0f37ed Fix line-endings. 2014-10-30 21:25:23 -07: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
David Anderson
6bd1285d66 Merge pull request #164 from VoiDeD/sp-commandline
Expose ICommandLine to plugins.
2014-10-21 12:25:51 -07:00
Ryan Stecker
a580f8c270 Whoops, forgot my hat. 2014-10-09 18:19:40 -05:00
Nicholas Hastings
a3336b1dcf Fix typo causing compile error strcmp -> strncmp 2014-10-08 18:02:05 -07:00
Nicholas Hastings
d76f62b863 Allow Steam IDs in Steam3 format for sm_addban 2014-10-08 17:29:56 -07: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
acdd9e12ea Merge pull request #152 from alliedmodders/error-sp-warnings
Treat SourcePawn warnings as errors when building (r=dvander).
2014-09-09 17:01:44 -04: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
66ab609000 Make admins_simple.ini bind Steam3 ids as steam auth 2014-09-05 13:16:55 -07:00
Nicholas Hastings
5b1caec738 Treat sp warnings as errors when building 2014-09-05 08:26:23 -07:00
Nicholas Hastings
7fff73ad64 Fix syntax error in sdkhooks.inc. 2014-09-05 08:18:04 -04:00
Nicholas Hastings
892edd9650 Allow BindIdentity and FindAdminByIdentity to take more SteamID formats for steam auth type 2014-09-04 15:26:12 -07:00
Nicholas Hastings
ec46e12c50 Replace usages of GetClientAuthString with GetClientAuthId 2014-09-04 12:49:06 -07:00
David Anderson
37638ba6fd Remove support for multiple tags on an argument. 2014-09-04 09:59:43 -07:00
Nicholas Hastings
a7cdf17d90 Merge pull request #147 from alliedmodders/new-auth
Expose explicit client auth id formats (r=asherkin).
2014-09-03 18:50:24 -04:00
Nicholas Hastings
7f3656215b Consistency Fixes (ID->Id, AuthString->AuthId) 2014-09-03 15:13:30 -07:00
Nicholas Hastings
be55587d70 Add OnTakeDamage_Alive hook support to SDKHooks (bug=6249). 2014-09-03 17:45:34 -04:00
Nicholas Hastings
3fba1d2817 Fix some nits 2014-09-03 10:50:11 -07:00
Nicholas Hastings
e11fec9ba1 Rename GetClientAuthString2 to GetClientAuthId 2014-09-02 18:11:36 -07:00
Nicholas Hastings
d0c701793c Document possibly-unexpected yet valid auth strings 2014-09-02 17:47:33 -07:00
Nicholas Hastings
e3b87a5ca4 Spin new logic into GetClientAuthString2...
and mark GetClientAuthString as deprecated, using 1.6.x GetClientAuthString behavior
2014-09-02 17:43:10 -07:00
Nicholas Hastings
8c89b72fbc Expose explicit client auth string formats 2014-09-02 14:40:39 -07:00
Ryan Stecker
88c6d3d9a7 Merge remote-tracking branch 'upstream/master' into sdkhooks-blocked 2014-09-02 00:04:54 -05:00
David Anderson
9d337dd1a9 Merge pull request #146 from alliedmodders/unions
Add a "union" keyword to replace funcenum.
2014-08-31 16:02:59 -04:00
Nicholas Hastings
e093c7f72a Merge pull request #120 from alliedmodders/wip-valve-fs2
Add support for Valve FS to natives that use file handles (r=asherkin).
2014-08-30 14:25:53 -04:00
David Anderson
a1b7c32b29 Add a "union" keyword to replace funcenum. 2014-08-28 14:02:08 -07:00
Nicholas Hastings
51d32bca77 Clarify return value commit on RemoveFile 2014-08-22 07:21:12 -07:00
Nicholas Hastings
9d6fea857b Fix another syntax error in files.inc 2014-08-22 06:55:45 -07:00
Nicholas Hastings
8d60fecb96 Fix syntax errors in files.inc 2014-08-22 06:30:25 -07:00
Nicholas Hastings
73115f7afa Add support for specifying gameinfo search path when using valveFS in file natives 2014-08-22 06:00:43 -07:00
Nicholas Hastings
b95e7ff145 Add missing use_valve_fs param to CreateDirectory native def 2014-08-22 05:59:41 -07:00
FlaminSarge
c70543839f Update TF2 enums for Love & War 2014-08-21 23:14:14 -07:00
Ryan Stecker
2037cfc36d Mark TF2_RemoveWearable as optional. 2014-08-16 12:10:31 -05:00
Nicholas Hastings
8ffdfb6a0c Merge pull request #43 from hlstriker/master
Added a new function SetFilePermissions to set permissions of a file (r=psychonic).
2014-08-16 10:02:09 -04:00
David Anderson
4b8e26463a Merge pull request #122 from peace-maker/datapack_funcpointer
Add WritePackFunction and ReadPackFunction natives
2014-08-12 10:33:27 -07:00
Nicholas Hastings
4e5b1a58ce Add ValveFS support to more filesystem functions: OpenDirectory (CloseHandle on directory) ReadDirEntry DirExists CreateDirectory RenameFile 2014-08-06 13:15:24 -07:00
Nicholas Hastings
3edd1ce658 Remove inaccurate note on GetClientLanguage function doc. 2014-08-05 10:40:14 -04:00
WildCard65
dfba8757f7 Remove un-needed whitespace 2014-08-05 09:15:55 -04:00
WildCard65
15304a0059 Actually remove extra wearables.
Old logic was to try to get extra wearables on a non-existent entity.
2014-08-05 09:14:02 -04:00
David Anderson
ad376ff0b8 Introduce a typedef keyword. 2014-08-03 21:51:34 -07:00
Peace-Maker
bfcfbbe107 Add WritePackFunction and ReadPackFunction natives
Adds type safety to CDataPack. Cells can't be read as Float anymore. Now
you're able to store a function pointer in a datapack and be sure the
pointer can't be read as a cell and a cell can't be read as a function
pointer.
2014-08-04 02:05:25 +02:00
Ryan Stecker
14823723bd Remove the extra wearables of weapons in TF2_RemoveWeaponSlot. 2014-08-02 20:57:55 -05:00
Ryan Stecker
601aac440e Implement SDKHook_Blocked and SDKHook_BlockedPost. 2014-08-01 21:35:41 -05:00
Nicholas Hastings
573aea20fb More progress:
Abstracted many fs funcs with helper class.
Removed much duplicated code.
Fixed ReadFile assuming FS errors for ValveFS.
Added ValveFS support for ReadFileString, WriteFile, WriteFileString, DeleteFile.
Added missing param in doc for OpenFile.
2014-08-01 12:38:51 -07:00
Ryan Stecker
ff5ec0ea28 Fix PerformGravity's logging format. 2014-07-30 18:22:12 -05:00
Nicholas Hastings
8d5fe316e0 Merge pull request #114 from VoiDeD/tf2-removewearable
Implement TF2_RemoveWearable native (r=psychonic).
2014-07-30 18:43:34 -04:00
Ryan Stecker
75d5b0c972 Add more TF2_RemoveWearable documentation. 2014-07-30 17:28:51 -05:00
Asher Baker
eab6ac748f Improved error reporting in basebans custom reasons loading. 2014-07-30 16:30:01 +01:00
Ryan Stecker
4a400d9569 Implement TF2_RemoveWearable native. 2014-07-29 20:31:27 -05:00
David Anderson
2a46f8f881 Add GetNativeFunction (bug 6200). 2014-07-23 23:36:11 -07:00
David Anderson
88c614c1ba Merge pull request #104 from alliedmodders/fix-structs
Clean up the struct syntax and force it to use newdecls.
2014-07-20 21:19:15 -07:00
David Anderson
686890ec10 Clean up the struct syntax and force it to use newdecls. 2014-07-20 12:16:23 -07:00
David Anderson
51f97d1298 Block off operators for post-transitional compiler. 2014-07-20 01:02:44 -07:00
David Anderson
2ea9ec50b5 Merge pull request #91 from alliedmodders/bug-6183
Show errors for methods that are unused. (bug 6183)
2014-07-13 11:24:51 -07:00
David Anderson
5dd5b5131b Show errors for methods that are unused. (bug 6183) 2014-07-12 10:28:29 -07:00
David Anderson
3d3e5c40c2 Fix and formalize newline and semicolon behavior in methodmaps. (bug 6175) 2014-07-12 00:07:34 -07:00
Ryan Stecker
c38b4a4d1d Give functags their correct types for transitional syntax. 2014-07-10 16:55:22 -05:00
David Anderson
e76f553957 Begin locking down function types. 2014-07-08 00:26:37 -07:00
David Anderson
3fe22687e9 Revert. 2014-07-08 00:06:52 -07:00
David Anderson
2ade122cd2 Merge branch 'master' into fix-null-func
Conflicts:
	sourcepawn/compiler/sc5.scp
2014-07-08 00:06:04 -07:00
David Anderson
e57a323dc8 WIP. 2014-07-07 23:31:31 -07:00
Asher Baker
af791a30df Merge pull request #72 from VoiDeD/keyvalue-from-string
Implement StringToKeyValues.
2014-07-07 13:49:24 +01:00
David Anderson
ff31d8df49 Update nominations.sp and improve compiler error messaging. 2014-07-06 23:59:15 -07:00
David Anderson
8e5992685a Merge branch 'master' into redo-noms 2014-07-06 23:49:18 -07:00
David Anderson
af557fdd5e Use setters. 2014-07-06 23:46:45 -07:00
David Anderson
27d5ce45f5 Merge branch 'master' into noms 2014-07-06 23:42:41 -07:00
David Anderson
97e0c84e6d Merge pull request #73 from alliedmodders/nullable
Add nullable types and tighten up some new type system semantics.
2014-07-06 11:45:09 -07:00
Ryan Stecker
312f003031 Fix usage of class keyword in some includes. 2014-07-06 07:15:22 -05:00
David Anderson
dbedd6712a Remove VoteInProgress from Menu map. 2014-07-05 14:36:14 -07:00
David Anderson
f18a83e03e Fix some menu API oddities. 2014-07-05 14:34:32 -07:00
David Anderson
a7de88dd42 Port nominations.sp to the transitional syntax and API. 2014-07-05 14:00:52 -07:00
David Anderson
e5b1b630bb Port some includes to transitional API. 2014-07-05 13:58:07 -07:00
David Anderson
49380620e0 Merge branch 'master' into nullable 2014-07-05 13:24:45 -07:00
David Anderson
9ff38bcf80 Add nulls, and more newdecl and type system features.
New null_t type has a constant "null", which can be assigned to objects.
Methodmaps can now be "nullable", accepting null_t types.
The delete keyword now zaps non-const lvalue inputs.
Fixed some newdecl arguments not accepting references.
Allow functag matching to coerce arguments and return values.
Allow functags to accept new-style types as a return value.
2014-07-05 13:20:06 -07:00
Ryan Stecker
fc54903fd0 Add test. 2014-07-05 12:01:17 -05:00
David Anderson
68ab7f0a12 Merge pull request #61 from VoiDeD/ambuild-disable-auto-versioning
Add an ambuild configure option to disable auto versioning.
2014-07-05 09:39:35 -07:00
David Anderson
da33c79d8b Add #pragma newdecls required|optional. 2014-07-05 01:08:14 -07:00
David Anderson
f62769108c Fix some local declarations not working. 2014-07-04 23:53:16 -07:00
David Anderson
376eb9725e Add support for new-style declarations in local variables. 2014-07-04 21:16:39 -07:00
David Anderson
5d753c2697 Merge pull request #67 from alliedmodders/glbdecls
Add support for new-style declarations in globals.
2014-07-04 17:21:26 -07:00
David Anderson
3cf9e56a19 Fix various bugs in global newdecl support. 2014-07-04 14:31:56 -07:00
Nicholas Hastings
ffa1887c48 Merge pull request #65 from powerlord/master
New functions for SDKTools to get information from game_sound files (r=psychonic).
2014-07-04 17:17:00 -04:00
Ryan Stecker
878a82a6e5 Implement StringToKeyValues. 2014-07-04 12:04:38 -05:00
David Anderson
bdb5ef506b Merge pull request #64 from alliedmodders/newdecl
New declaration syntax: arguments.
2014-07-03 09:18:25 -07:00
Ross Bemrose
d25ab6349c Commit new version of bug 5942: New functions for SDKTools to get information from game_sound files. 2014-07-03 10:20:53 -04:00
David Anderson
438fade64f Bug fixes. 2014-07-03 00:34:11 -07:00
Ryan Stecker
d4f4a7eed0 Add an ambuild configure option to disable auto versioning. 2014-07-02 13:29:59 -05:00
Ryan Stecker
9c1dd0565f sm_reskick_immunity access check should not check for commands. 2014-07-01 09:07:40 -05:00
David Anderson
99f4cdb3e4 New type system. 2014-06-24 23:37:14 -07:00
David Anderson
ec61d4d188 Add a general profiling abstraction layer. 2014-06-24 01:04:13 -07:00
David Anderson
99c0879086 Fix build. 2014-06-23 20:17:40 -07:00
David Anderson
b064556081 Merge pull request #50 from alliedmodders/map-api
Add transitional API for maps (aka tries).
2014-06-23 20:06:42 -07:00
David Anderson
2724659be8 Rename to StringMap. 2014-06-23 20:06:13 -07:00
Nicholas Hastings
3983dc10ed Update non-auto version for 1.7.0 for compiled plugins. 2014-06-23 19:46:26 -04:00
David Anderson
4ee04b8a7b Add transitional API for maps (aka tries). 2014-06-22 22:32:08 -07:00
David Anderson
63ad5eff18 Introduce basic methodmaps (PR #38).
commit 1e5213d43fdd170bb0c30af914a4e40610014b2b
Author: David Anderson <dvander@alliedmods.net>
Date:   Sat Jun 21 04:09:27 2014 -0700

    Quell MSVC C99 bugs.

commit f2e166c5925fda49b5abeadc0aa0f9156b99cf11
Author: David Anderson <dvander@alliedmods.net>
Date:   Sat Jun 21 03:59:23 2014 -0700

    Fix varying levels of stupid memory errors.

commit b0773d7be45345351ab1c1738681d5215a97f3f3
Author: David Anderson <dvander@alliedmods.net>
Date:   Sat Jun 21 03:36:39 2014 -0700

    Fix memory leak in parsing some control flow structures.

commit 5aca55713cfc2dd09c5900132fc4a6be51e3e309
Author: David Anderson <dvander@alliedmods.net>
Date:   Sat Jun 21 03:35:17 2014 -0700

    Fix memory leak in struct parsing.

commit b46ec5cd281b46177e83c4f0a4acac9cc1065c53
Author: David Anderson <dvander@alliedmods.net>
Date:   Sat Jun 21 03:32:03 2014 -0700

    Fix build.

commit 17bbbb9a46bfc00862adca7d3e15369a48e9ac0f
Merge: c083409 2107599
Author: David Anderson <dvander@alliedmods.net>
Date:   Sat Jun 21 01:26:27 2014 -0700

    Merge branch 'master' into methodmaps

commit c083409b569abff13f24d3b8c47f8ff199036840
Author: David Anderson <dvander@alliedmods.net>
Date:   Fri Jun 20 23:49:36 2014 -0700

    Add VS2k13 support.

commit b7993778494d538cb1c1965116030142a7f7765b
Author: David Anderson <dvander@alliedmods.net>
Date:   Fri Jun 20 01:28:08 2014 -0700

    Implement destructors.

commit 1a340dec260d079ed1b79351ed7b50b58a997cea
Author: David Anderson <dvander@alliedmods.net>
Date:   Fri Jun 20 00:08:04 2014 -0700

    Add some tests.

commit 12db52ee64eb009ead9294495e9034c63ab75b09
Author: David Anderson <dvander@alliedmods.net>
Date:   Fri Jun 20 00:05:49 2014 -0700

    Initial implementation of constructors.

commit 074669a658caa2822aa864164b615a244c00a0bc
Author: David Anderson <dvander@alliedmods.net>
Date:   Thu Jun 19 22:42:35 2014 -0700

    Add simple test harness.

commit 27c1e3cf14e1e6c5cf35c80c792cce2744b804d7
Author: David Anderson <dvander@alliedmods.net>
Date:   Thu Jun 19 22:15:42 2014 -0700

    Big refactoring for new syntax.

commit f3c37fdc919e76ee0815e2394cbe8d221f9fc0ca
Author: David Anderson <dvander@alliedmods.net>
Date:   Thu Jun 19 22:12:54 2014 -0700

    Refactor tests for the new syntax.

commit 6211f392f8e722b907474cf380cfac4347e46b8e
Author: David Anderson <dvander@alliedmods.net>
Date:   Wed Jun 18 22:25:48 2014 -0700

    Make lexer tokens an enum.

commit 5210b013756b0b00de3a61c6490685c768ff8cbd
Author: David Anderson <dvander@alliedmods.net>
Date:   Tue Jun 17 06:48:15 2014 -0700

    Add comment.

commit 06688ff4aced14077dd21a9cc1db4c26c7420ff3
Author: David Anderson <dvander@alliedmods.net>
Date:   Tue Jun 17 06:46:10 2014 -0700

    Allow |this| to be a base type of the methodmap.

commit 05cf3682020e0e6d9f47b1a0a6727b9edbfe7622
Author: David Anderson <dvander@alliedmods.net>
Date:   Mon Jun 16 22:11:58 2014 -0700

    Unify duplicate typesymbol checking.

commit 09161bf2691c8c1ed25b9b70fda01c336f21aa0b
Author: David Anderson <dvander@alliedmods.net>
Date:   Mon Jun 16 19:53:36 2014 -0700

    Close loophole that allowed methodmaps for enums.

commit 5bb4aeba89fec47a4de7a7532d27830999d1fcb4
Author: David Anderson <dvander@alliedmods.net>
Date:   Mon Jun 16 01:50:42 2014 -0700

    Add tests and dbi/handle changes.

commit b9203e2491daec2a8073874d6375949483778d14
Author: David Anderson <dvander@alliedmods.net>
Date:   Mon Jun 16 01:38:29 2014 -0700

    Ensure methodmap tags are fixed.

commit 878b80fd87a2ea500d3a28ce2d53f616d1efe5e8
Author: David Anderson <dvander@alliedmods.net>
Date:   Mon Jun 16 01:36:04 2014 -0700

    Implement inheritance.

commit 6ba9e004fbae18ad68056368ddd0affdc78659f1
Author: David Anderson <dvander@alliedmods.net>
Date:   Mon Jun 16 01:31:00 2014 -0700

    Refactor matchtag() to not be insane.

commit 4ede6343b0682c6df98fa869153828e92f891bcc
Author: David Anderson <dvander@alliedmods.net>
Date:   Mon Jun 16 01:20:50 2014 -0700

    Fix indenting.

commit e3ddef8916e3dd5f4ff0fe571d6e1c3acd163352
Author: David Anderson <dvander@alliedmods.net>
Date:   Mon Jun 16 01:20:27 2014 -0700

    Initial prototype.
2014-06-21 04:10:15 -07:00
Andrew
f3299b2c8c Added a new function SetFilePermissions to set permissions of a file. I'm not sure about the Windows implementation. See this feature request: https://bugs.alliedmods.net/show_bug.cgi?id=6152 2014-06-21 00:45:07 -04:00
Nicholas Hastings
7553106eee Merge pull request #34 from WildCard65/Spacing
Added spacing to compile.sh (r=psychonic).
2014-06-17 21:44:05 -04:00
FlaminSarge
7a96467045 Update TF_WEAPON enum for June 11, 2014 TF2 Patch. 2014-06-15 00:30:53 -07:00
FlaminSarge
86c1660ee9 Fix line endings in tf2_stocks include. 2014-06-15 00:29:41 -07:00
WildCard65
8e4836f83a Added spacing to compile.sh
And made it exit out on compile error.
2014-06-14 08:32:24 -04:00
Kyle Sanderson
70518a8e49 Revert "Add better spacing to compile.sh"
This reverts commit cd106a7eb6.
2014-06-08 00:42:27 -07:00
David Anderson
6ac897f9f3 Merge pull request #26 from alliedmodders/sql-txn
Add an API for off-thread SQL transactions. (bug 3775, r=kyle)
2014-06-06 20:51:30 -07:00
Kyle Sanderson
ec9791b183 Merge pull request #24 from 50Wliu/compile
Compile.sh spacing improvements
2014-06-06 19:52:56 -07:00
David Anderson
f1f135adb6 Add CloneHandle() test. 2014-06-05 10:27:59 -07:00
David Anderson
91077fdc91 Fix tab/space mix. 2014-06-05 10:16:47 -07:00
David Anderson
6a98e40643 Fix typo. 2014-06-05 01:25:32 -07:00
David Anderson
39ff3f9993 Add a rollback test. 2014-06-05 01:05:23 -07:00
David Anderson
7026e68b06 Add tests for SQL transactions. 2014-06-05 01:00:54 -07:00
David Anderson
2379c76b03 Add a new testing API for the testsuite. 2014-06-05 01:00:17 -07:00
David Anderson
d7b49f7706 Initial implementation. 2014-06-04 22:45:26 -07:00
Wliu
cd106a7eb6 Add better spacing to compile.sh 2014-06-04 22:00:10 -04:00
Scott Ehlert
fb5c3c86da Add clan tag and team score commands to cstrike test plugin. 2014-06-01 16:52:03 -05:00
Bara
5eef4bccd3 Add CS_DMG_HEADSHOT define
but i don't know if it works in other games.

( I'm using this already in my only headshot plugin - https://forums.alliedmods.net/showthread.php?t=234169 and works fine in CSS/CSGO )
2014-05-28 15:32:58 +02:00
Nicholas Hastings
3c52840dd8 Add CS_SLOT_KNIFE define (bug 6131, r=drifter). 2014-05-21 09:08:53 -04:00
Peace-Maker
32f019c70c Fix Mapchooser dying on single map rotation servers (bug 5179, r=kyles). 2014-05-13 13:44:14 -07:00
Peace-Maker
4cd6c37ab5 Remove LogMessageEx definition from logging.inc (bug 5897, r=kyles). 2014-05-10 05:42:33 -07:00
Peace-Maker
e9b4a6e96c Add DisplayTopMenuCategory native (bug 6033, r=dvander). 2014-05-09 12:32:49 -07:00
Peace-Maker
530078b3ae Add ability to disable TopMenu Title Caching (bug 6034, r=dvander). 2014-05-09 12:30:52 -07:00
Nicholas Hastings
0513f93f9d Add PrepSDKCall_SetAddress and Address support to PrepSDKCall_SetFromConf (bug 5261, r=asherkin). 2014-05-07 12:58:16 -04:00
David Anderson
e69e9eddc7 Change float comparison operators to return false for NaN (bug 6107, r=ds).
--HG--
extra : rebase_source : a11c56fb23d6617545def3591ec6100dd143eb3e
2014-04-22 19:40:45 -07:00
Powerlord
5efb5068cd Add new TF2_IsHolidayActive native to TF2 Ext (bug 6095, r=psychonic). 2014-04-07 23:17:11 -04:00
Powerlord
90c8440f17 Add TFHoliday_AprilFools to TFHoliday enum (bug 6092, r=psychonic). 2014-04-07 23:15:13 -04:00
Nicholas Hastings
655994cd09 Fix doc style on two native comments to fix detection in our api parser. 2014-04-06 17:03:14 -04:00
Nicholas Hastings
217ca928d5 Move funcommands material and sound defs to gamedata (bug 6085, r=asherkin). 2014-03-29 15:07:07 -04:00
Nicholas Hastings
fdae6cf1b0 Backed out changeset: fe0e55c4d544 2014-03-30 14:07:14 -04:00
Nicholas Hastings
2c399ec441 Move funcommands material and sound defs to gamedata. 2014-03-29 15:07:07 -04:00
Nicholas Hastings
2b015a1d5b Add support for Contagion (bug 6007, r=asherkin). 2014-03-29 14:14:00 -04:00
SystematicMania
010220ea25 No longer require clients to be ingame for INetChannelInfo natives (bug 5775, r=psychonic). 2014-03-27 22:52:16 -04:00
SystematicMania
a8ff00bc34 Switch more base plugins to OnClientSayCommand from say hooks (bug 5986, r=psychonic).
--HG--
extra : rebase_source : 7ff7d92f9d060ac69d0652d643f08e7d81946e49
2014-03-25 11:57:00 -04:00
Nicholas Hastings
49d769282b Fix compile error in DisplayAskConnectBox stock (bug 5984). 2014-03-22 17:06:37 -04:00
Nicholas Hastings
9215ddcf8a Add PbRemoveRepeatedFieldValue native (bug 6066, r=asherkin). 2014-03-21 13:23:48 -04:00
FlaminSarge
cf8d05ae98 Add support for passwords to DisplayAskConnectBox stock (bug 5984, r=psychonic). 2014-03-21 12:14:08 -04:00
Nicholas Hastings
0e6cbf989e Add default infinite value for TF2_AddCondition duration (nobug, r=asherkin). 2014-03-21 12:03:49 -04:00
SystematicMania
10f878d8c7 Fix regressions in b2f7d97b1ea7 and update plugins for OnClientSayCommand changes (bug 5986, r=psychonic). 2014-02-28 10:38:36 -05:00
Kyle Sanderson
977bf4d583 Fix Anti-Flood resolution of gametime (bug 5394, r=psychonic). 2014-02-27 20:49:19 -07:00
Peace-Maker
75d950e4b0 Add GiveAmmo native to SDKTools (bug 6039, r=psychonic). 2014-02-10 10:49:19 -05:00
Peace-Maker
8476832dc2 Fix param order in AddToTopMenu function doc (irc, r=psychonic). 2014-02-09 19:38:41 -05:00
Nicholas Hastings
0da68844a5 Remove MarkNativeAsOptional calls for old PbReadRepeated natives. (irc, r=KyleS). 2014-02-08 14:13:40 -05:00