Commit Graph

214 Commits

Author SHA1 Message Date
vuonojenmustaturska
39375d5cc2 Replaces a bunch of mob loops with hopefully better ones (#32786)
* Free codebase churn

* fixes dviewmob

* a commit

* Partial revert "Free codebase churn"

This reverts commit 9dd41b3860c331637bbc85e694dd32dc59768ad5.

* better fix to dviewmob

* renames living_mob_list to alive_mob_list, adds mob_living_list and carbon_list

* make some use out of the shiny carbon list

* make some use out of the shiny new living list

* more things, also make the mobs subsystem (Life) use living list

* bonus

* domo arigato mr. roboto

* compile fixes, also made the drone code less dumb

* better?

* make admin message prettier

* honk

* fixes blobs

* rev fixes

* one small thing
2017-11-16 23:08:40 +01:00
Tad Hardesty
1eebdde816 Fix the station integrity report to read the correct Z
Fixes a bug where the integrity of CentCom was being taken instead,
coming out at about 85% no matter what happened during the round. Also
removes the gang territory calculation now that it isn't used anywhere.
2017-11-14 12:45:34 -06:00
Kyle Spier-Swenson
d7b537ce24 SSoverlay improvements and tweaks (#32371)
* Overlay per-type cost logging.

Overlays will now log how long each type took to process.

Changed up how overlays was done to account for the fact its a queue and not a processor. (it was using almost none of the processing subsystem framework)

Made the overlay loop faster by making it not cut the list until the end.

Added a simple generic benchmark stat tracking system.

I don't know how much overhead this adds to overlays. i may put it behind testing or something, but i do want to test this on the serbers to get some stats.

* Removes flush() as it was creating race conditions

* Use ref

* text2file

* Atoms added as an overlay will have their pending overlays compiled before being converted to an appearance
2017-11-10 20:25:29 +01:00
Tad Hardesty
9fb288a601 Fix a few syntactic aberrations (#32284) 2017-11-02 03:21:14 -06:00
Emmett Gaines
825ab4def4 [512] The great \ref purge (#31824)
* The great \ref purge

* cleanup
2017-10-28 17:20:04 -04:00
KorPhaeron
dcddc79e11 Allows species to be blocked from ever being roundstart, can now choose your Halloween species (#31877)
* Hardlocked species, halloween now lets you choose your spooky race

* Code standards, moving procs around
2017-10-20 11:10:54 -04:00
AnturK
bfc5a2cca8 Datum rev & related upgrades to base datum antag (#31630)
* Datum rev & related upgrades to base datum antag

* Actually starts objective tracking

* Grammer & clumsy removal things

* unifies file names

* Fixes heads displaying in every mode

* This is why i ask for reviews

* KILL ME

* proper antag detection

* Fixes admin de-revving

* Sanity

* Fix conflicts

* Fixes instant roundend

* Fixes flashes

* Waits until setup is done to declare roundend.
2017-10-18 20:25:42 +13:00
JamieH
1ad564dea9 Fix a bug in the new lobby music system (#31477)
* Fix a bug in the new lobby music system

* Update ticker.dm

* ...
2017-10-10 14:13:51 -04:00
JamieH
0666fe6c70 Allows easy hosting of server side lobby music (#31352)
* Allows easy hosting of server side lobby music

* No images here!!!

* Undelete /tg/ sounds... REEE

* Add back the old system and use it if this doesn't find any music

* Documentation++

* Update round_start_sounds.txt

* Allow for rare map specific title music

Also don't attempt to play non-valid sounds/non-sounds

* Fix bad sound filter, fix common sounds

* Update README.txt

* Update ticker.dm

* Update ticker.dm
2017-10-08 14:16:09 -04:00
Cyberboss
9db3ba0be0 Chat command to notify admins when the round ends 2017-09-29 13:26:40 -04:00
Jordan Brown
62f788fbc6 Server tools API v3.1 (#31000)
* New API for service communication

* Safer this way

* Gives the game the ability to kill itself

* tick_lag

* Sanity check

* Updates comment

* Formalization of the server tools API

* Fixes, finishes, and cleanup

* Remove unecessary scoping

* Compile fixes

* Didn't Ctrl+S

* Reimplement chat commands

* Fixup

* Required parameters

* Fax

* Testing

* Fix ON_TOPIC

* The more defines the more better

* That's bass ackwards

* Fix tgs2

* Fuck it, call him pichael

* Do this

* No, we only use the modern methods now

* Remove tgs2 relay support

* Remove kebab

* Kill kill kill

* This is back baby

* Missed a GLOB

* Remove DownloadPRDetails()

* Cache custom commands by name

* Adds "notify" chat command

* Use the official API

* Fix API misuse

* Readme licensing memes

* Fix API

* Moves chat new game announcement to when the API is confirmed compatible

* Add TGS3.json

* Fix the input options

* Removes notify command
2017-09-29 16:19:50 +13:00
Jordan Brown
4178c209f1 Configuration datum refactor (#30763)
* Configuration datum refactor

* More WIP

* New easier on the eyes format

* More WIP

* Finished config.txt

* Fucktons more WIP

* The end of conversion draws near...

* Add all this shit

* Done converting entries finally

* Hunting down compile errors

* More WIP

* MORE CONVERSIONS

* More WIP

* More WIP

* Oh shit only 90 errors this time!

* IT COMPILES!!!

* Fixes world start runtimes
2017-09-29 15:36:51 +13:00
Jordan Brown
5ca0d3085e Merge pull request #30773 from Cyberboss/Rats
Removes credits from the repo
2017-09-26 16:06:08 -05:00
AnturK
1304e83a76 Refactors cinematics. (#30888)
* Cinematic  refactor p1

* Refactors cinematics & related fixes

* Fix and cleanup

* Fixes survivor gibbing.

* qdel_null
2017-09-26 22:20:05 +13:00
ShizCalev
74f5a8c904 DisplayTimeText mk2 (#30969)
* Adds new helper, DisplayTimeText

* Removed unused define

Thought it would've been nice to have for the future, but I guess it's
fine to go without it.

* CBB

* Revamp

* Early returns

* More cleanup

* Proc cleanup

* Makes fraction only show if seconds is < 1

* Last cleanup

* Revert

* Corrected incorrect round time.

Dunno how nobody ever caught that it was incorrect on live servers, gg.
2017-09-24 19:58:58 -04:00
vuonojenmustaturska
a0fc9c3af8 Enables Dead OOC at round-end (#30716)
* Enables Dead OOC at roundend

* proc

* proc #2
2017-09-17 17:22:12 -04:00
Jordan Brown
828d0d2185 Fixes null modes being picked 2017-09-16 12:14:09 -05:00
kevinz000
efe3bc3162 (Hopefully) Lessens preferences and manifest injection lag (#30596)
* first step to fixing a potential problem is identifying it

* woops

* kk

* mso is already doing this kek

* yeah lets do that too.

* replicated code

* wups

* wups

* better

* gibe the merge b0ss

* cyberboss

* Update dummy.dm
2017-09-15 15:14:28 -04:00
oranges
8c3440f190 Merge pull request #30636 from Cyberboss/NoDupeMusic
Lobby music won't be the same as the last round
2017-09-13 08:09:42 +10:00
Jordan Brown
cf05b7f665 Safe for a single track 2017-09-11 16:28:24 -04:00
Jordan Brown
23cb5c4170 Lobby music won't be the same as the last round 2017-09-11 15:02:16 -04:00
KorPhaeron
10a3238fd6 Makes the station Z level into a list instead of a single define (#30297)
* Makes Station Z Levels a global list

* Things didnt get committed

* Define

* Removes files

* Fix mind.dm

* Wrong list name

* (

* Fixes rev checks and signpost

* Makes it actually compile

* Signpost fix

* I hate these sign posts

* Never use the web editor
2017-09-11 13:39:52 -04:00
Joan Lung
e83d72219d Soft crit, except not terrible (#30262)
* Soft crit, except a little bit harder.

* tweak

* 👌

* why was this even in here

* no radios in critical

* fix that too

* keep to original logic

* not very smart, really

* tip: do nothing tgui-side that you can do code-side, because we can't do defines in tgui

* blood trail

* can't do blood trails

* how does this even work

* harsher slowdown and more obscured vision

* it really puts it into perspective; you're fucking dying.

* stat_attack

* stop fuckin whispering into radios or whatever it is you're doing

* more fixes

* fix

* fix

* fix the radio shit

* bikeshed?
2017-09-04 18:58:34 -05:00
tortellinitony
335ebb3ccf TRUEFALSE and changed the logic 2017-08-31 22:18:58 -04:00
tortellinitony
8739d7e835 Makes round-end credits configurable 2017-08-31 18:02:14 -04:00
MoreRobustThanYou
c48def94d8 Removes gangs (#30056) 2017-08-31 17:31:49 -03:00
Jordan Brown
2ce6141628 Credits Roll (#30000)
* WIP

* More wip

* Numbers

* More WIP

* Improve

* Add QDEL_IN_CLIENT_TIME

* More WIP

* Getting there

* Absolute communism

* More stuff

* More states

* MrPerson's suggestion

* Makes it work, now we just need the dmi

* No, that's the null icon_state

* More better

* Fix script

* Turns out we don't need an empty dmi to start with

* Upload a much more complete dmi. Now we just need the identicons

* Fix

* Add the credits tool

* THE FULL DMI

* Mistake

* No need to resize the image if it's already 32x32. Also download the right one in the first place.

* It's oranges

* Transparent opacity

* Make per client

* Run at roundend

* Make tgstation-server great again!

* Speed things up some

* Fix up the verb

* Final touches

* Remove the unecessary .sln

* PraiseRatvar -> Frozenguy5

* New age coding

* Bigger gulps
2017-08-25 15:05:31 +12:00
Cyberboss
71ec0b26c2 Quieter title music is now played when the round ends 2017-08-19 21:37:14 -04:00
Xhuis
3e2c973993 Changes the sound of the station explosion 2017-08-16 01:56:52 -04:00
Jordan Brown
dce49b6caf Adds defines for mouse_opacity 2017-08-14 11:18:22 -04:00
Jordan Brown
d1ae0a0c95 Adds helpers to avoid << use (#29611) 2017-08-09 00:27:54 -03:00
shizcalev
22764665c9 CentCom Standardization 2017-08-07 19:04:27 -04:00
Emmett Gaines
1d201939ba [Ready] Shuttle dock() rewrite (#29049)
A complete rewrite of the dock proc for shuttles to make it more maintainable and readable and also bring over some new features while we're at it. This allows for multi-area shuttles and more control over the effects of anything being moved.

Areas, and movable atoms all have (before|on|after)ShuttleMove procs, turfs have (from|to)ShuttleMove procs which are called the same as beforeShuttleMove.

All ShuttleMove procs have been moved to a single file in the shuttle module.

Stationary docks will have their baseturf_type and area_type modified in maps once the problems have been worked out.
2017-07-17 12:17:56 +12:00
Tacolizard
76edcf1c40 Allows admins to set messages when they delay the round end (#29064)
* initial

* fixes

* changes

* move to SSticker

* logging

* msg changes

* fix

* Jordie changes

* remove span

* change if

* fix

* cyberboss review
2017-07-10 10:55:17 -04:00
Leo
1965dfa0fe Merge pull request #28610 from Cyberboss/Cyberboss-patch-1
Round ID is now sent to IRC
2017-06-20 20:01:15 -03:00
Jordan Brown
33420fc103 Round ID is now sent to IRC 2017-06-19 16:39:48 -04:00
Jordan Brown
dd6f13b6b3 Disables persistence saving in sandbox mode 2017-06-19 15:47:42 -04:00
Jordan Brown
be17cf33ef Blackbox no longer records data after round ends (#28390) 2017-06-15 10:48:01 -03:00
Leo
7ec5c0e5d3 Merge pull request #28255 from optimumtact/revert-28229-revert-28170-observerspeep
Players cannot observe before PREGAME is reached, Version 2
2017-06-13 21:42:09 -03:00
oranges
c866a77147 Players cannot observe before PREGAME is reached
Ready | Not Ready | Observe is now a three way toggle

The player ready status has been refactored into an ENUM of the three
states, READY, NOT_READY and OBSERVING

if the tickerstate is at least PREGAME they will spawn as observers,
before then you can only register your interest in observing.

All the observer code has been centralised into a single
make_me_an_observer proc on new_player mobs
2017-06-12 20:58:15 +00:00
Jordan Brown
6532461baa Fixes some edge cases with round end and mulligan antags 2017-06-12 12:31:43 -04:00
Lzimann
3e34eb9e3f Changes all sounds to be lower case, plus standardizes their references 2017-06-11 00:38:45 -03:00
Lzimann
6c94c63e77 Adds a length check to medal commendations 2017-06-09 12:44:16 -03:00
Jordie
d05b3c51d8 Merge pull request #28209 from lzimann/whyisthishere
Moves borer completion to gamemode
2017-06-10 00:00:07 +10:00
Joan Lung
19f7169630 Merge pull request #28165 from Tacolizard/medalaf
Adds Medal Commendations!
2017-06-08 21:38:38 -04:00
Jordan Brown
93e3fa18a2 Revert "Players cannot observe before PREGAME is reached" 2017-06-08 13:04:58 -04:00
Leo
fbf9f42a5d Merge pull request #28170 from optimumtact/observerspeep
Players cannot observe before PREGAME is reached
2017-06-08 12:09:31 -03:00
oranges
507ee7f223 Players cannot observe before PREGAME is reached
Ready | Not Ready | Observe is now a three way toggle

The player ready status has been refatored into an ENUM of the three
states, READY, NOT_READY and OBSERVING

if the tickerstate is at least PREGAME they will spawn as observers,
before then you can only register your interest
2017-06-08 06:46:38 +00:00
Lzimann
73cdf04cce Moves borer completion to gamemode 2017-06-07 23:06:44 -03:00
Tacolizard
18576d47b2 wew 2017-06-06 19:40:39 -07:00