Commit Graph

65 Commits

Author SHA1 Message Date
Bjorn Neergaard eb0ad7113f Fix chatbox overlap 2016-01-30 22:17:49 -06:00
Bjorn Neergaard 4c1247a3e2 Fix whitespace 2016-01-30 04:18:56 -06:00
Bjorn Neergaard ffafad1178 Address user feedback 2016-01-29 16:40:18 -06:00
Bjorn Neergaard 068974590b Finish skin cleanup 2016-01-28 23:03:36 -06:00
Bjorn Neergaard 784ca1dc12 Rip out more useless stuff 2016-01-28 18:02:58 -06:00
Bjorn Neergaard 48ab72aa61 Rip out large swaths of logic from skin; fix window title 2016-01-28 15:23:21 -06:00
Bjorn Neergaard b57d3bd4f2 Rip out serverside winsets
Note: need to re-add a few winsets for borg/human mode
2016-01-28 12:14:43 -06:00
Bjorn Neergaard 0982a49a54 Flatten more buttons 2016-01-27 16:05:36 -06:00
Bjorn Neergaard eb76ad2a33 Flatten BYOND controls 2016-01-27 07:38:51 -06:00
Bjorn Neergaard 8928c24829 Remove unused junk from skin.dmf 2015-11-30 17:43:47 -05:00
MrStonedOne 4ffb421bb7 Adds client skin and topic for asset cache. 2015-11-24 23:31:44 -08:00
Razharas acd0a97d9c Merge pull request #12515 from Incoming5643/size_does_matter
Adds 48x48 (1.5x zoom) and 96x96 (3x zoom) mode
2015-10-26 03:11:51 +03:00
Remie Richards 9f368e1b53 Port's Wirewraith's Tooltip system 2015-10-20 20:58:09 +01:00
Incoming 9dc8c73ad9 Adds 48x48 (1.5x zoom) and 96x96 (3x zoom) to the icons menu
If I had known it was this easy I'd have done this a long time ago
2015-10-19 18:44:35 -04:00
MrStonedOne 3a675f375f Adds a reconnect button to the file menu.
This uses the client side command .reconnect (that can only be used from interfaces)

This mostly seems to prevent a byond ad from playing as well.
2015-10-14 22:33:24 -07:00
Supermichael777 c62a203a4e Signed-off-by: Supermichael777 <supermichael777@gmail.com> 2015-08-12 08:42:47 -04:00
Jim Boonie 8b7a6499b9 Fixes Ctrl+C copying by moving resist to Ctrl+B 2015-07-24 22:31:21 +12:00
Jim Boonie 0eecfb239a Removes End resist for cyborgs 2015-07-20 17:47:06 +12:00
Jim Boonie c2a8cf5e76 Removes a couple of inadvertent changes 2015-07-20 15:30:32 +12:00
Jim Boonie d2f591432f Adds resist hotkeys for borgs and humans. 2015-07-20 15:22:52 +12:00
Jordie0608 bb62f92351 removes rogue changes 2015-03-31 14:27:08 +11:00
Jordie0608 66165778b7 fixes f6 hotkey 2015-03-31 14:19:11 +11:00
paprka c29ff39ea5 hotkeys for /me and ooc 2015-02-20 01:55:14 -08:00
Jordie0608 c9e21033ae Rework of show-server-revision 2014-07-22 23:05:10 +10:00
MrStonedOne 21a36ea8c5 Cleaned up unused borg hotkeys
Also imported end over to copy what q does.
2014-03-27 23:51:48 -07:00
MrStonedOne 5c4d584154 undid random changes added by DM 2014-03-27 21:29:15 -07:00
MrStonedOne a26b2252a0 borgified hotkeys for borg players
changed:
1-3 = module select/toggle
4 = toggle intent
q = unequip active module

