Commit Graph

30883 Commits

Author SHA1 Message Date
Metis
d6561e5236 Update rped.dm 2024-11-17 18:00:26 -05:00
SandPoot
7fc23c7acf Merge pull request #16109 from sheepishgoat/performance-ports
Various Performance and Dev QoL changes
2024-10-28 18:54:12 -03:00
Metis
e1eaa7f6b3 Update _compile_options.dm 2024-10-26 19:01:00 -04:00
Metis
b072a63cea Update emotes.dm 2024-10-26 18:48:16 -04:00
Metis
1bbe63c33b sweet relief 2024-10-25 00:44:31 -04:00
Metis
bae37cd45c Update slaughterevent.dm 2024-10-24 23:33:41 -04:00
Kylerace
feacce1bb8 turns one of the vis_contents in openspace turfs to overlays (#58500)
one of the appearances that open space tiles add as vis_contents was an unchanging grey cover. its useless to keep it as vis_contents since its not supposed to change so its better to have it as an overlay. its possible that i can make openspace tiles not add the turf below as vis_contents and instead listen to objects entering and leaving it with connect_loc and add those objects as vis_contents then but that sounds like more trouble than its worth

edit: probably not the last part

overlays < vis_contents in maptick cost

also tramstation has the most open space tiles in high traffic areas compared to other maps. openspace tiles have 2 vis_contents each, equivalent to 2 objects that sendmaps processes every tick this pr only makes it 1 appearance in vis_contents. its also the map with the current highest maptick per player according to lemons graphs
2024-10-24 23:09:30 -04:00
Metis
bad8127688 some updates 2024-10-24 01:17:27 -04:00
SandPoot
c8f6640ac5 Merge pull request #16075 from deathride58/mousemovethrottle
throttles mouse movement calls
2024-10-23 21:11:38 -03:00
deathride58
51a264c9a7 Replaces throttle with cooldown define and also adds it to mousedrag 2024-10-23 19:51:18 -04:00
deathride58
bbf0a7b2bf Merge pull request #16106 from sheepishgoat/chem-grinder-change
Chem grinder change
2024-10-23 19:22:11 -04:00
deathride58
73ba1bff4d Merge pull request #16102 from SandPoot/this-is-a-feature-but-was-left-in-an-unusable-state
Enables the feature for having multiple loadout slots
2024-10-23 19:20:45 -04:00
deathride58
47a51925e0 Merge pull request #16108 from SandPoot/fix-pipes
Fixes some pipe related issues
2024-10-23 19:20:25 -04:00
Metis
b59523ae89 enable byond-tracy 2024-10-23 14:00:51 -04:00
Mothblocks
3a044ef627 Add defines for byond-tracy support (#70931)
Adds `USE_BYOND_TRACY`, which automatically loads a given
prof.dll/libprof.so using https://github.com/mafemergency/byond-tracy/.

Not intended for use in production, and we do not ship a copy of
byond-tracy. It is extremely easy to compile yourself, but if you're
someone interesting enough to play around with this then let me know and
I can just give you a build.

I'm going to be using this for init profiling.
2024-10-22 22:17:37 -04:00
LemonInTheDark
b478367fd9 Saves on average 10 seconds from roundstart times (#71730)
## About The Pull Request

When runlevels change mid work, subsystems running behind have their
next_fire updated.
It's offset by a sum of random numbers, so things don't bunch up,
especially KEEPTIME SSs

The trouble is we have so many subsystems that get added at roundstart
that this offset gets LARGE, like 10 seconds on average.

So instead of randomly offsetting, why not "fill" a set of time slots?
Only 1 keeptime subsystem a tick, and 4 others. Then we just fill up
those buckets and get to it (also don't offset things that are already
processing)

I've talked to mso a bit about this. What he reccomended was sampling a
random time withing a 2 second window.
I'm not totally sure why, kinda waiting for him to tell me off, if he
does I'll fix things up.

This pattern takes the max possible delay from 16 (76 * 5 / 20)) seconds
to 0.7 (56 / 4 / 20)
It obviously scales with subsystem count, but I like this scaling a bit
better

I've applied the same pattern to the offsetting we do at the start of
Loop(), for ticker subsystems. I am less confident in this, it does take
last fire times from at worst 3.75 seconds (15 * 5 / 20) to a static
0.75 (15 / 20)
As stated I'm less sure of this, hoping to get mso'd so I can clean
things up

## Why It's Good For The Game

Makes roundstart snappier

## Changelog
🆑
code: Roundstart "starting" should be much snappier now
/🆑

Co-authored-by: Kyle Spier-Swenson <kyleshome@gmail.com>
2024-10-21 00:30:59 -04:00
SandPoot
2099a76fc7 push 2024-10-20 22:33:23 -03:00
SandPoot
b344b3d727 Merge branch 'master' into this-is-a-feature-but-was-left-in-an-unusable-state 2024-10-19 03:24:49 -03:00
silicons
77c1554bf7 Merge pull request #16105 from sheepishgoat/arcd-tweak
ARCD now comes with upgrades
2024-10-15 14:51:26 -07:00
Metis
c04d889e8b Update grinder_chemical.dm 2024-10-15 11:36:26 -04:00
Metis
0a3304223f Merge remote-tracking branch 'upstream/master' into chem-grinder-change 2024-10-15 11:29:47 -04:00
Metis
01841576cb Update grinder_chemical.dm 2024-10-15 01:21:42 -04:00
Metis
61b0b62f2d Update grinder_chemical.dm 2024-10-15 01:21:24 -04:00
Metis
a28c282158 Update grinder_chemical.dm 2024-10-15 01:16:19 -04:00
Metis
52b9c3b246 Update grinder_chemical.dm 2024-10-15 01:15:09 -04:00
Metis
a5e9ae8bc6 Update RCD.dm 2024-10-15 00:41:11 -04:00
SkyratBot
80e7c0db0a [MIRROR] Sends a toast notification when initializations complete. [MDB IGNORE] (#18623)
* Sends a toast notification when initializations complete. (#72465)

Initialization is significantly slowed down by the presence of clients,
though when testing features, you need to join the server. I've been
told that some devs (particularly Mothblocks) are alt-tabbed out of
Dream Daemon while doing dev work, meaning that they are liable to miss
initializations completing, causing an effective slowdown in the dev
cycle. Mothblocks said it would be nice if there was a way to produce a
desktop notification when initialization completes.

I originally intended to add a function to rust_g that would produce a
Windows toast notification with a button allowing you to immediately
launch Dream Seeker. However, I couldn't find a reliable way to detect
if the OS version was Windows 7 or earlier, so running this function on
such an OS would cause a rust panic (which I was told is only a problem
because MSO probably still uses Windows 7).

Fortunately, PowerShell scripts can access the necessary .NET APIs to
produce toast notifications on Windows 10, while also failing more
gracefully than crashing the host process. So I recreated the
functionality I intended in PowerShell.

Toast notifications will only be sent on Windows, if the
TOAST_NOTIFICATION_ON_INIT config flag is enabled, AND there are no
clients on the server.

**Note for downstreams:** If you want the toast notification to have
your downstream's icon, copy it, scale the copy down to 16x16, and
either rename it "tg_16.png" or change that path in the call to
`world.shelleo` to the name of the new file.

Video Demo:

https://user-images.githubusercontent.com/12720844/210492033-963923d7-a1de-4326-9c9f-4f0c0b71d1a5.mp4

This isn't really a line item in the Dev Cycles Initiative, but even if
Mothblocks was exaggerating the benefits, it would still be a
significant speedup in the dev cycles.

No player-facing changes.

* Sends a toast notification when initializations complete.

Co-authored-by: Y0SH1M4S73R <legoboyo@earthlink.net>
2024-10-15 00:25:48 -04:00
SandPoot
b65df409d7 that was weird 2024-09-29 17:11:32 -03:00
SandPoot
a6ff3a5d95 Merge branch 'master' of https://github.com/Citadel-Station-13/Citadel-Station-13 into this-is-a-feature-but-was-left-in-an-unusable-state 2024-09-25 03:39:20 -03:00
deathride58
94067bdc62 Merge pull request #16100 from SandPoot/fix-ntnet
Fix ntnet
2024-09-19 13:47:14 -04:00
SandPoot
19c436e994 push 2024-09-17 16:52:54 -03:00
SandPoot
dc08550162 push 2024-08-25 04:38:03 -03:00
SandPoot
e46b75c68e push 2024-08-24 23:55:01 -03:00
SandPoot
ac2a5d8eef fix for custom shuttles 2024-08-24 23:06:50 -03:00
SandPoot
ced32cb97a break at the end 2024-08-24 21:45:46 -03:00
SandPoot
09aa0f704f set those up 2024-08-24 21:41:21 -03:00
SandPoot
c07e94be66 push 2024-08-24 21:28:55 -03:00
deathride58
0bcc7d0af5 Merge pull request #16095 from SandPoot/vv-appearance
Allows vv investigate /appearance
2024-08-16 19:38:21 -04:00
SandPoot
e4ecebe098 typecast it in the arguments ffs 2024-08-12 19:57:35 -03:00
SandPoot
d0a14830ee push 2024-08-12 19:52:51 -03:00
deathride58
5d49d1c13b Merge pull request #16096 from SandPoot/actions
Fixes MAJOR (maybe not) issues with actions
2024-08-12 17:55:19 -04:00
SandPoot
86faaee73e buh 2024-08-11 15:11:17 -03:00
SandPoot
9f53644f38 fixes xenobio stuff 2024-08-11 15:06:18 -03:00
SandPoot
b3e04bd75f aux_base ugliness 2024-08-11 14:31:27 -03:00
SandPoot
0fd4dba15b push 2024-08-11 14:10:35 -03:00
SandPoot
d3a256f1de push 2024-08-11 04:12:13 -03:00
deathride58
c2e72943c0 Merge pull request #16094 from SandPoot/xor
Xor gate for circuitry
2024-07-06 18:17:14 -04:00
SandPoot
9c92081471 push 2024-07-06 01:11:49 -03:00
SandPoot
e5a9280ad3 push 2024-07-04 23:44:35 -03:00
deathride58
587f92e900 Merge pull request #16092 from SandPoot/update_manifest
Crew manifest TGUI
2024-05-25 14:01:48 -04:00