repogarrysmodcancel

781 Commits over 2,710 Days - 0.01cph!

3 Years Ago
Markup Library Improvements (#1732) * Markup Library Improvements - New argument to MarkupObject:Draw() (textAlign) allows for text alignment inside the maxWidth bounds (i.e. align text center, align text right) - Added MarkupObject:GetMaxWidth() - Added markup.Escape which escapes markup-sensitive characters ( & < > ) - Fixed trailing spaces on new lines - Fixed issue where new blocks were unnecessarily being split in the middle of a word - Changed pairs to ipairs - Improved code readability, cleaned up comments, removed a redundant comment * New blocks will not wrap unless preceded by a space, remove some redundant code, change name of variable and add new comment * Use lookup table for unescape string.gsub * Small optimizations - Changed blocks[ i ] to blk - Populate new_block tables during declaration rather than setting keys & values after creation * Create markup.Color which converts a Color into a string for use in <color> tags
3 Years Ago
Removed useless variable (#1832)
3 Years Ago
TTT: fix TTTCanPickup hook not denying pickup when false is returned (#1860)
3 Years Ago
TTT: PT-BR translation final update (#1859)
3 Years Ago
TTT: update PT-BR translation (#1858)
3 Years Ago
TTT: translation updates (#1857) * Add L.tip41 to Brazilian Portuguese translation * Correct inconsistencies with the date markers * Removes some translations from the Simplified Chinese translation that do not exist in the original English translation.
3 Years Ago
Fixed a potential error in duplicator tool
3 Years Ago
TTT: update Russian translation (#1847)
3 Years Ago
Added: Various handy methods replacing PANEL:AddControl() (#1702)
3 Years Ago
Problems system improvements Code style cleanups Lowercase model name in PropSelect for sorting purposes This simply matches behavior of the "old" method which ends up with lowercase keys.
3 Years Ago
hook.Add with invalid 2nd argument throws proper error (#1810)
3 Years Ago
Add SlowWalkSpeed to player_manager / GM.SetPlayerSpeed / Default player classes (#1827)
3 Years Ago
Add utility functions for using the Hammer IO system (#1530) Example usage ```lua function ENT:KeyValue( key, value ) if ( BaseClass.KeyValue ) then BaseClass.KeyValue( self, key, value ) end if ( self:SetNetworkKeyValue( key, value ) ) then return elseif ( self:AddOutputFromKeyValue( key, value ) ) then return end -- Your entity's logic goes here end function ENT:AcceptInput( name, activator, called, value ) if ( BaseClass.AcceptInput and BaseClass.AcceptInput( self, name, activator, called, value ) ) then return true end if ( self:AddOutputFromAcceptInput( name, value ) ) then return true end -- Your entity's logic goes here return false end ```
3 Years Ago
Create table.MemberValuesFromKey (#1539)
3 Years Ago
New library: math.ease (#1755) * New library: ease * ease -> math.ease * fix: call correct math.ease function probably a module leftover * Reduce repeated multiplication to powers * Reduce _G lookups and use a `module()` Co-authored-by: Tom <27384135+CupCakeR@users.noreply.github.com>
3 Years Ago
Add DComboBox:OnMenuOpened(menu) (#1659)
3 Years Ago
Add table.Shuffle (#1683) * Add table.Shuffle Performs an inline Fisher-Yates shuffle on the table in O(n) time * table.Shuffle small optimization
3 Years Ago
Fix table.RemoveByValue throwing an error when key is not a number (#1704)
3 Years Ago
Made hook.Add/Remove not silently fail on arg type mismatch (#1344) * Made hook.Add/Remove not silently fail on arg type mismatch In the rare case a typo was made for the hook args, it is now noticeable.
3 Years Ago
TTT: add PT-BR translation for L.tip41 (#1842)
3 Years Ago
TTT: add spectator mic volume tip (#1840) * New player mic volume tip * Increased number of tips
3 Years Ago
TTT: PT-BR translation update (#1838)
3 Years Ago
Fix mistake in russian.lua (#1837) Incorrect form > ВЫБЕРЕТЕ ОБРАЗЕЦ Correct > ВЫБЕРИТЕ ОБРАЗЕЦ The word “выберите” expresses a wish, request, or order. In this context, the verb form of the imperative plural is used. https://russkiiyazyk.ru/orfografiya/pravopisanie/kak-pravilno-pishetsya-slovo-vyiberete-ili-vyiberite.html
3 Years Ago
TTT: update Russian translation (#1835)
3 Years Ago
TTT: PT-BR translation updates (#1829)
3 Years Ago
TTT: update Spanish translation (#1828)
3 Years Ago
Fixed duplicator and saves not working Fixed an issue with constraint.GetAllConstrainedEntities Fixed constraint.GetAllConstrainedEntities returning all entities constrained to world if the given entity is constrained to world
3 Years Ago
Added g_SpawnMenu:GetCreationMenu() Added CreationMenu.GetCreationTab & GetCreationTabs Added spawnmenu.SwitchCreationTab( id ) Made spawnmenu.SwitchToolTab work Added 3rd argument to spawnmenu.ActivateToolPanel Save game map workshopID stuff Adds duplicator.FigureOutRequiredAddons Required Workshop addons for duplicator
3 Years Ago
Attribute CS:GO lobby map to CS:GO (#1824) makes "Other" empty by default again
3 Years Ago
Fixed a Lua error with DTree_Node DComboBox's dropdown works better on modal panels Disallowed Shadow shader to be used as rope material
3 Years Ago
TTT: add more validation to corpse commands - Prevent spamming of "call detective" command. Thanks to #1822 for suggesting a similar fix. - Make sure cmds act on player corpses only - Cleanup
3 Years Ago
TTT: more updates to PT-BR translation (#1820)
3 Years Ago
TTT: update German translation (#1818)
3 Years Ago
Better implementation of Player.IsUserGroup (#1819)
3 Years Ago
Fix gmod_camera being dependent on tickrate (#1816)
3 Years Ago
TTT: PT-BR translation updates (#1815)
3 Years Ago
Fixed XSS vulnerability in loading screen. (#1814) Using the method `.text` rather than `.html`, since the method `.html` does not escape html entity characters.
3 Years Ago
TTT: updated the Russian localization (#1813)
3 Years Ago
Fixed DownloadingFile in loading screens duplicator copies lua-set colors and material override Fixed 0 width constrains creating errors Fixed Lua errors with default scoreboard Prevent 2 or more players from 'driving' a single entity Make use of IsConCommandBlocked Makes blocked concommand errors include proper stack. Fixed duplicated constraints not getting correct player obj
3 Years Ago
Add xalign to draw.WordBox (#1809) * Add xalign to draw.WordBox * Also add yalign Co-authored-by: Rubat <3299036+robotboy655@users.noreply.github.com>
3 Years Ago
Fix errors from GetInt() when text entry contents aren't numeric (#1808) * Fix errors from GetInt() when entry isn't numeric Co-Authored-By: blu <75856885+bludotbat@users.noreply.github.com> * Update dtextentry.lua Co-authored-by: blu <75856885+bludotbat@users.noreply.github.com> Co-authored-by: Rubat <robotboy655@gmail.com>
3 Years Ago
TTT: add a player mic volume slider to the scoreboard (#1804) * Adds a player mic volume slider to the TTT scoreboard * Add Brazilian Portuguese translation Co-authored-by: Tiagoquix <30274161+Tiagoquix@users.noreply.github.com>
3 Years Ago
TTT: fix table.Shuffle Did not shuffle the first couple elements of the list as much as it should (note that this is not used for traitor selection or anything critical).
3 Years Ago
TTT: fix propspec_allow_named setting not taking effect The propspec_allow_named flag on the ttt_map_settings entity was being overwritten. The default for all maps is still to disable it as maps will expect this at this point, and non-TTT maps that could allow named entity propspec possession are rarely played in practice.
3 Years Ago
3 Years Ago
Voice scale support for base/sandbox Improvement to dupe bounding box world constraints fix colored ropes support More accurate bounding box for dupes Permissions & "remember my choice"
3 Years Ago
TTT: fix low-karma autokick evasion (#1803)
3 Years Ago
TTT: add missing accents to Brazilian Portuguese (#1801)
3 Years Ago
TTT: update the Brazilian Portuguese translation (#1799)
3 Years Ago
Fix reliance on the sandbox gamemode for DoF (#1798) * Update super_dof.lua Co-authored-by: Rubat <robotboy655@gmail.com>