changed hotkey help to reflect this for borg players.
2014-03-27 20:58:55 -07:00
Giacomand 8a36573992 * Removed the input bar being disabled when in hotkey mode. 2013-08-13 23:57:39 +01:00
Giacomand f561c4dd32 * Hotkey mode will now disable the input bar.
* Changed the toggled colour to something lighter.
2013-08-07 18:12:54 +01:00
Giacomand 6dcbb1f2ac * The input bar will now turn gray when it is in hotkey mode. 2013-08-06 22:53:00 +01:00
carnie d972a60ecc Fixes Issue #197 - "Camera Range Display" verb now uses obj/machinery/camera/proc/can_see() to calculate which turfs are visible by cameras.
Each turf in camera-range is marked with a maptext number indicating how many cameras can see that turf.

IMPORTANT: Changed the default fonts of the skinfile. This works around an issue with byond, where certain font-faces can cause HUGE increases in memory usage client-side, giving the illusion of lag, or severe crashes.
Before changing the font-face to 'Arial': using the camera range display verb would cause dream-seeker's memory usage to climb from 146,000 K to 800,000 K (and greater, but that is the limit of my laptop's pagefile, hence crashing my entire system)
After changing the font-face to 'Arial': using the same verb (with same code) resulted in negligible memory usage increase in dreamseeker, and works absolutely fine.

Status displays and such were not affected by this bug as they use a different font to the default set in the skinfile.
It did however affect stuff such as mining satchels, and may explain why some users found the game extremely 'laggy' or crashy
2013-04-02 06:21:19 +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
giacomand@gmail.com dd012eba80 - Fixed the admin warning of an NTSL script only being shown on the "apply" button.
- Re-named the IDE "apply" button to "save".

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5665 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-08 00:25:00 +00:00
giacomand@gmail.com f614122778 -Added a new button to NTSL's IDE which will clear the server's memory.
-Changed the broadcast function using a precreated human. The human would still be existing and a new one was created for every use of the broadcast. Garbage collecting it was almost impossible and deleting it everytime a broadcast is made would be laggy so I modified the broadcast code to not need a mob reference.
-Added some checks in the events.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5477 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-06 06:55:52 +00:00
elly1989@rocketmail.com 30357d18ce SANITY: Created a series of generalised sanity procs. They can be found in code/__HELPERS/sanitize_values.dm
They include such procs as sanitize_integer(num, min, max, default) which will check num is a number, round num to make it an integer, then check if it is between min and max (inclusive). If it fails the bound-checks it will return default. There are others, have a look.

