612 Commits over 884 Days - 0.03cph!
Would be good if I reflected all use of RequestAsync and not break everything, thank god for unit tests
Http.RequestAsync( string method, string requestUri ) changed to Http.RequestAsync( string requestUri, string method = "GET" ) to match all other methods
This is a breaking change, please update your code (I assume not many people are using this)
Gamepad Support Refactor (#1218)
- No manifest codegen
- Gamepads work again (including Steam Deck)
- Goes against what SteamInput is all about 😢
Add rich presence system class which is polled every so often, instead of updating presence from 7 different classes
Fix NRE in ServerDll.UpdateServerDetails if playing locally, my bad
Pass gamemode version tag to ServerList so games can decide what to do with servers that are out of date
GameMenu: load FileSystem.Data/OrganizationData immediately, not just server join
Remove use of CancelWebAuthTicket in WebSocket.Connect, was crashing dedicated servers
Subtract m_nMaxPlayers by m_nBotPlayers so servers show that they're full if they're occupied by bots + players
Editor: If "show start screen" is off, load last opened project automatically
Remove duplicate gamepad codes in common actions
Docs pass / MenuDll typo fix
Fix initial menu presence, as well as presence when disconnecting from a server
Implement ModalSystem.CloseAll, close all modals when killing game menu instance
Make rich presence say playing a game while in its game menu (update to say Menu later?)
When connecting to a server, open its gamemenu and immediately open the loading screen
Cache GameLobby.Data to prevent issues with grabbing lobby info after setting it. Invalidate on lobby data refresh
Probably a better way to do this :anguished:
Docs pass for GameLobby, importantly Lobby.ConVars, and inherit docs where possible
Org Info Modal https://files.facepunch.com/tony/1b0711b1/sbox_g2OtLOLYzn.mp4
Revert "Compiled complex with parallax fixes"
This reverts commit 02e13ee057b7394fe7831e732d6eff6f4621b7a5.
Use margin for package selector modal so you can click out of it
FriendCount only counts people playing the game
Obsolete Game.Menu.Friends, add Game.Menu.FriendCount
Add friends list modal w/ Game.Overlay.ShowFriendsList( options )
Can access friends list from IGameMenu (Game.Menu.Friends)
Throw an exception when Package.Download gets cancelled, fixes #1184 and sboxgame/issues#3677
Tentative fix for rich presence setting steam_player_group to invalid SteamIDs, grouping players incorrectly
ServerListPanel: Add Create Game button if we don't find any servers
Update templates
- Use package selector modal instead of replacing pages w/ a map selector
- Use pointer cursor on buttons in main menu
Having a separate repo for templates is starting to annoy me
Don't use Trace.WorldAndEntities in MoveHelper
Use Sound.Listener as a priority in SoundscapeFrame
Give ProjectCreator "Create" button an icon
Update templates (shooter game menu, template descriptions)
Launcher: minor content mode cleanup
Launcher: make a new empty-ish config when opening a config editor
Set the same expandgroup margin in StartScreenHome too
Remove ProjectList ExpandGroup top margin
Set cursor type for IconButton
Add some tooltips to welcome screen
Make Voice.Decode internal
Revert zipball change, doesn't work with LFS / submodules :pensive:
Editor: Use zipball to get rid of git dependency when cloning a project that has a source directory
Convert to entity space if worldspace = false for SBox_GetBoneTransform, make it work serverside
Add support for CBaseModelEntity::GetBoneTransform( bone, worldspace )
Set hostname when creating a game from menu
Get rid of "avataranimated" reference in Avatar.IsAppropriate
Per-Project Launch Configs
Use BuildOptions to populate audio devices and Value:bind instead of ref, fixes audio settings dropdown not being populated
Only clear DropDown.Options if we have any element names that match, root cause of my previous commit
When opening existing project from disk dialog, create the addon location directory first - fixes error on fresh installs
Allow ConsoleSystem.GetValue to retrieve engine convars inside of a game menu
AssetBrowser: Add ability to rename single files
Editor: Sort input actions by their group name alphabetically
Ship game templates from sboxgame/templates manually for now, need to consider about fetching from the repo soon