Commit Graph

11 Commits

Author SHA1 Message Date
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
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
Kyle Spier-Swenson
99002e25a3 Fixes lighting of pixel shifted objects and reverts the hacky memleak fix + other lighting fixes (#24963)
* Revert "Lighting micro optimizations and fixes (#24939)"

This reverts commit 78bbbfe20a.

* vg refactor stage 1

* Fix runtime in get_turf_pixel

* fix lighting on turfs

* Fix certain things reading light levels wrong.

* Made SS faster/better by making it split its tick allotment up between it's 3 tasks

* istypeless loops @pjb3005

/proc/typed_loop    6.826        6.830        6.858       190761
/proc/typeless_loop 5.582        5.586        5.620       190435

* lazy init lists
2017-03-14 19:27:23 +01:00
Cyberboss
bc5b6298e3 Fixes lighting SS init lag 2017-03-05 15:12:26 -05:00
PJB3005
3c8b98a3aa 9/11 2017-02-08 15:07:58 +01:00
PJB3005
d0a574ff21 [airplane noises] 2017-01-17 23:32:30 +01:00
PJB3005
e2386a8bd8 Have some code 2017-01-17 22:54:05 +01:00
PJB3005
7356e80484 hey that should be everything except making it compile. 2017-01-17 22:08:27 +01:00