704 Commits over 610 Days - 0.05cph!
VR: Keep track of whether we want new poses or not
VR: don't use explicit timing, causes issues w/ sync and latency
Fix assembly loading, mount assemblies in their own filesystem on packages
Initial standalone build wizard
Standalone player exe
Export into `data\`, copy everything we want
Application.IsStandalone, don't try to load menu project if standalone
Load from manifest, un-hardcode paths
Fix paths, temporarily copy sbproj
We should be able to get away with not copying these manually, asset system should handle dependencies
Clean up, slightly improved wizard
Don't hard-code these paths, do all setup inside StandaloneAppSystem
Standalone wizard shows basic ETA
Mount everything we need, gets us as far as at least loading scenes (even if they're missing all content)
Load assembly, filesystem
Copy base UI textures and fonts
Move standalone-specific stuff into StandaloneGameInstance
Use code resources from code manifests
Only copy compiled code resources, don't copy tool DLLs
Standalone games that don't use citizen won't copy or mount content (saves 1GB, builds faster)
Clean up, try to get as much of this standalone stuff as contained as possible
Copy all core models too (mainly for box, sphere models)
Wizard UX improvements
Fix paths for new folder layout
Change "build" naming to "export", makes more sense
Wizard cleanup, share wizard code between publish/standalone
Rebase fixes
Don't update scene view camera input if the editor window isn't active (sbox-issues/issues/5383)
Haptics NRE fix
Clamp haptic motor values where appropriate, matching existing behaviour
Basic controller haptics (#1498)
Allows for controller haptics based on haptic events.
```cs
public static void TriggerHaptics( HapticEffect pattern, float lengthScale = 1.0f, float frequencyScale = 1.0f, float amplitudeScale = 1.0f )
```
e.g.
```cs
Input.TriggerHaptics( HapticEffect.HardImpact );
```
Haptic effect support for VR
Squash history, update for SDL
Docs, cleanup
Apply LengthScale
Update haptics per-controller
Scoped haptics support
Vibrations -> Haptics, wrap patterns inside an event to simplify API
e.g.
```cs
Input.TriggerHaptics( HapticEffect.HardImpact );
```
Docs update
Change "build" naming to "export", makes more sense
Wizard cleanup
Share wizard code between publish/standalone
Initial standalone build wizard
Standalone player exe
Export into `data\`
Copy all the stuff we want from core, base, citizen, bin
Application.IsStandalone, don't try to load menu project if standalone
Load from manifest, un-hardcode paths
Fix paths, temporarily copy sbproj
We should be able to get away with not copying these manually, asset system should handle it
We need a few files from core, though
Clean up, slightly improved wizard
Don't hard-code these paths, do all setup inside StandaloneAppSystem
Standalone wizard shows basic ETA
Better ETA
Mount everything we need, gets us as far as at least loading scenes (even if they're missing all content)
Include gamecontrollerdb.txt in standalone build
Build queue before copying (so we get compiled assemblies)
Temp copy video.json (because I'm sick of it launching in fullscreen)
Split out data dir and game data dir
Don't need to save off absolute game data path, just use relative path
Temp copy some more stuff
data/ conflicts with existing path, use export/ instead
Load assembly, filesystem
Copy base UI textures and fonts
Cleanup
Move standalone-specific stuff into StandaloneGameInstance
Test fetching all code manifests
Interop as array
Safe copy
Log copies
Use code resources where we can
Only copy compiled code resources
Don't copy tool dlls
Cleanup
Standalone games that don't use citizen won't copy or mount content (saves 1GB, builds faster)
Clean up, try to get as much of this standalone stuff as contained as possible
Copy all core models too (mainly for box, sphere models)
Wizard UX improvements
Paths cleanup
Rebase fixes
Fix paths for new folder layout
Wizard UX improvements
Paths cleanup
Copy all core models too (mainly for box, sphere models)
Standalone games that don't use citizen won't copy or mount content (saves 1GB, builds faster)
Clean up, try to get as much of this standalone stuff as contained as possible
Safe copy
Log copies
Use code resources where we can
Only copy compiled code resources
Don't copy tool dlls
Cleanup
Test fetching all code manifests
data/ conflicts with existing path, use export/ instead
Load assembly, filesystem
Copy base UI textures and fonts
Cleanup
Move standalone-specific stuff into StandaloneGameInstance
Build queue before copying (so we get compiled assemblies)
Temp copy video.json (because I'm sick of it launching in fullscreen)
Split out data dir and game data dir
Don't need to save off absolute game data path, just use relative path
Temp copy some more stuff
Don't hard-code these paths, do all setup inside StandaloneAppSystem
Standalone wizard shows basic ETA
Better ETA
Mount everything we need, gets us as far as at least loading scenes (even if they're missing all content)
Include gamecontrollerdb.txt in standalone build
We should be able to get away with not copying these manually, asset system should handle it
We need a few files from core, though
Clean up, slightly improved wizard
Fix paths, temporarily copy sbproj
Load from manifest, un-hardcode paths
Initial standalone build wizard
Standalone player exe
Export into `data\`
Copy all the stuff we want from core, base, citizen, bin
Application.IsStandalone, don't try to load menu project if standalone
Fix crash when drag-dropping .sbproj into launcher
Update stereo-related camera properties explicitly, rather than bundling in with UpdateSceneCamera
Editor scene camera ignores VR settings, only blit for stereo cameras - prevents weird ghostly stereo blit
Don't stop shadow animations/transitions when building final style
sbox-issues/issues/5122, sbox-issues/issues/4679
Clean up UI lerp functions
Update haptics per-controller
Scoped haptics support
Docs, cleanup
Apply LengthScale
Squash history, update for SDL
AnimationIterationCount uses float infinity instead of -1 for "infinite"
Fixes sbox-issues/issues/5306
Add index setter to SegmentedControl
Fixes sbox-issues/issues/5300
Refresh editor title on project update
Give primary buttons more feedback on click
Project settings window updates title etc. correctly when project is modified
sbox-issues/issues/4862
Fix texture filtering inside ui_cssbox.shader
Fix filtering in other UI shaders too
CSS box shader - D_BORDER_IMAGE combo should be range 0..2
Fixes sbox-issues/issues/4874
SCSS: Don't apply animation styles before/after if fill mode is none
sbox-issues/issues/5273
SCSS: Implement rem and em
https://files.facepunch.com/alexguthrie/1b2611b1/sbox-dev_f5t9eFrLSk.png
Parse commandline properly to prevent projects with `-test` in the name breaking
sbox-issues/issues/5208
Test for multiple keyframe percentages (sbox-issues/issues/5168)
Support multiple keyframe percentages
e.g.
```scss
@keyframes tilt {
0%, 10% {
transform: rotate(0deg) scale(1);
transform-origin: center;
}
}
```
sbox-issues/issues/5168
Vector2Int, Vector3Int
sbox-issues/issues/4995
Initial
Improve API, add targets (left/right motor, left/right trigger)
Motor frequency emulation
Remove unused
PWM fixes
Better & simpler motor control
Impulse trigger preview
Haptic editor - Play -> Preview
Approach this differently: let's just do a bunch of preset patterns and allow them to be scaled
Remove stuff that we're not using now
More patterns (though defining these in code feels silly)
Apply scales, clean up
More patterns
Stomp active patterns when using raw access API
Docs, allow length scaling
More patterns
Stomp active patterns when using raw access API
Docs, allow length scaling
Approach this differently: let's just do a bunch of preset patterns and allow them to be scaled
Remove stuff that we're not using now
More patterns (though defining these in code feels silly)
Apply scales, clean up
Better & simpler motor control
Impulse trigger preview
Haptic editor - Play -> Preview
Motor frequency emulation
Remove unused
PWM fixes
Initial
Improve API, add targets (left/right motor, left/right trigger)
Fix build (we don't support "display: inline", not sure if this was done on purpose?)
Improved style parser errors (sbox-issues/issues/4541)
https://files.facepunch.com/alexguthrie/1b2911b1/sbox-dev_vMdiBVFnHU.png
Don't clear all attributes when popping a layer
Preserve everything (so we keep scissor attributes etc)
Fixes sbox-issues/issues/4971.
Correct text-decoration thickness default value
Clear dirty framebuffer region when popping a UI layer
sbox/issues/1461
Add RenderAttributes.GetMatrix
Save off and restore clipping values before/after drawing box shadows
Should fix sbox/issues/1453
Remove log
Add support for CSS `font-smooth`
https://files.facepunch.com/alexguthrie/1b2011b1/sbox-dev_oYg0ytkmSm.png
Implement calc for CSS, make it so that dynamic units (vw/vh/expressions/etc.) all update correctly
https://files.facepunch.com/alexguthrie/1b1911b1/sbox-dev_ADiqfZ9hI2.png
For sbox/issues/421, sbox-issues/issues/4753, sbox-issues/issues/723