Commit Graph
5181 Commits
Author SHA1 Message Date
Peace-Maker 491d24a028 Add missing debug info for multidimensional strings
new String:INVISIBLE[2][8];

Multidimensional arrays like this wouldn't get their debug info added to
the debug symbols table.
Bug: https://bugs.alliedmods.net/show_bug.cgi?id=6324

See Fyren's comment in the bug report.
This patch recursively checks the parent symbol of array dimensions
until it finds the top symbol and uses that to check for the compound
level.
This still allows for early exiting the loop when going out of scope.
2015-04-04 11:05:36 -04:00
Peace-Maker 9a26ae0526 Fix declaring variable on same line after array
int a[5], b;
b would get a size of |0| on the stack instead of a sizeof(cell_t).
Bug: https://bugs.alliedmods.net/show_bug.cgi?id=6335
2015-04-04 11:03:27 -04:00
Ryan Stecker 8f0067b3b4 Improve the diagnostic given when a function prototype doesn't match an existing definition. 2015-04-04 10:51:10 -04:00
Nicholas Hastings d68829d301 Fix build. 2015-04-04 10:26:11 -04:00
Nicholas Hastings a48d5bfe1f Add missing impl for File.ReadUint16. 2015-04-04 10:22:41 -04:00
Nicholas Hastings e54850e1f9 Add explicit return types to forwards missing them. 2015-04-04 10:21:34 -04:00
InstantMuffin fd4ac6312c Update functions.inc 2015-04-04 10:17:02 -04:00
Alexander Corn 3c95f191c4 Moved note about releasing resources from OnPluginStart to OnPluginEnd 2015-04-04 10:10:51 -04:00
Nicholas Hastings a523948ebb Make OpenDirectory error for empty path match error in DirExists. 2015-04-04 10:10:13 -04:00
Nicholas Hastings fc5149a1c7 Throw an error if DirExists called with empty path. 2015-04-04 10:10:07 -04:00
Nicholas Hastings 50399f25f4 Update TF2 gamedata. 2015-03-31 17:39:50 -04:00
Ruben Gonzalez 1552464465 Fix not being able to block CS_OnCSWeaponDrop and clarify include file. (bug 6334) 2015-03-29 18:39:38 -04:00
Dr!fter dd401e760c Fix more Freak Fortress gamedata. 2015-03-27 21:59:02 -04:00
Ruben Gonzalez 0c976cd1f0 Fix Fortress Forever gamedata. 2015-03-27 21:47:32 -04:00
Nicholas Hastings e5fb8984f4 Merge pull request #286 from peace-maker/noradiomenu_regression
Fix crash regression in games that don't support radio style menus (r=psychonic).
2015-03-21 18:46:56 -04:00
Ruben Gonzalez 57c993e17e Merge pull request #303 from alliedmodders/tf2_vstk_fix
Fix some TF2 natives not having the correct vstk size.
2015-03-14 09:51:08 -04:00
Ruben Gonzalez ec32f3cf2d Update TF2's MakeBleed native for the latest update. 2015-03-12 18:07:12 -04:00
Nicholas Hastings 3764881daa Trigger build for hl2sdk-dota changes. 2015-03-06 11:26:26 -05:00
Ryan Stecker 2754be4066 Fix tag mismatch warning when using SQLite_UseDatabase. (bug 6310) 2015-03-03 23:04:23 -05:00
Peace-Maker b52054de1e Fix crash in games that don't support radio style menus
Fix regression in ad7d920ce0
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-01 18:48:30 +01:00
Nicholas Hastings 94c982f8cf Merge pull request #267 from 50Wliu/tf2_setclientteam
Add TF2_SetClientTeam to provide symmetry to TF2_GetClientTeam (r=psychonic).
2015-02-26 17:42:32 -05:00
Asher Baker 66b00d4ae7 Updated plugin blacklist. 2015-02-25 01:17:42 +00:00
Asher Baker 784f9f4993 Merge pull request #213 from splewis/find-array-nonzero-blocks
Add block parameter to FindValueInArray native.
2015-02-25 01:16:06 +00:00
Nicholas Hastings 6fb9e1b30e Fix Insurgency s_pTempEntities offset on Windows. 2015-02-22 20:09:03 -05:00
Nicholas Hastings 51c1e17717 Use new IVEngineServer::GetIServer to get IServer* on Insurgency. 2015-02-22 15:16:39 -05:00
Nicholas Hastings c911af4109 Update Insurgency Windows SDKTools gamedata. 2015-02-22 10:18:45 -05:00
Kyle Sanderson a67c54f0c0 Root Menu Handles during Display. 2015-02-21 17:36:08 -08:00
Nicholas Hastings a989a2b791 Trigger build for hl2sdk-dota changes. 2015-02-20 09:17:01 -05:00
Nicholas Hastings 68a1e89c24 Trigger build for hl2sdk-csgo changes. 2015-02-17 15:50:38 -05:00
Nicholas Hastings 289455d538 Trigger build (bug 6308). 2015-02-14 12:03:55 -05:00
Nicholas Hastings 4919e4a002 Roll version number. 2015-02-04 18:25:02 -05:00
Nicholas Hastings fd0aaf9da9 Update versioning for 1.7.0 release. sourcemod-1.7.0 2015-02-04 17:33:14 -05:00
Nicholas Hastings 325e95e9be Update changelog for version 1.7.0. 2015-02-04 17:29:10 -05:00
Nicholas Hastings c2e31deb78 Sync changelog from 1.6-dev branch. 2015-02-04 17:24:56 -05:00
David Anderson c944ef18b3 Remove sizeof() as a special-case default argument value. 2015-02-04 17:18:11 -05:00
Nicholas Hastings 14af0bae82 Fix crash when creating and destroying a TopMenu without map change (bug 6303). 2015-02-04 17:15:03 -05:00
Nicholas Hastings efba7bd82a Expose Message_DetermineMulticastRecipients as GetClientsInRange native. 2015-02-03 14:40:15 -05:00
Nicholas Hastings 6da2f6c8ed Fix FindFlagChar not finding char for AdminFlag_Custom6. 2015-02-03 12:42:08 -05:00
Nicholas Hastings 9e6f7a9e89 Fix g_ReverseFlags array size. 2015-02-03 12:41:43 -05:00
Nicholas Hastings d0ab3e7bd6 Rename g_FlagSet to g_FlagCharSet to avoid some confusion. 2015-02-03 12:41:14 -05:00
Ruben Gonzalez a6d5212ee9 Initial CSGO GetWeaponPrice fixes 2015-02-01 12:12:31 -05:00
David Anderson 79bb037b66 Don't special case hierarchy-free enumeration constants when used as array indices. (bug 6302) 2015-01-31 22:12:59 -08:00
David Anderson ea3f491a8e Fix chained field expressions losing lvalue-ness. (bug 6298) 2015-01-31 22:12:58 -08:00
Thordin aa27b10232 Increased handles to 32k 2015-01-31 22:12:57 -08:00
David Anderson 1ebf70b450 Fix wrong value in transitional DBI callback. (bug 6292) 2015-01-31 22:12:57 -08:00
Nicholas Hastings 3a499036ac Fix incorrect error line show for incorrect return value on forwards (bug 6226). 2015-01-28 14:46:56 -05:00
Nicholas Hastings 6b92f18a86 Don't allow plugins to block LevelInit (wtf). 2015-01-28 14:46:46 -05:00
Kyle Sanderson 60757dde1c Establish a default timeout for MySQL connectivity. 2015-01-23 22:58:06 -08:00
Nicholas Hastings d5fc57316e Update protobuf include path for Dota build. 2015-01-21 11:11:56 -05:00
Ryan Stecker 1b47398e38 Prevent null auth string comparisons. 2015-01-19 07:49:27 -05:00