repogarrysmodcancel

731 Commits over 2,587 Days - 0.01cph!

12 Months Ago
Add global function ScreenScaleH (#1999)
12 Months Ago
Added SANDBOX:ContextMenuShowTool hook (#1990) Return false to hide tool settings in context menu
12 Months Ago
Add table.Pack (#1575) Since garrysmod-requests/issues/585 isn't going to be done anytime soon, this is the 5.1 alternative. This packs varargs in a table and returns the proper length including nils, which is unreliable with the ``#`` operator.
12 Months Ago
Create table.Flip (#1548)
1 Year Ago
TTT: disable notification sound by default and add a setting (#1998)
1 Year Ago
Replaced some usages of 'Player.UniqueID' with 'Player.SteamID64' function (#1580) UniqueID bad
1 Year Ago
Add more NPCs categorized as hostile and friendly towards players (#2000) * Add more NPCs categorized as hostile towards players * Add hostile NPC classnames from Half-Life 1 * Add friendly NPC classnames from Half-Life 1
1 Year Ago
DHScrollBar (#1991) * DHScrollBar VScrollBar but horizontal * Fixed up some issues * Remove commented code --------- Co-authored-by: Rubat <3299036+robotboy655@users.noreply.github.com>
1 Year Ago
Dark mode for loading screen depending on system theme for x64 (#1994)
1 Year Ago
Move util.CHSpline to math library Prevent concommands appearing in server settings DPanPanel code style fixes & bug fix Fixed "get it all top-left" causing issues with one of my examples in the Pull Request #1197
1 Year Ago
Add math.CHSpline (#1294) * Add CHSpline Similar the Lerp and BSpline functions, however it allows you to set the starting and ending tangents. Works with integers and vectors, might work with angles. * Changed tangents t0 and t1 to m0 and m1 Hopefully this makes it less confusing to people that haven't studied this before.
1 Year Ago
DPanPanel (#1197)
1 Year Ago
Add duplicator.Disallow (#1676) Used when you want to override the default duplication behaviour, eg when an Addon makes itself duplicatable but you don't want it to be. Also useful if you want a script such as persistence to be able to duplicate things that players cannot. ```lua duplicator.Allow( "prop_door_rotating" ) local tab = duplicator.CopyEnts( Ents ) duplicator.Disallow( "prop_door_rotating" ) ```
1 Year Ago
Replace timer.Destroy (deprecated) with timer.Remove (#1995) timer.Destroy is deprecated, so timer.Remove should be used instead.
1 Year Ago
Fix Malformed CSS Comments (#1997)
1 Year Ago
Add Versus Saxton Hale map category (#1996)
1 Year Ago
1 Year Ago
Fixed issues with properties not working Update legal doc links Fixed up PR #1989
1 Year Ago
DListView ignore inisible lines (#1989)
1 Year Ago
TTT: fix notification sound cue and make it toggleable (#1983)
1 Year Ago
TTT: make Poltergeist weapon range easier to override (#1986)
1 Year Ago
Update detail.vbsp Update gameinfo.txt Fixed a regression with properties library Revert Pull Request #1299 See garrysmod-issues/issues/5495 Do not use magic numbers for net.Read/WriteEntity
1 Year Ago
1 Year Ago
Entity Editing uses less bits per variable edit (#1982)
1 Year Ago
[Net] Reduced net.Write&Read Entity from 16 bits to 13 bits. (#1934)
1 Year Ago
Update README.md
1 Year Ago
Updated `cvars` library (#1972)
1 Year Ago
Minor tweak for DListView example
1 Year Ago
dlistview_column:SetFixedWidth sets the column width immediately (#1965)
1 Year Ago
Remove SWEP:SetDeploySpeed Sandbox tool validity checks constraint library tweaks Mostly validity checks
1 Year Ago
Add flags of the world to DIconBrowser (#1978)
1 Year Ago
Do not set ClassName in vgui.CreateFromTable (#1977) Panels created by this functions do not have their own class and are anonymous. The reference classname in the existing function does not exist and is nil.
1 Year Ago
Update texturize.lua (#1976) * Update texturize.lua Make the texturize effect spawnmenu icons display the texture's name instead of them all being "Texturize" * Update texturize.lua Now using 'label' in the CreateContentIcon to provide a name to the icon. Fixes issue where selecting post process texture does nothing if 'name' is incorrectly set. * formatting --------- Co-authored-by: Rubat <3299036+robotboy655@users.noreply.github.com>
1 Year Ago
Fixed DGrid (#1975) * `DGrid:Clear()` now works correct * Ignore invisible children in `DGrid:PerformLayout()`
1 Year Ago
Invert color option for color modify Fix potential spawnmenu search errors on invalid input from addons More validity checks for Sandbox tools garrysmod-issues/issues/5445
1 Year Ago
Update CONTRIBUTING.md Make it more clear to use tabs and what "Tab size" is.
1 Year Ago
Refresh menu subscribed lists if they are open when subs change garrysmod/pull/1964
1 Year Ago
Add missing cfg files HL1: Source skill cfgs, 360 controller cfgs so they are not ran from mounted games, and mount.cfg
1 Year Ago
TTT: Fix incorrect call to SortByMember (#1970)
1 Year Ago
Make entity properties more resilient against EyePos issues
1 Year Ago
Fix weapon_medkit holstered healing regression (#1961)
1 Year Ago
Fixed a potential Lua error in DLabel:OnMousePressed Fixes garrysmod-issues/issues/5446 Update gmod_winch_controller.lua
1 Year Ago
TTT: fix knife effect_fn not being cleared (#1959)
1 Year Ago
Fix weapon_medkit merge error (#1960)
1 Year Ago
1 Year Ago
Move derma icon browser to a more sensible place So we don't have to worry about forcing clients to download a pointless file that returns on execution
1 Year Ago
Added vgui.Exists( classname ) (#1953)
1 Year Ago
Add the ability to override Tooltip's delay per panel (#1875) Adds the following methods to Panel: ```lua Panel:SetTooltipDelay( delay ) Panel:GetTooltipDelay() ``` Internally this sets the `numTooltipDelay` value on the affected panel. DToolTip's will also have the `OpenDelay` value, which is determined by the above functions, and defaults to the existing convar value.
1 Year Ago
Menu Support for `util.IsBinaryModuleInstalled` (#1927)
1 Year Ago
Refactor weapon_medkit (#1943) * Refactor weapon_medkit - Removed the ammo/idle timers and converted them to predicted netvars like weapon_fists - Divided up the Primary/SecondaryAttack functions into SWEP:CanHeal(entity), SWEP:DoHeal(entity), SWEP:HealEntity(entity), and SWEP:HealFail(entity) - Changed many constants to class variables to promote addon SWEP modification instead of copying and modifying the code - Heal success/failures now punishes both primary and secondary fire no matter which heal type it is to prevent being able to interrupt the medpack animation with the opposite heal type attack - Removed SWEP.MaxAmmo as SWEP.Primary.ClipSize was already serving its purpose - General optimisations/cleanup * Hanging space cleanup * GetHealth->Health * Remove default SWEP:Reload Doesn't cause issues currently, just doesn't need to call DefaultReload * Final cleanup - Changed Ammo to an empty string. "none" makes no difference - Only update the NextAmmoRegen netvar if ammo was given. Prevents regen from being on a constant cycle instead of action-based - Changed TakePrimaryAmmo to a plain SetClip1 to match what's done in SWEP:Think + skip some unnecessary logic * Small fixes - GetClip1->Clip1 - math.min(..., 0)->math.max(..., 0) when setting the clip - preventing it from being set negative instead of always being set to 0 - Healing sets the NextAmmoRegen to ensure regen always happens AmmoRegenFrequency seconds after the last heal * Use the local in CustomAmmoDisplay * deuglify trace code --------- Co-authored-by: Rubat <3299036+robotboy655@users.noreply.github.com>