781 Commits over 2,710 Days - 0.01cph!
TTT: Remove util.SafeRemoveHook (#1574)
Minor spawn icon editor changes
stop perform layout infintie loops on sidebar
added tab icons
Changes to DFileBrowser and DHorizontalScroller
DFileBrowser has an example in derma_controls
Added DHorizontalScroller.GetCanvas, ScrollToChild, SetScroll
DPropertySheet tabs can be right clicked to quickly switch between tabs when they overflow DPropertySheet's width
Dnumberwang code style (PR#1356)
fixes to ENT:BeingLookedAtByLocalPlayer
And people wonder why PRs don't get merged
Co-Authored-By: Collin (code_gs) <collings509@gmail.com>
ENT:BeingLookedAtByLocalPlayer optimisation (#1514)
* ENT:BeingLookedAtByLocalPlayer optimisation
- ENT.ViewDistance can now set the maximum distance the worldtip is displayed at when looking at an entity.
- The distance check now uses the view entity's ShootPos if its a player, just like the local player does. This makes the result consistent between a player and spectators.
- Dist->DistToSqr
- Order of operations changed in ENT:Think and ENT:BeingLookedAtByLocalPlayer to do traces last - optimises entities too far from the player from doing an unnecessary eyetrace.
* Changed ViewDistance to MaxWorldTipDistance
Added SetInterval and GetInterval to DNumberWang (#1356)
Allows for an easier way to add and subtract numbers higher/lower than 1 in DNumberWang.
TTT: More table.IsEmpty (#1570)
Hydraulic toggle option
And a small bugfix which required you to press the keybind twice before the hydraulic would work
TTT: Optimizations using table.IsEmpty (#1569)
Checkbox visual clarity improvement
Its for Hammer but affects everything else too
Add HL1 and Garry's Mod language strings (#1562)
* Update language files
* Fix conflicts
* Fix conflicts v2
GitHub really hates text files
* Reverted weapon_cubemap capitalisation changes
* Updated HL1 weapons
Optimizations using table.IsEmpty (#1568)
make Player:SetPData and Player:RemovePData actually return a boolean (#1394)
* make Player:SetPData and Player:RemovePData actually return a boolean
According to the wiki [SetPData](https://wiki.garrysmod.com/page/Player/SetPData) and [RemovePData](https://wiki.garrysmod.com/page/Player/RemovePData) should return a boolean on success/failure which at the moment they're not.
Additionally it would be optimal if they would also throw an error (sql.LastError()) if it fails so people actually know why their stuff didn't get stored.
Add Tooltip accessors (#998)
* Add Tooltip accessors
Solves garrysmod-requests/issues/514
Style consistency for weld.lua
Add MarkupObject metatable to the registry (#1541)
Co-Authored-By: Collin (code_gs) <collings509@gmail.com>
Remove MarkupObject:Create() (#1542)
This function shouldn't exist - it's a class function of the MarkupObject that... creates a MarkupObject. Calling it on an existing MarkupObject creates an object that now has the metatable of the previous MarkupObject which is improper and inconsistent behaviour for a class function. Even the single use of it calls the function on the MarkupObject metatable as if it were an object. It also updates the __index of the metatable to itself every time needlessly instead of setting it once outright.
This will break no compatibility with previous code since the MarkupObject metatable isn't available outside of a single file, and calling it on an actual MarkupObject results in bad behaviour.
add nocollide to weld tool (#1544)
helpfull function
Changed table.Count to table.IsEmpty in halos
Merge pull request #1565 from Kefta/patch-109
Changed table.Count to table.IsEmpty in halos
Add table.IsEmpty
More efficient method
Credits to @Kefta
Merge pull request #1538 from WilliamVenner/table_isempty
Create table.IsEmpty
Spawnmenu editing hints
Halo.add with no entities silently fails
ImageCheckBox.Set/GetChecked
Flechette effects iin Mp fixed
Fixed faceposer UI bug
was hiding last flex accidentally
Icons for spawnlist rightclicks
lower screen res css fixes
Language files
Fix flechette console spam
Moved weapon script files
Updated language files
Some HL1 translations
Added missiing stuff
How the hell did this not get into the previous commit
ENT:HandleAnimEvent for nextbots
TTT: granular ammo pickup (#1550)
Only ammo the player can carry is taken from ammo boxes, if the box has more than a quarter left it stays around and the remainder can still be picked up.
Player Class changes
Player classes are set on all clients automatically clientside
Added hook GM:PlayerClassChanged
Player classes are initialized as soon as they are set, instead of on first hook call
Explanation to !IsFirstTimePredicted()
Nextbot:FireAnimationEvent dummy/docs
Fix toolgun ghost being left behind (#1557)
Backgrounds do not change in loading
prop_effect changes
Bodygroups and making MakeEffect usable
Serverlist changes
Stop refreshing server list upon joining a server or switching between server list types (Internet, LAN, favorites, etc)
Double the amount of servers shown per gamemode
Do not hide "Stop refreshing" button while browsing servers of a gamemode
Reduced rankiing impact of empty servers, increased ranking impact of full servers
Server ranking based on player count now starts earlier
Fix copypasta error
Moved default spawnlists
Moved default spawnlists to settings/spawnlist_default
Fixes for SWEP/SENT table recreation
Also makes ENT/SWEP table inheritance more consistent
Panel changes/fixes
Fixes for GetCount not updating
Hide tabs in icon editor
Spawnmenu icon editor doesn't display an empty Bodygroups tab
Invisible children of DHorizontalScroller will no longer affect position of the visible panels
Fix for prop_effect bodygroups
Fixed duped effects not having AttachedEntityInfo + minor effect fixes (#1553)
* Fixed duped prop_effects not having their AttachedEntityInfo table (meaning no entity mods, skin/bodygroup changes, bone manips, etc.) ever since the MakeEffect function was added. This value used to be copied over because duped prop_effects were being spawned with GenericDuplicatorFunction, which dumps the entire dupe data table into the new entity. Now that they have their own spawn function, we have to copy the value over manually.
* Fixed prop spawn effect not working on prop_effects because it was trying to apply them to the prop_effect itself instead of its AttachedEntity
* SWEP spawn effect
Toolgun Think fixes (#1547)
- Check owner validity - fixes rare edge case of the owner being invalid when Think is called and cases where the owner is an NPC
- Check last tool object validity before releasing its entity - fixes error when switching from invalid mode to another invalid mode
- Remove a return when a mode switch occurs and the last mode was invalid, causing the first Think after a mode switch to be skipped - fixes garrysmod-issues/issues/3682
Fix invalid table.GetWinningKey behavior. (#1554)
Add new Blade Symphony map to the menu (#1540)
Fix missing argument (#1549)
Fix up whitespace in localization
Fixed an exploit with gm_giveswep
Also renamed npc_tf2_ghost from Test NPC to Example NPC. TODO: Change classname too
Hints can now use dynamic keybinds
Tool translations fixed up
More consistency
Keyboard Settings labels
Updated keyboard tab keybind labels to be more descriptive.
Spawnmenu right click menus translated
Sandbox settings text improvements
Better more descriptive strings for the Sandbox server settings, as well as improved server browser player counts translations
Main menu updates
*Last played map now snaps into view when opening the New Game menu
* Added recent news to the main menu
Menu bar translations/changes
* Moved gmod_drawtooleffects to appropriate file, and it now affects tool tracer
* Menu bar translations
* Menu bar items that require sv_cheats 1 now reflect that
Minor changes
Axis tool nocollide help text
Paint tool duplication prevention
Some whitespace changes
Soundscripts updated
Added Hl1 music, fixed up Hl1 weapon sounds, removed unnecessary files
TTT: fix entity ID/player ID mixup in late loadout (#1546)
An entity ID is used in a player.GetByID call
TTT: Russian translation fixes (#1545)
DColumnSheet return the sheet button (#1505)
Makes DColumnSheet return the sheet's button like DPropertySheet does, all the cool kids are doing it.
Replace dead link about line endings (#1516)
Let it point to the github documentation instead.
Add empty RunBehaviour function to nextbot (#1524)
Fixes garrysmod-issues/issues/3581.
Get rid of direct thread links in Readme