CatStation/Content.Server
metalgearsloth f51b9bc86e
Add sun shadows (planet lighting stage 2) (#35145)
* Implements a Dynamic Lighting System on maps.

* Edit: the night should be a little bit brighter and blue now.

* Major edit: everything must be done on the client side now, with certain datafield replicated.
Changes were outlined in the salvage to accommodate the new lighting system.

* Edit: The offset is now serverside, this makes the time accurate in all situations.

* Removing ununsed import

* Minor tweaks

* Tweak in time precision

* Minor tweak + Unused import removed

* Edit: apparently RealTime is better for what I'm looking for

* Fix: Now the time is calculated correctly.

* Minor tweaks

* Adds condition for when the light should be updated

* Add planet lighting

* she

* close-ish

* c

* bittersweat

* Fixes

* Revert "Merge branch '22719' into 2024-09-29-planet-lighting"

This reverts commit 9f2785bb16aee47d794aa3eed8ae15004f97fc35, reversing
changes made to 19649c07a5fb625423e08fc18d91c9cb101daa86.

* Europa and day-night

* weh

* rooves working

* Clean

* Remove Europa

* Fixes

* fix

* Update

* Fix caves

* Update for engine

* Add sun shadows (planet lighting v2)

For now mostly targeting walls and having the shadows change over time. Got the basic proof-of-concept working just needs a hell of a lot of polish.

* Documentation

* a

* Fixes

* Move blur to an overlay

* Slughands

* Fixes

* Apply RoofOverlay per-grid not per-map

* Fix light render scales

* sangas

* Juice it a bit

* Better angle

* Fixes

* Add color support

* Rounding bandaid

* Wehs

* Better

* Remember I forgot to do this when writing docs

---------

Co-authored-by: DoutorWhite <thedoctorwhite@gmail.com>
2025-03-08 16:07:42 +11:00
..
Abilities/Mime Mime can no longer write on paper without breaking their vow (#35043) 2025-02-26 10:11:59 +01:00
Access Sentry turrets - Part 3: Turret AI (#35058) 2025-03-01 18:42:33 +01:00
Actions
Acz
Administration add forceghost admin command (#35518) 2025-03-08 13:39:04 +11:00
Advertise Predict vending machine UI (#33412) 2025-03-02 13:47:52 +11:00
Afk
Alert
AlertLevel Fix prototypes so they pass analyzer checks (#35435) 2025-02-24 15:21:59 +11:00
Ame
Animals
Announcements update the announce command (#34889) 2025-02-12 19:58:05 +11:00
Anomaly Fix 38 non-obsolete warnings (#33794) 2025-02-11 20:59:50 +11:00
Antag Fix prototypes so they pass analyzer checks (#35435) 2025-02-24 15:21:59 +11:00
Arcade Predict vending machine UI (#33412) 2025-03-02 13:47:52 +11:00
Armor
Atmos Revert "Purge uses of TransformComponent.Anchored.set. Also adds parentheses." (#35332) 2025-02-21 00:12:12 +11:00
Audio Refactor audio system to send collection IDs over the network (#33610) 2025-02-23 23:14:56 +11:00
Beam remove usages of obsolete EntityUid method variants (#35106) 2025-02-16 03:06:23 +01:00
Bed
Bible Cleanup: Use `SoundCollectionSpecifier instead of string literals in BibleSystem` (#35448) 2025-02-25 08:23:50 +11:00
Body Cloning Refactor and bugfixes (#35555) 2025-03-02 16:50:12 +01:00
Botany Fix prototypes so they pass analyzer checks (#35435) 2025-02-24 15:21:59 +11:00
Buckle/Systems
Camera
CardboardBox
Cargo Refactor audio system to send collection IDs over the network (#33610) 2025-02-23 23:14:56 +11:00
CartridgeLoader add button to print logprobe logs (#32255) 2025-02-27 14:47:16 +01:00
CharacterInfo
Charges
Chat Refactor audio system to send collection IDs over the network (#33610) 2025-02-23 23:14:56 +11:00
Chemistry Adding sorting to chem master (#34763) 2025-02-27 12:19:52 +01:00
Chunking
Clock
Cloning Cloning Refactor and bugfixes (#35555) 2025-03-02 16:50:12 +01:00
Clothing make chameleon verb predicted (#35156) 2025-02-14 15:35:27 +01:00
Cluwne
CombatMode
Commands
Communications
Configurable
Connection Fix prototypes so they pass analyzer checks (#35435) 2025-02-24 15:21:59 +11:00
Construction Revert "Purge uses of TransformComponent.Anchored.set. Also adds parentheses." (#35332) 2025-02-21 00:12:12 +11:00
Containers Prevent crates, pet carriers and other things from going into disposals (#35557) 2025-02-27 18:43:56 +01:00
Coordinates
CPUJob/JobQueues/Queues
Crayon
CrewManifest
CriminalRecords/Systems
Cuffs
Damage Add ability for +VVEDIT users to scale damage/healing in the game (#35255) 2025-02-18 08:28:42 +01:00
Database Add loadout names (#31303) 2025-02-11 18:30:24 +01:00
Decals
Defusable Revert "Purge uses of TransformComponent.Anchored.set. Also adds parentheses." (#35332) 2025-02-21 00:12:12 +11:00
Delivery Cargo Mail System (#35429) 2025-03-07 14:51:08 +01:00
Destructible
DeviceLinking
DeviceNetwork
Devour
Dice Predicted dice rolls (#34863) 2025-02-14 16:46:25 +01:00
Discord Fix 38 non-obsolete warnings (#33794) 2025-02-11 20:59:50 +11:00
Disposal Prevent crates, pet carriers and other things from going into disposals (#35557) 2025-02-27 18:43:56 +01:00
DoAfter
Doors Replace DoorVisuals.Powered with PowerDeviceVisuals.Powered (#34646) 2025-02-11 13:54:35 +11:00
Dragon
Drowsiness
Drunk
Effects
Electrocution
Emoting
Emp
Engineering
Ensnaring
EntityEffects Add ability for +VVEDIT users to scale damage/healing in the game (#35255) 2025-02-18 08:28:42 +01:00
EntityList
Entry Add ability for admins to change certain cvars via command. (#35105) 2025-02-16 10:06:13 +01:00
EUI
Examine
Explosion DetGadget Hat Revitalization (#35438) 2025-03-01 19:03:27 +01:00
Fax Fix fax spamming (#35135) 2025-02-13 21:12:56 +01:00
Flash
Fluids Fix sink draining sound (#34173) 2025-02-22 20:20:44 +11:00
Forensics Cloning Refactor and bugfixes (#35555) 2025-03-02 16:50:12 +01:00
GameTicking THE WIZARD (#35406) 2025-02-25 22:34:07 -07:00
Gateway
Gatherable
Ghost add forceghost admin command (#35518) 2025-03-08 13:39:04 +11:00
GhostKick
Glue
Gravity
GridPreloader
Guardian Make holoparasite's damage transfer ignore the host's armor (#35418) 2025-02-23 21:03:11 +01:00
Guidebook
GuideGenerator
Hands/Systems
Holiday UseInHandEvent cleanup (#35231) 2025-02-18 23:27:30 +11:00
Holopad Minor station AI code cleanup (#34476) 2025-02-18 16:26:02 +11:00
Holosign Revert "Purge uses of TransformComponent.Anchored.set. Also adds parentheses." (#35332) 2025-02-21 00:12:12 +11:00
HotPotato
Humanoid Move CloneAppearance to Shared (#35017) 2025-02-10 04:13:27 +01:00
IconSmoothing
IdentityManagement DNA scrambler examine fixes (#34920) 2025-02-06 11:09:59 -08:00
IgnitionSource
ImmovableRod
Implants Cloning Refactor and bugfixes (#35555) 2025-03-02 16:50:12 +01:00
Info
Instruments
Interaction
Inventory
IoC Add ability for admins to change certain cvars via command. (#35105) 2025-02-16 10:06:13 +01:00
IP
Item
ItemRecall Wizard Item Recall Spell (#34411) 2025-02-08 16:56:08 -05:00
Jittering
Jobs
KillTracking
Kitchen Fix egg cooking and make microwave code a little less bad (#35459) 2025-02-27 23:39:06 +11:00
Labels/Label
LandMines
Lathe move lathe recipes into packs (easier for forks and maintaining) (#33095) 2025-02-07 19:22:49 +01:00
Light Add sun shadows (planet lighting stage 2) (#35145) 2025-03-08 16:07:42 +11:00
Lightning
Lube
Magic Fix/Addition - Wizard Survivor Antag Status (#35226) 2025-02-23 12:24:36 -05:00
MagicMirror
Mapping Fix MappingCommand grid loading (#35233) 2025-02-18 23:25:14 +11:00
Maps
MapText
MassMedia
Materials Cleanup: Pass in `IComponentFactory in EntityPrototype.TryGetComponent calls inside MaterialStorageSystem` (#35458) 2025-02-24 18:38:40 +01:00
Mech
Medical Cleanup: Use `SoundSpecifier instead of string literals in VomitSystem` (#35426) 2025-02-23 22:53:04 +01:00
Mind
Mindshield
Mining Fixed: Ore now correctly drops the right amount of ore (#34557) 2025-01-30 18:48:11 +01:00
Mobs
MoMMI
Morgue
Motd
MouseRotator
Mousetrap UseInHandEvent cleanup (#35231) 2025-02-18 23:27:30 +11:00
Movement
NameIdentifier Fix 38 non-obsolete warnings (#33794) 2025-02-11 20:59:50 +11:00
Ninja
NodeContainer
NPC Sentry turrets - Part 3: Turret AI (#35058) 2025-03-01 18:42:33 +01:00
Nuke Refactor audio system to send collection IDs over the network (#33610) 2025-02-23 23:14:56 +11:00
NukeOps
Nutrition Refactor audio system to send collection IDs over the network (#33610) 2025-02-23 23:14:56 +11:00
Objectives CVar - Toggle display of round-end greentext (#35651) 2025-03-04 08:59:44 -08:00
PAI UseInHandEvent cleanup (#35231) 2025-02-18 23:27:30 +11:00
Paper
Parallax Add sun shadows (planet lighting stage 2) (#35145) 2025-03-08 16:07:42 +11:00
ParticleAccelerator
Payload/EntitySystems
PDA
Physics remove usages of obsolete EntityUid method variants (#35106) 2025-02-16 03:06:23 +01:00
Pinpointer
Placement
Players
PneumaticCannon
Pointing
Points
Polymorph Fix followers getting sent to nullspace when target is polymorphed (#33878) 2025-02-11 22:34:24 +01:00
Popups Wizard Recall shows Disappearing text at Coordinate (#35272) 2025-02-18 20:47:10 -05:00
Power Sentry review (#35424) 2025-02-24 00:57:27 +11:00
PowerCell
PowerSink
Prayer
Preferences/Managers
Procedural Revert "Purge uses of TransformComponent.Anchored.set. Also adds parentheses." (#35332) 2025-02-21 00:12:12 +11:00
Projectiles Add ability for +VVEDIT users to scale damage/healing in the game (#35255) 2025-02-18 08:28:42 +01:00
Puppet
Radiation Refactor audio system to send collection IDs over the network (#33610) 2025-02-23 23:14:56 +11:00
Radio
RandomAppearance
RandomMetadata
RatKing
Remotes
Repairable
RequiresGrid
Research Fix multiple research consoles exploit (#34334) 2025-02-11 13:52:26 +11:00
Resist
Respawn
Revenant
Revolutionary
Robotics/Systems
Roles THE WIZARD (#35406) 2025-02-25 22:34:07 -07:00
Rotatable Revert "Purge uses of TransformComponent.Anchored.set. Also adds parentheses." (#35332) 2025-02-21 00:12:12 +11:00
Rotation
RoundEnd
Salvage Cleanup: Use `MapSystem.DeleteMap instead of IMapManager.DeleteMap in SalvageSystem.Magnet` (#35475) 2025-02-24 21:29:12 +01:00
Sandbox Fix colornetwork command not checking for correct permissions (#35180) 2025-02-15 10:01:46 +01:00
Screens
SensorMonitoring
Sericulture
ServerInfo
ServerUpdates
Shuttles Cargo Mail System (#35429) 2025-03-07 14:51:08 +01:00
Silicons fix ion storm code readability (#35337) 2025-02-25 08:36:56 +11:00
Singularity Cargo Mail System (#35429) 2025-03-07 14:51:08 +01:00
Solar Engineering guidebook improvements (#34695) 2025-02-14 19:59:19 -08:00
Sound
Spawners
Species/Systems
Speech Cloning Refactor and bugfixes (#35555) 2025-03-02 16:50:12 +01:00
Spider
SprayPainter
Spreader
Sprite
Stack
Standing Purges uses of TransformComponent.WorldRotation (#34946) 2025-02-11 14:16:20 +11:00
Station make the detailed examine verb predicted (#35362) 2025-02-21 11:30:06 -08:00
StationEvents Cleanup: Use `SoundCollectionSpecifier instead of string literals in PowerGridCheckRule` (#35449) 2025-02-25 08:16:10 +11:00
StationRecords TryGetRandomRecord in StationRecordsSystem (#35452) 2025-02-24 19:05:32 +01:00
Stealth
Storage UseInHandEvent cleanup (#35231) 2025-02-18 23:27:30 +11:00
Store Hotfix: Fix uplinks allowing buying conditionally restricted items (#35334) 2025-03-02 20:40:57 +01:00
StoreDiscount/Systems
Strip
Stunnable Fix stunbaton component namespace (#34790) 2025-01-31 15:43:07 +01:00
SubFloor
SurveillanceCamera
Tabletop
Telephone
Teleportation UseInHandEvent cleanup (#35231) 2025-02-18 23:27:30 +11:00
Temperature
Tesla
Thief
Tiles Make Ignite tryget flammablecomp (#34970) 2025-02-08 11:56:44 +01:00
Tips
Toilet
Tools
Toolshed/Commands Change visualize command perms to VarEdit instead of Admin (#35221) 2025-02-16 20:06:53 +01:00
Traitor Mind Swap Fix (#33553) 2025-02-04 17:25:54 +01:00
Traits Cloning Refactor and bugfixes (#35555) 2025-03-02 16:50:12 +01:00
UserInterface
VendingMachines Predict vending machine UI (#33412) 2025-03-02 13:47:52 +11:00
Verbs
VoiceMask
VoiceTrigger DetGadget Hat Revitalization (#35438) 2025-03-01 19:03:27 +01:00
Voting New Feature: Votekick bans distinguish themselves as votekicks (#35258) 2025-02-17 21:39:12 +01:00
Wagging
Warps
Weapons Add ability for +VVEDIT users to scale damage/healing in the game (#35255) 2025-02-18 08:28:42 +01:00
Weather
Whitelist
Wieldable
Wires Fix prototypes so they pass analyzer checks (#35435) 2025-02-24 15:21:59 +11:00
Worldgen Fix prototypes so they pass analyzer checks (#35435) 2025-02-24 15:21:59 +11:00
Xenoarchaeology
Zombies Cloning Refactor and bugfixes (#35555) 2025-03-02 16:50:12 +01:00
AssemblyInfo.cs
Content.Server.csproj
Content.Server.csproj.DotSettings
GlobalUsings.cs
Program.cs