Commit Graph

2699 Commits

Author SHA1 Message Date
Ling
cf22c8067f 2 2023-01-16 19:36:43 +02:00
Ling
8d4a4fbbe1 fix runtime 2023-01-16 19:24:39 +02:00
Ling
5c8fac4455 fix linter 2 2023-01-16 19:21:59 +02:00
Ling
ba037d1fd0 maybe 2023-01-16 12:27:55 +02:00
Ling
5e59a9b985 Merge remote-tracking branch 'yogstation13/master' into preferences 2023-01-15 16:02:53 +02:00
Molti
9b104f3bbb Fixes a bunch of runtime problems (probably) (#17487)
* Fixes a bunch of runtime problems

Lotta runtimes

* Update pay_stand.dm

inconsistent indentation somehow

* Update code/modules/modular_computers/file_system/programs/medical/crew_monitor.dm

* Update code/datums/traits/negative.dm
2023-01-15 11:40:11 +00:00
Ling
2de686a0a3 A few delta_time fixes (#17476)
* delta_time fixes

* Removes delta_time from SSatmos
2023-01-13 23:14:32 +00:00
Ling
df044da860 Backports several SSlighting improvements: overlay lighting (#17271)
* Backports SSlighting optimizations

* Overlay lighting, first version compiles

* Change conflicting defines

* Sparks and beams dont count towards lumcount

* Fix rendering

* Various fixes

* Fix errors

* Fix PDA light


1

* a

* Update game_options.txt

* Fix plasmaman helmet

* Fixes

* Glowy changes

Co-authored-by: Jamie D <993128+JamieD1@users.noreply.github.com>
2023-01-13 22:42:23 +00:00
Ling
9d15ddd421 A few keybinding improvements and fixes (#17457)
* Prevent SSinput from constantly requesting moving in-place

* nvm lol

* Removed proc overhead from the Input subsystem

* Fixes cases of held keys getting stuck

* Some changes suggested by lummox

* Misc changes
2023-01-13 22:30:14 +00:00
Ling
2bd049046b Various SSoverlays improvements 2023-01-13 22:30:06 +02:00
Ling
e8381de127 Convert pref: persistent scars
1
2023-01-13 21:00:30 +02:00
Ling
9f7818b36e Convert pref: alt announcer 2023-01-13 00:21:28 +02:00
Ling
6a45f0ba44 Convert pref: Bar choice 2023-01-13 00:16:53 +02:00
Ling
9ce3c7f51a Merge branch 'master' into preferences 2023-01-12 21:40:10 +02:00
Ling
e85c888b90 Convert pref: PDA stuff 2023-01-12 20:47:37 +02:00
Manatee
1ba55a0a37 Replaces lag with lag(lite) (#17319)
* a couple files

* another quarter basically

* awooga

* so many changes

* comma moment

* oop and a zero

* guggugugug

* Update magic.dm

* e

* Update dcs.dm

* e

* finally

* Update watertank.dm

Fixwatertank

Co-authored-by: Molti <gamingjoelouis@gmail.com>
2023-01-12 01:07:38 +00:00
Ling
51e2808713 Merge branch 'master' into preferences 2023-01-11 23:41:29 +02:00
TheGamerdk
2d9715374b Update mapping.dm (#17398) 2023-01-08 21:47:14 +00:00
Jamie D
61f9725283 Merge branch 'master' into preferences 2023-01-08 11:43:33 +00:00
Ling
b596130175 Fix latejoin menu + tweaks 2023-01-08 01:07:07 +02:00
Jamie D
d4859dc1a1 AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH 2023-01-07 18:15:33 +00:00
Ling
903246a933 Allow demos to be disabled via config (#17259)
* Allow demos to be disabled via config

* New MC

* Update config/config.txt

Co-authored-by: Jamie D <993128+JamieD1@users.noreply.github.com>
2023-01-07 15:09:01 +00:00
Ling
588db2e83b TGUI Preferences Menu + total rewrite of the preferences backend (#17368)
* It compiles

* It opens

* Sync 1

* Add asset caching

* Sync 2

* It opens without dev now

* Update a few packages

* Sync 3

* Sync 4

keybind fix

* start of dehardcoded species

* Small fixes

* Add more individual preferences

* ASS sync
2023-01-06 22:29:16 +00:00
Ling
3c23470219 Updates latejoin menu to use TGUI (#17309)
* First work

* Add job icons

* Update FA


2


3

* Add job descriptions

* Fix tooltip color

* Misc changes

* Fix unavailable reason and random job button

* Real fix

* Remove double import

* huh

* Use tgui_alert
2023-01-05 12:40:50 +00:00
Ling
c7226a179b Modernizes components (#17260)
* Part 1

* Refactor signals into different files

* Remove redundant file

* Add missing movable signals

* Add signals log

* Split signal registering with list into new proc

* Add comments to component.dm and remove signal_enabled

* Fix yogs code

* Not this one

* Hopefully make linter happy

* Remove duplicate file

* More duplicates signals
2023-01-04 22:29:34 +00:00
Ling
1de91eb6c4 A few bug fixes (#17281)
* Fix wardrobe init

* Fix plasmameme helmet

* Fix usages of sortedAreas
2023-01-04 18:17:04 +00:00
Ling
50e3477a6e Rips out the old keybind system and ports a better version from /tg/ (#17216)
* Initial version

Ripped out old version and added new version

* Update some of the keybinds

* More changes

* Added hotkey sanity checks

* Misc. fixes and features

* Small fix

* Refactor keys_held

* Adds emote keybinds

* Small spelling fixes

* I always forget this one

* Add 1 second cooldown on emotes

* Fix DME

* Don't spam

* Make linter happy

* New MC init
2023-01-04 15:55:09 +00:00
Jamie D
37a75475ad [TG UPDATE] 4 - TGUI - WOULD YOU LIKE TO UPGRADE TO THIS EDITION? (#17311)
* e

* https://github.com/tgstation/tgstation/pull/55157

* manual

* Replace alert usage with tgui_alert (#58419)

Pretty much every alert() call is replaced with tgui_alert, except one I replaced with tgalert as a fallback. If tgui_alert exists, why not use it?

* e

* e

Co-authored-by: Celotajs <81999976+celotajstg@users.noreply.github.com>
2023-01-04 15:52:06 +00:00
Jamie D
9476880488 [TG Update] 2 - Slows down the Statpanel MC (#17298)
* E

* e
2023-01-03 23:25:19 +00:00
Jamie D
d2065a26ec [Admin] Statpanel Split Tabs (#17296)
* e

* E
2023-01-03 22:10:03 +00:00
Ling
1e546cd676 Speeds up the preference menu, implement object pooling (#17133)
* Speeds up the preference menu

https://github.com/tgstation/tgstation/pull/63225

* Fix compile
2023-01-02 00:22:11 +00:00
Ling
d6f0bb5378 Backports several SSatoms improvements (#17209)
* I shaved 2 seconds off atom init times and it's boring

https://github.com/tgstation/tgstation/pull/69742
s

* More SSatoms ports

* Small fix

* Forgot about this
2022-12-31 16:17:55 +00:00
Ling
17c5a68c33 Backports several SSmapping improvements (#17208)
* Optimizes SSmapping

* Turfs inside area are stored

https://github.com/tgstation/tgstation/pull/70966

* Add async reserving of turfs

* Fix bug

* Fix shuttle init
2022-12-31 15:41:47 +00:00
Ling
980999fa79 Improves roundstart time (#17199) 2022-12-31 15:38:45 +00:00
fira
c30f297c11 MC backport (#16992)
* Break things

* fix bad replace in test code
2022-12-31 15:30:57 +00:00
Ling
0c5c733cd1 A few performance ports (#17137)
* Faster garbage collection

https://github.com/tgstation/tgstation/pull/62969

* MC bug fix

https://github.com/tgstation/tgstation/pull/64500

* Optimize RegisterSignal

https://github.com/tgstation/tgstation/pull/69638
2022-12-24 16:15:52 +00:00
Jamie D
ad7b7e7543 Revert (#17049) 2022-12-24 11:19:22 +00:00
ynot01
5f662867fb Update general.dm (#17147) 2022-12-22 19:22:46 +00:00
ynot01
905373709b [s] [admin] virtual private network lookup (#17146)
* Update admin.dm

* update more

* Update secret.txt
2022-12-22 18:20:50 +00:00
ynot01
754a905e53 [ADMIN] Post-round lobby music will no longer interrupt admin music (#16990)
* all i want for christmas is you

* Update roundend.dm
2022-12-16 15:32:45 +00:00
Bop
873a086bb3 Fix surgery computer and nanites hub not recognizing ruin tech (#16851)
* ungabunga

* cool

* ye

* Update Operating.dm

* Update Operating.dm

* cool gamn
2022-12-02 14:50:58 +00:00
monster860
8de16779d6 Replays 2.0 (#16211)
* C++ demo

* linuxy shit

* Working linuxy shit

* demo writer is necessary I guess

* use the working one

Co-authored-by: TheGamerdk <5618080+TheGamerdk@users.noreply.github.com>
2022-11-21 23:11:17 +00:00
Bop
b527b63b9f Cargo budget now gets 50% payment from energy harvester (#16505)
* Cargo budget now gets 30% from energy harvester

* fuck

* the fuck

* Update economy.dm
2022-11-19 15:07:29 +00:00
Byemoh
2c346ab1a9 mail time (#16446) 2022-11-13 15:26:18 +00:00
Bop
f761be7a15 [READY] Gives ability for free golem, free miner and delta station crew to research on a new research network, also minor tweaks (#16309)
* change

* e

* e

* thanks biomu

* done

* whoops

* up

* buff a bit
2022-11-13 12:21:14 +00:00
ChesterTheCheesy
4aa6c0b45d either destroys the entire game, or increases performance... maybe both (#16178) 2022-10-29 15:02:44 +01:00
adamsong
fa832b902f [Port] Doing mail again (#16147)
* port: cargo mail

* fix: forgot .dme file in commit

* chore: fix lints

* add postmark/stamp icons

* setup delta_time

* more of the port

* more job goodies ported

* fix sec officer

* fix some tg->yog stuff

* fix check for station faction

* only remove the waiting mail amount that was actually delivered

* fix fake nude code being obvious and check if code is already set

* fix variable name

* re-add strange reagent for HoP

* more atmostech goodies

* station engineer goodies

* warden goodies

* more goodies

* Adds null check

* Fixed small parcels not being mailable, and set the default sort for junk mail to disposals

* Makes lootdrops drop loot in the same loc in which they are, rather than just on the floor

* add purple hat icon

* fix: envelopes with two items should give both now

* fix: mail amount was using incorrect calculation

* fix typo

* Fuck your tails

* Why didn't these commit?

* Added debug verb to dump loot

Co-authored-by: Inari Whitebear <inari_whitebear@fastmail.jp>
2022-10-29 14:41:40 +01:00
ynot01
7f928a2019 NTOS PDA Messenger update username based on ID (#15560)
* namechange on id

* Update ntpda_msg.dm

* make wider and set on spawn and apply to phones

* extend max name len
2022-10-08 14:30:14 +01:00
Chubbygummibear
5b3acf10be Modular Computer Themes and PDA theme game preference option (#15735)
* themes and stuff

* theme app cleanup

* that should be it

* i said commit

* readability

* comment cleanup

* mooglecode

* moog spacing

Co-authored-by: Redmoogle <dakotamew@gmail.com>

* Bibby

* there actual names

* not needed

Co-authored-by: Redmoogle <dakotamew@gmail.com>
2022-10-01 12:38:09 +01:00
Redmoogle
a91ef5c4bf Datum lighting (#15931)
* Turns lighting objects into a datum, makes all lighting be performed with an underlay. big maptick fix very good! (#58991)

credit to zewaka for the idea of using underlays

turns the lighting object movables that were unnecessary and increased maptick into a datum which then applies and removes an underlay in update(). also applies a lot of general lighting clean ups (mostly using as anything in loops and fixing single letter var names).

multiz is a little different by necessity, now only the bottom turf's lighting matters in the brightness of the top turf unlike master where the bottom turf's lighting object is hidden from the vis_contents of the top turf. there are still some kinks to iron out here though, since currently objects suspended in openspace (like tram platforms) look bad and glass floors look bad too

only thing i have left to do is make multiz work (well)

UPDATE: multiz now appears the same as far as i can tell, its possible there are other situations in which its different but datum mats work and it automatically updates if the turf below changes. now i just need to make the system less finnicky if at all possible (and possibly merge managed_turf_vis_content with managed_overlays maybe?)

new update: its basically equivalent to normal multiz as far as i can tell (visually at least, in the circumstances ive tested so far)

NEW NEW UPDATE: turfs no longer have the VIS_HIDE vis_flag and multiz works without stacking the lighting from the floor below! so this shouldnt have any overt drawbacks to master anymore

1 needless movable per tile is terrible for maptick. this is probably a larger improvement than my emissive blocker change in terms of maptick. im guessing we'd get around 0.6 average maptick per player after this where currently we get 0.85 or so

Edit: according to lemon, sybil reached 0.71 maptick per person when tm'd with this

if this is a big enough improvement i might finally be able to get rid of the Gone discord avatar

* Revert "Turns lighting objects into a datum, makes all lighting be performed with an underlay. big maptick fix very good! (#58991)"

This reverts commit ffbbeb64f4.

* port from another codebase

Co-authored-by: Kylerace <kylerlumpkin1@gmail.com>
2022-09-30 19:54:14 +02:00