Commit Graph

21748 Commits

Author SHA1 Message Date
Bjorn Neergaard da4842dddf Make NanoUI resistant to Topic spoofs
Move Topic() into a NanoUI-specific ui_act proc
Update to @YotaXP's latest JSON code.
Return focus to the mapwindow if a key is pressed in a NanoUI.
2015-12-15 22:37:52 -06:00
Bjorn Neergaard 070a081db8 Improve focus code; fix SVG
Replace the NT SVG with a better version
Always try to give focus back to the mapwindow

Also make links more obvious
2015-12-15 19:41:56 -06:00
Bjorn Neergaard 9a3b9f8166 Add a loading spinner to NanoUI...
This is kinda dirty because we use external resources; however, the
point is that if assets are not loaded, we need to show a spinner.
2015-12-15 15:00:44 -06:00
YotaXP 2869b1cf61 Re-write JSON writer to output valid JSON
How the old one worked, I don't know...
We don't have a reader yet, but we don't use a reader sooo...
2015-12-15 14:41:34 -06:00
Bjorn Neergaard 88ed7623fc Re-organize nanoui.dm 2015-12-15 14:26:19 -06:00
Bjorn Neergaard 57a1f6c695 Enable NanoUI to go chromeless
Add a new 'Fancy NanoUI' preference to enable chromeless mode
2015-12-15 13:13:12 -06:00
Bjorn Neergaard 47b727a23e Rework how NanoUI handles Topic()
Also, add the ability to winset and the like, all from Javascript
2015-12-15 13:12:35 -06:00
Bjorn Neergaard 5678dfcbd1 Prefix everything with 'nanoui' to avoid conflicts 2015-12-15 13:12:33 -06:00
Bjorn Neergaard c3442475fa Modularize CSS and JS; SVG
Purge NanoUI assets as we now have a gorgeous Nanotrasen SVG logo
Thanks to @YotaXP for helping me with cleaning up the logo
2015-12-15 13:11:56 -06:00
Bjorn Neergaard f089428e63 Coffeescript; Bower; Gulp; asset_cache
We now write frontend code in Coffeescript, alongside our LESS.
PostCSS adds hacks to make CSS work on old versions of IE.
Bower is used to manage dependencies.
Gulp is used to build the code.

Images are dropped in favor of SVG or CSS effects.

NanoUI is now a 'simple' asset in the asset_cache
2015-12-15 13:09:51 -06:00
Bjorn Neergaard 979e71ea26 Restructure NanoUI frontend; use build tools
Yes, you now need Node.js... I'm sorry, but this makes
it so much easier to write NanoUI.

