Scale()s the icon when range is below 16, if it's above 16, scales the icon to 16 and transforms the rest of the way.
This replaces the other method of creating one click catcher image per tile in the range of the users view, which was pretty memory hungry and inefficient. A single icon operation while the view range changes should still be pretty performant and require less memory bookkeeping.l
This ensures it works when the users view range changes, but does not result in a loss of precision for view ranges up to 16 when moving the mouse (it triggers per pixel which simply get larger when transformed)
fixes#29342
Click catcher now supports mousemove/mousedrag. Basically, mouse location can now be captured even if the user isn't mousing over a visible location
Added procs to allow for projectiles to be fired with just an angle for pixel projectiles, instead of requiring a target turf and pixel x/y
Added procs to get angle of user's mouse from their viewpoint (Time to rework gang machine guns again!)
Beam rifles now have different zoom modes
Free directional zooms out and tracks the angle of your mouse from the center of the screen. However, you can't target with very good accuracy on this (Shots can't be properly aimed on non dense objects/lying down mobs.)
Locked directional zooms like free directional but doesn't automatically turn if your aim changes.
Center view, just increases your view in all directions (2x weaker)
No zoom mode, in which you just retain your normal view.
You can select beam rifle zooming rates to be instant or stepped.
Stepped zooming rates zoom out 5 tiles per second. This will likely help with people not being able to use it without lagging because their computers aren't as beefy!
Beam rifles no longer require zoom to be fired
Beam rifle aiming beams now instantly update instead of on process
Beam rifle aiming beams are now one object instead of 150. This'll help with the lag caused by it during gameplay that I've observed.
Angular penalty reduced by 0.1 for a nice even number.
Instances of client.view = have been replaced with client.change_view() as that'll properly update the click catcher
Hopefully shooting yourself in the face when you hit a blob tile or whatnot is fixed with the new and improved code..
* Adds locations to speech and related communications
Refactors how logging is handled for these.
* changes
* ahhhhh
* preemptive merge conflict undoing maybe?
* Let's not delay this further
* WIP
* How the hell did these not get committed
* Fixes, icons for the tablet
* Laptops use the static engine overlay when running the program.
Engineering tablets now start preloaded with a supermatter monitor and alarm monitor.
* Defines
* Requested changes.
Engineering tablets no longer have preinstalled programs.
Supermatter status percents are defines
* Minor thing
* Temp fix for output control issue messing up goonchat
I'll need to do some more testing on this, but this should likely be a test mergeable fix. I might not be back at my home computer until sunday night/monday.
* Fix quote
* Adds verb to fix goonchat and log what was needed to fix it.
Makes shit robust, AND lets it know whats going on.
* Update ooc.dm
* Fix some stupidity in to_chat
* Simplify the winset
Disabling the controls seems to do nothing effective.
* y-you too, t-thanks
* Fix some short term memory issues in the code.
* Warns users to update byond if goonchat gets overridden by old chat
* Cleanup world/New
* Moves some things from OnReboot SS Shutdowns
* Move mode handling procs to ticker
* Moves delayed reboot to ticker
Cleans up round end sound setting
Splits round end animation between SStitle and SSticker
* Moves PR announcement to where it can use the define
* Clean this bit up
* Move out datacore Initialization
* Fix some stuff
* Fix this for
* Different PR
* Gives admins reboot options
* Make it smaller
set_client_age_from_db() and sync_client_with_db() have been merged.
New clients are now added to the user table in a separate query than the one used to update their details upon connection; their player and account age is then calculated with DATEDIFF.
The code and regex used in findJoinDate() was changed a bit.