Bleeding edgy refresh (#303)

* not code stuff

* other things

* global vars, defines, helpers

* onclick hud stuff, orphans, world.dm

* controllers and datums

* game folder

* everything not client/mobs in modules

* client folder

* stage 1 mob stuff

* simple animal things

* silicons

* carbon things

* ayylmaos and monkeys

* hyoomahn

* icons n shit

* sprite fixes

* compile fixes

* some fixes I cherrypicked.

* qdel fixes

* forgot brain refractors
This commit is contained in:
Poojawa
2017-03-21 11:44:10 -05:00
committed by GitHub
parent 099a6c8764
commit f67e9f6d87
1476 changed files with 344416 additions and 40694 deletions
+9 -7
View File
@@ -1,12 +1,13 @@
/proc/create_all_lighting_overlays()
/proc/create_all_lighting_objects()
for (var/zlevel = 1 to world.maxz)
create_lighting_overlays_zlevel(zlevel)
create_lighting_objects_zlevel(zlevel)
/proc/create_lighting_overlays_zlevel(var/zlevel)
/proc/create_lighting_objects_zlevel(zlevel)
ASSERT(zlevel)
for (var/turf/T in block(locate(1, 1, zlevel), locate(world.maxx, world.maxy, zlevel)))
var/turf/T
var/thing
for (thing in block(locate(1, 1, zlevel), locate(world.maxx, world.maxy, zlevel)))
T = thing
if (!IS_DYNAMIC_LIGHTING(T))
continue
@@ -14,4 +15,5 @@
if (!IS_DYNAMIC_LIGHTING(A))
continue
PoolOrNew(/atom/movable/lighting_overlay, list(T, TRUE))
new/atom/movable/lighting_object(T, TRUE)
CHECK_TICK