Commit Graph

349 Commits

Author SHA1 Message Date
Intigracy
3145827b03 kills FEA 2015-09-18 10:59:39 -07:00
D3athrow
57c8aa2d22 Merge branch Bleeding-Edge into snowflake_the_world
Conflicts:
	code/game/objects/effects/overlays.dm
	code/modules/projectiles/projectile.dm
	code/modules/projectiles/projectile/beams.dm
2015-08-25 04:18:02 -05:00
D3athrow
fe87e72210 watafak 2015-08-16 16:21:41 -05:00
PJB3005
9d7ff729b6 Atom locking 2015-08-15 15:06:04 +02:00
D3athrow
a7de1cc9fb not necessarily needed and poses a performance issue. 2015-08-14 21:32:05 -05:00
D3athrow
6570cdb5b2 slips for days johnny 2015-08-13 14:27:51 -05:00
clusterfack
6382437a63 Jaunt fix + airflow fix
Jaunt with a low enough cooldown would allow you to double cast jaunt making it flip the fuck out, so instead your spells are now silenced during jaunt. Your click and attack delayers as a jaunter are now delayed until the end of the jaunting session.

Airflow now checks for flags & invulnerable, which is the flag that is meant to prevent effects from occurring to that atom. This should fix an issue I've been seeing since hellish ZAS was recently turned on from virtualhearers and jaunters being blown into things.

Also fixed another reported bug that huds would report on invisible people, they lacked the see_invisible check that mechs had.
2015-07-26 03:09:17 -05:00
PJB3005
3bc5d86263 LIGHTING IS BACK.
AND A SHITLOAD FASTER.

