Commit Graph

907 Commits

Author SHA1 Message Date
MrPerson
ff3f84ab81 Replaces /image with /mutable_appearance, where appropriate (#26518)
In cases where you're creating an image to use as an overlay, it makes more sense to use a mutable_appearance if you can. The image will create a static appearance for not just the image but also each intermediate step if you change vars along the way. The mutable appearance avoids this unnecessary and expensive process. The only situation that requires an image instead of a mutable_appearance is if the overlay is supposed to be directional. MA's ignore direction while images don't. I dunno why, probably another BYOND-ism.

I added a convenience function, mutable_appearance(), designed to emulate image(). Also went ahead and set the default plane of /mutable_appearance to FLOAT_PLANE because it's fucking 0 by default.

Several overlays that were image() calls were changed to just text strings when I could. overlays += "string" has the same result as overlays += image(icon, "string") and saves a proc call.
2017-04-25 12:15:16 +02:00
Cyberboss
e266551346 Merge branch 'master' into ITKEEPSHAPPENING 2017-04-25 01:13:14 -04:00
Cyberboss
a050b0db6e >We still let old code in the codebase (#26506) 2017-04-24 22:21:55 -04:00
oranges
7f2b0d0b05 Merge pull request #26397 from coiax/stops-easter-loot
Fixes easter eggs spawning during non-easter; SSevent now inits before SSticker
2017-04-25 11:06:28 +12:00
Cyberboss
7ddea10cd7 Exploit whack-a-mole 2017-04-23 21:16:10 -04:00
Jack Edge
5d5f99e062 While we're here, regenerate station names on holidays 2017-04-22 22:08:31 +01:00
Jack Edge
a76d4374c1 Moves init_order to defines, moves SSevents above ticker. 2017-04-22 22:08:31 +01:00
Cyberboss
681f5e10c8 Copies the loaded titelscreen into the rsc 2017-04-20 16:29:11 -04:00
oranges
2ae659a60d Merge pull request #26319 from Cyberboss/SlowDownMobs
Moves simple animal automation from SSmob to SSnpc
2017-04-20 09:47:39 +12:00
oranges
02bcec36d1 Merge pull request #26324 from Cyberboss/MC_SPLIT_TICK
Adds defines for evenly splitting up a subsystem's time to fire
2017-04-20 09:47:18 +12:00
Cyberboss
e7cd4c4bc8 Fixes SSdbcore showing the incorrect ErrorMsg (#26352) 2017-04-19 13:08:24 -06:00
oranges
c948f55c2d Merge pull request #26315 from Cyberboss/LifeMicroOpt
Micro optimization for handle_breathing
2017-04-19 11:13:11 +12:00
Joan Lung
17f1536f05 Merge pull request #26322 from Cyberboss/LightingGC
Normalizes how some lighting things GC
2017-04-18 19:02:11 -04:00
Joan Lung
b9e512915a Merge pull request #26323 from Cyberboss/LightingSetupSpeedup
Speeds up lighting initialization
2017-04-18 19:01:46 -04:00
Kyle Spier-Swenson
0829bba0f2 fixes the garbage subsystem not working, at all. 2017-04-17 13:27:01 -07:00
Cyberboss
f490386a51 Moves simple animal automation from SSmob to SSnpc 2017-04-17 14:32:24 -04:00
Cyberboss
2e41fc6ef3 Adds defines for evenly splitting up a subsystem's time to fire 2017-04-17 13:50:22 -04:00
Cyberboss
0c5011934f Makes this use the right list 2017-04-17 13:37:43 -04:00
Cyberboss
72d0271f94 Normalizes how some lighting things GC 2017-04-17 13:15:39 -04:00
Cyberboss
8f2505f1a1 Micro optimization for handle_breathing 2017-04-17 12:02:44 -04:00
coiax
f30163b365 Configuration option for number of roundstart mice (#26133)
This was actually requested, because it turns out testing powernets is
hard if mice randomly chew wires sometimes.
2017-04-17 02:09:36 -06:00
Cyberboss
3c3f7d3b60 Refactors dbcon into a subsystem (#26134)
* Refactors dbcon into a subsystem

* Swear I got that already...
2017-04-17 15:18:17 +10:00
Cyberboss
944fd9463c Afk fixup (#26181)
* Fixes inactivity/afk semantics and config

* Fixes people in the lobby not getting afk kicked

* Bluh

* Fax

* Doy

* Yes
2017-04-15 13:11:03 -06:00
Kyle Spier-Swenson
d688553d4c Tweaks some procs in garbage to make profiling it better (#26210)
Having soft delete overhead and queued hard delete overhead merging in the profile was confusing me.
2017-04-15 10:37:42 -06:00
Cyberboss
bc72b2e288 Refactors dellogging into SSgarbage/Shutdown (#26135)
* Refactors dellogging into SSgarbage/Shutdown

* list
2017-04-13 16:22:56 -06:00
Kyle Spier-Swenson
11d504e93a Removes hacky see in darkness invisibility bullshit, uses planes. (#25931)
* Removes hacky see in darkness invisibility bullshit, uses planes.

Also removed the use of invisibility for ghosts of others, instead using override images.

Per client lighting visibility now has 4 levels, all on, all off, and two midways, this allows for things to be able to see in the dark while still being able to see what is dark and what has light, ghosts and aliens and other shit can cycle between all 4, other things were given one of the 3 values depending.

* Remove qdel global var search.

* Cleans up code, makes changing lighting/NV level easier.
2017-04-11 21:01:24 +12:00
oranges
240b6ab14c Merge pull request #25841 from Cyberboss/patch-8
Fixes throwing with low speeds
2017-04-11 20:59:27 +12:00
GunHog
801634c32f AI Deployment Fixes (#26036)
- Fixes deployed AIs not counting as active for auto shuttle calls.
- Fixes deployed clockwork AIs counting as unconverted.
- Fixes runtime when attempting undeploy a ghosted AI shell.
2017-04-10 18:06:19 -03:00
Cyberboss
709ec2da87 Fixes throwing at low speeds 2017-04-09 22:21:31 -04:00
Lzimann
d40760ad71 Fix conflicts 2017-04-07 09:12:36 -03:00
Lzimann
a2008ff8c6 Fixes stupid idea 2017-04-07 09:00:22 -03:00
Cyberboss
9e1ef0ffe2 Global variable wrappers (#25325)
* Add the system for managed global variables

* Travis ban old globals

* So you CAN inline proccall, that's neat

* Fix that

* master.dm

* Remove the hack procs

* Move InitGlobals to the proper spot

* configuration.dm

* Fix the missing pre-slash

* clockcult.dm

* This is probably for the best

* Doy

* Fix shit

* Rest of the DEFINES tree

* Fix

* Use global. for access

* Update find_references_in_globals

Always hated that proc

Whoever made it must've bee a r e a l idiot...

* __HELPERS tree

* Move global initialization to master.

Fix the declaration

* database.dm

* Dat newline

* I said DECLARATIVE order!

* Here's something you can chew on @Iamgoofball

* game_modes.dm

* Fix this

* genetics.dm

* flavor_misc.dm

* More stuff

* Do it mso's way. Keep the controllers as global

* Make master actually see it

* Fix

* Finish _globalvars/lists

* Finish the rest of the _globalvars tree

* This is weird

* Migrate the controllers

* SLOTH -> GLOB

* Lighting globals

* round_start_time -> ticker

* PAI card list -> pai SS

* record_id_num -> static

* Diseases list -> SSdisease

* More disease globals to the SS

* More disease stuff

* Emote list

* Better and better

* Bluh

* So much stuff

* Ahh

* Wires

* dview

* station_areas

* Teleportlocs

* blood_splatter_icons

* Stuff and such

* More stuff

* RAD IO

* More stuff and such

* Blob shit

* Changeling stuff

* Add "Balance" to changelogs

* Balance for changelog compiler + Auto Tagging

* Update the PR template

* hivemind_bank

* Bip

* sacrificed

* Good shit

* Better define

* More cult shit

* Devil shit

* Gang shit

* > borers

Fix shit

* Rename the define

* Nuke

* Objectives

* Sandbox

* Multiverse sword

* Announce systems

* Stuff and such

* TC con

* Airlock

* doppllllerrrrrr

* holopads

* Shut up byond you inconsistent fuck

* Sneaky fuck

* Burp

* Bip

* Fixnshit

* Port without regard

* askdlfjs;

* asdfjasoidojfi

* Protected globals and more

* SO MANY

* ajsimkvahsaoisd

* akfdsiaopwimfeoiwafaw

* gsdfigjosidjfgiosdg

* AHHHHHHHHHHHHHHHHHHHHHHH!!!!!

* facerolll

* ASDFASDFASDF

* Removes the unused parts of dmm_suite

* WIP

* Fix quote

* asdfjauwfnkjs

* afwlunhskjfda

* asfjlaiwuefhaf

* SO CLOSE

* wwwweeeeeewwwww

* agdgmoewranwg

* HOLY MOTHER OF FUCK AND THATS JUST HALF THE JOB?!?

* Fix syntax errors

* 100 errors

* Another 100

* So many...

* Ugh

* More shit

* kilme

* Stuuuuuufffff

* ajrgmrlshio;djfa;sdkl

* jkbhkhjbmjvjmh

* soi soi soi

* butt

* TODAY WE LEARNED THAT GLOBAL AND STATIC ARE THE EXACT SAME FUCKING THING

* lllllllllllllllllllllllllllllllllllllllllll

* afsdijfiawhnflnjhnwsdfs

* yugykihlugk,kj

* time to go

* STUFFF!!!

* AAAAAAAAAAAAAAAAAHHHHHHHHHHHHHHHHHHHHHHHHHHH!!!!!!!!!!!!!!!!!!!!!!!

* ngoaijdjlfkamsdlkf

* Break time

* aufjsdklfalsjfi

* CONTROL KAY AND PRAY

* IT COMPILEELEELELAKLJFKLDAFJLKFDJLADKJHFLJKAJGAHIEJALDFJ!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

* Goteem

* Fix testing mode

* This does not belong in this PR

* Convert it to a controller

* Eh, fuck this option

* Revert controllerization Ill do it some other time

* Fix

* Working controllerization

* FOR THE LOVE OF CHRIST PROTECT THE LOGS

* Protect admins and deadmins

* Use the inbuilt proc
2017-04-06 23:26:13 -06:00
Lzimann
3a20f37034 Fixes chaplains not being able to assign their deity/religion plus some minor refactor of the religion subsystem 2017-04-06 23:44:13 -03:00
Cyberboss
585fc0615d Sound tweaks (#25876)
* Port ai vox channel to new system

* Add playsound_direct

* Add pressure_affected parameter

* Channel allocation

* Default pressure_affected to FALSE for ps_direct

* Can't wait to get rid of this shitty fucking proc
2017-04-05 12:57:23 -06:00
Cyberboss
58b7ce61c8 Removes the unused parts of dmm_suite (#25875) 2017-04-05 10:38:40 -03:00
Cheridan
baa3bd8d95 Merge pull request #25771 from duncathan/reactiondatums
Gas Reaction Datums
2017-04-05 00:52:36 -05:00
Joan Lung
e524fd0e2c Merge pull request #25850 from Cyberboss/patch-18
Adds a missing flag to the Time tracking SS
2017-04-04 16:21:55 -04:00
Joan Lung
5032ecaa7c Merge pull request #25845 from Cyberboss/TimerLogging
Adds logging to help investigate timer issues
2017-04-04 16:21:17 -04:00
duncathan
d63eddd2ea debug improvements 2017-04-03 19:59:25 -06:00
Cyberboss
9c9673fe45 Adds a crash log and recovery for hanging SStimer 2017-04-03 19:47:42 -04:00
Lzimann
4ae03a8fb2 Merge branch 'master' of https://github.com/tgstation/-tg-station into jobcodereee 2017-04-03 18:28:53 -03:00
Cyberboss
08d5a5a386 Adds a missing flag to the Time tracking SS 2017-04-03 13:25:40 -04:00
Cyberboss
22fe5b12f1 Merge upstream 2017-04-02 22:27:22 -04:00
Lzimann
fa7f5e8338 Fixes spawning in the lobby with no job 2017-04-02 20:13:33 -03:00
Joan Lung
2a61b5ac81 Merge pull request #25776 from Cyberboss/patch-32
Fixes a shutdown runtime
2017-04-02 19:05:59 -04:00
Joan Lung
4a2e37e8d2 Merge pull request #25777 from Cyberboss/CohesiveVaredits
Edits to the titlescreen sync with SS
2017-04-02 19:05:37 -04:00
duncathan salt
a96bfebc68 Merge pull request #25738 from coiax/minor-time-tweaks
Minor changes to some time procs
2017-04-02 02:10:32 -06:00
Cyberboss
78ee754da3 Merge upstream 2017-04-01 23:38:37 -04:00
Cyberboss
578d347b40 Edits to the titlescreen sync with SS 2017-04-01 18:46:23 -04:00
Cyberboss
ee8fc197a7 Fixes a shutdown runtime 2017-04-01 18:42:34 -04:00