Commit Graph

4952 Commits

Author SHA1 Message Date
David Anderson
cef9d9d162 Fix returning strings from functions with variadic arguments. 2014-08-17 01:17:10 -07:00
Nicholas Hastings
1ca837ea2c Merge pull request #131 from VoiDeD/removewearable-optional
Mark TF2_RemoveWearable as optional (r=psychonic).
2014-08-16 13:23:01 -04: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
Kyle Sanderson
766b6e1770 Merge pull request #127 from alliedmodders/coremapend
Add OnCoreMapEnd to extension's interface.
2014-08-15 20:48:59 -07:00
Ruben Gonzalez
31087dcb57 Merge pull request #130 from VoiDeD/regex-errors
Fix typo related to invalid regex handle errors.
2014-08-14 14:13:42 -04:00
Ryan Stecker
d873b20573 Fix typo related to invalid regex handle errors. 2014-08-14 12:24:51 -05:00
Nicholas Hastings
486910a9a1 Add missing files 2014-08-13 14:26:18 -07:00
Nicholas Hastings
17d5af0e2f Move Logger and Core natives to Logic 2014-08-13 14:24:35 -07:00
Asher Baker
f570fa414b Reformatted compiler output a little. (r=dvander) 2014-08-12 18:35:43 +00: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
David Anderson
b92efc1df1 Merge pull request #128 from VoiDeD/profile-dump
Add a command to dump profiling output.
2014-08-12 10:31:30 -07:00
Nicholas Hastings
25f8570279 Merge pull request #124 from alliedmodders/csgo-cl-language
Fix automatic language detection on CS:GO (bug 6163) (r=asherkin).
2014-08-11 07:37:11 -04:00
Ryan Stecker
0bde28cc17 Add a command to dump profiling output. 2014-08-09 13:32:05 -05:00
Ruben Gonzalez
2ba0b794ea Added note to know what version OnCoreMapEnd was added to. 2014-08-08 10:57:38 -04:00
Ruben Gonzalez
7a88386568 Add OnCoreMapEnd to extension's interface. 2014-08-08 01:01:47 -04: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
Asher Baker
84e5e20362 Merge pull request #125 from WildCard65/wearablesfix
Actually remove extra wearables.
2014-08-05 15:02:14 +01: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
Nicholas Hastings
ccc818d06e Fix automatic language detection on CS:GO (bug 6163). 2014-08-05 01:41:44 -04:00
David Anderson
000cb2b4dd Merge pull request #123 from alliedmodders/sp2-compat
Introduce a typedef keyword.
2014-08-03 22:27:27 -07:00
David Anderson
ad376ff0b8 Introduce a typedef keyword. 2014-08-03 21:51:34 -07:00
David Anderson
09edda93ad Fix style atrocities in sc1.c. 2014-08-03 18:53:58 -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
Nicholas Hastings
f2b19e6c87 Add more accurate return value for DeleteFile when using Valve FS. 2014-08-03 09:10:02 -04:00
Nicholas Hastings
836cde4e21 Merge pull request #121 from VoiDeD/bug-6206
Remove the extra wearables of weapons in TF2_RemoveWeaponSlot (r=psychonic).
2014-08-02 22:02:14 -04: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
Nicholas Hastings
5e7e7ce551 Improved FPrint(f) passthrough 2014-08-01 06:09:09 -07:00
Ruben Gonzalez
c116353285 WiP addition of support for ValveFS to many more filesystem natives. 2014-07-31 20:56:07 -04:00
Kyle Sanderson
678e743819 Merge pull request #116 from VoiDeD/funcommands-gravity
Fix PerformGravity's logging format.
2014-07-30 17:59:52 -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
Kyle Sanderson
c4a1e3c819 Merge pull request #107 from alliedmodders/sdkhackfix
Copy SDKHooks vector instead of taking a reference.
2014-07-30 15:42:49 -07:00
Kyle Sanderson
ab72841704 Rename SDKHooks function and variable to be friendlier. 2014-07-30 15:34:51 -07:00
Ryan Stecker
75d5b0c972 Add more TF2_RemoveWearable documentation. 2014-07-30 17:28:51 -05:00
Asher Baker
dd7a1764e4 Merge pull request #115 from asherkin/basebans-load
Improved error reporting in basebans custom reasons loading.
2014-07-30 20:52:51 +01:00
Asher Baker
eab6ac748f Improved error reporting in basebans custom reasons loading. 2014-07-30 16:30:01 +01:00
Nicholas Hastings
b979d707db Update Fistful of Frags gamedata. 2014-07-30 06:35:45 -04:00
Ryan Stecker
4a400d9569 Implement TF2_RemoveWearable native. 2014-07-29 20:31:27 -05:00
Kyle Sanderson
ba0406930d Pre-allocate 8 elements to skip trivial reallocations near the beginning of the vectors life. 2014-07-29 02:48:13 -07:00
Kyle Sanderson
be79dee6e0 Store only the callback as per VoiDeD, re-eval if HookList changes. 2014-07-29 02:46:49 -07:00
Kyle Sanderson
97610edda4 HackFix: Mimic forwardsys style of pawn calling. 2014-07-28 15:51:34 -07:00
Asher Baker
803a54b773 Merge pull request #113 from VoiDeD/spcomp-include-path
Fix not adding the "include" directory to the spcomp search path.
2014-07-24 22:23:43 +01:00
Ryan Stecker
fad5c590b6 Fix not adding the "include" directory to the spcomp search path. 2014-07-24 15:35:44 -05:00
David Anderson
2553d02698 Fix build. 2014-07-24 10:40:51 -04:00
David Anderson
da71cfed5a Merge pull request #112 from alliedmodders/dynamic-scp
Generate .scp files as part of the build process.
2014-07-24 09:01:49 -04:00