mirror of
https://github.com/FoxdieTeam/mgs_reversing.git
synced 2024-11-23 13:29:50 +00:00
Add smke_ln.c for d16e
This commit is contained in:
parent
fc50c886d1
commit
a0681b582d
@ -1,240 +0,0 @@
|
||||
opt c+, at+, e+, n-
|
||||
section overlay.text
|
||||
|
||||
xdef d16e_smke_ln_800CDB38
|
||||
d16e_smke_ln_800CDB38:
|
||||
dw 0x27BDFFD0 ; 800CDB38
|
||||
dw 0xAFB00028 ; 800CDB3C
|
||||
dw 0x00808021 ; 800CDB40
|
||||
dw 0x3C04800B ; 800CDB44
|
||||
dw 0xAFBF002C ; 800CDB48
|
||||
dw 0x8E030044 ; 800CDB4C
|
||||
dw 0x8E020020 ; 800CDB50
|
||||
dw 0x2463FFFF ; 800CDB54
|
||||
dw 0xAC82B9B0 ; 800CDB58
|
||||
dw 0x04610003 ; 800CDB5C
|
||||
dw 0xAE030044 ; 800CDB60
|
||||
dw 0x0C005472 ; 800CDB64
|
||||
dw 0x02002021 ; 800CDB68
|
||||
dw 0x8E02004C ; 800CDB6C
|
||||
dw 0x00000000 ; 800CDB70
|
||||
dw 0x24420001 ; 800CDB74
|
||||
dw 0xAE02004C ; 800CDB78
|
||||
dw 0x30420007 ; 800CDB7C
|
||||
dw 0x104000D7 ; 800CDB80
|
||||
dw 0x00000000 ; 800CDB84
|
||||
dw 0x0C005C2F ; 800CDB88
|
||||
dw 0x34048000 ; 800CDB8C
|
||||
dw 0x8603002C ; 800CDB90
|
||||
dw 0x86040024 ; 800CDB94
|
||||
dw 0x8E05004C ; 800CDB98
|
||||
dw 0x00641823 ; 800CDB9C
|
||||
dw 0x00650018 ; 800CDBA0
|
||||
dw 0x00004812 ; 800CDBA4
|
||||
dw 0x8E030048 ; 800CDBA8
|
||||
dw 0x00000000 ; 800CDBAC
|
||||
dw 0x0123001A ; 800CDBB0
|
||||
dw 0x14600002 ; 800CDBB4
|
||||
dw 0x00000000 ; 800CDBB8
|
||||
dw 0x0007000D ; 800CDBBC
|
||||
dw 0x2401FFFF ; 800CDBC0
|
||||
dw 0x14610004 ; 800CDBC4
|
||||
dw 0x3C018000 ; 800CDBC8
|
||||
dw 0x15210002 ; 800CDBCC
|
||||
dw 0x00000000 ; 800CDBD0
|
||||
dw 0x0006000D ; 800CDBD4
|
||||
dw 0x00001812 ; 800CDBD8
|
||||
dw 0x8E04003C ; 800CDBDC
|
||||
dw 0x00000000 ; 800CDBE0
|
||||
dw 0x00440018 ; 800CDBE4
|
||||
dw 0x96020024 ; 800CDBE8
|
||||
dw 0x00002812 ; 800CDBEC
|
||||
dw 0x04A10002 ; 800CDBF0
|
||||
dw 0x00431821 ; 800CDBF4
|
||||
dw 0x24A57FFF ; 800CDBF8
|
||||
dw 0x34048000 ; 800CDBFC
|
||||
dw 0x000513C3 ; 800CDC00
|
||||
dw 0x00621021 ; 800CDC04
|
||||
dw 0x0C005C2F ; 800CDC08
|
||||
dw 0xA7A20020 ; 800CDC0C
|
||||
dw 0x8603002E ; 800CDC10
|
||||
dw 0x86040026 ; 800CDC14
|
||||
dw 0x8E05004C ; 800CDC18
|
||||
dw 0x00641823 ; 800CDC1C
|
||||
dw 0x00650018 ; 800CDC20
|
||||
dw 0x00004812 ; 800CDC24
|
||||
dw 0x8E030048 ; 800CDC28
|
||||
dw 0x00000000 ; 800CDC2C
|
||||
dw 0x0123001A ; 800CDC30
|
||||
dw 0x14600002 ; 800CDC34
|
||||
dw 0x00000000 ; 800CDC38
|
||||
dw 0x0007000D ; 800CDC3C
|
||||
dw 0x2401FFFF ; 800CDC40
|
||||
dw 0x14610004 ; 800CDC44
|
||||
dw 0x3C018000 ; 800CDC48
|
||||
dw 0x15210002 ; 800CDC4C
|
||||
dw 0x00000000 ; 800CDC50
|
||||
dw 0x0006000D ; 800CDC54
|
||||
dw 0x00001812 ; 800CDC58
|
||||
dw 0x8E04003C ; 800CDC5C
|
||||
dw 0x00000000 ; 800CDC60
|
||||
dw 0x00440018 ; 800CDC64
|
||||
dw 0x96020026 ; 800CDC68
|
||||
dw 0x00002812 ; 800CDC6C
|
||||
dw 0x04A10002 ; 800CDC70
|
||||
dw 0x00431821 ; 800CDC74
|
||||
dw 0x24A57FFF ; 800CDC78
|
||||
dw 0x34048000 ; 800CDC7C
|
||||
dw 0x000513C3 ; 800CDC80
|
||||
dw 0x00621021 ; 800CDC84
|
||||
dw 0x0C005C2F ; 800CDC88
|
||||
dw 0xA7A20022 ; 800CDC8C
|
||||
dw 0x86030030 ; 800CDC90
|
||||
dw 0x86040028 ; 800CDC94
|
||||
dw 0x8E05004C ; 800CDC98
|
||||
dw 0x00641823 ; 800CDC9C
|
||||
dw 0x00650018 ; 800CDCA0
|
||||
dw 0x00004812 ; 800CDCA4
|
||||
dw 0x8E030048 ; 800CDCA8
|
||||
dw 0x00000000 ; 800CDCAC
|
||||
dw 0x0123001A ; 800CDCB0
|
||||
dw 0x14600002 ; 800CDCB4
|
||||
dw 0x00000000 ; 800CDCB8
|
||||
dw 0x0007000D ; 800CDCBC
|
||||
dw 0x2401FFFF ; 800CDCC0
|
||||
dw 0x14610004 ; 800CDCC4
|
||||
dw 0x3C018000 ; 800CDCC8
|
||||
dw 0x15210002 ; 800CDCCC
|
||||
dw 0x00000000 ; 800CDCD0
|
||||
dw 0x0006000D ; 800CDCD4
|
||||
dw 0x00001812 ; 800CDCD8
|
||||
dw 0x8E04003C ; 800CDCDC
|
||||
dw 0x00000000 ; 800CDCE0
|
||||
dw 0x00440018 ; 800CDCE4
|
||||
dw 0x96020028 ; 800CDCE8
|
||||
dw 0x00002012 ; 800CDCEC
|
||||
dw 0x04810002 ; 800CDCF0
|
||||
dw 0x00431821 ; 800CDCF4
|
||||
dw 0x24847FFF ; 800CDCF8
|
||||
dw 0x000413C3 ; 800CDCFC
|
||||
dw 0x00621021 ; 800CDD00
|
||||
dw 0xA7A20024 ; 800CDD04
|
||||
dw 0x8E030040 ; 800CDD08
|
||||
dw 0x00000000 ; 800CDD0C
|
||||
dw 0x2C62000C ; 800CDD10
|
||||
dw 0x10400072 ; 800CDD14
|
||||
dw 0x3C02800D ; 800CDD18
|
||||
dw 0x244228E0 ; 800CDD1C
|
||||
dw 0x00031880 ; 800CDD20
|
||||
dw 0x00621821 ; 800CDD24
|
||||
dw 0x8C620000 ; 800CDD28
|
||||
dw 0x00000000 ; 800CDD2C
|
||||
dw 0x00400008 ; 800CDD30
|
||||
dw 0x00000000 ; 800CDD34
|
||||
dw 0x27A40020 ; 800CDD38
|
||||
dw 0x26050034 ; 800CDD3C
|
||||
dw 0x00003021 ; 800CDD40
|
||||
dw 0x00C03821 ; 800CDD44
|
||||
dw 0xAFA00010 ; 800CDD48
|
||||
dw 0xAFA00014 ; 800CDD4C
|
||||
dw 0x080337B6 ; 800CDD50
|
||||
dw 0xAFA00018 ; 800CDD54
|
||||
dw 0x27A40020 ; 800CDD58
|
||||
dw 0x26050034 ; 800CDD5C
|
||||
dw 0x00003021 ; 800CDD60
|
||||
dw 0x24070001 ; 800CDD64
|
||||
dw 0xAFA00010 ; 800CDD68
|
||||
dw 0xAFA00014 ; 800CDD6C
|
||||
dw 0x080337B6 ; 800CDD70
|
||||
dw 0xAFA00018 ; 800CDD74
|
||||
dw 0x27A40020 ; 800CDD78
|
||||
dw 0x26050034 ; 800CDD7C
|
||||
dw 0x00003021 ; 800CDD80
|
||||
dw 0x24070002 ; 800CDD84
|
||||
dw 0xAFA00010 ; 800CDD88
|
||||
dw 0xAFA00014 ; 800CDD8C
|
||||
dw 0x080337B6 ; 800CDD90
|
||||
dw 0xAFA00018 ; 800CDD94
|
||||
dw 0x27A40020 ; 800CDD98
|
||||
dw 0x26050034 ; 800CDD9C
|
||||
dw 0x00003021 ; 800CDDA0
|
||||
dw 0x24070003 ; 800CDDA4
|
||||
dw 0xAFA00010 ; 800CDDA8
|
||||
dw 0xAFA00014 ; 800CDDAC
|
||||
dw 0x080337B6 ; 800CDDB0
|
||||
dw 0xAFA00018 ; 800CDDB4
|
||||
dw 0x27A40020 ; 800CDDB8
|
||||
dw 0x26050034 ; 800CDDBC
|
||||
dw 0x24060001 ; 800CDDC0
|
||||
dw 0x00003821 ; 800CDDC4
|
||||
dw 0xAFA00010 ; 800CDDC8
|
||||
dw 0xAFA00014 ; 800CDDCC
|
||||
dw 0x080337B6 ; 800CDDD0
|
||||
dw 0xAFA00018 ; 800CDDD4
|
||||
dw 0x27A40020 ; 800CDDD8
|
||||
dw 0x26050034 ; 800CDDDC
|
||||
dw 0x24060001 ; 800CDDE0
|
||||
dw 0x00C03821 ; 800CDDE4
|
||||
dw 0xAFA00010 ; 800CDDE8
|
||||
dw 0xAFA00014 ; 800CDDEC
|
||||
dw 0x080337B6 ; 800CDDF0
|
||||
dw 0xAFA00018 ; 800CDDF4
|
||||
dw 0x27A40020 ; 800CDDF8
|
||||
dw 0x26050034 ; 800CDDFC
|
||||
dw 0x24060001 ; 800CDE00
|
||||
dw 0x24070002 ; 800CDE04
|
||||
dw 0xAFA00010 ; 800CDE08
|
||||
dw 0xAFA00014 ; 800CDE0C
|
||||
dw 0x080337B6 ; 800CDE10
|
||||
dw 0xAFA00018 ; 800CDE14
|
||||
dw 0x27A40020 ; 800CDE18
|
||||
dw 0x26050034 ; 800CDE1C
|
||||
dw 0x24060001 ; 800CDE20
|
||||
dw 0x24070003 ; 800CDE24
|
||||
dw 0xAFA00010 ; 800CDE28
|
||||
dw 0xAFA00014 ; 800CDE2C
|
||||
dw 0x080337B6 ; 800CDE30
|
||||
dw 0xAFA00018 ; 800CDE34
|
||||
dw 0x27A40020 ; 800CDE38
|
||||
dw 0x92020050 ; 800CDE3C
|
||||
dw 0x26050034 ; 800CDE40
|
||||
dw 0xAFA20010 ; 800CDE44
|
||||
dw 0x92020051 ; 800CDE48
|
||||
dw 0x24060002 ; 800CDE4C
|
||||
dw 0xAFA20014 ; 800CDE50
|
||||
dw 0x92020052 ; 800CDE54
|
||||
dw 0x080337B5 ; 800CDE58
|
||||
dw 0x00003821 ; 800CDE5C
|
||||
dw 0x27A40020 ; 800CDE60
|
||||
dw 0x92020050 ; 800CDE64
|
||||
dw 0x26050034 ; 800CDE68
|
||||
dw 0xAFA20010 ; 800CDE6C
|
||||
dw 0x92020051 ; 800CDE70
|
||||
dw 0x24060002 ; 800CDE74
|
||||
dw 0xAFA20014 ; 800CDE78
|
||||
dw 0x92020052 ; 800CDE7C
|
||||
dw 0x080337B5 ; 800CDE80
|
||||
dw 0x24070001 ; 800CDE84
|
||||
dw 0x27A40020 ; 800CDE88
|
||||
dw 0x92020050 ; 800CDE8C
|
||||
dw 0x26050034 ; 800CDE90
|
||||
dw 0xAFA20010 ; 800CDE94
|
||||
dw 0x92020051 ; 800CDE98
|
||||
dw 0x24060002 ; 800CDE9C
|
||||
dw 0xAFA20014 ; 800CDEA0
|
||||
dw 0x92020052 ; 800CDEA4
|
||||
dw 0x080337B5 ; 800CDEA8
|
||||
dw 0x00C03821 ; 800CDEAC
|
||||
dw 0x27A40020 ; 800CDEB0
|
||||
dw 0x92020050 ; 800CDEB4
|
||||
dw 0x26050034 ; 800CDEB8
|
||||
dw 0xAFA20010 ; 800CDEBC
|
||||
dw 0x92020051 ; 800CDEC0
|
||||
dw 0x24060002 ; 800CDEC4
|
||||
dw 0xAFA20014 ; 800CDEC8
|
||||
dw 0x92020052 ; 800CDECC
|
||||
dw 0x24070003 ; 800CDED0
|
||||
dw 0xAFA20018 ; 800CDED4
|
||||
dw 0x0C0338B1 ; 800CDED8
|
||||
dw 0x00000000 ; 800CDEDC
|
||||
dw 0x8FBF002C ; 800CDEE0
|
@ -1,8 +0,0 @@
|
||||
opt c+, at+, e+, n-
|
||||
section overlay.text
|
||||
|
||||
xdef d16e_smke_ln_800CDEE4
|
||||
d16e_smke_ln_800CDEE4:
|
||||
dw 0x8FB00028 ; 800CDEE4
|
||||
dw 0x03E00008 ; 800CDEE8
|
||||
dw 0x27BD0030 ; 800CDEEC
|
@ -1,7 +0,0 @@
|
||||
opt c+, at+, e+, n-
|
||||
section overlay.text
|
||||
|
||||
xdef d16e_smke_ln_800CDEF0
|
||||
d16e_smke_ln_800CDEF0:
|
||||
dw 0x03E00008 ; 800CDEF0
|
||||
dw 0x00000000 ; 800CDEF4
|
@ -1,48 +0,0 @@
|
||||
opt c+, at+, e+, n-
|
||||
section overlay.text
|
||||
|
||||
xdef d16e_smke_ln_800CDEF8
|
||||
d16e_smke_ln_800CDEF8:
|
||||
dw 0x3C02800B ; 800CDEF8
|
||||
dw 0xAC850040 ; 800CDEFC
|
||||
dw 0x8FA30010 ; 800CDF00
|
||||
dw 0x8FA50014 ; 800CDF04
|
||||
dw 0x8FA80018 ; 800CDF08
|
||||
dw 0x8FA9001C ; 800CDF0C
|
||||
dw 0x8FAA0020 ; 800CDF10
|
||||
dw 0x8FAB0024 ; 800CDF14
|
||||
dw 0x8C42B9B0 ; 800CDF18
|
||||
dw 0xAC860044 ; 800CDF1C
|
||||
dw 0xAC87003C ; 800CDF20
|
||||
dw 0xAC820020 ; 800CDF24
|
||||
dw 0x00001021 ; 800CDF28
|
||||
dw 0x886C0003 ; 800CDF2C
|
||||
dw 0x986C0000 ; 800CDF30
|
||||
dw 0x886D0007 ; 800CDF34
|
||||
dw 0x986D0004 ; 800CDF38
|
||||
dw 0xA88C0027 ; 800CDF3C
|
||||
dw 0xB88C0024 ; 800CDF40
|
||||
dw 0xA88D002B ; 800CDF44
|
||||
dw 0xB88D0028 ; 800CDF48
|
||||
dw 0x88AC0003 ; 800CDF4C
|
||||
dw 0x98AC0000 ; 800CDF50
|
||||
dw 0x88AD0007 ; 800CDF54
|
||||
dw 0x98AD0004 ; 800CDF58
|
||||
dw 0xA88C002F ; 800CDF5C
|
||||
dw 0xB88C002C ; 800CDF60
|
||||
dw 0xA88D0033 ; 800CDF64
|
||||
dw 0xB88D0030 ; 800CDF68
|
||||
dw 0x890C0003 ; 800CDF6C
|
||||
dw 0x990C0000 ; 800CDF70
|
||||
dw 0x890D0007 ; 800CDF74
|
||||
dw 0x990D0004 ; 800CDF78
|
||||
dw 0xA88C0037 ; 800CDF7C
|
||||
dw 0xB88C0034 ; 800CDF80
|
||||
dw 0xA88D003B ; 800CDF84
|
||||
dw 0xB88D0038 ; 800CDF88
|
||||
dw 0xA0890050 ; 800CDF8C
|
||||
dw 0xA08A0051 ; 800CDF90
|
||||
dw 0xA08B0052 ; 800CDF94
|
||||
dw 0xAC860048 ; 800CDF98
|
||||
dw 0x03E00008 ; 800CDF9C
|
||||
dw 0xAC80004C ; 800CDFA0
|
@ -1,63 +0,0 @@
|
||||
opt c+, at+, e+, n-
|
||||
section overlay.text
|
||||
|
||||
xdef d16e_smke_ln_800CDFA4
|
||||
d16e_smke_ln_800CDFA4:
|
||||
dw 0x27BDFFB0 ; 800CDFA4
|
||||
dw 0xAFB1002C ; 800CDFA8
|
||||
dw 0x93B10068 ; 800CDFAC
|
||||
dw 0xAFB40038 ; 800CDFB0
|
||||
dw 0x0080A021 ; 800CDFB4
|
||||
dw 0xAFB5003C ; 800CDFB8
|
||||
dw 0x00A0A821 ; 800CDFBC
|
||||
dw 0xAFB60040 ; 800CDFC0
|
||||
dw 0x00C0B021 ; 800CDFC4
|
||||
dw 0xAFB70044 ; 800CDFC8
|
||||
dw 0x00E0B821 ; 800CDFCC
|
||||
dw 0xAFB20030 ; 800CDFD0
|
||||
dw 0x93B2006C ; 800CDFD4
|
||||
dw 0x24040004 ; 800CDFD8
|
||||
dw 0xAFB30034 ; 800CDFDC
|
||||
dw 0x93B30070 ; 800CDFE0
|
||||
dw 0x24050054 ; 800CDFE4
|
||||
dw 0xAFBF0048 ; 800CDFE8
|
||||
dw 0x0C005439 ; 800CDFEC
|
||||
dw 0xAFB00028 ; 800CDFF0
|
||||
dw 0x00408021 ; 800CDFF4
|
||||
dw 0x12000018 ; 800CDFF8
|
||||
dw 0x02002021 ; 800CDFFC
|
||||
dw 0x3C05800D ; 800CE000
|
||||
dw 0x24A5DB38 ; 800CE004
|
||||
dw 0x3C06800D ; 800CE008
|
||||
dw 0x24C6DEF0 ; 800CE00C
|
||||
dw 0x3C07800D ; 800CE010
|
||||
dw 0x0C005453 ; 800CE014
|
||||
dw 0x24E72910 ; 800CE018
|
||||
dw 0x02002021 ; 800CE01C
|
||||
dw 0x02802821 ; 800CE020
|
||||
dw 0x8FA20060 ; 800CE024
|
||||
dw 0x02A03021 ; 800CE028
|
||||
dw 0xAFA20014 ; 800CE02C
|
||||
dw 0x8FA20064 ; 800CE030
|
||||
dw 0x02C03821 ; 800CE034
|
||||
dw 0xAFB70010 ; 800CE038
|
||||
dw 0xAFA20018 ; 800CE03C
|
||||
dw 0x322200FF ; 800CE040
|
||||
dw 0xAFA2001C ; 800CE044
|
||||
dw 0x324200FF ; 800CE048
|
||||
dw 0xAFA20020 ; 800CE04C
|
||||
dw 0x326200FF ; 800CE050
|
||||
dw 0x0C0337BE ; 800CE054
|
||||
dw 0xAFA20024 ; 800CE058
|
||||
dw 0x02001021 ; 800CE05C
|
||||
dw 0x8FBF0048 ; 800CE060
|
||||
dw 0x8FB70044 ; 800CE064
|
||||
dw 0x8FB60040 ; 800CE068
|
||||
dw 0x8FB5003C ; 800CE06C
|
||||
dw 0x8FB40038 ; 800CE070
|
||||
dw 0x8FB30034 ; 800CE074
|
||||
dw 0x8FB20030 ; 800CE078
|
||||
dw 0x8FB1002C ; 800CE07C
|
||||
dw 0x8FB00028 ; 800CE080
|
||||
dw 0x03E00008 ; 800CE084
|
||||
dw 0x27BD0050 ; 800CE088
|
@ -1,8 +1,8 @@
|
||||
opt c+, at+, e+, n-
|
||||
section overlay.text
|
||||
|
||||
xdef d16e_spark2_800CE2C4
|
||||
d16e_spark2_800CE2C4:
|
||||
xdef AN_Smoke_800CE2C4
|
||||
AN_Smoke_800CE2C4:
|
||||
dw 0x27BDFFB8 ; 800CE2C4
|
||||
dw 0xAFB1002C ; 800CE2C8
|
||||
dw 0x00808821 ; 800CE2CC
|
||||
|
@ -1187,14 +1187,11 @@ overlay_bss group file("{{OBJ_DIR}}\{{OVERLAY}}_{{OVERLAY_SUFFIX}}_bss.bin")
|
||||
include "{{OBJ_DIR}}\overlays\d03a\Okajima\red_alrt.obj"
|
||||
include "{{OBJ_DIR}}\overlays\d03a\Okajima\blurpure.obj"
|
||||
include "{{OBJ_DIR}}\overlays\d01a\Okajima\blur.obj"
|
||||
include "{{OBJ_DIR}}\overlays\d16e\Okajima\smke_ln.obj"
|
||||
|
||||
include "{{OBJ_DIR}}\overlays\d16e\overlay2.obj"
|
||||
|
||||
include "{{OBJ_DIR}}\overlays\d16e\d16e_smke_ln_800CDB38.obj"
|
||||
include "{{OBJ_DIR}}\overlays\d16e\d16e_smke_ln_800CDEE4.obj"
|
||||
include "{{OBJ_DIR}}\overlays\d16e\d16e_smke_ln_800CDEF0.obj"
|
||||
include "{{OBJ_DIR}}\overlays\d16e\d16e_smke_ln_800CDEF8.obj"
|
||||
include "{{OBJ_DIR}}\overlays\d16e\d16e_smke_ln_800CDFA4.obj"
|
||||
; Animeconv\smoke.c
|
||||
include "{{OBJ_DIR}}\overlays\d16e\d16e_spark2_800CE08C.obj"
|
||||
include "{{OBJ_DIR}}\overlays\d16e\d16e_spark2_800CE0F8.obj"
|
||||
include "{{OBJ_DIR}}\overlays\d16e\d16e_spark2_800CE164.obj"
|
||||
@ -1203,6 +1200,7 @@ overlay_bss group file("{{OBJ_DIR}}\{{OVERLAY}}_{{OVERLAY_SUFFIX}}_bss.bin")
|
||||
include "{{OBJ_DIR}}\overlays\d16e\d16e_spark2_800CE55C.obj"
|
||||
include "{{OBJ_DIR}}\overlays\d16e\d16e_spark2_800CE5C8.obj"
|
||||
include "{{OBJ_DIR}}\overlays\d16e\d16e_spark2_800CE6A4.obj"
|
||||
|
||||
include "{{OBJ_DIR}}\overlays\d16e\d16e_spark2_800CE740.obj"
|
||||
include "{{OBJ_DIR}}\overlays\d16e\d16e_spark2_800CE824.obj"
|
||||
include "{{OBJ_DIR}}\overlays\d16e\d16e_spark2_800CE92C.obj"
|
||||
|
141
src/overlays/d16e/Okajima/smke_ln.c
Normal file
141
src/overlays/d16e/Okajima/smke_ln.c
Normal file
@ -0,0 +1,141 @@
|
||||
#include "libgv/libgv.h"
|
||||
|
||||
typedef struct _SmokeLnWork
|
||||
{
|
||||
GV_ACT actor;
|
||||
int map;
|
||||
SVECTOR f24;
|
||||
SVECTOR f2C;
|
||||
SVECTOR speed;
|
||||
int f3C;
|
||||
int f40;
|
||||
int time;
|
||||
int f48;
|
||||
int f4C;
|
||||
char f50;
|
||||
char f51;
|
||||
char f52;
|
||||
} SmokeLnWork;
|
||||
|
||||
extern int GM_CurrentMap_800AB9B0;
|
||||
|
||||
void AN_Smoke_800CE2C4(SVECTOR *pos, SVECTOR *speed, int, int, int, int, int);
|
||||
|
||||
#define EXEC_LEVEL 4
|
||||
|
||||
void SmokeLnAct_800CDB38(SmokeLnWork *work)
|
||||
{
|
||||
SVECTOR pos;
|
||||
int rnd;
|
||||
|
||||
GM_CurrentMap_800AB9B0 = work->map;
|
||||
|
||||
if (--work->time < 0)
|
||||
{
|
||||
GV_DestroyActor_800151C8(&work->actor);
|
||||
}
|
||||
|
||||
if ((++work->f4C & 7) == 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
rnd = GV_RandS_800170BC(32768);
|
||||
pos.vx = work->f24.vx + (((work->f2C.vx - work->f24.vx) * work->f4C) / work->f48) + ((rnd * work->f3C) / 32768);
|
||||
|
||||
rnd = GV_RandS_800170BC(32768);
|
||||
pos.vy = work->f24.vy + (((work->f2C.vy - work->f24.vy) * work->f4C) / work->f48) + ((rnd * work->f3C) / 32768);
|
||||
|
||||
rnd = GV_RandS_800170BC(32768);
|
||||
pos.vz = work->f24.vz + (((work->f2C.vz - work->f24.vz) * work->f4C) / work->f48) + ((rnd * work->f3C) / 32768);
|
||||
|
||||
switch(work->f40)
|
||||
{
|
||||
case 0:
|
||||
AN_Smoke_800CE2C4(&pos, &work->speed, 0, 0, 0, 0, 0);
|
||||
break;
|
||||
|
||||
case 1:
|
||||
AN_Smoke_800CE2C4(&pos, &work->speed, 0, 1, 0, 0, 0);
|
||||
break;
|
||||
|
||||
case 2:
|
||||
AN_Smoke_800CE2C4(&pos, &work->speed, 0, 2, 0, 0, 0);
|
||||
break;
|
||||
|
||||
case 3:
|
||||
AN_Smoke_800CE2C4(&pos, &work->speed, 0, 3, 0, 0, 0);
|
||||
break;
|
||||
|
||||
case 4:
|
||||
AN_Smoke_800CE2C4(&pos, &work->speed, 1, 0, 0, 0, 0);
|
||||
break;
|
||||
|
||||
case 5:
|
||||
AN_Smoke_800CE2C4(&pos, &work->speed, 1, 1, 0, 0, 0);
|
||||
break;
|
||||
|
||||
case 6:
|
||||
AN_Smoke_800CE2C4(&pos, &work->speed, 1, 2, 0, 0, 0);
|
||||
break;
|
||||
|
||||
case 7:
|
||||
AN_Smoke_800CE2C4(&pos, &work->speed, 1, 3, 0, 0, 0);
|
||||
break;
|
||||
|
||||
case 8:
|
||||
AN_Smoke_800CE2C4(&pos, &work->speed, 2, 0, work->f50, work->f51, work->f52);
|
||||
break;
|
||||
|
||||
case 9:
|
||||
AN_Smoke_800CE2C4(&pos, &work->speed, 2, 1, work->f50, work->f51, work->f52);
|
||||
break;
|
||||
|
||||
case 10:
|
||||
AN_Smoke_800CE2C4(&pos, &work->speed, 2, 2, work->f50, work->f51, work->f52);
|
||||
break;
|
||||
|
||||
case 11:
|
||||
AN_Smoke_800CE2C4(&pos, &work->speed, 2, 3, work->f50, work->f51, work->f52);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
void SmokeLnDie_800CDEF0(SmokeLnWork *work)
|
||||
{
|
||||
}
|
||||
|
||||
int SmokeLnGetResources_800CDEF8(SmokeLnWork *work, int arg1, int time, int arg3, SVECTOR *arg4, SVECTOR *arg5, SVECTOR *speed, char arg7, char arg8, char arg9)
|
||||
{
|
||||
work->map = GM_CurrentMap_800AB9B0;
|
||||
|
||||
work->f40 = arg1;
|
||||
work->time = time;
|
||||
work->f3C = arg3;
|
||||
|
||||
work->f24 = *arg4;
|
||||
work->f2C = *arg5;
|
||||
work->speed = *speed;
|
||||
|
||||
work->f50 = arg7;
|
||||
work->f51 = arg8;
|
||||
work->f52 = arg9;
|
||||
|
||||
work->f48 = time;
|
||||
work->f4C = 0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
GV_ACT * NewSmokeLn_800CDFA4(int arg0, int arg1, int arg2, SVECTOR *arg3, SVECTOR *arg4, SVECTOR *arg5, char arg6, char arg7, char arg8)
|
||||
{
|
||||
SmokeLnWork *work;
|
||||
|
||||
work = (SmokeLnWork *)GV_NewActor_800150E4(EXEC_LEVEL, sizeof(SmokeLnWork));
|
||||
if (work != NULL)
|
||||
{
|
||||
GV_SetNamedActor_8001514C(&work->actor, (TActorFunction)SmokeLnAct_800CDB38, (TActorFunction)SmokeLnDie_800CDEF0, "smke_ln.c");
|
||||
SmokeLnGetResources_800CDEF8(work, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
|
||||
}
|
||||
|
||||
return &work->actor;
|
||||
}
|
@ -53,23 +53,6 @@ int d16e_dword_800C36AC = 0x00020100;
|
||||
int d16e_dword_800C36B0 = 0x00C40300;
|
||||
int d16e_dword_800C36B4 = 0x00020100;
|
||||
|
||||
const int d16e_dword_800D28E0 = 0x800CDD38;
|
||||
const int d16e_dword_800D28E4 = 0x800CDD58;
|
||||
const int d16e_dword_800D28E8 = 0x800CDD78;
|
||||
const int d16e_dword_800D28EC = 0x800CDD98;
|
||||
const int d16e_dword_800D28F0 = 0x800CDDB8;
|
||||
const int d16e_dword_800D28F4 = 0x800CDDD8;
|
||||
const int d16e_dword_800D28F8 = 0x800CDDF8;
|
||||
const int d16e_dword_800D28FC = 0x800CDE18;
|
||||
const int d16e_dword_800D2900 = 0x800CDE38;
|
||||
const int d16e_dword_800D2904 = 0x800CDE60;
|
||||
const int d16e_dword_800D2908 = 0x800CDE88;
|
||||
const int d16e_dword_800D290C = 0x800CDEB0;
|
||||
const char d16e_dword_800D2910[] = {'s', 'm', 'k', 'e'};
|
||||
const char d16e_dword_800D2914[] = {'_', 'l', 'n', '.'};
|
||||
const char d16e_dword_800D2918[] = {'c', 0x0, 0xbb, '{'};
|
||||
|
||||
|
||||
const char d16e_dword_800D291C[] = {0x0, 0x15, 0x1, 0x0};
|
||||
const char d16e_dword_800D2920[] = {0x5, 0x1, 0xfe, 0xc};
|
||||
const char d16e_dword_800D2924[] = {0x0, '\n', '\n', 0x0};
|
||||
|
BIN
um/d16e.bin
BIN
um/d16e.bin
Binary file not shown.
Loading…
Reference in New Issue
Block a user