Squashed commit of the following:
commit de0cf8637fda5693a9dc191ab4c23463f37245c7
Author: Tony Ferguson <devultj@gmail.com>
Date: Tue Jan 28 14:10:53 2025 +0000
Pass info back through CreateGameModal, can select map and maxplayers
commit 32f35066451d17ab48212ef25b3ef7d4ef1a9470
Author: Garry Newman <garrynewman@users.noreply.github.com>
Date: Tue Jan 28 11:20:28 2025 +0000
Switch GameSettings to CreateGameModal
commit e1036a20ebf49e971a72981bb9525db6f441697d
Author: Garry Newman <garrynewman@users.noreply.github.com>
Date: Tue Jan 28 11:19:59 2025 +0000
Push menu scope in Game.Overlay
commit 5310505a921aa3382df9e42cb21916a535019694
Author: Tony Ferguson <devultj@gmail.com>
Date: Tue Jan 21 21:14:50 2025 +0000
Better looking DropDown, reduced default max range, restore saved launch arguments when re-opening modal
commit 2dbaf1a592ba03bbcc27f77a291de4e7364df0b5
Author: Tony Ferguson <devultj@gmail.com>
Date: Tue Jan 21 21:03:01 2025 +0000
Add Reset to Default button in GameSettingsModal
commit 2a30d85f512db8e153cc94aefa8a1cb594a45193
Author: Tony Ferguson <devultj@gmail.com>
Date: Tue Jan 21 18:24:07 2025 +0000
Icon support for game settings dropdown options, use SwitchControl instead of Checkbox
commit e7e63ebc96397fa6ce5a233de0caf59a3e902151
Author: Tony Ferguson <devultj@gmail.com>
Date: Tue Jan 21 18:07:31 2025 +0000
Add LaunchArguments.GameSettings, apply them when saving new game settings from menu, and run them when we've succesfully opened a game
commit e9b88975fcf0e806eb3f1885d043071206bf2010
Author: Tony Ferguson <devultj@gmail.com>
Date: Tue Jan 21 16:28:01 2025 +0000
Implement GameSettingsModal
commit 91d7835a52f7b6cdef202f7d6a3889c7a311766a
Author: Tony Ferguson <devultj@gmail.com>
Date: Tue Jan 21 15:34:06 2025 +0000
Add GameSettingsEntry.Default since we'll want to give the controls default values
commit 4ba596a17d0523eea58ad86ffef03baf68d59452
Author: Tony Ferguson <devultj@gmail.com>
Date: Tue Jan 21 15:01:28 2025 +0000
Publisher: after compiling a game, create new TypeLibrary, load in the game's assemblies, and search for ConVars marked with ConVarFlags.GameSetting, include in metadata when publishing
commit 195de0fca5927643cb1ecba8b4740ecbbd90d431
Author: Tony Ferguson <devultj@gmail.com>
Date: Tue Jan 21 14:59:57 2025 +0000
Add EditorUtility.CreateTypeLibrary( CompilerOutput[] )
commit ab0e1ebe84bf0bed146f9ee5983e336fb78608e6
Author: Tony Ferguson <devultj@gmail.com>
Date: Tue Jan 21 14:59:37 2025 +0000
Add internal TypeLibrary.GetMembersWithAttribute<T>
commit 39ba22b6d9863b45b141a190585e5b0dec4074aa
Author: Tony Ferguson <devultj@gmail.com>
Date: Tue Jan 21 14:59:16 2025 +0000
Add ConVarFlags.GameSetting
Tweak console overlay
Tweak CreateGameModal
Remove CreateGameSettings (unused), populate game settings controls in CreateGameModal
CreateGameModal DropDown has a bound value
Can pass GameSettings to MenuUtility.OpenGame
Use value edits instead of binds
Fixed DropDown values
Minimize PackageCard visuals, use ThumbWide if available
Add MegaCard component
Fix ` at the end of sort tooltips
Metrics section
VideoPanel renders video as background texture instead of content
PackageSummary, Media
Update Services
Review Stats, Error Rate
Add Package.LatestNewsPost
Sandbox.UI.Image correctly resizes to layout when it's being forced to, but keeps aspect ratio like you'd expect
Sandbox.UI.Label can be set as IsRich, in which case it can contain inline html tags like <strong>, <span> and <a>
Fix Razor RenderTree sometimes deleting the last text content item
Add HtmlPanel - takes HTML and tries to lay it out as you'd expect (but as panels)
Package description uses same HTML description as on site
Image shrink to native size properly
Label RichText can have clickable links
Fix not parsing html with img/br/video due to unlosed tags (!)
HtmlPanel support images, ul, ol, blockquote
Tabs
Portals
Update Yoga, add support for `display: contents`
PortalTarget uses display: Contents
Add MenuUtility.PostReview
Add Reviews service
Reviews/News
Move razor stuff from Sandbox.Razor to Microsoft.AspNetCore.Components - which tricks visual studio intellisense into working
CodeArchive version++, add upgrader for older versions
Add global usings to project compiling
Panel implements Microsoft.AspNetCore.Components.IComponent
Only run Sandbox.Generator if not DesignTimeBuild
split Global Includes and Global Statics
Remove Sandbox.Razor @usings
Add [Parameter], namespaces, make syntax work
Reviews show rating
Console tweaks
Review page header, post review button
Add range, currentvalue, globalunlocked, globalfraction to achievement
Add razor EventHandlers in case intellisense starts reading them from other dlls
Add EditorRequiredAttribute for razor
Achievements list in game modal
News section
Add Sandbox.Services.Players.Profile.IsFriend
Update ReviewDto with Created and Updated
On review show date and highlight friends
Fix news posts shrinking
add Review.Get( ident, steamid )
Can post reviews from in game
Push menu scope when running menu concmds
Add game closed toast
Cleanup, map uses new modal