mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-20 19:44:46 +01:00
Whitespace Standardization [MDB IGNORE] (#15748)
* Update settings * Whitespace changes * Comment out merger hooks in gitattributes Corrupt maps would have to be resolved in repo before hooks could be updated * Revert "Whitespace changes" This reverts commitafbdd1d844. * Whitespace again minus example * Gitignore example changelog * Restore changelog merge setting * Keep older dmi hook attribute until hooks can be updated * update vscode settings too * Renormalize remaining * Revert "Gitignore example changelog" This reverts commitde22ad375d. * Attempt to normalize example.yml (and another file I guess) * Try again
This commit is contained in:
@@ -1,53 +1,53 @@
|
||||
/// The image's base transform scale for width.
|
||||
/image/var/tf_scale_x
|
||||
|
||||
/// The image's base transform scale for height.
|
||||
/image/var/tf_scale_y
|
||||
|
||||
/// The image's base transform scale for rotation.
|
||||
/image/var/tf_rotation
|
||||
|
||||
/// The image's base transform scale for horizontal offset.
|
||||
/image/var/tf_offset_x
|
||||
|
||||
/// The image's base transform scale for vertical offset.
|
||||
/image/var/tf_offset_y
|
||||
|
||||
|
||||
/// Clear the image's tf_* variables and the current transform state.
|
||||
/image/proc/ClearTransform()
|
||||
tf_scale_x = null
|
||||
tf_scale_y = null
|
||||
tf_rotation = null
|
||||
tf_offset_x = null
|
||||
tf_offset_y = null
|
||||
transform = null
|
||||
|
||||
|
||||
/// Sets the image's tf_* variables and the current transform state, also applying others if supplied.
|
||||
/image/proc/SetTransform(
|
||||
scale,
|
||||
scale_x = tf_scale_x,
|
||||
scale_y = tf_scale_y,
|
||||
rotation = tf_rotation,
|
||||
offset_x = tf_offset_x,
|
||||
offset_y = tf_offset_y,
|
||||
list/others
|
||||
)
|
||||
if (!isnull(scale))
|
||||
tf_scale_x = scale
|
||||
tf_scale_y = scale
|
||||
else
|
||||
tf_scale_x = scale_x
|
||||
tf_scale_y = scale_y
|
||||
tf_rotation = rotation
|
||||
tf_offset_x = offset_x
|
||||
tf_offset_y = offset_y
|
||||
transform = matrix().Update(
|
||||
scale_x = tf_scale_x,
|
||||
scale_y = tf_scale_y,
|
||||
rotation = tf_rotation,
|
||||
offset_x = tf_offset_x,
|
||||
offset_y = tf_offset_y,
|
||||
others = others
|
||||
)
|
||||
/// The image's base transform scale for width.
|
||||
/image/var/tf_scale_x
|
||||
|
||||
/// The image's base transform scale for height.
|
||||
/image/var/tf_scale_y
|
||||
|
||||
/// The image's base transform scale for rotation.
|
||||
/image/var/tf_rotation
|
||||
|
||||
/// The image's base transform scale for horizontal offset.
|
||||
/image/var/tf_offset_x
|
||||
|
||||
/// The image's base transform scale for vertical offset.
|
||||
/image/var/tf_offset_y
|
||||
|
||||
|
||||
/// Clear the image's tf_* variables and the current transform state.
|
||||
/image/proc/ClearTransform()
|
||||
tf_scale_x = null
|
||||
tf_scale_y = null
|
||||
tf_rotation = null
|
||||
tf_offset_x = null
|
||||
tf_offset_y = null
|
||||
transform = null
|
||||
|
||||
|
||||
/// Sets the image's tf_* variables and the current transform state, also applying others if supplied.
|
||||
/image/proc/SetTransform(
|
||||
scale,
|
||||
scale_x = tf_scale_x,
|
||||
scale_y = tf_scale_y,
|
||||
rotation = tf_rotation,
|
||||
offset_x = tf_offset_x,
|
||||
offset_y = tf_offset_y,
|
||||
list/others
|
||||
)
|
||||
if (!isnull(scale))
|
||||
tf_scale_x = scale
|
||||
tf_scale_y = scale
|
||||
else
|
||||
tf_scale_x = scale_x
|
||||
tf_scale_y = scale_y
|
||||
tf_rotation = rotation
|
||||
tf_offset_x = offset_x
|
||||
tf_offset_y = offset_y
|
||||
transform = matrix().Update(
|
||||
scale_x = tf_scale_x,
|
||||
scale_y = tf_scale_y,
|
||||
rotation = tf_rotation,
|
||||
offset_x = tf_offset_x,
|
||||
offset_y = tf_offset_y,
|
||||
others = others
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user