/* * * * * * * * * * * * * * * * 
 * 	 ______     __  __     ______     __  __     ______     ______     __  __    
 *	/\  __ \   /\ \/\ \   /\  == \   /\ \_\ \   /\  __ \   /\  ___\   /\ \/ /    
 *	\ \ \/\ \  \ \ \_\ \  \ \  __<   \ \  __ \  \ \  __ \  \ \ \____  \ \  _"-.  
 *	 \ \_____\  \ \_____\  \ \_____\  \ \_\ \_\  \ \_\ \_\  \ \_____\  \ \_\ \_\ 
 *	  \/_____/   \/_____/   \/_____/   \/_/\/_/   \/_/\/_/   \/_____/   \/_/\/_/ 
 *
 *  - Version : 3L
 *  - By Oubliette
 * * * * * * * * * * * * * * * */

include ( "util.lua" )			-- Misc Utilities	s
include ( "util/sql.lua" )		-- Include sql here so it's 

require ( "baseclass" )
require ( "concommand" )		-- Console Commands
require ( "saverestore" )		-- Save/Restore
require ( "gamemode" )			-- Gamemode manager
require ( "weapons" )			-- SWEP manager
require ( "hook" )				-- Gamemode hooks
require ( "timer" )				-- Timer manager
require ( "scripted_ents" )		-- Scripted Entities
require ( "player_manager" )	-- Player models/class manager
require ( "numpad" )
require ( "team" )
require ( "undo" )
require ( "cleanup" )
require ( "duplicator" )
require ( "constraint" )
require ( "construct" )	
require ( "usermessage" )
require ( "list" )
require ( "cvars" )
require ( "http" )
require ( "net" )
require ( "properties" )
require ( "widget" )

require ( "drive" )
include ( "drive/drive_base.lua" )
include ( "drive/drive_noclip.lua" )

--[[---------------------------------------------------------
	Clientside only modules
-----------------------------------------------------------]]

require ( "draw" )			-- 2D Draw library
require ( "markup" )		-- Text markup library
require ( "effects" )
require ( "killicon" )
require ( "spawnmenu" )
require ( "controlpanel" )
require ( "presets" )
require ( "cookie" )
require ( "menubar" )
require ( "matproxy" )

include( "util/model_database.lua" )	-- Store information on models as they're loaded
include( "util/vgui_showlayout.lua" ) 	-- VGUI Performance Debug
include( "util/tooltips.lua" )	
include( "util/client.lua" )
include( "util/javascript_util.lua" )
include( "util/workshop_files.lua" )
include( "gui/icon_progress.lua" )

--[[---------------------------------------------------------
	Shared modules
-----------------------------------------------------------]]
include( "gmsave.lua" )

--[[---------------------------------------------------------
	Extensions
	
	Load extensions that we specifically need for the menu,
	to reduce the chances of loading something that might 
	cause errors.
-----------------------------------------------------------]]

include ( "extensions/file.lua" )
include ( "extensions/angle.lua" )
include ( "extensions/debug.lua" )
include ( "extensions/entity.lua" )
include ( "extensions/ents.lua" )
include ( "extensions/math.lua" )	
include ( "extensions/player.lua" )
include ( "extensions/player_auth.lua" )
include ( "extensions/string.lua" )
//include ( "extensions/table.lua" ) manually included
include ( "extensions/util.lua" )
include ( "extensions/vector.lua" )
include ( "extensions/game.lua" )
include ( "extensions/motionsensor.lua" )
include ( "extensions/weapon.lua" )
include ( "extensions/coroutine.lua" )

include ( "extensions/client/entity.lua" )
include ( "extensions/client/globals.lua" )
include ( "extensions/client/panel.lua" )
include ( "extensions/client/player.lua" )
include ( "extensions/client/render.lua" )

require ( "search" )