mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-25 05:25:14 +00:00
Rename func_80321080 -> stop_secondary_music
This commit is contained in:
parent
b22230db5d
commit
e666719baf
2 changed files with 3 additions and 30 deletions
|
@ -99,7 +99,7 @@ bool DynOS_Warp_ExitLevel(s32 aDelay) {
|
||||||
play_shell_music();
|
play_shell_music();
|
||||||
stop_shell_music();
|
stop_shell_music();
|
||||||
stop_cap_music();
|
stop_cap_music();
|
||||||
func_80321080(0);
|
stop_secondary_music(0);
|
||||||
fadeout_music(0);
|
fadeout_music(0);
|
||||||
fadeout_level_music(0);
|
fadeout_level_music(0);
|
||||||
|
|
||||||
|
@ -131,7 +131,7 @@ bool DynOS_Warp_ToCastle(s32 aLevel) {
|
||||||
play_shell_music();
|
play_shell_music();
|
||||||
stop_shell_music();
|
stop_shell_music();
|
||||||
stop_cap_music();
|
stop_cap_music();
|
||||||
func_80321080(0);
|
stop_secondary_music(0);
|
||||||
fadeout_music(0);
|
fadeout_music(0);
|
||||||
fadeout_level_music(0);
|
fadeout_level_music(0);
|
||||||
|
|
||||||
|
@ -238,7 +238,7 @@ static void *DynOS_Warp_UpdateWarp(void *aCmd, bool aIsLevelInitDone) {
|
||||||
play_shell_music();
|
play_shell_music();
|
||||||
stop_shell_music();
|
stop_shell_music();
|
||||||
stop_cap_music();
|
stop_cap_music();
|
||||||
func_80321080(0);
|
stop_secondary_music(0);
|
||||||
fadeout_music(0);
|
fadeout_music(0);
|
||||||
fadeout_level_music(0);
|
fadeout_level_music(0);
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,6 @@ char gSmluaConstants[] = ""
|
||||||
" return a['_pointer'] == b['_pointer'] and a['_lot'] == b['_lot'] and a['_pointer'] ~= nil and a['_lot'] ~= nil\n"
|
" return a['_pointer'] == b['_pointer'] and a['_lot'] == b['_lot'] and a['_pointer'] ~= nil and a['_lot'] ~= nil\n"
|
||||||
" end\n"
|
" end\n"
|
||||||
"}\n"
|
"}\n"
|
||||||
"\n"
|
|
||||||
"_CPointer = {\n"
|
"_CPointer = {\n"
|
||||||
" __index = function (t,k)\n"
|
" __index = function (t,k)\n"
|
||||||
" return nil\n"
|
" return nil\n"
|
||||||
|
@ -24,7 +23,6 @@ char gSmluaConstants[] = ""
|
||||||
" return a['_pointer'] == b['_pointer'] and a['_pointer'] ~= nil and a['_lvt'] ~= nil\n"
|
" return a['_pointer'] == b['_pointer'] and a['_pointer'] ~= nil and a['_lvt'] ~= nil\n"
|
||||||
" end\n"
|
" end\n"
|
||||||
"}\n"
|
"}\n"
|
||||||
"\n"
|
|
||||||
"_SyncTable = {\n"
|
"_SyncTable = {\n"
|
||||||
" __index = function (t,k)\n"
|
" __index = function (t,k)\n"
|
||||||
" local _table = rawget(t, '_table')\n"
|
" local _table = rawget(t, '_table')\n"
|
||||||
|
@ -36,7 +34,6 @@ char gSmluaConstants[] = ""
|
||||||
" _set_sync_table_field(t, k, v)\n"
|
" _set_sync_table_field(t, k, v)\n"
|
||||||
" end\n"
|
" end\n"
|
||||||
"}\n"
|
"}\n"
|
||||||
"\n"
|
|
||||||
"_ReadOnlyTable = {\n"
|
"_ReadOnlyTable = {\n"
|
||||||
" __index = function (t,k)\n"
|
" __index = function (t,k)\n"
|
||||||
" local _table = rawget(t, '_table')\n"
|
" local _table = rawget(t, '_table')\n"
|
||||||
|
@ -45,7 +42,6 @@ char gSmluaConstants[] = ""
|
||||||
" __newindex = function (t,k,v)\n"
|
" __newindex = function (t,k,v)\n"
|
||||||
" end\n"
|
" end\n"
|
||||||
"}\n"
|
"}\n"
|
||||||
"\n"
|
|
||||||
"--- @param dest Vec3f\n"
|
"--- @param dest Vec3f\n"
|
||||||
"--- @param src Vec3f\n"
|
"--- @param src Vec3f\n"
|
||||||
"--- @return Vec3f\n"
|
"--- @return Vec3f\n"
|
||||||
|
@ -55,7 +51,6 @@ char gSmluaConstants[] = ""
|
||||||
" dest.z = src.z\n"
|
" dest.z = src.z\n"
|
||||||
" return dest\n"
|
" return dest\n"
|
||||||
"end\n"
|
"end\n"
|
||||||
"\n"
|
|
||||||
"--- @param dest Vec3f\n"
|
"--- @param dest Vec3f\n"
|
||||||
"--- @param x number\n"
|
"--- @param x number\n"
|
||||||
"--- @param y number\n"
|
"--- @param y number\n"
|
||||||
|
@ -67,7 +62,6 @@ char gSmluaConstants[] = ""
|
||||||
" dest.z = z\n"
|
" dest.z = z\n"
|
||||||
" return dest\n"
|
" return dest\n"
|
||||||
"end\n"
|
"end\n"
|
||||||
"\n"
|
|
||||||
"--- @param dest Vec3f\n"
|
"--- @param dest Vec3f\n"
|
||||||
"--- @param a Vec3f\n"
|
"--- @param a Vec3f\n"
|
||||||
"--- @return Vec3f\n"
|
"--- @return Vec3f\n"
|
||||||
|
@ -77,7 +71,6 @@ char gSmluaConstants[] = ""
|
||||||
" dest.z = dest.z + a.z\n"
|
" dest.z = dest.z + a.z\n"
|
||||||
" return dest\n"
|
" return dest\n"
|
||||||
"end\n"
|
"end\n"
|
||||||
"\n"
|
|
||||||
"--- @param dest Vec3f\n"
|
"--- @param dest Vec3f\n"
|
||||||
"--- @param a Vec3f\n"
|
"--- @param a Vec3f\n"
|
||||||
"--- @param b Vec3f\n"
|
"--- @param b Vec3f\n"
|
||||||
|
@ -88,7 +81,6 @@ char gSmluaConstants[] = ""
|
||||||
" dest.z = a.z + b.z\n"
|
" dest.z = a.z + b.z\n"
|
||||||
" return dest\n"
|
" return dest\n"
|
||||||
"end\n"
|
"end\n"
|
||||||
"\n"
|
|
||||||
"--- @param dest Vec3f\n"
|
"--- @param dest Vec3f\n"
|
||||||
"--- @param a number\n"
|
"--- @param a number\n"
|
||||||
"--- @return Vec3f\n"
|
"--- @return Vec3f\n"
|
||||||
|
@ -98,7 +90,6 @@ char gSmluaConstants[] = ""
|
||||||
" dest.z = dest.z * a\n"
|
" dest.z = dest.z * a\n"
|
||||||
" return dest\n"
|
" return dest\n"
|
||||||
"end\n"
|
"end\n"
|
||||||
"\n"
|
|
||||||
"--- @param dest Vec3f\n"
|
"--- @param dest Vec3f\n"
|
||||||
"--- @return Vec3f\n"
|
"--- @return Vec3f\n"
|
||||||
"function vec3f_normalize(dest)\n"
|
"function vec3f_normalize(dest)\n"
|
||||||
|
@ -106,28 +97,23 @@ char gSmluaConstants[] = ""
|
||||||
" if divisor == 0 then\n"
|
" if divisor == 0 then\n"
|
||||||
" return dest\n"
|
" return dest\n"
|
||||||
" end\n"
|
" end\n"
|
||||||
"\n"
|
|
||||||
" local invsqrt = 1.0 / divisor\n"
|
" local invsqrt = 1.0 / divisor\n"
|
||||||
" dest.x = dest.x * invsqrt\n"
|
" dest.x = dest.x * invsqrt\n"
|
||||||
" dest.y = dest.y * invsqrt\n"
|
" dest.y = dest.y * invsqrt\n"
|
||||||
" dest.z = dest.z * invsqrt\n"
|
" dest.z = dest.z * invsqrt\n"
|
||||||
"\n"
|
|
||||||
" return dest\n"
|
" return dest\n"
|
||||||
"end\n"
|
"end\n"
|
||||||
"\n"
|
|
||||||
"--- @param a Vec3f\n"
|
"--- @param a Vec3f\n"
|
||||||
"--- @return number\n"
|
"--- @return number\n"
|
||||||
"function vec3f_length(a)\n"
|
"function vec3f_length(a)\n"
|
||||||
" return math.sqrt(a.x * a.x + a.y * a.y + a.z * a.z)\n"
|
" return math.sqrt(a.x * a.x + a.y * a.y + a.z * a.z)\n"
|
||||||
"end\n"
|
"end\n"
|
||||||
"\n"
|
|
||||||
"--- @param a Vec3f\n"
|
"--- @param a Vec3f\n"
|
||||||
"--- @param b Vec3f\n"
|
"--- @param b Vec3f\n"
|
||||||
"--- @return number\n"
|
"--- @return number\n"
|
||||||
"function vec3f_dot(a, b)\n"
|
"function vec3f_dot(a, b)\n"
|
||||||
" return a.x * b.x + a.y * b.y + a.z * b.z\n"
|
" return a.x * b.x + a.y * b.y + a.z * b.z\n"
|
||||||
"end\n"
|
"end\n"
|
||||||
"\n"
|
|
||||||
"--- @param vec Vec3f\n"
|
"--- @param vec Vec3f\n"
|
||||||
"--- @param onto Vec3f\n"
|
"--- @param onto Vec3f\n"
|
||||||
"--- @return Vec3f\n"
|
"--- @return Vec3f\n"
|
||||||
|
@ -139,7 +125,6 @@ char gSmluaConstants[] = ""
|
||||||
" vec3f_mul(out, numerator / denominator)\n"
|
" vec3f_mul(out, numerator / denominator)\n"
|
||||||
" return out\n"
|
" return out\n"
|
||||||
"end\n"
|
"end\n"
|
||||||
"\n"
|
|
||||||
"--- @param v1 Vec3f\n"
|
"--- @param v1 Vec3f\n"
|
||||||
"--- @param v2 Vec3f\n"
|
"--- @param v2 Vec3f\n"
|
||||||
"--- @return number\n"
|
"--- @return number\n"
|
||||||
|
@ -149,7 +134,6 @@ char gSmluaConstants[] = ""
|
||||||
" dz = v1.z - v2.z\n"
|
" dz = v1.z - v2.z\n"
|
||||||
" return math.sqrt(dx * dx + dy * dy + dz * dz)\n"
|
" return math.sqrt(dx * dx + dy * dy + dz * dz)\n"
|
||||||
"end\n"
|
"end\n"
|
||||||
"\n"
|
|
||||||
"--- @param dest Vec3s\n"
|
"--- @param dest Vec3s\n"
|
||||||
"--- @param src Vec3s\n"
|
"--- @param src Vec3s\n"
|
||||||
"--- @return Vec3s\n"
|
"--- @return Vec3s\n"
|
||||||
|
@ -159,7 +143,6 @@ char gSmluaConstants[] = ""
|
||||||
" dest.z = src.z\n"
|
" dest.z = src.z\n"
|
||||||
" return dest\n"
|
" return dest\n"
|
||||||
"end\n"
|
"end\n"
|
||||||
"\n"
|
|
||||||
"--- @param dest Vec3s\n"
|
"--- @param dest Vec3s\n"
|
||||||
"--- @param x number\n"
|
"--- @param x number\n"
|
||||||
"--- @param y number\n"
|
"--- @param y number\n"
|
||||||
|
@ -171,7 +154,6 @@ char gSmluaConstants[] = ""
|
||||||
" dest.z = z\n"
|
" dest.z = z\n"
|
||||||
" return dest\n"
|
" return dest\n"
|
||||||
"end\n"
|
"end\n"
|
||||||
"\n"
|
|
||||||
"--- @param dest Vec3s\n"
|
"--- @param dest Vec3s\n"
|
||||||
"--- @param a Vec3s\n"
|
"--- @param a Vec3s\n"
|
||||||
"--- @return Vec3s\n"
|
"--- @return Vec3s\n"
|
||||||
|
@ -181,7 +163,6 @@ char gSmluaConstants[] = ""
|
||||||
" dest.z = dest.z + a.z\n"
|
" dest.z = dest.z + a.z\n"
|
||||||
" return dest\n"
|
" return dest\n"
|
||||||
"end\n"
|
"end\n"
|
||||||
"\n"
|
|
||||||
"--- @param dest Vec3s\n"
|
"--- @param dest Vec3s\n"
|
||||||
"--- @param a Vec3s\n"
|
"--- @param a Vec3s\n"
|
||||||
"--- @param b Vec3s\n"
|
"--- @param b Vec3s\n"
|
||||||
|
@ -192,7 +173,6 @@ char gSmluaConstants[] = ""
|
||||||
" dest.z = a.z + b.z\n"
|
" dest.z = a.z + b.z\n"
|
||||||
" return dest\n"
|
" return dest\n"
|
||||||
"end\n"
|
"end\n"
|
||||||
"\n"
|
|
||||||
"--- @param dest Vec3s\n"
|
"--- @param dest Vec3s\n"
|
||||||
"--- @param a number\n"
|
"--- @param a number\n"
|
||||||
"--- @return Vec3s\n"
|
"--- @return Vec3s\n"
|
||||||
|
@ -202,7 +182,6 @@ char gSmluaConstants[] = ""
|
||||||
" dest.z = dest.z * a\n"
|
" dest.z = dest.z * a\n"
|
||||||
" return dest\n"
|
" return dest\n"
|
||||||
"end\n"
|
"end\n"
|
||||||
"\n"
|
|
||||||
"--- @param v1 Vec3s\n"
|
"--- @param v1 Vec3s\n"
|
||||||
"--- @param v2 Vec3s\n"
|
"--- @param v2 Vec3s\n"
|
||||||
"--- @return number\n"
|
"--- @return number\n"
|
||||||
|
@ -212,7 +191,6 @@ char gSmluaConstants[] = ""
|
||||||
" dz = v1.z - v2.z\n"
|
" dz = v1.z - v2.z\n"
|
||||||
" return math.sqrt(dx * dx + dy * dy + dz * dz)\n"
|
" return math.sqrt(dx * dx + dy * dy + dz * dz)\n"
|
||||||
"end\n"
|
"end\n"
|
||||||
"\n"
|
|
||||||
"--- @param current number\n"
|
"--- @param current number\n"
|
||||||
"--- @param target number\n"
|
"--- @param target number\n"
|
||||||
"--- @param inc number\n"
|
"--- @param inc number\n"
|
||||||
|
@ -232,7 +210,6 @@ char gSmluaConstants[] = ""
|
||||||
" end\n"
|
" end\n"
|
||||||
" return current;\n"
|
" return current;\n"
|
||||||
"end\n"
|
"end\n"
|
||||||
"\n"
|
|
||||||
"--- @param current number\n"
|
"--- @param current number\n"
|
||||||
"--- @param target number\n"
|
"--- @param target number\n"
|
||||||
"--- @param inc number\n"
|
"--- @param inc number\n"
|
||||||
|
@ -250,7 +227,6 @@ char gSmluaConstants[] = ""
|
||||||
" current = target\n"
|
" current = target\n"
|
||||||
" end\n"
|
" end\n"
|
||||||
" end\n"
|
" end\n"
|
||||||
"\n"
|
|
||||||
" -- keep within 32 bits\n"
|
" -- keep within 32 bits\n"
|
||||||
" if current > 2147483647 then\n"
|
" if current > 2147483647 then\n"
|
||||||
" current = -2147483648 + (current - 2147483647)\n"
|
" current = -2147483648 + (current - 2147483647)\n"
|
||||||
|
@ -259,7 +235,6 @@ char gSmluaConstants[] = ""
|
||||||
" end\n"
|
" end\n"
|
||||||
" return current;\n"
|
" return current;\n"
|
||||||
"end\n"
|
"end\n"
|
||||||
"\n"
|
|
||||||
"--- @param bank number\n"
|
"--- @param bank number\n"
|
||||||
"--- @param soundID number\n"
|
"--- @param soundID number\n"
|
||||||
"--- @param priority number\n"
|
"--- @param priority number\n"
|
||||||
|
@ -269,11 +244,9 @@ char gSmluaConstants[] = ""
|
||||||
" if flags == nil then flags = 0 end\n"
|
" if flags == nil then flags = 0 end\n"
|
||||||
" return (bank << 28) | (soundID << 16) | (priority << 8) | flags | SOUND_STATUS_WAITING\n"
|
" return (bank << 28) | (soundID << 16) | (priority << 8) | flags | SOUND_STATUS_WAITING\n"
|
||||||
"end\n"
|
"end\n"
|
||||||
"\n"
|
|
||||||
"-------------\n"
|
"-------------\n"
|
||||||
"-- courses --\n"
|
"-- courses --\n"
|
||||||
"-------------\n"
|
"-------------\n"
|
||||||
"\n"
|
|
||||||
"--- @type integer\n"
|
"--- @type integer\n"
|
||||||
"COURSE_NONE = 0\n"
|
"COURSE_NONE = 0\n"
|
||||||
"--- @type integer\n"
|
"--- @type integer\n"
|
||||||
|
|
Loading…
Reference in a new issue