Commit Graph

5480 Commits

Author SHA1 Message Date
Peace-Maker
4b8a581c9a Fix crash in games that don't support radio style menus
Fix regression in ad7d920
GetMenuStyleHandle(MenuStyle_Radio) crashes games, which don't support
the radio menu style. The style is never added to the menu manager, if
it's not supported, so GetMenuStyleHandle tries to call IsSupported on a
nullptr
2015-03-21 18:53:41 -04:00
David Anderson
8b0a10ad1d Checkout submodules recursively. 2015-03-15 19:31:34 -07:00
David Anderson
7fc993e079 Fix build. 2015-03-15 19:27:44 -07:00
David Anderson
d846d91b0b Merge pull request #300 from alliedmodders/sp-upstream
Use upstream SourcePawn as a submodule.
2015-03-15 19:19:55 -07:00
Nicholas Hastings
660d6201ab Merge pull request #310 from InstantMuffin/patch-2
Fixed missing include in gdc-psyfork/memoryutils.cpp (r=psychonic).
2015-03-15 20:22:47 -04:00
David Anderson
2ab3498ab0 Use upstream SourcePawn as a submodule. 2015-03-15 16:38:38 -07:00
InstantMuffin
f7f4ea4243 Fixed missing include in psyfork/memoryutils.cpp
Error:
MemoryUtils.cpp: In member function ‘void* MemoryUtils::ResolveSymbol(void*, const char*)’:
MemoryUtils.cpp:249:43: error: ‘fstat’ was not declared in this scope
  if (dlfile == -1 || fstat(dlfile, &dlstat) == -1)

Fixed by adding missing include: #include <sys/stat.h>
2015-03-15 21:42:06 +01:00
Ruben Gonzalez
637471ef29 Merge pull request #303 from alliedmodders/tf2_vstk_fix
Fix some TF2 natives not having the correct vstk size.
2015-03-14 09:26:16 -04:00
Ruben Gonzalez
f06a3605d2 Fix typo 2015-03-13 16:52:20 -04:00
Ruben Gonzalez
f523d6a74d Update function signature comments. 2015-03-13 16:19:57 -04:00
Ruben Gonzalez
ff8cbf97c4 FIx some TF2 natives not having the correct vstk size. 2015-03-12 18:28:17 -04:00
Ruben Gonzalez
a947dfa9d5 Update TF2's MakeBleed native for the latest update. 2015-03-12 17:54:47 -04:00
Nicholas Hastings
28870d2ae5 Make OpenDirectory error for empty path match error in DirExists. 2015-03-10 18:58:00 -07:00
Nicholas Hastings
cc3b86ea80 Throw an error if DirExists called with empty path. 2015-03-10 18:57:28 -07:00
Nicholas Hastings
ae8efdddcb Add GetTeamEntity native to SDKTools. 2015-03-10 07:27:43 -07:00
David Anderson
7f24f137d6 Merge pull request #299 from alliedmodders/amtl-upstream
Use upstream AMTL as a submodule.
2015-03-08 12:13:11 -07:00
David Anderson
eaea3c927d Update upstream AMTL as a submodule. 2015-03-08 00:24:03 -08: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
David Anderson
8bb6f0e5c6 Merge pull request #297 from alliedmodders/rm-packing
Remove scpack.
2015-03-07 12:42:00 -08:00
David Anderson
0b990e46ab Remove scpack. 2015-03-07 11:39:11 -08:00
David Anderson
1d313e3120 Move macro assembler out of public/assembler into sourcepawn/vm/x86. 2015-03-07 11:16:37 -08:00
David Anderson
561004c4bf Move SourcePawn headers out of public/ into sourcepawn/include. 2015-03-07 11:13:32 -08:00
David Anderson
6f1eefbdbe Strip internal SourcePawn dependencies on SM relative paths. 2015-03-07 11:07:20 -08:00
David Anderson
23ac0b4637 Keep one copy of zlib in the SourcePawn tree. 2015-03-07 11:02:44 -08:00
David Anderson
a008a3f804 Remove msvc project files for SourcePawn. 2015-03-07 10:53:12 -08:00
David Anderson
c81e7e3410 Move batchtool out of sourcepawn. 2015-03-07 10:52:13 -08:00
David Anderson
d459ebee41 Rename jit/ to vm/. 2015-03-07 10:50:35 -08:00
Nicholas Hastings
ea684d5933 Merge pull request #296 from WildCard65/WildCard65-patch-1
Port remainder of regex.inc to transitional syntax (r=psychonic).
2015-03-07 08:09:12 -05: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
David Anderson
0c5cbe536f Revert unintentional change. 2015-03-06 11:00:15 -08:00
David Anderson
175f9afa68 Merge pull request #240 from alliedmodders/stock-values
Allow capturing non-public functions as values.
2015-03-06 10:53:21 -08:00
David Anderson
8216097b2c Allow capturing non-public functions as values. 2015-03-06 10:51:46 -08:00
Nicholas Hastings
adbdcd6b1d Add explicit return types to forwards missing them. 2015-03-06 10:18:09 -08:00
Nicholas Hastings
ac4f594063 Trigger build for hl2sdk-dota changes. 2015-03-06 11:25:37 -05:00
Nicholas Hastings
2d53547e03 Merge pull request #289 from alliedmodders/more-ninvoke-killing
Remove references to INativeInvoker.h from extension boilerplate.
2015-03-06 07:37:46 -05: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
Fyren
b1ae2a178f Merge pull request #293 from alliedmodders/spcomp-option-spaces
Reapply ancient patch to allow spaces in spcomp options.
2015-03-06 02:50:50 -07:00
David Anderson
fa2dc5b20a Merge pull request #290 from InstantMuffin/patch-1
Documentation oddities for Call_PushStringEx
2015-03-06 01:43:54 -08:00
Fyren
dd8fa985c1 Reapply ancient patch to allow space in spcomp options. 2015-03-06 09:08:24 +00:00
Fyren
81926ceae2 Merge pull request #292 from alliedmodders/sourcepawn-fix-signed-compare
Signed comparison warning fixes.
2015-03-06 01:48:54 -07:00
Fyren
d3da389f9f Signed comparison warning fixes. 2015-03-06 08:08:41 +00:00
David Anderson
782eee3c58 Merge pull request #291 from VoiDeD/spcomp-error25-improvements
Improve the diagnostic given when a function prototype doesn't match an existing definition
2015-03-05 23:04:19 -08:00
Kyle Sanderson
d0d0ea5051 Merge pull request #269 from KyleSanderson/wnoerrorsign
Add Wno-error=sign-compare for gcc to Compiler. r=dvander
2015-03-05 20:05:06 -08:00
Ryan Stecker
3509f963ee Improve the diagnostic given when a function prototype doesn't match an existing definition. 2015-03-05 18:45:15 -06:00
InstantMuffin
98cbef547a Update functions.inc 2015-03-05 21:03:46 +01:00
David Anderson
90d3841ab2 Fix mac build. 2015-03-05 11:51:08 -08: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