-
Notifications
You must be signed in to change notification settings - Fork 220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding a priority list system for mouse cursor icons. #4587
base: dev
Are you sure you want to change the base?
Adding a priority list system for mouse cursor icons. #4587
Conversation
Fixes/improvements to sideport from my melee branch, DNM. |
fd8965f
to
679bb77
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
honestly i kind of assumed this would be using /datum/priority_queue
, but this is fine too, especially since that type is super old
@@ -70,9 +70,6 @@ | |||
*/ | |||
var/obj/screen/zone_selector/zone_sel = null | |||
|
|||
/// Cursor icon used when holding shift over things. | |||
var/examine_cursor_icon = 'icons/effects/mouse_pointers/examine_pointer.dmi' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for parity with the prior system we could specify an examine cursor decl on mob instead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand what you mean by parity with the prior system. This var was never changed or used outside of being passed to the pointer.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mostly that it's a mob var that can be overridden
Is there a cursor size? I can try making some. |
The existing icon is 32x32 |
679bb77
to
7ac5722
Compare
Description of changes
Adds infrastructure for handling mouse pointer overrides.
Why and what will this PR improve
I need to start adding more cursors for bows and melee weapons so need some infrastructure.
Authorship
Myself.
Changelog
Nothing player-facing.