commit 5ab47a85f7
Author: duncathan <dunc2403@dunc2403.com>
Date: Sat Aug 29 03:29:23 2015 -0600
disables TESTING; it should not be enabled by default
commit 2cc7226ea8
Author: duncathan <dunc2403@dunc2403.com>
Date: Sat Aug 29 03:27:55 2015 -0600
adds ways to check references while qdel'ing; removes redundant compile option
commit 4409db7f0b
Author: duncathan <dunc2403@dunc2403.com>
Date: Sat Aug 29 00:19:25 2015 -0600
makes the game compile if TESTING is defined in compile options
commit e11befbbfa
Merge: 22ffbca20ba307
Author: Cheridan <derpheim@yahoo.com>
Date: Fri Aug 28 07:20:03 2015 -0500
Merge pull request #11356 from Aranclanos/listnull
Fixes the brand intelligence event not triggering the uprising under …
commit 22ffbca5a2
Author: sybil-tgstation13 <sybil@tgstation13.org>
Date: Fri Aug 28 05:43:08 2015 +0000
Automatic changelog compile
commit d824f7b35f
Merge: 7f0f74f3737234
Author: Cheridan <derpheim@yahoo.com>
Date: Fri Aug 28 00:21:23 2015 -0500
Merge pull request #11382 from Ergovisavi/bot_swarm
Adds "Swarmers" - Simple mob side antagonist
commit 3737234b9c
Merge: 9572bd6ba1a268
Author: Ergovisavi <rtothev@gmail.com>
Date: Tue Aug 25 05:48:37 2015 -0700
-Adds swarmer as a language, makes them only able to speak to each other
-Fixes a few structures/machines taking non brute/burn damage from attack_animal
-Adjusts girders to be a little less resistant to explosions
-Span classes all the swarmer messages, bumps their health up to 40
-Adds ability for swarmers to dismantle machines and disable cameras. Some are obviously protected.
commit 7f0f74f100
Merge: d8f8f896ab2443
Author: Cheridan <derpheim@yahoo.com>
Date: Thu Aug 27 23:53:58 2015 -0500
Merge pull request #11380 from bgobandit/salicyclicassblastusa
Fixes burn kits containing salicyclic acid pills. Adds new burn medication.
commit d8f8f89203
Merge: 68002be460c2c2
Author: Cheridan <derpheim@yahoo.com>
Date: Thu Aug 27 23:46:57 2015 -0500
Merge pull request #11386 from Aranclanos/rapiddupe
Fixes the admin message not appearing under certain conditions when t…
commit 68002bed99
Merge: eebbed3d27a736
Author: Cheridan <derpheim@yahoo.com>
Date: Thu Aug 27 16:50:33 2015 -0500
Merge pull request #11315 from CorruptComputer/why
Removes dmm2tgm from map merger
commit eebbed3a6b
Merge: 1769bc23749dca
Author: Cheridan <derpheim@yahoo.com>
Date: Thu Aug 27 12:10:40 2015 -0500
Merge pull request #11405 from Aranclanos/floortilesfirst
Floor re-organization step 1
commit 1769bc2f8d
Merge: d7eca4f20023f7
Author: Cheridan <derpheim@yahoo.com>
Date: Thu Aug 27 12:06:28 2015 -0500
Merge pull request #11104 from phil235/BuckleMulebot
Mob buckled to mulebots
commit d7eca4f327
Merge: be6cc6a90f54ba
Author: Cheridan <derpheim@yahoo.com>
Date: Thu Aug 27 01:00:01 2015 -0500
Merge pull request #11340 from phil235/CoinFlipThrowFix
Fixes the do_after progress bar appearing on a coin when flipping+throwing it
commit be6cc6adf9
Merge: 9c9bf4ad211992
Author: Cheridan <derpheim@yahoo.com>
Date: Thu Aug 27 00:48:54 2015 -0500
Merge pull request #11392 from phil235/SinguloCableNetRebuildFix
An attempt to reduce singulo lag from power wires destruction. 2nd attempt.
commit 9c9bf4a858
Merge: 3278a396277a80
Author: Aranclanos <aranclanos@hotmail.com>
Date: Thu Aug 27 01:06:03 2015 -0300
Merge pull request #11393 from Ergovisavi/has_wumbo_gone_too_far
Fixes infinite wumbo-ing
commit 3278a3926b
Merge: 38e6a091f37141
Author: Cheridan <derpheim@yahoo.com>
Date: Wed Aug 26 07:52:31 2015 -0500
Merge pull request #11358 from phil235/XenoFeatures1
Facehugger inhands, xeno tweaks, and monkey bugfixes
commit 3749dcacb3
Author: Aranclanos <aranclanos@hotmail.com>
Date: Wed Aug 26 06:47:27 2015 -0300
Creates type paths for all types of floors in floor.dmi, first step for the floor organization.
commit 38e6a09cf9
Merge: 4f1a3df9cfb246
Author: Aranclanos <aranclanos@hotmail.com>
Date: Wed Aug 26 06:27:31 2015 -0300
Merge pull request #11351 from Core0verload/nodirt
Removes dirt from walking on tiles
commit 6277a80cdb
Author: Ergovisavi <rtothev@gmail.com>
Date: Tue Aug 25 14:02:48 2015 -0700
-Fixes infinite wumbo-ing
commit d211992ddc
Author: phil235 <antoine_hernandez62@hotmail.fr>
Date: Tue Aug 25 20:22:30 2015 +0200
Make it so the code doesn't rebuild (propagate_network()) the wire network X times when singulo/explosion destroys a line of X cables at once.
commit 6ab2443255
Author: bgobandit <bandit@mailinator.com>
Date: Tue Aug 25 13:46:05 2015 -0400
Adds oxandrolone, a new burn medication designed to work upon ingestion. Adds oxandrolone to burn kits. Adds changelog.
commit 9572bd6aa6
Author: Ergovisavi <rtothev@gmail.com>
Date: Tue Aug 25 03:24:34 2015 -0700
-First revision of Swarmer mob, hud, icons, etc
-Adds functionality of ignored damage types to simple mobs
-Adds functionality of melee damage types to simple mobs
commit 460c2c290c
Author: Aranclanos <aranclanos@hotmail.com>
Date: Tue Aug 25 05:31:02 2015 -0300
Fixes the admin message not appearing under certain conditions when the rapid dupe experimentator relic is used.
All objects from said relic will spawn at the same time now.
commit 2c56462e97
Author: bgobandit <bandit@mailinator.com>
Date: Mon Aug 24 22:45:37 2015 -0400
I sure do love me some copypasta
commit 132adf3f00
Author: bgobandit <bandit@mailinator.com>
Date: Mon Aug 24 21:45:18 2015 -0400
adds silver sulf syringes instead of kelotane pills
commit ce8722b868
Author: bgobandit <bandit@mailinator.com>
Date: Mon Aug 24 21:36:50 2015 -0400
Fixes burn kits containing salicyclic acid pills.
commit 1f37141b8b
Author: phil235 <antoine_hernandez62@hotmail.fr>
Date: Mon Aug 24 22:53:45 2015 +0200
Alien humanoids and monkeys can now use "me".
Alien hivemind chat now uses <span class='alien'> (dark purple). Also the alien queen name now appears bigger in the hivemind chat.
commit 5cecd7e9fe
Author: phil235 <antoine_hernandez62@hotmail.fr>
Date: Mon Aug 24 19:54:51 2015 +0200
Simplifies plasmavessel/on_life() a bit, and make xeno on weeds also heal clone damage.
commit cb1cd5b1e7
Author: phil235 <antoine_hernandez62@hotmail.fr>
Date: Mon Aug 24 17:07:09 2015 +0200
Monkey and aliens now all use carbon/examine().
Fixes monkeys being able to strip and uncuff people while handcuffed themselves.
Add an inhand sprite for facehuggers (taken from Xhuis) (but they don't appear for large queens, it'd look ugly).
Xenos now regenerate plasma on alien weed even when injured but at half the normal rate.
Moved queen/large/update_icons() to humanoid/update_icons.dm
commit 20ba3071ed
Author: Aranclanos <aranclanos@hotmail.com>
Date: Mon Aug 24 07:52:54 2015 -0300
Fixes the brand intelligence event not triggering the uprising under certain conditions.
Adds a new proc for the list helpers, removeNullsFromList() It does what it says.
commit 9cfb246e4f
Author: c0 <Core0verload@users.noreply.github.com>
Date: Mon Aug 24 11:33:52 2015 +0300
Removes dirt from walking on tiles
commit 20023f79d7
Author: phil235 <antoine_hernandez62@hotmail.fr>
Date: Sun Aug 23 21:39:22 2015 +0200
Mobs buckled to mulebots now pass through plastic flaps.
All ventcrawler and tiny sized mobs also pass through them now.
commit 27b7e3b6f6
Author: phil235 <antoine_hernandez62@hotmail.fr>
Date: Sun Aug 23 20:55:41 2015 +0200
Beds no longer use this trick in Move() so neither should the mulebot.
commit 90f54ba95c
Author: phil235 <antoine_hernandez62@hotmail.fr>
Date: Sun Aug 23 19:34:09 2015 +0200
Fixes the do_after progress bar appearing on a coin when flipping+throwing it.
commit d27a736f7e
Author: CorruptComputer <NGupton98@gmail.com>
Date: Fri Aug 21 16:57:27 2015 -0500
Fixes#11301
commit e16c03f010
Author: phil235 <antoine_hernandez62@hotmail.fr>
Date: Sat Aug 8 22:10:25 2015 +0200
woops, now buckling succeeds if you are on the mulebot's turf.
commit 1c51550559
Author: phil235 <antoine_hernandez62@hotmail.fr>
Date: Sat Aug 8 21:43:30 2015 +0200
Changes how mulebots handle loading mobs. It now buckles them to the bot.
You can no longer load objects containing mobs or with mobs buckled to them.
You can no longer pass through plastic flaps by getting on a mulebot.
Some simplification in mulebot code (buzzing sound code)
Loading is now instantaneous and the mode BOT_LOADING is removed.
The mulebot can no longer do certain stuff while off.
Removing unneeded comments.
Fixes mulebot loading/unloading being possible through border windows.
Fixes mulebot not dropping its loaded cargo when qdel'd (wasn't a problem for explosion but for alien acid for example)
Misc:
+Fixes unreported issue with initializing lighting on a specific zlevel
+Fixes two similar issues with moveElement and moveRange. Where fromIndex or toIndex could be adjusted incorrectly in certain conditions. Potentially causing bad-sorts, or out of bound errors.
+Rewrites listclearnulls(list/L) to no longer iterate through L.len elements for every null in the list (plus 1). i.e. went from L.len*(number_of_nulls+1) list-element reads (best-case), to L.len list-element reads (worst-case)
+New proc/getElementByVar(list/L, varname, value) which finds the first datum in a list, with a variable named varname, which equals value. You can also feed it atoms instead of lists due to the way the in operator functions.
+Fixes an unreported issue with Yota's list2text rewrite. Under certain conditions, the first element would not be converted into a string. Causing type-mismatch runtimes.
+New global map_ready variable. This is not fully implemented yet, but will be used to avoid duplicate calls to initialize() for map objects.
+All turfs now maintain references to all lights currently illuminating them. This will mean higher memory use unfortunately, due to the huge number of turfs. However, it will speed up updateAffectingLights significantly. I've used list husbandry to reduce baseline memory usage, so it shouldn't be any worse than some past atmos modifications memory-wise.
-Removed 'quadratic lighting', can add this back at some point. Sorry.
+modified the way lum() works slightly, to allow turfs to have overridden delta-lumen. i.e. space cannot be illuminated more than its default ambiance. This allowed removal of some iffy special-snowflake lighting areas implemented by somebody else.
+Lighting images in the dmi can now use arbitrary naming schemes. It is reliant on order now. This allows the dmi to be replaced by simply dropping in a new dmi.
-Removed all subtypes of /area/shuttle. Shuttles now create duplicate 'rooms' of /area/shuttle. (More on this later). This will conflict with most maps. Guide on how to fix to follow.
+All verbs/tools relating to world.tick_lag were refactored to use world.fps. However old config text for setting tick_lag will still work (it converts the value to fps for you)
+MC stats improved using smoothing. They now have their own tab so they dont get in the way when you're playing as an admin.
-removed the push_mob_back stuff due to conflicting changes. Sorry Giacom.
_OK, NOW THE ACTUAL INTERESTING STUFF_
Following systems moved over to subsystem datums:
air_master
garbage_manager
lighting_controller
process_mobs (aka Life())
nanomanager
power
sun
pipenets
AFK kick loops
shuttle_controller (aka emergency shuttle/pods), supply_shuttle and other shuttles
voting
bots
radio
diseases
events
jobs
objects
ticker
Subsystems hooks and variables should be commented fairly in-depth. If anything isn't particularly clear, please make an issue.
Many system-specific global variables have been refactored into
All tickers which previously used world.timeofday now use world.time
some subsystems can iterate before round start. this resolves the issue with votes not working pregame
Regex is a robust text-parsing mini-language. It can perform complex and dynamic searches and return the results in an easy to read format. This implementation also uses Boost's extended formatting syntax which gives you a flexible way to conditionally replace complex strings with only a few lines of code
Source code and license info can be found here: http://code.google.com/p/byond-regex/
Licensed under LGPL.
This uses the perl regex syntax (with some extensions) in non-recursive mode (as recursion has additional overheads).
Information on this syntax can be found here: http://www.boost.org/doc/libs/1_55_0/libs/regex/doc/html/boost_regex/syntax/perl_syntax.html
There are many introductions to regex on the internet. Here is the one I learned from: http://www.regular-expressions.info/tutorial.html
Note: I have added #define USE_BYGEX in code/_compile_options.dm. Simply comment out the define if you encounter any problems.
Due to byond being unable to communicate with a dll through anything but C-strings, the results are returned to byond in a string similar to those you get with list2params. Since byond uses parameters a lot, its params2list() proc is fairly streamlined, so it's pretty much the fastest way you could do this with byond. This data is then stored in a datum/regex object for easy use. See demo.dm datum/regex/proc/report() for an example.
You can view these logs in-game using a debug verb. You have to use the debug-verbs command to see it.
Removed the dellogging compile option. If this is a problem, speak up, but for most users, this new functionality is more useful.
Testing has revealed that it reduces the sluggishness of the game, though it will spike from lag when the singularity is loose. Thanks to ChuckTheSheep for suggesting it.
Server owners who want to keep set background enabled can do so by changing the define.
Voices are based on /vg/'s female voice and are copyright free.
There is a 60 second cooldown for each announcement.
Added a compile option for AI voices. Undefining AI_VOX will not compile the resources, meaning players won't have to download them.
Moves the constants from defines and compile_options files into the __DEFINES directory. The compile options in the latter file that are actually tweakable remain in their existing file in the code directory.
Constants from DEFINES.dm, globals.dm, names.dm, and global_lists.dm have been moved into the _globalvars subdirectory.
stylesheet.dm has been moved into the interface directory since that's a better place for it.
This move contains no code changes for stock TG. It is purely an organizational move meant to clean up hard to read code.
Some global constants that appear to be unused have been put into unused.dm, but not unticked. This list is by no means exhaustive.
Branches should be aware that they need to move any additional defines and global constants manually.
There is now a PRELOAD_RSC define in code/_compile_options.dm. Setting it to 0 will allow you to use on-the-fly rsc downloads, or the new remote rsc features.
Normally (PRELOAD_RSC == 1) the game will send you all the resources for the game that existed at compile time, this is the long-delay before joining the game...but it means that the game isn't sluggish later on due to trying to download icons and such. Which is good, but uses a lot of bandwidth.
On-the-fly behaviour (PRELOAD_RSC == 0) is when the game only downloads icons when you see something for the first time...this is often responsible for things being briefly invisible on slow connections.
Remote RSC behaviour (PRELOAD_RSC == 0 and some urls defined in config/external_rsc_urls.txt), is a mixture of the two above behaviours. It allows you to connect without downloading lots of resources immediately. However, once you connect it will select a url from a list of urls which hold zipped up copies of the tgstation.rsc. This allows the load of downloading those large files to be distributed across a few cheap web-servers or free upload sites...whilst the main game-server is freed up for other stuff. Should preloading from a remote url fail, behavior will revert to on-the-fly.
This updates everything that used equip_e, particularly the strip panel, but also DNA injectors and CPR.
Removed unused mob vars:
var/obj/effect/organstructure/organStructure
var/other
var/proc_holder_list[]
Removed unused alien suit and head slots.
Removed var/obj/item/weapon/card/id/wear_id from monkeys, and updated ed209s to not use :
Renamed HUMAN_STRIP_DELAY to STRIP_DELAY.
Muddled Topics() around so that mobs are now a bit more OO. Also updated quite a few misc inventory procs to various degrees.
Updated monkey and aliens huds a little bit.
Random movement when confused now happens half the time.
Fixed monkey breathmask onmobs.
Added a .unconscious text style, for that nice bold blue text you get when you're unconscious. Only CPR uses it at the moment.
This has been tested fairly extensively, and everything seems to work fine.
-Merged commits ~carnie
Signed-off-by: carnie <elly1989@rocketmail.com>
I set it to 60, so you can't use fire suits like the ghetto space suits of old (which would be impossible to emulate now, back then coldness did only negligible damage) but it is enough for atmostechs to clean up a medbay cryo leak, and they will protect you long enough for the ballsy atmos tech to plug a hullbreach, or gives an unlucky engineer about a minute thirty to wire a solar array.
They have been separated into low-level stuff that you wouldn't really want to ever edit (like the definition of PI) which are in __DEFINES.dm
The others, which hosts could possibly want to modify for their server, are located in _compile_options.dm
I've tried to group it together in some sort of logical way so it's easier to find what you need. Feel free to move whatever.
Main reason for the change is so we can add some more compile options into the game to make it more configurable.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5825 316c924e-a436-60f5-8080-3fe189b3f50e