PERSISTENT PREFERENCES: Every ckey which connects to the game gets its own persistent /datum/preferences datum.
It is archived in var/list/preferences_datums = list("ckey" = datum)
At connect it is automatically associated with the client defines.dm (or a new one is created if it can't find an archived prefs datum). This means clients will ALWAYS have a var/datum/preferences/prefs which references this datum. So you can use it without checking if(client.prefs)
This has simplified only a few bits of code. It will however, allow us to make preferences like see_deadchat ghost_ears etc, persistent. So they will not reset when you DC.

SAVEFILES: Changed the player savefile code a lot. Hopefully I've not fucked it up too much. Every single variable loaded from saves is now sanity checked using the new sanity procs. This should help prevent savefiles becomming obsolete by sanitizing input to meet current requirements, without deleting all the ok variables and making you start from scratch >_> NOTE: I still need to sort out the savefile version stuff. I'll probably figure it out before the server updates anyway. It sees to be fine without it.

You can no longer choose your blood type. It is randomised (with each bloodtype having a realistic probability of occuring). This is to make blood analysis (detective/medical) less pointless. It is chosen as soon as you connect. It remains persistent throughout each round so you won't be able to change it by logging in/out over and over.

Replaces some copypasta code with is_afk() (still a fair bit to do)

There are new hyperlink shortcut things. _src_=vars will direct your hyperlink to viewvars. _src_=prefs to your preferences datum. (These are the only way to access those bits of code via links). This means that the overall amount of operations in almost every Topic has pretty much halved and is much prettier.

Replaced and removed adminplayervars from datum/admins/Topic. It was superfluous. They now all point directly to the viewvars code using _src_=vars

Removed the changelog popup at round start. Instead a button on your game-window will glow white if there are new updates. To peruse at your convenience. This will speed up connect times.

Removed the AFK_THRESHOLD define. It is integrated into is_afk() now.

TODO: remove the prefs stuff from mobs and clients and update code to use client.prefs to access that info.



git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5121 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-19 15:13:57 +00:00
elly1989@rocketmail.com b903680fbd Changed client/verb/a_intent_change() to mob/verb/a_intent_change()
Replaced usr references with mob
This means it can be called as a proc for any mob to use that code. Updated the click-procs to use this as they were using slightly different code.
Fixed an issue with AIs using the intent hotkeys
Added more sanity checks to it.
Insert key uses the same code as other hotkeys.
Commented out some unused hud-code from when we had separate intent buttons.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4766 316c924e-a436-60f5-8080-3fe189b3f50e
2012-09-28 06:45:57 +00:00
elly1989@rocketmail.com 4edc10c0a1 Fixed an issue where ticker.mode could be set to null, triggering a restart, where it'd be set to null again...and so on.
Added a activate held item hotkey
Added intent hotkeys to 1 2 3 and 4 keys.
hotkeys-help for details.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4759 316c924e-a436-60f5-8080-3fe189b3f50e
2012-09-26 16:27:47 +00:00
elly1989@rocketmail.com de35030dd6 Added an invisimin verb. It toggles your mob's invisibility between ghost-like invis and it's initial state. It is bound to the F8 key.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4710 316c924e-a436-60f5-8080-3fe189b3f50e
2012-09-17 03:25:37 +00:00
elly1989@rocketmail.com 9bb09aad58 Admins can adminghost via the F5 key.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4709 316c924e-a436-60f5-8080-3fe189b3f50e
2012-09-17 02:47:42 +00:00
elly1989@rocketmail.com a33880854a This should fix the issue with hotkeys causing regular typing not to focus on the input bar. There are now two macro-sets, "macro"(normal) and "hotkeymode"(the same but with WASD Q E R T F G and X hotkeys). Pressing Tab will toggle between these sets.
Changed the default maptext colour to white.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4689 316c924e-a436-60f5-8080-3fe189b3f50e
2012-09-14 12:44:51 +00:00
elly1989@rocketmail.com 9b072d55ac Committed some new hotkeys.
Hotkey-Mode: (hotkey-mode must be on)
TAB = toggle hotkey-mode
a = left
s = down
d = east
w = up
q = drop
e = equip
r = throw
t = say
x = swap-hand
f = cycle-intents-left
g = cycle-intents-right

Normal-Mode: (hotkey doesn't need to be on)
Ctrl+a = left
Ctrl+s = down
Ctrl+d = east
Ctrl+w = up
Ctrl+q = drop
Ctrl+e = equip
Ctrl+r = throw
Ctrl+x = swap-hand
Ctrl+f = cycle-intents-left
Ctrl+g = cycle-intents-right

Admin:
F5 = toggle-admin-observe (WIP)
F6 = player-panel-new
F7 = admin-pm
F8 = (WIP)

Regular controls aren't affected.

There's an additional option to press the TAB key to switch into a hotkey-mode. It's a toggle, so it stays on until you press it again. It switches focus between the map and input-bar for you. This mode defaults to off so you won't even notice it unless you decide to toggle it on with the TAB key. Whilst using this hotkey mode you get additional options like pressing "T" to say something.

The mode switching (TAB key) is completely client-sided.

http://nanotrasen.com/phpBB3/viewtopic.php?f=15&t=10024

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4686 316c924e-a436-60f5-8080-3fe189b3f50e
2012-09-13 15:30:47 +00:00
baloh.matevz 9f3005255c - Renamed the obj/hud other_update() proc to hidden_inventory_update()
- Renamed the obj/hud show_otherinventory var to inventory_shown
- Added the F12 hotkey which hides most of the UI except for the intent switcher, hands, health indicator, damage indicators and the other pop-in indicators on the right. The proc is called /mob/verb/button_pressed_F12(), the verb abbreviation is "F12" and it's hidden, so it won't show in the info panel. This currently only works for human mobs.

Screenshot:
http://www.kamletos.si/minimal%20UI.png

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3926 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-27 08:13:23 +00:00
baloh.matevz 21f99dd0c5 - Got rid of the browser tab
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3834 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-15 18:16:42 +00:00
baloh.matevz@gmail.com b137e7dac0 This obsession with pushing the rules forward has to stop. The user interface should only have IMPORTANT and RELEVANT things emphasized at all times. A big blue RULES button is NOT something that is constantly relevant.
- Changed the rules button to use the normal gray background and black font.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3703 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-31 04:58:37 +00:00
elly1989@rocketmail.com 7f52605277 Fixes a derp I made with the PA in a recent commit.
Rules verb moved to the interface to make it more visible (so new players may actually -read- it occasionally).

Minor changes to investigate singulo based on feedback. Entries are now timestamped and the "time \ref[src] (location)" bit is in a smaller font. Collectors note how much fuel they are loaded with. 

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3687 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-28 17:10:54 +00:00
baloh.matevz@gmail.com 88888ed5ab - Fixed some odd behavior with storage items when you drag-dropped them from the floor without ever picking them up.
- New hotkeys: Delete is the 'stop dragging' button and insert cycles through intents.
- Added some user feedback messages to the drop, throw, stop-dragging and cycle-intents hotkeys.
- Added the hotkeys thing to the changelog.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3631 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-21 00:50:13 +00:00
baloh.matevz@gmail.com 84abe8cde5 - Made a small change to the window UI. The forum and wiki buttons are moved a little to the right to create some whitespace between the browser+info and wiki+forum buttons, since the browser+info buttons tend to get used more. In addition I added a message that gets displayed when someone clicks the button when the wiki and forum addresses are not configured in the files. The last change is a confirmation message which shows up when you click the wiki and forum buttons. This is because people often clicked the wiki button in error, which then opened up a browser, took focus away from the game and all that unfun stuff.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3600 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-17 01:05:46 +00:00
elly1989@rocketmail.com 0d14417a07 Adds a forum and wiki button to the game interface.
Set the urls within config.txt. Both buttons do nothing by default, you have to set the urls yourself.

Removed two unused txt files that I forgot to remove.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3502 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-25 03:29:55 +00:00
vageyenaman@gmail.com 55ec72c7cb Removed the scripting machine due to massive crashes! It'll be back when the crashes are resolved.
Some other bugfixes and improvements.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3214 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-29 06:27:25 +00:00
vageyenaman@gmail.com b5f8eaf8a9 More work done on Telecomms:
▫ Signals can now be rejected by Subspace broadcasters through a specific data[] parameter.
▫ Improved the log browser.
▫ Log browsers and telecommunication monitors no longer require access to use. You do need access to delete logs, however.
▫ Intercoms need power to work. They don't drain power, they just need a constant flow of equipment power. As such, that offline intercom sprite's now finally being put to use.


Scripting language:

▫ Sorry about all the files; they're all necessary! It's important to notice that the basic structure of the scripting language code is not mine; I cannibalized the base structure from some obscure BYOND project. It's pretty well documented, and I'd say easier to browse through than atmos. Here's the basic deal:

A compiler datum manages the relationships between the three main subsystems of a scripting language: the Scanner, the Parser, and the Interpreter. The Scanner splits raw text into token datums that the Parser can read. The Parser transforms the otherwise random bits and strings into ordered AST Trees and nodes for the Interpreter to read. The interpreter actually executes the code and handles scope/functions/code blocks.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3193 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-25 22:51:31 +00:00