Commit Graph

9 Commits

Author SHA1 Message Date
Giacomand
f44faba532 Added a voice announcement system for the AI.
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.
2013-10-26 17:56:39 +01:00
supersayu
711654c15e Moved #defines
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.
2013-10-23 16:11:45 -04:00
Giacomand
646d7596f2 * Made the emergency shuttle code use the defined times.
* Added a SHUTTLEAUTOCALLTIMER define for the auto call.
2013-10-16 08:30:25 +01:00
carnie
26957f5357 Remote resources support.
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.
2013-06-25 07:44:57 +01:00
Pete Goodfellow
62b848c6ce Removes equip_e - Fixes #423
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>
2013-04-24 04:07:39 +01:00
Malkevin
346aae0160 comment change for mr pedantic 2013-04-17 00:30:43 +01:00
Malkevin
71aac937cb Gives fire suits a bit of extra cold protection over normal armor.
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.
2013-04-11 23:19:03 +01:00
Pete Goodfellow
b02c459505 Adding google code commits r5836 to r5849. RIP in peace google code. 2013-03-11 04:26:54 +00:00
elly1989@rocketmail.com
0fbd92f5c3 Shuffled all the #defines in global.dm and setup.dm
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
2013-03-08 19:02:19 +00:00