We now precompile all the things...
2015-12-15 13:09:04 -06:00
Bjorn Neergaard 8fdfa08e58 Port NanoUI styles to LESS 2015-12-15 13:08:27 -06:00
Bjorn Neergaard a0c54eba97 Begin rewrite of NanoUI frontend.
* Remove jQuery in favor of polyfills.
* Make NanoUI work with IE8-IE11
* Upstream doT
* Change NanoUI template syntax
* Event driven code
2015-12-15 13:07:11 -06:00
Cheridan 46bd68f803 Merge pull request #13627 from xxalpha/smoothballs
Fixed icon smoothing in loaded maps for good.
2015-12-15 11:36:43 -06:00
phil235 b656d84480 Merge pull request #13616 from xxalpha/airlocking
Fixes a specific airlock animation case.
2015-12-15 14:19:31 +01:00
phil235 bd4ccdb251 Merge pull request #13634 from KorPhaeron/patch
Fixes styptic not working in patches
2015-12-15 14:12:01 +01:00
duncathan salt 88382e0d9c Merge pull request #13577 from tgstation/RemieRichards-patch-2
[s]Computer ID is a string, Thanks byond.
2015-12-14 23:49:03 -06:00
WJohn 423e501b85 Merge pull request #13612 from RemieRichards/sniper_sprites
Sniper Rifle Update (Sprites+AP)
2015-12-14 22:57:16 -05:00
duncathan salt 7481afe9fe Merge pull request #13651 from KorPhaeron/fire_defines
Everything is fire
2015-12-14 20:03:48 -06:00
KorPhaeron f32da8b449 jesus christ 2015-12-14 19:56:54 -06:00
duncathan salt 7df19dedb9 Merge pull request #13647 from KorPhaeron/fire_defines
[s] Buckling a mob to a comfy chair will no longer set them on fire
2015-12-14 19:16:37 -06:00
as334 bd8cc251b7 For dunc 2015-12-14 19:52:58 -05:00
as334 32e68cfab0 Hopefully fixes the negative moles/heat bugs with fusion, as well as it being a bit overactive in fires. 2015-12-14 19:24:46 -05:00
KorPhaeron 884a3a0264 Fixes 2015-12-14 16:40:00 -06:00
Cheridan 2a6a63253b Merge pull request #13608 from KorPhaeron/fire_defines
Makes burn_state use defines
2015-12-14 10:44:10 -06:00
Cheridan 593670239c Merge pull request #13604 from optimumtact/patch-6
Remove hulk stun punch
2015-12-14 02:26:26 -06:00
KorPhaeron 619464f4e9 Patches 2015-12-14 00:52:39 -06:00
Cheridan e7ba51a0a2 Merge pull request #13601 from Incoming5643/glopatch
Fixes glowcaps being planted as glowshrooms
2015-12-14 00:46:53 -06:00
Cheridan ff2bc4d022 Merge pull request #13529 from KorPhaeron/tele_ops
Ops can't fly to abandoned satellite or derelict
2015-12-13 20:58:40 -06:00
xxalpha b99141260e One direction
YOU NEVER SAW THAT
2015-12-14 02:42:21 +00:00
xxalpha 051e5b889b Added code to resmooth loaded maps atoms. 2015-12-14 01:41:18 +00:00
Cheridan 1e4b902ab1 Merge pull request #13595 from Menshin/broken_solar_fix
Fixes broken solar devices giving intact sheets back on deconstruction
2015-12-13 17:43:46 -06:00
xxalpha 4278334f09 Fixes airlock animation on a specific case. 2015-12-13 22:42:27 +00:00
Cheridan ef989fe1dc Merge pull request #13589 from Menshin/atmos_disconnect_runtime_fix
Fixes runtimes on unary atmos devices rotation
2015-12-13 15:09:30 -06:00
Cheridan bc164c9498 Merge pull request #13582 from Incoming5643/Ill_turn_this_game_into_a_shitty_F2P_korean_MMO_yet
[RPG Loot Intensifies]
2015-12-13 15:04:53 -06:00
duncathan salt af8e8303ae Merge pull request #13613 from as334/plasmic
Prevents trace amounts of plasma fusing at room temperature
2015-12-13 14:54:37 -06:00
as334 cf9c1daf92 Haha whoops 2015-12-13 15:47:31 -05:00
Cheridan 176967a84d Merge pull request #13594 from swankcookie/Alert_fix
Removes the word "gas" from the oxy alert
2015-12-13 14:36:40 -06:00
duncathan salt 08a62ec85f Merge pull request #13593 from as334/plasmic
Adds a new gas reaction, plasmic fusion.
2015-12-13 13:46:33 -06:00
Remie Richards c1cf3c42b0 Added sniper rifle sprites, and ammo mag sprites, Added 50 AP to standard sniper rounds, allows sniper to be worn on back. 2015-12-13 19:39:05 +00:00
Cheridan ca7aa2283b Merge pull request #13587 from Menshin/negative_temp_freezer_fix_again
Fixes upgraded freezer going into negative Kelvin temperatures
2015-12-13 10:41:02 -06:00
KorPhaeron d8a37204e7 Makes burn_state use defines 2015-12-13 05:36:55 -06:00
oranges fc58a3d31c Damage standardisation for hulk punch 2015-12-13 21:53:30 +13:00
oranges ed03ffd21b standardise damage across slimes 2015-12-13 21:51:57 +13:00
oranges 94af31f7a9 Remove hulk stun punch
Increase hulk damage
2015-12-13 21:49:03 +13:00
Incoming 61e5dafb42 An oversight meant that while planted glowcaps worked fine, they'd never be created. 2015-12-13 01:33:21 -05:00
Cheridan 1019b057c5 Merge pull request #13557 from bgobandit/nanomedfix
Wall-mounted nanomeds no longer have more contents than the Nanomed Plus.
2015-12-13 00:04:25 -06:00
Cheridan dff14aa0f9 Merge pull request #13563 from RemieRichards/snipper_wiffle
Adds a sniper rifle and 3 ammo types to the Nuclear Operative uplink.
2015-12-12 23:55:55 -06:00
Cheridan 6a9a5c820e Merge pull request #13560 from Incoming5643/and_as_the_sword_looked_upon_the_infinite_cosmos_it_knew_it_just_had_to_try_and_fuck_everything_up
Supermatter swords and the infinite void
2015-12-12 23:22:48 -06:00
duncathan salt d228f911fa Merge pull request #13522 from KorPhaeron/just_an_illusion
Reactive Illusion Armour
2015-12-12 19:07:30 -06:00