mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
* commit 1 - get me out * she lives * adds wizards * thing * surprise end hits take 1 * s * d * surprise end hits take 2 * montreal * REAl * strangelight * guilford fall * natural disasters * envelope * h * lady elect * test 321 * test 123 Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com> * hot toes test * ss * redundancy * s * test 2 * s² * s³ * s²³ * a pray! * life and limb * epic problem * hmm * update * fixes something * fixes something² * adds slaughter demons to the game * rend it * hmm * restores something * adds clockwork cult into the game * adds changelings to the game * cassevetes * test 101 * :) * against * shut the door * adds darkspawn to the game * sad * cashout * adds vampires to the game * 2 * summer freeze * pink frosty * test111 * adds game to the game * 2 * syndrome * test * test 2 * test 3 * test 4 * adds replay to the game? * maybe? * slo * hrn * test II * test III * test IV * new technique * ahm hum * d * sensible * c * ss13 * a * v * f --------- Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
46 lines
1.8 KiB
Plaintext
46 lines
1.8 KiB
Plaintext
//Defines file for byond click related parameters
|
|
//this is mostly for ease of use and for finding all the things that use say RIGHT_CLICK rather then just searching "right"
|
|
|
|
//Mouse buttons held
|
|
#define RIGHT_CLICK "right"
|
|
#define MIDDLE_CLICK "middle"
|
|
#define LEFT_CLICK "left"
|
|
|
|
///Mouse button that was just clicked/released
|
|
///if(modifiers[BUTTON] == LEFT_CLICK)
|
|
#define BUTTON "button"
|
|
|
|
//Keys held down during the mouse action
|
|
#define CTRL_CLICK "ctrl"
|
|
#define ALT_CLICK "alt"
|
|
#define SHIFT_CLICK "shift"
|
|
|
|
//Cells involved if using a Grid control
|
|
#define DRAG_CELL "drag-cell"
|
|
#define DROP_CELL "drop-cell"
|
|
|
|
//The button used for dragging (only sent for unrelated mouse up/down messages during a drag)
|
|
#define DRAG "drag"
|
|
|
|
//If the mouse is over a link in maptext, or this event is related to clicking such a link
|
|
#define LINK "link"
|
|
|
|
//Pixel coordinates relative to the icon's position on screen
|
|
#define VIS_X "vis-x"
|
|
#define VIS_Y "vis-y"
|
|
|
|
//Pixel coordinates within the icon, in the icon's coordinate space
|
|
#define ICON_X "icon-x"
|
|
#define ICON_Y "icon-y"
|
|
|
|
//Pixel coordinates in screen_loc format ("[tile_x]:[pixel_x],[tile_y]:[pixel_y]")
|
|
#define SCREEN_LOC "screen-loc"
|
|
|
|
//https://secure.byond.com/docs/ref/info.html#/atom/var/mouse_opacity
|
|
/// Objects will ignore being clicked on regardless of their transparency (used in parallax, lighting effects, holograms, lasers, etc.)
|
|
#define MOUSE_OPACITY_TRANSPARENT 0
|
|
/// Objects will be clicked on if it is the topmost object and the pixel isn't transparent at the position of the mouse (default behavior for 99.99% of game objects)
|
|
#define MOUSE_OPACITY_ICON 1
|
|
/// Objects will be always be clicked on regardless of pixel transparency or other objects at that location (used in space vines, megafauna, storage containers)
|
|
#define MOUSE_OPACITY_OPAQUE 2
|