Commit Graph

11 Commits

Author SHA1 Message Date
ShiftyRail
eeb24fd031 Expunges hasvar() (#26846)
* Expunges hasvar()

* removes whitespace

* remove
2020-06-26 09:55:08 +02:00
Exxion
4d7a2df990 Renamed Clamp() to clamp() 2019-10-25 17:18:20 -04:00
Paul Ritter
fba040db42 changed can_be_used_as_screwdriver to is_screwdriver cause we are to lazy to type 2019-04-13 23:22:12 +02:00
Paul Ritter
87358975b1 the remaining changes. forgot how to used smartgit there for a sec oops. 2019-04-13 20:54:21 +02:00
clusterfack
6edf0208ac 64x64 Sprites (#11214)
* Move DMI files over to 64x64

* Lighting overlay + world.icon_size.

* Change 32 to world icon size

* Adds pixel shift multiplier

* Fix accidentaly 16 -> world_icon_size/4 conversion to proper world_icon_size/2 conversion

* Fixes lighting properly

* Fix spacepods bounds

* Redo all icons with BYONDTools bug fixed

* Update ALL the map files dear god

* Double crayon font size

* Update all screen locs

* Fix contextual clicks

Couldn't use PIXEL MULTIPLIER here for the most part due to the fact most of these are ranges and doubling them would leave empty spaces

* Fixes maptext size and the final touch ups on antag screen locs

* Runs optipng on the DMI files in last commit.

Because my optipng version was outdated (blame the optipng package I had installed) it failed to run on the erge commit. This fixed that.

* Reduces parallax size a bit for 64x64 map sizes

* Fix lobby screens

* Fix DME
2016-08-05 02:07:02 +02:00
unid15
f8da080ba1 adds clown glue 2015-12-31 14:06:18 +01:00
PJB3005
99bf59d80e Adds a to_chat() proc, to pave the way to a non shit chat. 2015-11-25 15:55:15 +01:00
PJB3005
3cca5692af Removes the panic writer messages. 2015-11-20 03:17:06 +01:00
D3athrow
d59f6a07b0 comment out panicwriter and saytesting 2015-07-20 16:04:48 -05:00
D3athrow
41d7df01fd just fuck my shit up 2015-07-18 02:30:51 -05:00
ComicIronic
b330cad8d8 Context click code module
Added a system for contextual attack-selfing on items.
This on its own permits hooks into various uses, but the one majorly supported is buttons.
You can define inbuilt context buttons, or create attachable buttons for
other items.
The remote datum is not tied to the remote item, which is just an example of how you would implement its functionality.

Context-clicking:
 - The return_clicked_id can be set to give custom IDs given an x and y
   position on the icon
 - return_clicked_id_by_params does all the messy work of converting
   params into a valid x and y click for return_clicked ID
 - action() can be set for custom behaviour, passed an item or not

Buttons:
 - Remote datums allow the use of button devices, as well as adding them or removing them
 - Buttons have an on_press functionality
 - This allows you to make remotes for anything using, for example, a signaller button (space garage doors ho!)
 - No truly functional buttons exist - all the current ones just play sounds, for testing purposes
 - Buttons adapt to their remote - the remote passes the shape a button icon has to be, and its displacement
 - New buttons follow the base shape for remotes, and then can be attached anywhere

Moved code around, split the datum into a subtype to clarify its functionality.
2015-05-18 18:43:06 +01:00