mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-17 13:53:45 +03:00
31 lines
717 B
Lua
31 lines
717 B
Lua
--[[
|
|
| This file was obtained through the combined efforts
|
|
| of Madbluntz & Plymouth Antiquarian Society.
|
|
|
|
|
| Credits: lifestorm, Gregory Wayne Rossel JR.,
|
|
| Maloy, DrPepper10 @ RIP, Atle!
|
|
|
|
|
| Visit for more: https://plymouth.thetwilightzone.ru/
|
|
--]]
|
|
|
|
|
|
-- Tool should return true if freezing the view angles
|
|
function ToolObj:FreezeMovement()
|
|
return false
|
|
end
|
|
|
|
-- The tool's opportunity to draw to the HUD
|
|
function ToolObj:DrawHUD()
|
|
end
|
|
|
|
-- Force rebuild the Control Panel
|
|
function ToolObj:RebuildControlPanel( ... )
|
|
|
|
local cPanel = controlpanel.Get( self.Mode )
|
|
if ( !cPanel ) then ErrorNoHalt( "Couldn't find control panel to rebuild!" ) return end
|
|
|
|
cPanel:ClearControls()
|
|
self.BuildCPanel( cPanel, ... )
|
|
|
|
end
|