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