* Skewium: It'll fuck you up.
Adds some matrix helpers for dealing with skews
Adds Skewium, it's like rotatium, but for skews instead of rotation, it's horrible
* switches back to boxstation from runtimestation
Better comments explaining the purpose of everything
Better name scheme: color_matrix_foo() instead of just color_foo()
Contrast was completely wrong. Total derpage, formula is now right
A few examples of interesting and useful matrices. And by "a few" I mean 3, but whatever
Addition and multiplication
Single-axis rotations
color_matrix2color_hex and color_hex2color_matrix in case anybody wants to convert back and forth for whatever reason
All values within the matrix are rounded to the thousandths place to cut down on floating point error and 1.000000001 type values
Contrast, saturation, brightness, and rotation. Still need to do multiplication, addition, and negation, but this is a start.
Here's the testing snippet I used to play around with these: http://pastebin.com/BgBtmhMN
* returns a turf closer to the center in even multiples of world.icon_size (64,128, etc.)
* Handles irregular (non-world.icon_size sized objects) better
* Now handles Matrix X/Y shifts
* Orbit is now less reliant on Animate(), for most ghosts this means 36 calls to Animate, vs the previous INFINITE, for those of you with potato computers, this should ease the pain and crashing.
* Orbits can now be something different to circles!
* Ghosts Byond Members can now choose between orbits! (Circle, Triangle, Square, Hexagon)
Spent casings ejected from firearms will spin as they 'tumble' towards the ground.
Improved sprites for shotgun shells
Improved sprite for bullet projectile.
Cloakers still don't work well. The fix is probably just finding a proc that runs on equip/uequip/when bagged/when dropped. Fuck that. Ninjas work. Things that are cloaked fade to the cloaked alpha, it's pretty cool.
The "lying down" icon_states for everything you could equip are all now unnecessary. They aren't removed yet though.
The dmi changes are to make xenos all face upward so when they turn, they're lying down rather than facing south and looking like they're doing a handstand. They're not terribly good when facing the wrong way. I expect WJohnson to have a fix for this by New Year's.
Comments aren't changed. The overlays_standing list is still around because overlays is not a normal list, and BYOND's normal list functions are worth the extra cost of keeping a spare list of images.