SANIC.
2015-07-21 14:16:27 +02:00
D3athrow
d59f6a07b0 comment out panicwriter and saytesting 2015-07-20 16:04:48 -05:00
D3athrow
7a3ff4efc3 THE LIGHTING IS DEAD, LONG LIVE DAL 2015-07-18 23:05:18 -05:00
D3athrow
41d7df01fd just fuck my shit up 2015-07-18 02:30:51 -05:00
D3athrow
cea4e4e00c break everything again, scheck and other loop sleeps now sleep for a proper 10th of a second instead of just 1 tick at whatever FPS. Throw some scheck like calls in the zas ticker. 2015-06-15 15:13:24 -05:00
PJB3005
ae7ab25539 BAY LIGHTING PEOPLE 2015-06-06 22:15:21 +02:00
clusterfack
5a5db5b898 Uncomment fire_act
For funsies
2015-05-14 05:03:00 -05:00
d3athrow
ff8530d695 Merge pull request #4405 from clusterfack/IN_WORLD
IN WORLD
2015-05-12 03:20:19 -05:00
clusterfack
e053bd704c IN WORLD
Removes a bunch of in worlds from the code.
Deity please stop adding more it wounds me.
2015-05-12 02:13:48 -05:00
D3athrow
9c21244617 REVERT GAS DATUMS UNTIL COMIC FIXES THE PERFORMANCE ISSUES: PLEASE WORK ON THE GASDATUMS BRANCH https://github.com/d3athrow/vgstation13/tree/gasdatums in the mean time. 2015-05-10 22:55:46 -05:00
D3athrow
5c2ac61d73 no dividing by zero man 2015-05-10 01:25:30 -05:00
ComicIronic
e228853ea1 Edits erroneous arg removal. 2015-05-09 18:46:59 +01:00
ComicIronic
1d0c272f4a Fixes as many instances of not using set_volume, set_temperature, and the proper adjust_gas args as I could find. 2015-05-09 18:46:58 +01:00
ComicIronic
b2a2a2bd4b Fixes heat_capacity 2015-05-09 18:46:57 +01:00
clusterfack
a2510da180 Fixes heat capacity issue 2015-05-09 18:46:57 +01:00
ComicIronic
b999fba045 Replaced some manual values with set_volume() and set_temperature() 2015-05-09 18:44:30 +01:00
ComicIronic
c1a58dc3c3 Gas math stripping
Removed update_values(). RIP, shine on you CPU diamond.
Removed get_moles_by_id and get_archived_moles_by_id, all moles are now accessed directly to reduce call cost.
Added set_temperature and set_volume procs which recalc pressure when temperature or pressure change.
Heat_capacity is now a var updated when gases update.
Modified adjust_gas to use set_gas, modified set_gas to alter heat_capacity, total_moles, and pressure as needed.
2015-05-09 18:43:24 +01:00
ririchiyo
0c75cda8d2 Merge pull request #4304 from ComicIronic/GasDatums2
update_values speedup changes
2015-05-05 15:03:34 -04:00
ComicIronic
7700b33505 update_values speedup changes
Less datum accessing and fetching and whatnot should speed it up a lot.
get_gas_fuel() and get_gas_oxidiser() have been reverted to slightly older behaviour.
Can't say this will definitely massively reduce CPU, but it will make it significantly faster since get_gas_fuel and get_gas_oxidiser weren't nearly as called as I thought they were.
2015-05-05 18:00:02 +01:00
D3athrow
920d05c9e0 Lots of runtime fixes 2015-05-04 20:38:51 -05:00
ComicIronic
4d432e5240 Gas Datums
Moved gas_mixture gas numbers to a list which is connected to a global gas_datum list, like with reagents.
Modified some maths procs to be more sane, added adjust_gas and set_gas to help with processing.
Added a modular system for gas flags - gases can now be marked as fuel and oxidiser with a flag, logged with a flag, scanned with a flag, etc.
Changed scrubbers to use a list of scrubbing gases rather than a set of vars.
Made miners and xenoarch effects more sensible - they now produce gas by ID, not manually.
Made turfs' starting gases into a list, removed turf gas number vars.
2015-05-04 10:36:04 +01:00
eswordthecat
489ea17ce2 Fixes issue with stripping <aa<bb>cc> outputting cc> instead nothing. 2015-04-18 21:39:12 +08:00
D3athrow
9c2b08c24e even more 2015-04-14 21:11:54 -05:00
D3athrow
fdf8b918aa Another regex pass
<span class='warning'><b> -> <span class='danger'>
2015-04-14 21:11:54 -05:00
D3athrow
01d2471fc9 Merge branch 'color_replace_2_electric_boogaloo' into Bleeding-Edge
Conflicts:
	code/ATMOSPHERICS/pipe/pipe_dispenser.dm
	code/game/machinery/computer/HolodeckControl.dm
	code/game/machinery/embedded_controller/embedded_controller_base.dm
	code/modules/mining/money_bag.dm
	code/modules/mob/living/carbon/carbon.dm
	code/modules/mob/living/silicon/mommi/mommi.dm
	code/modules/mob/living/simple_animal/friendly/farm_animals.dm
	code/modules/research/destructive_analyzer.dm
	code/modules/research/rdconsole.dm
	code/modules/research/xenoarchaeology/machinery/analysis_base.dm
	code/modules/research/xenoarchaeology/machinery/artifact_harvester.dm
	code/modules/research/xenoarchaeology/tools/ano_device_battery.dm
2015-04-12 16:40:59 -05:00
D3athrow
4fad74d811 yahar should fix being sucked or blown away from a zone you're nowhere near anymore. 2015-03-09 22:48:41 -05:00
dylanstrategie
4b101e38a6 Moving catwalks from turf to obj
Major code improvement that has been long overdue. The changes have been
thoroughly tested and everything appears to be working fine

