Commit Graph

124 Commits

Author SHA1 Message Date
oranges
9b0af3cf94 Merge pull request #41459 from ShizCalev/error-data-corruption
Fixes a bunch of missing symbols
2018-11-14 18:43:22 +01:00
ShizCalev
c54369cc15 Makes flashes, & flashbangs flash (#40357)
* Makes flashes & flashbangs flash

* cleanup / badminnery feature

* Added cameras
2018-09-21 10:36:28 +01:00
ShizCalev
9b277f0354 Bloodcult Stun Spell Tweaks (#40328)
* Cult Stun Spell Tweaks

Updated to use anti_magic_check instead of a nullrod check.

Corrected the stun message showing if the target is immune to the effect.

Added some visual effects (an actual red flash), and a "holy bubble" around the person if they're immune to the effect.

https://i.imgur.com/wd77s8w.gifv

Closes #40285

* Refactor, added mob_light helper
2018-09-19 15:30:28 +01:00
81Denton
efeab2b4fb Fixes stack_trace typo (#40119) 2018-09-05 17:50:17 +01:00
AnturK
fa3dbf3b15 Fixes light property vv (#39895) 2018-08-24 18:05:42 +01:00
Jordan Brown
82a7b609b8 Merge pull request #38605 from vuonojenmustaturska/tinylight
Micro-optimization to update_corners()
2018-06-20 15:24:17 +01:00
Tad Hardesty
10e0fa2560 Merge pull request #38287 from ninjanomnom/signal-define
Use a define to speed up sending signals to datums with no signals
2018-06-15 12:40:41 +01:00
Cruix
4b4fd682ed AI Multicamera mode (#37695)
* Added multicamera mode for AIs

* Minor multicamera fixes

* Cameras near an AI multicamera eye now light up red

* Disabled AI multicamera mode without admin intervention

* Fixed AIs being able to use multicamera mode when they should not
2018-05-31 11:45:54 +02:00
kevinz000
908ba3a37e Shuffle Exited call to after loc is actually changed in forceMove (#38022)
Fixes storage forcing everything to mouse opacity fulltile
2018-05-25 08:08:34 +01:00
AnturK
c9db43628d Removes /related area variable. (#37173)
* Removes /related area variable.

* area_contents begone

* doorstuff
2018-04-14 10:45:43 +01:00
vuonojenmustaturska
f54526cc57 Lighting fix 2018-01-26 20:26:52 +02:00
Emmett Gaines
25080ff2c4 defines math (#33498) 2017-12-17 11:02:11 -05:00
vuonojenmustaturska
de51ac3667 Player Z-tracking, again (#33216)
* Player Z-tracking, again

* requested changes

* shuttle changes

* a fix

* vending

* honk

* brainstuff take 1

* Honk

* adminspam into testing def

* remove rebase artifact
2017-12-14 18:35:30 -05:00
Emmett Gaines
7c69cdcb8a Revert math (#33059)
* Revert "all this wrapping and it's not even christmas (#33035)"

This reverts commit faaf151580.

* Revert "fuck me for forgetting to graph this one"

This reverts commit 45d7acea2f.

* Revert "defines math"

This reverts commit 2817a1737b.
2017-11-23 20:59:52 -05:00
ninjanomnom
2817a1737b defines math 2017-11-22 17:36:58 -05:00
ShizCalev
8eafaccc88 Cleans up unused code 2017-11-20 00:03:33 -05:00
Kyle Spier-Swenson
12a82618da Remove some unneeded null checks in lighting
These weren't needed, and ran thousands of times per second during high lighting activity, and were pretty high up in the line by line profile of lighting for what was basically a noop.
2017-10-26 15:21:00 -07:00
Kyle Spier-Swenson
7cda369642 Fixes light source qdel issues. 2017-10-25 23:33:52 -05:00
vuonojenmustaturska
673abab94e Small lighting perf tweak (#31635)
* lightshit

* Revert "lightshit"

This reverts commit 25a1b6e4a104546c6393d3c472c0412f7580fe96.

* bfghsfg

* kreegah

* honk
2017-10-13 15:29:50 -06:00
Emmett Gaines
456cd10d94 Radiation rework and subsystem (#30909)
* radiation rework and subsystem

* moves a few things to initialize and adds radiation insulation

* adds a radiation contamination mechanic and makes requested changes

I'm terrified by the possibilities from this

* radiated objects give off light

and hopefuly contamination is balanced

* fixes runtimes and an mc crash kek

removed the lighting part of contaminated objects
attempted some more balancing

* Collectors output power in process() gradualy

And some more balancing tweaks

* Excludes a bunch of things from becoming radioactive

* Ready for testmerge balancing

* Inverse square law was swapped

* testmerge balancing

fixes the geiger counter
buffs collector power gen
nerfs sm radiation
slightly buffs rad insulation
nerfs rad damage (and its burn)
raised the minimum radiation

* disabling the radiation subsystem won't build up rad wave datums forever

* rewrites how mobs handle radiation

upgrades geiger counter functionality
and more balance tweaks

* cleans up stuff and removes debug message

* Slight contamination buff

* Major rad wave performance boost

Also improves rad insulation
Buffs contamination, again

* Fixes insulation runtime

More balance and performance tweaks

* fixes rad collectors not receiving power

* The final balance commit

Fixes a major bug causing radiation to underperform
More geiger counter changes that will be changed more to add sounds

* Monkey business

* Geiger counter sounds

* cleanup and move components to their own initialize

* Some code cleanup

And forgotten changes

* Cleans up some trailing returns

* Mapping changes
2017-10-13 10:22:00 -04:00
Kyle Spier-Swenson
f860464b62 Fixes lighting hard deleting (#30684) 2017-09-14 12:20:28 +02:00
oranges
a5cff9b73d Merge pull request #30631 from AnturK/literallyfasterthanlight
Fixes shuttle lighting issues
2017-09-13 08:10:26 +10:00
Jordan Brown
9b73bc75d5 Removes GLOB.all_lighting_objects 2017-09-12 16:53:31 -05:00
AnturK
b2def77bf6 Fixes shuttle lighting issues 2017-09-11 20:14:36 +02:00
Jordan Brown
dce49b6caf Adds defines for mouse_opacity 2017-08-14 11:18:22 -04:00
Jordan Brown
a7be74fec8 Merges the two turf/Entereds 2017-08-10 09:59:23 -04:00
oranges
5705e571de Combine the two changeturf procs into one
less confusion, this byond misfeature continues to cause issues, in this
case it was a runtime because it didn't have all the arguments the
parent had
2017-08-01 02:12:20 +00: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
nicbn
77a2d3f5cd Replaces "istype"s with is_helpers macros (#28676) 2017-06-22 15:03:19 -03:00
Jordan Brown
0c22596eca Fix some things assuming lighting corners existed (#28511) 2017-06-17 12:03:10 -03:00
MrStonedOne
52b98599de Fixes nested lights not working properly 2017-05-08 14:16:46 -07:00
MrStonedOne
ac3cfcb4b1 >forgetting that REMOVE_EFFECT needs effect_str 2017-05-08 10:54:32 -07:00
MrStonedOne
9cc6a335e3 last one I swear mom! 2017-05-07 13:52:36 -07:00
MrStonedOne
8762d79fbe Clearly the coffee hasn't kicked in yet 2017-05-07 13:15:48 -07:00
MrStonedOne
ce7878d7b9 Fixes a bug in processing lights of deleted atoms. 2017-05-07 12:40:52 -07:00
MrStonedOne
bd720fff96 Fixes light/lum counts getting fucked up when turfs changed 2017-05-07 12:38:42 -07:00
MrStonedOne
d062967a75 Fix starlight 2017-05-06 21:54:55 -07:00
MrStonedOne
72652a536c Copy/paste fail 2017-05-06 21:31:44 -07:00
MrStonedOne
b0c4bf7ec1 Some more improvments, removed dview.
This *seems* to be a decent speed up just in the appearent time it takes break all lights to process, and dview wasn't really needed here.

Minor oddies can occur on bigger lights near their edges, but not enough to justify the extra cost.
2017-05-06 17:46:20 -07:00
MrStonedOne
f1f53a10cc Missed a spot
Lighting_corners should now nolonger have an init proc
2017-05-06 02:11:15 -07:00
MrStonedOne
dd53bb5be3 Does the remie 2017-05-06 02:07:38 -07:00
MrStonedOne
2ed266d506 More /vg/lighting tweaks
Rather then remove the light from all tiles, then re-add the light to all tiles, we just go thru each tile and diff the light level from the last value we added to it. (since this is tracked)
This cut the proc calls for updating lights in half.

Lighting objects now default to full brite rather then full dark so shuttles aren't as immersion breaking when they transit.

Made lighting more agressive about clearing empty lists.
2017-05-06 01:50:19 -07:00
Cyberboss
df0814c66a Fixes some areas having no lighting (#26495)
* Fixes some areas having no lighting

* FUCK
2017-04-23 12:21:56 -04:00
Leo
c91ff0e35a Merge pull request #26284 from AnturK/ilookedatstacktraceabyssanditlookedback
Fixes DVIEW runtimes in preferences.
2017-04-20 08:02:37 -03: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
Cyberboss
58e2bc01d6 Fix 2017-04-17 14:02:45 -04:00
Cyberboss
c64a489378 Remove more datum accesses 2017-04-17 13:37:09 -04:00
Cyberboss
950e4b663a Speeds up lighting initialization 2017-04-17 13:24:27 -04:00
Cyberboss
72d0271f94 Normalizes how some lighting things GC 2017-04-17 13:15:39 -04:00
AnturK
b814e36883 Fixes DVIEW runtimes in preferences. 2017-04-17 00:10:01 +02:00