Miscellaneous Tweaks (#1720)

changes:

Refactored footstep sounds to use less operations & only calculate for human-types.
Improved the logging detail of the lighting profiler.
Fixed some shuttle corners that weren't correctly working with parallax space.
Converted get_turf() into a compiler macro.
Solars are now dynamically lit.
Silenced warning from lighting overlays pooling themselves when updated on a space tile.
Fixed a bug where securing a girder was instant when it was supposed to have a delay.
This commit is contained in:
Lohikar
2017-02-07 10:46:39 -06:00
committed by skull132
parent ed6dbee896
commit bc441ab9d6
20 changed files with 122 additions and 77 deletions

View File

@@ -2,16 +2,17 @@
-- They are not needed for normal server operation.
CREATE TABLE `ss13dbg_lighting` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`time` INT(11) NULL DEFAULT NULL COMMENT 'World time (in ticks)',
`type` VARCHAR(32) NULL DEFAULT NULL COMMENT 'The type of the update.',
`name` VARCHAR(50) NULL DEFAULT NULL COMMENT 'The callee\'s name.',
`loc_name` VARCHAR(50) NULL DEFAULT NULL COMMENT 'The callee\'s location.',
`id` INT(11) UNSIGNED NOT NULL AUTO_INCREMENT,
`time` INT(11) UNSIGNED NULL DEFAULT NULL COMMENT 'World time (in ticks)',
`tick_usage` DOUBLE UNSIGNED NULL DEFAULT NULL,
`type` VARCHAR(32) NULL DEFAULT NULL COMMENT 'The type of the update.' COLLATE 'latin1_bin',
`name` VARCHAR(50) NULL DEFAULT NULL COMMENT 'The callee\'s name.' COLLATE 'latin1_bin',
`loc_name` VARCHAR(50) NULL DEFAULT NULL COMMENT 'The callee\'s location.' COLLATE 'latin1_bin',
`x` SMALLINT(6) NULL DEFAULT NULL,
`y` SMALLINT(6) NULL DEFAULT NULL,
`z` SMALLINT(6) NULL DEFAULT NULL,
PRIMARY KEY (`id`)
)
COLLATE='utf8_general_ci'
COLLATE='latin1_bin'
ENGINE=MEMORY
ROW_FORMAT=FIXED;