repogarrysmodcancel

869 Commits over 2,830 Days - 0.01cph!

1 Year Ago
Fixed Infinite loop on string.Comma when second parameter is numerical. (#2025)
1 Year Ago
Fix GetHighestKey not choosing anything if values are all 0 (#2026) Fixes totally empty gamemodes not using *any* description, instead falling back to internal folder name
1 Year Ago
Add custom icons for tree nodes in some spawnmenu categories (#2001) * Added list for sent category custom icons in spawnmenu * Added list for npc category custom icons in spawnmenu * Added list for vehicle category custom icons in spawnmenu * Added list for weapon category custom icons in spawnmenu
1 Year Ago
Add CanCreateUndo hook (#1685)
1 Year Ago
Make it easier to click on addons in the Addons list (#2018) * Click to check * Add listener only to the Description Remove extra spacing Add removed spacing * Move click handler to the workshopicon
1 Year Ago
Add PreRegisterTOOL hook (#2022) Considering https://wiki.facepunch.com/gmod/GM:PreRegisterSENT and https://wiki.facepunch.com/gmod/GM:PreRegisterSWEP both exist, i figured PreRegisterTOOL should exist too. It'd help with preventing some tools from loading / modifying tools.
1 Year Ago
TTT: Prevent error when NPC fires SWEP derived from weapon_tttbase (#2023)
1 Year Ago
Use Brackets for keys in PrintTable (#1754) To avoid confusion when there is [357] and ["357 "] for example. Example of how that looks: ``` [0.000000 0.000000 0.000000] = Vector [1] = Number [Entity [0][worldspawn]] = Entity ["stringIndex"] = String ```
1 Year Ago
Clear DoF_Ents table on DOF_Kill (#2020)
1 Year Ago
Fixed targetID being jumpy/jittery Clean ups
1 Year Ago
Add sequential parameter to net.Read/WriteTable (#1866) * Add sequential parameter to net.Read/WriteTable * Break instead of return * Update net.lua --------- Co-authored-by: Rubat <3299036+robotboy655@users.noreply.github.com>
1 Year Ago
Fixed spawnmenu cursor position resetting in certain cases Reworked killicon library Updated language files Update string.lua
1 Year Ago
UV support for killicons (#1158) * UV support for killicons * Update killicon.lua Change UV material argument to path Change UV coordinate arguments to pixel values Fix improper sizes for UV icons * Changed name to killicon.AddTexCoord --------- Co-authored-by: AwfulRanger <AwfulRanger@users.noreply.github.com>
1 Year Ago
Add string.CardinalToOrdinal (#1509) This would be a useful function to have for anyone who would want to use it. Example: `print( string.CardinalToOrdinal( 111 ) )` Output: `111th` Yes `STNDRD` exists, but it has a stupid name.
1 Year Ago
Add ents/player iterators (#1731) Adds iterators for entities and players which are read-only and cached. The main benefit to this is performance; crossing over from Lua to C and back every function call is slow and creates a new table each call. Closes Facepunch/garrysmod-requests/issues/738. Examples of use: ``` for i, p in player.Iterator() do print(p) end for i, e in ents.Iterator() do if e:GetClass() == "prop_physics" then e:Remove() end end ```
1 Year Ago
Update Team Fortress 2 map categories (#2017) The Scream Fortress update came along, and with it a new map category, zi_. This commit makes the "other" category empty again by adding it.
1 Year Ago
Main Menu changes and additions Disallow making addon presets with empty names Fixed number only names being unable to be deleted Confirmation when deleting addon presets Addon preset importing and exporting
1 Year Ago
Update net.lua (#1106) add net.ReadPlayer/WritePlayer Co-authored-by: Python1320 <Python1320@users.noreply.github.com>
1 Year Ago
Added FGD files
1 Year Ago
Add SWEP/SENT.ClassNameOverride (#1987) * Add SWEP/SENT.ClassNameOverride * Update weapons.lua
1 Year Ago
Reduce player __index calls in animations (#2010) * Reduce player __index calls in animations * Improve backwards compatibility
1 Year Ago
Add HL1 ground turrets (#1926) Added support for spawning the HL1 turrets on the ground, as well as fixing up some comments in commands.lua. --------- Co-authored-by: Rubat <3299036+robotboy655@users.noreply.github.com>
1 Year Ago
Half-Life: Source skill config adjustments More physics related killicons Crosshair customization menu clean ups Portal NPCs related changes Duplicator support, spawnmenu spawn position fix "Failed to find any models for this addon" message adjustments Empty out stored outputs for duplications Lua error fix due to recent engine changes Update garrysmod_english.txt Entity:Set/GetColor Lua implementation
1 Year Ago
Update Fistful of Frags map categories (#2013) This now makes the "other" tab once again empty with Fistful of Frags installed.
1 Year Ago
MatSelect improvements (#1872) * Added `MatSelect:Clear` * Added `MatSelect:SelectedItemPaintOver( x, y )` * `MatSelect:AddMaterial*` methods now return the created `DImageButton` * Added `local pnl = MatSelect:FindMaterialByValue( value )` * Added `MatSelect:SelectMaterial( pnl )` --------- Co-authored-by: Rubat <3299036+robotboy655@users.noreply.github.com>
1 Year Ago
Minor DComboBox improvements and DComboBox.RemoveChoice (#1851) Utilized the `DComboBox.CloseMenu` method in where appropriate Added `DComboBox.RemoveChoice( index )` --------- Co-authored-by: Rubat <3299036+robotboy655@users.noreply.github.com>
1 Year Ago
Change deprecated MousePos function (#2006) * Changed depricated MousePos function * remove redundant call
1 Year Ago
fix number wang passing both strings and numbers to OnValueChanged (#2009)
1 Year Ago
Improve support for non-English messages in `DTextEntry` history (#2008)
1 Year Ago
Small optimisation for sandbox (#2005) * refactor: small optimisation
1 Year Ago
Reduce NPC name translation duplication Fixed malformed HTML Reworked base kill feed Portal NPCs Only populated servers contribute to gamemode name This is experimental and may be rolled back Update ClientScheme.res This is for nav_generate UI More NPC class name translations
1 Year Ago
Direct GM:AddDeathNotice call replaced by hook.Run (#1380) This will allow to hide death notices by returning any value in the hook.
1 Year Ago
Allow spawning Zombine with EP2 mounted (#2004) fixes an issue where if ep2 is mounted but ep1 isnt, zombines wont spawn, despite working with just ep2
1 Year Ago
Minor style fix
1 Year Ago
1 Year Ago
Clean ups Duplicator copies sub materials lua_find* access restriction adjustments
1 Year Ago
Add math.CubicBezier & math.QuadraticBezier (#2002) Cubic/Quadratic bezier curve lerp
1 Year Ago
Slight toolgun improvement (#2003) * Delete an unused variable * Use a variable
1 Year Ago
Add global function ScreenScaleH (#1999)
1 Year Ago
Added SANDBOX:ContextMenuShowTool hook (#1990) Return false to hide tool settings in context menu
1 Year 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.
1 Year 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)