sm64coopdx/autogen/lua_constants/deprecated.lua
Sunk e2035853b9
Some checks are pending
Build coop / build-linux (push) Waiting to run
Build coop / build-steamos (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
Change romhack camera options (#1247)
* Change camera options

* Resolve suggestions
2026-05-16 22:07:51 -04:00

30 lines
No EOL
705 B
Lua

--- @type integer
FONT_TINY = -1
--- @type integer
ANIM_FLAG_FORWARD = (1 << 1)
-----------------------
-- Renamed functions --
-----------------------
rom_hack_cam_set_collisions = camera_romhack_set_collisions
camera_romhack_allow_centering = camera_romhack_allow_switchable
camera_romhack_get_allow_centering = camera_romhack_get_allow_switchable
--------------------
-- Math functions --
--------------------
--- Note: These functions were originally in smlua_math_utils.h,
--- but performed worse (~2x slower) than built-in Lua math functions
min = math.min
minf = math.min
max = math.max
maxf = math.max
sqr = math.sqr
sqrf = math.sqr
clamp = math.clamp
clampf = math.clamp
hypotf = math.hypot