- Move catwalks from turf/[retarded path]/catwalk to
obj/structure/catwalk. A dm file has been added to that effect
- Remove iscatwalk() helper check (not needed for an obj/)
- Lattice code has been used -to great effect- to recode catwalks. No
more hardcored nonsense to "make it like there's a space tile
underneath", now there IS space underneath. This should also fix trace
gas problems often witnessed during Derelict plasma floods
- Use relativewall method. There should have been no functional changes.
Catwalks update when new catwalks are added (not when surrounding
catwalks are destroyed, but it still seems logical)
- Add a in-house ex_act system to boot (to compensate for the fact
catwalks no longer use floor's ex_act). The catwalk is either destroyed,
replaced with lattice (add lattice at location, delete catwalk) or
unscathed
- Remove a lot of spaghetti code that has creeped up into ZAS/Atmos
systems and even into tile painter code since catwalks no longer run ZAS
loops and aren't considered turfs anymore
- All maps have been updated to the new catwalk system (otherwise the
map doesn't load, duh)
- Bit of spaghetti code in cable.dm (both item and structure) since
until then cable was NEVER laid on "objects". Works as intended
- Space has been changed to intact = 0. There's no reason for space to
be "intact" because there is only one version of space tiles, and it
fucks with wire placement

Confirmed working :

- Space automatically appears under the tile, catwalks tiles thus act
100 % like space tiles without hardcoding
- Construction and deconstruction works flawlessly. You do need to
precisely click the catwalk grating to deconstruct since the obj/
catwalk uses transparency correctly, but lo and behold, it's a feature
- Explosions function as intended when targetting catwalks (lots of hole
at the center, pepperoni at a distance)
- Cable-related stuff working (laying cable on catwalk, having cable on
catwalks in general)
- Boxstation, Defficiency and Metaclub updated
- Include list updated

Everything should be functional and was tested, but please outline
anything that looks like it'd work badly
2015-03-09 20:11:57 +01:00
eswordthecat
3cc28d4f67 SPANSSSS 2015-03-06 08:50:49 +08:00
eswordthecat
f21be579e5 Clamps clamps. 2015-03-06 08:39:28 +08:00
d3athrow
2f2a6ef56d Merge pull request #3047 from ComicIronic/StepAction
Removes the STOPSPRESSUREDMG flag
2015-02-16 11:19:17 -06:00
ComicIronic
52861b41d2 Removes the STOPSPRESSUREDMG flag.
Replaced it with use of the atom-level var pressure_resistance.
Engineering, deathsquid, and ERT hardsuits now resist up to 20MPa of pressure, security and medical 4MPa, and soft suits 0.5MPa.
Pressure protection can now also come from items equipped in slots other than the head or suit.
2015-02-16 11:18:30 +00:00
D3athrow
17cf4429e7 Funtime fix. 2015-02-15 23:57:14 -06:00
D3athrow
5188db01d0 Should fix #403 2015-02-15 20:08:32 -06:00
D3athrow
e11f20bc78 dont tell chase, this is needlessly complex of a settings setup for one system, change idfrompath to just storing the list ID as text version of the datum path, should cut down on a lot of strpos calls. 2015-02-14 18:25:38 -06:00
D3athrow
e7abb98700 sanity ahoy 2015-02-02 20:17:33 -06:00
D3athrow
95a228e91c Suck my dick anonymous 2015-02-02 09:21:06 -06:00
D3athrow
cd34a3eb07 Stupid sexy plasma fires
remove slagging
2015-02-01 02:38:12 -06:00
D3athrow
89636b0eb7 Some movement and pull tweaks pulled from TG. 2015-01-26 03:07:53 -06:00
ComicIronic
21c415ad17 Merge conflicts and flags. 2015-01-20 22:34:26 +00:00
D3athrow
f7b08339a1 Fix stuff doing the slamjam thank you maam even if zas didnt throw a thing. 2015-01-15 18:40:24 -06:00
ComicIronic
54f206f23b Flag fixing, unstaging some files. 2015-01-11 15:54:11 +00:00
ComicIronic
0b982125cf Face part flag changes.
Removed the HEADCOVERSEYES, MASKCOVERSEYES, GLASSESCOVERSEYES, HEADCOVERSMOUTH, and MASKCOVERSMOUTH flags.
Added the EYES, EARS, and MOUTH flags for body_parts_covered.
Added a proc for getting the item giving a flag, instead of just checking that it's there.
Made borers check for the EARS flag, instead of using HIDEEARS.

Next on the chopping block is BLOCKHAIR and BLOCKHEADHAIR, which are going to be shoved into flags_inv.
2015-01-11 15:22:02 +00:00
Rob Nelson
f1cadf6ef1 Mob movement/attack/click/special delay rework
This code was just a big fucking mess.  Happy motherfucking 2015.

 * Delay procs and variables replaced with a standardized delayer framework.
 * Cleaned up the absolutely fucking atrocious fix_next_move() diagnostic verb.
 * Added the ability to adjust minimum and maximum delay clamps per-mob for adminbus purposes and future features.
   * USECASE: Fat people cannot attack as fast (not implemented)

Tested somewhat by smacking a window with a crowbar.  Movespeeds also don't seem insane, either.
2015-01-01 03:21:23 -08:00