repogarrysmodcancel

828 Commits over 2,802 Days - 0.01cph!

3 Days Ago
TTT: Fix pistols using revolver reload gesture (#2220)
3 Days Ago
Remove angular-ui, jquery-ui, jquery-color (#2219)
3 Days Ago
Refactor sandbox hints (#2218) * Clean up comments * Stop using deprecated `GetConVarNumber` * Use string.gsub's function mode for binding lookups ``` Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio > text = "foo %+one% bar %+two% baz %+three%" > function replacer(res) print("replacer!", res) return string.upper(res) end > print(string.gsub(text, "%%([^%%]+)%%", replacer)) replacer! +one replacer! +two replacer! +three foo +ONE bar +TWO baz +THREE 3 ``` * Formatting * Update cl_hints.lua --------- Co-authored-by: Rubat <3299036+robotboy655@users.noreply.github.com>
5 Days Ago
Update russian.lua
5 Days Ago
Micro-optimize Workshop Mount VGUI (#2209) * Micro-optimize workshop mount vgui - Remove redundant calls - Cache colors outside of Paint function * Micro-optimize workshop rocket vgui - Remove redundant calls - Remove unused Blast method - Localize to reduce __index calls in Paint method * Remove redundant __index call
5 Days Ago
TTT: Update Turkish L10n (#2217) * TTT: Update Turkish L10n * TTT: Update Turkish L10n Removed loan word Shortened text so it can be seen easily in the gui Better formal expressions
5 Days Ago
Remove # in tool name (#2213)
5 Days Ago
TTT: clarify Health Station usage hint text (#2215) Changed "Press" in L.hstation_hint to hold
9 Days Ago
Fix CS:S not mounted warning (#2204)
9 Days Ago
Remove weapon_cubemap localizations It's an internal weapon that never appears in anywhere user accessible.
9 Days Ago
New bloom preset Do not include notifications library in menu state Case insensitive lua_run code keyvalue Fixed Lua errors with drive library on Camera entity from Sandbox Fixed hoverball toggle button not functioning Undo system localizations Improve handling of localized spawnmenu categories Preserves alphabetical ordering Added "hostile" option to npc_citizen Updated MdlPicker layout in engine tools (Hammer)
10 Days Ago
TTT: Fix C4/Radio sounds not playing outside of PAS (#2203) Replace use of `sound.Play` for C4 sounds, because it relies on `CPASAttenuationFilter` internally which means players not in the same PAS as the C4 could not hear the sounds, even if in close proximity. The attenuation aspect of the filter has been reimplemented in Lua, so that we retain the functionality of only clients within audible range receiving the sound.
19 Days Ago
TTT: Magneto-stick code cleanup (#2200)
24 Days Ago
Further expand on Entity:SetCreator calls in Sandbox
24 Days Ago
SetCreator for NPCs (#2197)
26 Days Ago
Remove math.IsNearlyZero Remove useless panels from Game tab in Options Remove redundant argument from CPanel:NumSlider calls
26 Days Ago
Updated deprecated CPanel calls (Continuation & Conclusion) (#2194) * Updated the rest of deprecated AddControl. * Removed SetDefaultValue from AddControl * Used ToolPreset for the Post Processing UI * minor changes Remove unnecessary parameter from Panel:NumSlider Undo unnecessary changes --------- Co-authored-by: Rubat <3299036+robotboy655@users.noreply.github.com>
29 Days Ago
Improve game styles (#2192) * Improved Server List * Improved NavBar * Improved NewGame * Improved Workshop * Undo style changes * Actually make the margins equal for Start Game --------- Co-authored-by: Rubat <3299036+robotboy655@users.noreply.github.com>
30 Days Ago
Color manipulation methods (#2136) * Update color.lua Add color manipulation functions with HSV, HSL, HSB, HWB. Add HWB support. * Update color.lua fix style, rm :SetValue alias, add HSLToColor & HSVToColor lua implementation (100500x faster than C) * Fixed some issues + formatting Moved stuff around to be more logically placed, made changes to HSVToColor and HSLToColor to more closely match the C++ version's returns * fixed mod issue 255 % 255 == 0 we cant use mod here --------- Co-authored-by: Rubat <3299036+robotboy655@users.noreply.github.com>
31 Days Ago
Don't draw effect rings w/gravgun (#2083)
31 Days Ago
Add math.IsNearlyZero() and math.IsNearlyEqual() (#2172) * Add math.IsNearlyZero() and math.IsNearlyEqual(). * Rename `smallNumber` to `epsilon` * Use 1e-8 for epsilon instead of max.exp(-8) * Fix comments to match function arguments * Remove epsilon variable, code style fixes.
31 Days Ago
Frontend Speedup (#2183) * Update jQuery to the latest version * Optimize images by adding lazy loading * Remove unnecessary jQuery calls * Speed up the loading of the mainmenu * Optimize loading screen: use DOMContentLoaded and defer jQuery * Replace jQuery to JavaScript * Fix the screen resolution glitch when game start up * Fix the code style to the current code base * Returning the js script binding to the head block * Remove unnecessary changes --------- Co-authored-by: Rubat <3299036+robotboy655@users.noreply.github.com>
32 Days Ago
Minor cleanups
32 Days Ago
Optimize ```ents.FindByClassAndParent``` (#2167) Optimizes this function by about 25%
32 Days Ago
remove server is full rating penalty (#1697) Since servers just abuse this and find ways to make it not matter, should just remove it.
32 Days Ago
Updated FGD files Remove redundant category from npc_tf2_ghost Minor cleanups Fixed Entity.DoNotDuplicate not affecting saves properly Do not save singleplayer tool ghost in saves Restore CameraProp's keybinds on level transition This really needs to be done for all tool entities
32 Days Ago
Updated deprecated CPanel calls (#2184) * Made NumSlider automatically pick the convar value. * Added PropSelect method to controlpanel. * Replaced "AddControl" with non-deprecated code. * Added dedicated method to select rope material. * Various fixes to suggestions * Minor changes * Minor clean ups * Fix Balloon tool having broken model selector * More cleanups * Added ControlPanel:ComboBoxMulti --------- Co-authored-by: Rubat <3299036+robotboy655@users.noreply.github.com>
36 Days Ago
Improve skypaint matproxy performance (#2107)
36 Days Ago
Use `render.PushRenderTarget` and `render.PopRenderTarget` instead (#2180)
36 Days Ago
Rounding out the news panel (#2185)
36 Days Ago
Add tool copying (#2186)
37 Days Ago
Use a local variable in gmod_tool (#2188)
37 Days Ago
Added Missing Strings (#2153) * Missing Strings * Added Missing Strings (Properties) * Deleted Unused String "Creations" * Update weapons.lua * Update getmaps.lua * Update game_hl2.lua * Update postprocess.lua * Update main_menu.properties * Update spawnmenu.properties * Revert Back Changes * Revert Back Changes * Update sent_ball.lua * Update spawnmenu.properties * #ent.editors * #ent.editors * #ent.editors * Added more missing strings (#1) * Update spawnmenu.properties * Update entities.properties * Update base_vehicles.lua * Update base_npcs.lua * Update spawnmenu.properties * Update npc_tf2_ghost.lua * Update cl_init.lua * Update custom.lua * Update getmaps.lua * Update entities.lua * Update npcs.lua * Update postprocess.lua * Update vehicles.lua * Update weapons.lua * Update edit_sun.lua * Update edit_sky.lua * Update edit_fog.lua * Update game_hl2.lua * Update sent_ball.lua * Update weapons.lua * Update entities.lua * Update npcs.lua * Update vehicles.lua * Update postprocess.lua * Update weapons.lua * Update spawnmenu.properties * Localization: added more missing strings (#2) * Localization: added more missing strings * Localization: added more missing strings * Localization: added more missing strings * Localization: added more missing strings * Updating base.fgd to match base branch * Update gmod_hands.lua * Update gmod_player_start.lua * Update npc.lua * Update player.lua * Update stool.lua * Update weapons.lua * Update sandbox.txt * Update russian.lua * Update control.NewGame.js * Update loading.html * Update base_npcs.lua * Update hook.lua * Update util.lua * Update entities.properties * Update weapon_frag.txt * "C" to " "%+menu_context%" * Revert Back Last Change Will try to implement it. * npc_gmod_nextbot_example → npc_tf2_ghost (#3) * npc_gmod_nextbot_example → npc_tf2_ghost * npc_gmod_nextbot_example → npc_tf2_ghost * crosshair loc commit * typo commit * Update crosshair_setup.lua * Update entity.lua * Update npc.lua I don't even know how this ended up here. * Update base_npcs.lua * Update game_hl2.lua * spawnmenu.category.chairs * Update spawnmenu.properties * spawnmenu.category.fun_games * spawnmenu.category.other * texturize_pp.* * texturize_pp.* in texturize.lua * British Now * New category * spawnmenu.category.other * Update postprocess.lua spawnmenu.category.other * Update vehicles.lua spawnmenu.category.other * Update edit_sun.lua spawnmenu.category.editors * Update edit_fog.lua spawnmenu.category.editors * Update edit_sky.lua spawnmenu.category.editors * Update entities.lua spawnmenu.category.other * Update getmaps.lua Favourites * Update entities.properties * Update npc_tf2_ghost.lua * Update getmaps.lua * npc_tf2_ghost again * Update entities.properties npc_tf2_ghost * Move NextBot to Other Category * Localization: updated some strings (#4) * Localization: updated some strings * Localization: updated some strings * weapon_frag.txt how is this a change hmm * Update getmaps.lua * Update main_menu.properties * Update weapon_frag.txt * Remove useless changes & move stuff to correct places * Restore unnecessary deletion * Fix final issue --------- Co-authored-by: Aram <dragolino6@mail.ru> Co-authored-by: Rubat <3299036+robotboy655@users.noreply.github.com>
43 Days Ago
Update .fgd files Fix NPCs in spawnmenu search not having their weapons set Color:SetUnpacked type checking Improve stack traces for existing error() calls Remove NULLs from Entity.Constraints Added debug.getregistry & IMaterial:GetColor implementations Update garrysmod_english.txt
43 Days Ago
Improve file.Write function to return success status (#2178) * Improve file.Write function to return success status * Update file.Append to return success status
43 Days Ago
Fix indentation of the gamemode list items (#2179)
2 Months Ago
Reflect changes to engine.WriteSave Remove useless arguments in spawnmenu/contextmenu internals DAdjustableModelPanel "fix" for when main menu is open Player Model Selector button in spawn menu Update net.lua
3 Months Ago
Revert PR#2089 Causes regressions with spawnmenu help text and other issues Optimize DListView_Line Adjust DButton's text inset when an icon is present 8 px is consistent 4px on each side of the icon
3 Months Ago
Fixed Lua error in DTree_Node Fixed Lua SWEPs not using the correct localization strings Also removed some useless localization tokens from garrysmod_english.txt
3 Months Ago
Cache result of gmod.GetGamemode() in hook.Run (#2075) * don't call a C function in hook.Run * cache gmod.GetGamemode() instead of using GAMEMODE/GM suggestion by @Astralcircle * removed unused declaration
3 Months Ago
Cache result of gmod.GetGamemode() in gamemode.Call (#2157) * Cache result of gmod.GetGamemode() in gamemode.Call * Missing empty line * Formatting
3 Months Ago
Optimize DLabel autostretch behavior (#2089)
3 Months Ago
Adds Entity:AddSpawnFlags, Entity:RemoveSpawnFlags and Entity:SetSpawnFlags (#2138)
3 Months Ago
Localization Support For Crosshair Setup (#2148) * Localization For Crosshair Setup * Lowercase
3 Months Ago
fixed a typo in hudanimations.txt (#2160)
3 Months Ago
Update base.fgd Fixed Grenade weapon trying to emit NULL sounds Do not set `commentary` on map load Bump max_constraints default Force Sandbox tool names lowercase Portal 2 coop spawnpoints Rollermine variants Remove code to set NPC names from spawnmenu for the killfeed Too error prone unfortunately Fix regression with PR #2143 Optimize spawnmenu SWEP autorefresh stuff Fixed loading screen month checking Do not IsValid input in hook.Add NULL entity is still an entity, and it used to work. IsMounted hack to do with Half-Life 2 20th anniversary
3 Months Ago
TTT: Russian localization update - Fixed some typos. - Updated some wrongly localized strings. Initially, some of the changes were from here: garrysmod/pull/2156 (thanks to @Blueberryy ) Merge pull request #2162 from Satton2/patch-1 TTT: Russian localization update
3 Months Ago
Improve performance of ```team``` library (#2144) * Improve performance of ```team``` library Improves many functions of this library, especially GetColor * Compliance with requirements * Remove nil check * Useless check
3 Months Ago
self:GetTable() => meta.GetTable( self ) (#2154)
3 Months Ago
Fix "Bad SetLocalOrigin(x,y,z) on gmod_hands" warnings (#2143) * Fix Bad SetLocalOrigin hands warnings * Update formatting