Deduplicate s00a, s03e's animeconv/unknown.c

This commit is contained in:
nocato 2023-11-23 00:37:07 +01:00
parent 918dfac370
commit 9d95214f41
15 changed files with 38 additions and 490 deletions

View File

@ -468,7 +468,7 @@ overlay_bss group file("{{OBJ_DIR}}\{{OVERLAY}}_{{OVERLAY_SUFFIX}}_bss.bin")
include "{{OBJ_DIR}}\overlays\d03a\Okajima\uji.obj"
include "{{OBJ_DIR}}\overlays\s03e\Okajima\guncame.obj"
include "{{OBJ_DIR}}\overlays\s01a\Anime\animeconv\socom.obj"
include "{{OBJ_DIR}}\overlays\s03e\Anime\animeconv\unknown.obj"
include "{{OBJ_DIR}}\overlays\s00a\Anime\animeconv\unknown.obj"
include "{{OBJ_DIR}}\overlays\s03e\Takabe\spark2.obj"
include "{{OBJ_DIR}}\overlays\s16b\unknown.obj"
include "{{OBJ_DIR}}\overlays\s16b\unknown2.obj"
@ -1176,7 +1176,7 @@ overlay_bss group file("{{OBJ_DIR}}\{{OVERLAY}}_{{OVERLAY_SUFFIX}}_bss.bin")
include "{{OBJ_DIR}}\overlays\s16b\Enemy\asioto.obj"
include "{{OBJ_DIR}}\overlays\s03e\Okajima\guncame.obj"
include "{{OBJ_DIR}}\overlays\s01a\Anime\animeconv\socom.obj"
include "{{OBJ_DIR}}\overlays\s03e\Anime\animeconv\unknown.obj"
include "{{OBJ_DIR}}\overlays\s00a\Anime\animeconv\unknown.obj"
include "{{OBJ_DIR}}\overlays\s01a\Okajima\blink_tx.obj"
include "{{OBJ_DIR}}\overlays\s12c\overlay2.obj"

View File

@ -233,17 +233,14 @@ const char s00a_dword_800E011C[] = {
const char s00a_dword_800E0220[] = {0x0, 0x4, 0x1, 0x0, 0x5, 0x2, 0x0, 0x1, 0xf};
ANIMATION s00a_dword_800C3418 = { PCX_B_MARK, 1, 1, 1, 1, 500, 1, 80, 80, 0, 0, (char *)s00a_dword_800DFEB4 };
ANIMATION s00a_dword_800C3434 = { PCX_Q_MARK, 1, 1, 1, 1, 500, 1, 80, 80, 0, 0, (char *)s00a_dword_800E0018 };
ANIMATION s00a_dword_800C3450 = { PCX_Q_MARK, 1, 1, 1, 1, 500, 1, 80, 80, 0, 0, (char *)s00a_dword_800E011C };
ANIMATION s00a_dword_800C346C = { PCX_HEART, 1, 1, 1, 1, 0, 1, 70, 70, 255, 0, (char *)s00a_dword_800E0220 };
ANIMATION s00a_dword_800C3418 = { PCX_B_MARK, 1, 1, 1, 1, 500, 1, 80, 80, 0, NULL, (char *)s00a_dword_800DFEB4 };
ANIMATION s00a_dword_800C3434 = { PCX_Q_MARK, 1, 1, 1, 1, 500, 1, 80, 80, 0, NULL, (char *)s00a_dword_800E0018 };
ANIMATION s00a_dword_800C3450 = { PCX_Q_MARK, 1, 1, 1, 1, 500, 1, 80, 80, 0, NULL, (char *)s00a_dword_800E011C };
ANIMATION s00a_dword_800C346C = { PCX_HEART, 1, 1, 1, 1, 0, 1, 70, 70, 255, NULL, (char *)s00a_dword_800E0220 };
short s00a_dword_800C3488 = PCX_B_MARK;
short s00a_dword_800C348A = PCX_Q_MARK;
short s00a_dword_800C348C = PCX_HEART;
short s00a_dword_800C348E = 0x0000;
unsigned short s00a_dword_800C3488[] = {PCX_B_MARK, PCX_Q_MARK, PCX_HEART};
void *s00a_command_800CA1EC( MATRIX *mat, int mark )
void *AN_Unknown_800CA1EC( MATRIX *mat, int mark )
{
SVECTOR *pos;
PRESCRIPT pre;
@ -262,31 +259,31 @@ void *s00a_command_800CA1EC( MATRIX *mat, int mark )
switch ( mark )
{
case 0:
s00a_dword_800C3418.field_0_texture_hash = s00a_dword_800C3488;
s00a_dword_800C3418.field_0_texture_hash = s00a_dword_800C3488[0];
anim = &s00a_dword_800C3418;
break;
case 1:
s00a_dword_800C3418.field_0_texture_hash = s00a_dword_800C348A;
s00a_dword_800C3418.field_0_texture_hash = s00a_dword_800C3488[1];
anim = &s00a_dword_800C3418;
break;
case 2:
s00a_dword_800C3434.field_0_texture_hash = s00a_dword_800C3488;
s00a_dword_800C3434.field_0_texture_hash = s00a_dword_800C3488[0];
anim = &s00a_dword_800C3434;
break;
case 3:
s00a_dword_800C3434.field_0_texture_hash = s00a_dword_800C348A;
s00a_dword_800C3434.field_0_texture_hash = s00a_dword_800C3488[1];
anim = &s00a_dword_800C3434;
break;
case 4:
s00a_dword_800C3450.field_0_texture_hash = s00a_dword_800C3488;
s00a_dword_800C3450.field_0_texture_hash = s00a_dword_800C3488[0];
anim = &s00a_dword_800C3450;
break;
case 5:
s00a_dword_800C3450.field_0_texture_hash = s00a_dword_800C348A;
s00a_dword_800C3450.field_0_texture_hash = s00a_dword_800C3488[1];
anim = &s00a_dword_800C3450;
break;
case 6:
s00a_dword_800C3418.field_0_texture_hash = s00a_dword_800C348C;
s00a_dword_800C3418.field_0_texture_hash = s00a_dword_800C3488[2];
anim = &s00a_dword_800C3418;
pre.scr_num = 1;
break;
@ -296,7 +293,7 @@ void *s00a_command_800CA1EC( MATRIX *mat, int mark )
return NewAnime_8005FBC8( mat, 0, anim );
}
void *s00a_command_800CA320( MATRIX *mat, int mark )
void *AN_Unknown_800CA320( MATRIX *mat, int mark )
{
SVECTOR *pos;
PRESCRIPT pre;
@ -315,31 +312,31 @@ void *s00a_command_800CA320( MATRIX *mat, int mark )
switch ( mark )
{
case 0:
s00a_dword_800C3418.field_0_texture_hash = s00a_dword_800C3488;
s00a_dword_800C3418.field_0_texture_hash = s00a_dword_800C3488[0];
anim = &s00a_dword_800C3418;
break;
case 1:
s00a_dword_800C3418.field_0_texture_hash = s00a_dword_800C348A;
s00a_dword_800C3418.field_0_texture_hash = s00a_dword_800C3488[1];
anim = &s00a_dword_800C3418;
break;
case 2:
s00a_dword_800C3434.field_0_texture_hash = s00a_dword_800C3488;
s00a_dword_800C3434.field_0_texture_hash = s00a_dword_800C3488[0];
anim = &s00a_dword_800C3434;
break;
case 3:
s00a_dword_800C3434.field_0_texture_hash = s00a_dword_800C348A;
s00a_dword_800C3434.field_0_texture_hash = s00a_dword_800C3488[1];
anim = &s00a_dword_800C3434;
break;
case 4:
s00a_dword_800C3450.field_0_texture_hash = s00a_dword_800C3488;
s00a_dword_800C3450.field_0_texture_hash = s00a_dword_800C3488[0];
anim = &s00a_dword_800C3450;
break;
case 5:
s00a_dword_800C3450.field_0_texture_hash = s00a_dword_800C348A;
s00a_dword_800C3450.field_0_texture_hash = s00a_dword_800C3488[1];
anim = &s00a_dword_800C3450;
break;
case 6:
s00a_dword_800C3418.field_0_texture_hash = s00a_dword_800C348C;
s00a_dword_800C3418.field_0_texture_hash = s00a_dword_800C3488[2];
anim = &s00a_dword_800C3418;
pre.scr_num = 2;
break;
@ -349,7 +346,7 @@ void *s00a_command_800CA320( MATRIX *mat, int mark )
return NewAnime_8005FBC8( mat, 0, anim );
}
void *s00a_command_800CA458( MATRIX *mat, int mark )
void *AN_Unknown_800CA458( MATRIX *mat, int mark )
{
SVECTOR *pos;
PRESCRIPT pre;
@ -368,32 +365,32 @@ void *s00a_command_800CA458( MATRIX *mat, int mark )
switch ( mark )
{
case 0:
s00a_dword_800C3418.field_0_texture_hash = s00a_dword_800C3488;
s00a_dword_800C3418.field_0_texture_hash = s00a_dword_800C3488[0];
anim = &s00a_dword_800C3418;
pre.scr_num = 3;
break;
case 1:
s00a_dword_800C3418.field_0_texture_hash = s00a_dword_800C348A;
s00a_dword_800C3418.field_0_texture_hash = s00a_dword_800C3488[1];
anim = &s00a_dword_800C3418;
break;
case 2:
s00a_dword_800C3434.field_0_texture_hash = s00a_dword_800C3488;
s00a_dword_800C3434.field_0_texture_hash = s00a_dword_800C3488[0];
anim = &s00a_dword_800C3434;
break;
case 3:
s00a_dword_800C3434.field_0_texture_hash = s00a_dword_800C348A;
s00a_dword_800C3434.field_0_texture_hash = s00a_dword_800C3488[1];
anim = &s00a_dword_800C3434;
break;
case 4:
s00a_dword_800C3450.field_0_texture_hash = s00a_dword_800C3488;
s00a_dword_800C3450.field_0_texture_hash = s00a_dword_800C3488[0];
anim = &s00a_dword_800C3450;
break;
case 5:
s00a_dword_800C3450.field_0_texture_hash = s00a_dword_800C348A;
s00a_dword_800C3450.field_0_texture_hash = s00a_dword_800C3488[1];
anim = &s00a_dword_800C3450;
break;
case 6:
s00a_dword_800C3418.field_0_texture_hash = s00a_dword_800C348C;
s00a_dword_800C3418.field_0_texture_hash = s00a_dword_800C3488[2];
anim = &s00a_dword_800C3418;
pre.scr_num = 3;
break;
@ -403,7 +400,7 @@ void *s00a_command_800CA458( MATRIX *mat, int mark )
return NewAnime_8005FBC8( mat, 0, anim );
}
void s00a_command_800CA594( SVECTOR *pos )
void AN_Unknown_800CA594( SVECTOR *pos )
{
ANIMATION *anm;
PRESCRIPT pre;

View File

@ -1839,7 +1839,7 @@ void ENE_PutMark_800C9378( WatcherWork *work, int mark )
GV_DestroyOtherActor_800151D8( (GV_ACT*)work->next_node );
}
work->next_node = (int)s00a_command_800CA1EC( mat , mark ) ;
work->next_node = (int)AN_Unknown_800CA1EC( mat , mark ) ;
work->mark_time = 30;
}

View File

@ -278,7 +278,7 @@ void s00a_command_800D0218( void ) ;
void s00a_command_800D0344( void ) ;
void EnemyPushMove_800CA0E8( WatcherWork* work );
void EnemyActionMain_800CA07C( WatcherWork* work );
void *s00a_command_800CA1EC( MATRIX* mat, int mark);
void *AN_Unknown_800CA1EC( MATRIX* mat, int mark);
void ENE_SetGopointLast_800CEB00();
void ENE_SetTopCommAL_800CEAE8( int alert );

View File

@ -251,7 +251,7 @@ int s01a_camera_800D515C(CameraWork *work)
if (field_1EC == 15)
{
s00a_command_800CEC40(&work->field_20.field_0_mov, 32);
s00a_command_800CA1EC(&work->field_9C.objs[1].world, 0);
AN_Unknown_800CA1EC(&work->field_9C.objs[1].world, 0);
COM_VibTime_800E0F68 = 10;
s01a_camera_800D50EC(work);
}
@ -586,7 +586,7 @@ void s01a_camera_800D5A68(CameraWork *work)
ENE_SetGopointLast_800CEB00();
COM_VibTime_800E0F68 = 0xA;
s00a_command_800CEC40(&work->field_20.field_0_mov, 0x20);
s00a_command_800CA1EC(&work->field_9C.objs[1].world, 0);
AN_Unknown_800CA1EC(&work->field_9C.objs[1].world, 0);
s01a_camera_800D50EC(work);
work->field_1E0 = 1;
work->field_1E8 = 4;

View File

@ -1,449 +0,0 @@
#include "Anime/animeconv/anime.h"
#include "libgcl/hash.h"
extern SVECTOR DG_ZeroVector_800AB39C;
const char anim_data_800CC2AC[] =
{
0x1, 'V', 0x4, 0x0,
0xb, 0x0, '^', 0x0,
0xb1, 0x1, 0x9, 0x1,
0x0, 0xc, 0x0, 0x4,
'\n', 0x0, 'd', 0x0,
'd', 0x8, '2', 0x19,
0x14, 0x2, 0x0, 0x1,
0xd, '\n', 0x0, 'd',
0x0, 'd', 0x8, '2',
0x96, 0xaa, 0x2, 0x0,
0x3, '\n', 0xff, 0x9c,
0xff, 0x9c, 0x8, 0xce,
'j', 'V', 0x2, 0x0,
0x16, '\n', 0x1, ',',
0xfe, 0x98, 0x8, 0xce,
0xe7, 0xec, 0x2, 0x0,
0x1, '\n', 0x1, ',',
0xff, 0xe2, 0x8, 0xce,
0xe7, 0xec, 0x2, 0x0,
0x1, '\n', 0x1, ',',
0xff, 0xf4, 0x2, 0x0,
0x1, '\n', 0xfa, 0xba,
0x0, 0xf0, 0x2, 0x0,
0x1, 0xf, 0x1, 0x0,
0xc, 0x0, 0x4, '\n',
0x0, '2', 0x0, '2',
0x8, '2', 0x19, 0x14,
0x2, 0x0, 0x1, 0xd,
'\n', 0x0, '2', 0x0,
'2', 0x8, '2', 0x96,
0xaa, 0x2, 0x0, 0x3,
'\n', 0xff, 0xce, 0xff,
0xce, 0x8, 0xce, 'j',
'V', 0x2, 0x0, 0x16,
'\n', 0x0, 0x96, 0xff,
'L', 0x8, 0xce, 0xe7,
0xec, 0x2, 0x0, 0x1,
'\n', 0x0, 0x96, 0xff,
0xf1, 0x8, 0xce, 0xe7,
0xec, 0x2, 0x0, 0x1,
'\n', 0x0, 0x96, 0xff,
0xfa, 0x2, 0x0, 0x1,
'\n', 0xfd, ']', 0x0,
'x', 0x2, 0x0, 0x1,
0xf, '\n', 0xff, 0xd8,
0xff, 0xd8, 0x1, 0x0,
0xc, 0x0, 0x4, '\n',
0x0, 0x19, 0x0, 0x19,
0x8, '2', 0x19, 0x14,
0x2, 0x0, 0x1, 0xd,
'\n', 0x0, 0x19, 0x0,
0x19, 0x8, '2', 0x96,
0xaa, 0x2, 0x0, 0x3,
'\n', 0xff, 0xe7, 0xff,
0xe7, 0x8, 0xce, 'j',
'V', 0x2, 0x0, 0x16,
'\n', 0x0, 'K', 0xff,
0xa6, 0x8, 0xce, 0xe7,
0xec, 0x2, 0x0, 0x1,
'\n', 0x0, 'K', 0xff,
0xf9, 0x8, 0xce, 0xe7,
0xec, 0x2, 0x0, 0x1,
'\n', 0x0, 'K', 0xff,
0xf9, 0x2, 0x0, 0x1,
'\n', 0xfe, 0xd4, 0x0,
'<', 0x2, 0x0, 0x1,
0xf, '\n', 0xff, 0xc4,
0xff, 0xc4, 0x1, 0x0,
0xc, 0x0, 0x4, '\n',
0x0, '\n', 0x0, '\n',
0x8, '2', 0x19, 0x14,
0x2, 0x0, 0x1, 0xd,
'\n', 0x0, '\n', 0x0,
'\n', 0x8, '2', 0x96,
0xaa, 0x2, 0x0, 0x3,
'\n', 0xff, 0xf6, 0xff,
0xf6, 0x8, 0xce, 'j',
'V', 0x2, 0x0, 0x16,
'\n', 0x0, 0x1e, 0xff,
0xdc, 0x8, 0xce, 0xe7,
0xec, 0x2, 0x0, 0x1,
'\n', 0x0, 0x1e, 0xff,
0xfe, 0x8, 0xce, 0xe7,
0xec, 0x2, 0x0, 0x1,
'\n', 0x0, 0x1e, 0xff,
0xfe, 0x2, 0x0, 0x1,
'\n', 0xff, 0xb0, 0x0,
'\n', 0x2, 0x0, 0x1,
0xf, 0x0, 0x0, 0x0
};
const char anim_data_800CC410[] =
{
0x0, 0xf9, 0x3, 0x0,
0x9, 0x0, '\\', 0x0,
0xaf, 0x1, 0x0, 0xc,
0x0, 0x4, '\n', 0x0,
'd', 0x0, 'd', 0x8,
'-', '#', 0x14, 0x2,
0x0, 0x1, 0xd, '\n',
0x0, 'd', 0x0, 'd',
0x8, 'F', 'n', 0xaa,
0x2, 0x0, 0x3, '\n',
0xff, 0x9c, 0xff, 0x9c,
0x8, 0xba, 0x92, 'V',
0x2, 0x0, 0x16, '\n',
0x1, ',', 0xfe, 0x98,
0x8, 0xd3, 0xdd, 0xec,
0x2, 0x0, 0x1, '\n',
0x1, ',', 0xff, 0xe2,
0x8, 0xd3, 0xdd, 0xec,
0x2, 0x0, 0x1, '\n',
0x1, ',', 0xff, 0xf4,
0x2, 0x0, 0x1, '\n',
0xfa, 0xba, 0x0, 0xf0,
0x2, 0x0, 0x1, 0xf,
0x1, 0x0, 0xc, 0x0,
0x4, '\n', 0x0, '2',
0x0, '2', 0x8, '-',
'#', 0x14, 0x2, 0x0,
0x1, 0xd, '\n', 0x0,
'2', 0x0, '2', 0x8,
'F', 'n', 0xaa, 0x2,
0x0, 0x3, '\n', 0xff,
0xce, 0xff, 0xce, 0x8,
0xba, 0x92, 'V', 0x2,
0x0, 0x16, '\n', 0x0,
0x96, 0xff, 'L', 0x8,
0xd3, 0xdd, 0xec, 0x2,
0x0, 0x1, '\n', 0x0,
0x96, 0xff, 0xf1, 0x8,
0xd3, 0xdd, 0xec, 0x2,
0x0, 0x1, '\n', 0x0,
0x96, 0xff, 0xfa, 0x2,
0x0, 0x1, '\n', 0xfd,
']', 0x0, 'x', 0x2,
0x0, 0x1, 0xf, 0x1,
0x0, 0xc, 0x0, 0x4,
'\n', 0x0, 0x19, 0x0,
0x19, 0x8, '2', 0x19,
0x14, 0x2, 0x0, 0x1,
0xd, '\n', 0x0, 0x19,
0x0, 0x19, 0x8, '2',
0x96, 0xaa, 0x2, 0x0,
0x3, '\n', 0xff, 0xe7,
0xff, 0xe7, 0x8, 0xce,
'j', 'V', 0x2, 0x0,
0x16, '\n', 0x0, 'K',
0xff, 0xa6, 0x8, 0xce,
0xe7, 0xec, 0x2, 0x0,
0x1, '\n', 0x0, 'K',
0xff, 0xf9, 0x8, 0xce,
0xe7, 0xec, 0x2, 0x0,
0x1, '\n', 0x0, 'K',
0xff, 0xf9, 0x2, 0x0,
0x1, '\n', 0xfe, 0xd4,
0x0, '<', 0x2, 0x0,
0x1, 0xf, 0x0, 0x0
};
const char anim_data_800CC514[] =
{
0x0, 0xf9, 0x3, 0x0,
0x9, 0x0, '\\', 0x0,
0xaf, 0x1, 0x0, 0xc,
0x0, 0x4, '\n', 0x0,
'd', 0x0, 'd', 0x8,
0x19, '&', '-', 0x2,
0x0, 0x1, 0xd, '\n',
0x0, 'd', 0x0, 'd',
0x8, 0x96, 'b', 'F',
0x2, 0x0, 0x3, '\n',
0xff, 0x9c, 0xff, 0x9c,
0x8, 'j', 0x9e, 0xba,
0x2, 0x0, 0x16, '\n',
0x1, ',', 0xfe, 0x98,
0x8, 0xe7, 0xda, 0xd3,
0x2, 0x0, 0x1, '\n',
0x1, ',', 0xff, 0xe2,
0x8, 0xe7, 0xda, 0xd3,
0x2, 0x0, 0x1, '\n',
0x1, ',', 0xff, 0xf4,
0x2, 0x0, 0x1, '\n',
0xfa, 0xba, 0x0, 0xf0,
0x2, 0x0, 0x1, 0xf,
0x1, 0x0, 0xc, 0x0,
0x4, '\n', 0x0, '2',
0x0, '2', 0x8, '-',
'#', 0x14, 0x2, 0x0,
0x1, 0xd, '\n', 0x0,
'2', 0x0, '2', 0x8,
'F', 'n', 0xaa, 0x2,
0x0, 0x3, '\n', 0xff,
0xce, 0xff, 0xce, 0x8,
0xba, 0x92, 'V', 0x2,
0x0, 0x16, '\n', 0x0,
0x96, 0xff, 'L', 0x8,
0xd3, 0xdd, 0xec, 0x2,
0x0, 0x1, '\n', 0x0,
0x96, 0xff, 0xf1, 0x8,
0xd3, 0xdd, 0xec, 0x2,
0x0, 0x1, '\n', 0x0,
0x96, 0xff, 0xfa, 0x2,
0x0, 0x1, '\n', 0xfd,
']', 0x0, 'x', 0x2,
0x0, 0x1, 0xf, 0x1,
0x0, 0xc, 0x0, 0x4,
'\n', 0x0, 0x19, 0x0,
0x19, 0x8, '2', 0x19,
0x14, 0x2, 0x0, 0x1,
0xd, '\n', 0x0, 0x19,
0x0, 0x19, 0x8, '2',
0x96, 0xaa, 0x2, 0x0,
0x3, '\n', 0xff, 0xe7,
0xff, 0xe7, 0x8, 0xce,
'j', 'V', 0x2, 0x0,
0x16, '\n', 0x0, 'K',
0xff, 0xa6, 0x8, 0xce,
0xe7, 0xec, 0x2, 0x0,
0x1, '\n', 0x0, 'K',
0xff, 0xf9, 0x8, 0xce,
0xe7, 0xec, 0x2, 0x0,
0x1, '\n', 0x0, 'K',
0xff, 0xf9, 0x2, 0x0,
0x1, '\n', 0xfe, 0xd4,
0x0, '<', 0x2, 0x0,
0x1, 0xf, 0x0, 0x0
};
const char anim_data_800CC618[] =
{
0x0, 0x4, 0x1, 0x0,
0x5, 0x2, 0x0, 0x1,
0xf
};
ANIMATION anm_800C335C = {PCX_B_MARK, 1, 1, 1, 1, 500, 1, 80, 80, 0, NULL, (char *)anim_data_800CC2AC};
ANIMATION anm_800C3378 = {PCX_Q_MARK, 1, 1, 1, 1, 500, 1, 80, 80, 0, NULL, (char *)anim_data_800CC410};
ANIMATION anm_800C3394 = {PCX_Q_MARK, 1, 1, 1, 1, 500, 1, 80, 80, 0, NULL, (char *)anim_data_800CC514};
ANIMATION anm_800C33B0 = {PCX_HEART, 1, 1, 1, 1, 0, 1, 70, 70, 255, NULL, (char *)anim_data_800CC618};
unsigned short s03e_dword_800C33CC[] = {PCX_B_MARK, PCX_Q_MARK, PCX_HEART};
void AN_Unknown_800C9CBC(MATRIX *world, int index)
{
PRESCRIPT pre;
ANIMATION *anm;
SVECTOR *pos;
anm = NULL;
pos = &pre.pos;
pos->vx = 0;
pos->vy = 800;
pos->vz = 0;
pre.speed = DG_ZeroVector_800AB39C;
pre.scr_num = 0;
pre.s_anim = 0;
switch(index)
{
case 0:
anm_800C335C.field_0_texture_hash = s03e_dword_800C33CC[0];
anm = &anm_800C335C;
break;
case 1:
anm_800C335C.field_0_texture_hash = s03e_dword_800C33CC[1];
anm = &anm_800C335C;
break;
case 2:
anm_800C3378.field_0_texture_hash = s03e_dword_800C33CC[0];
anm = &anm_800C3378;
break;
case 3:
anm_800C3378.field_0_texture_hash = s03e_dword_800C33CC[1];
anm = &anm_800C3378;
break;
case 4:
anm_800C3394.field_0_texture_hash = s03e_dword_800C33CC[0];
anm = &anm_800C3394;
break;
case 5:
anm_800C3394.field_0_texture_hash = s03e_dword_800C33CC[1];
anm = &anm_800C3394;
break;
case 6:
pre.scr_num = 1;
anm_800C335C.field_0_texture_hash = s03e_dword_800C33CC[2];
anm = &anm_800C335C;
break;
}
anm->field_14_pre_script = &pre;
NewAnime_8005FBC8(world, 0, anm);
}
void AN_Unknown_800C9DF0(MATRIX *world, int index)
{
PRESCRIPT pre;
ANIMATION *anm;
SVECTOR *pos;
anm = NULL;
pos = &pre.pos;
pos->vx = 0;
pos->vy = 600;
pos->vz = 0;
pre.speed = DG_ZeroVector_800AB39C;
pre.scr_num = 1;
pre.s_anim = 0;
switch(index)
{
case 0:
anm_800C335C.field_0_texture_hash = s03e_dword_800C33CC[0];
anm = &anm_800C335C;
break;
case 1:
anm_800C335C.field_0_texture_hash = s03e_dword_800C33CC[1];
anm = &anm_800C335C;
break;
case 2:
anm_800C3378.field_0_texture_hash = s03e_dword_800C33CC[0];
anm = &anm_800C3378;
break;
case 3:
anm_800C3378.field_0_texture_hash = s03e_dword_800C33CC[1];
anm = &anm_800C3378;
break;
case 4:
anm_800C3394.field_0_texture_hash = s03e_dword_800C33CC[0];
anm = &anm_800C3394;
break;
case 5:
anm_800C3394.field_0_texture_hash = s03e_dword_800C33CC[1];
anm = &anm_800C3394;
break;
case 6:
pre.scr_num = 2;
anm_800C335C.field_0_texture_hash = s03e_dword_800C33CC[2];
anm = &anm_800C335C;
break;
}
anm->field_14_pre_script = &pre;
NewAnime_8005FBC8(world, 0, anm);
}
void AN_Unknown_800C9F28(MATRIX *world, int index)
{
PRESCRIPT pre;
ANIMATION *anm;
SVECTOR *pos;
anm = NULL;
pos = &pre.pos;
pos->vx = 0;
pos->vy = 120;
pos->vz = 0;
pre.speed = DG_ZeroVector_800AB39C;
pre.scr_num = 2;
pre.s_anim = 0;
switch(index)
{
case 0:
pre.scr_num = 3;
anm_800C335C.field_0_texture_hash = s03e_dword_800C33CC[0];
anm = &anm_800C335C;
break;
case 1:
anm_800C335C.field_0_texture_hash = s03e_dword_800C33CC[1];
anm = &anm_800C335C;
break;
case 2:
anm_800C3378.field_0_texture_hash = s03e_dword_800C33CC[0];
anm = &anm_800C3378;
break;
case 3:
anm_800C3378.field_0_texture_hash = s03e_dword_800C33CC[1];
anm = &anm_800C3378;
break;
case 4:
anm_800C3394.field_0_texture_hash = s03e_dword_800C33CC[0];
anm = &anm_800C3394;
break;
case 5:
anm_800C3394.field_0_texture_hash = s03e_dword_800C33CC[1];
anm = &anm_800C3394;
break;
case 6:
pre.scr_num = 3;
anm_800C335C.field_0_texture_hash = s03e_dword_800C33CC[2];
anm = &anm_800C335C;
break;
}
anm->field_14_pre_script = &pre;
NewAnime_8005FBC8(world, 0, anm);
}
void AN_Unknown_800CA064(SVECTOR *pos)
{
PRESCRIPT pre;
ANIMATION *anm;
pre.pos = *pos;
pre.speed = DG_ZeroVector_800AB39C;
pre.scr_num = 0;
pre.s_anim = 0;
anm = &anm_800C33B0;
anm->field_14_pre_script = &pre;
NewAnime_8005FBC8(NULL, 0, anm);
}

View File

@ -102,7 +102,7 @@ extern int GM_PadVibration2_800ABA54;
extern int s03e_dword_800C32BC;
extern int GM_PlayerStatus_800ABA50;
void AN_Unknown_800C9CBC(MATRIX *world, int index);
void AN_Unknown_800CA1EC(MATRIX *world, int index);
void AN_Unknown_800D6BCC(SVECTOR *pos, SVECTOR *rot);
void AN_Unknown_800D6EB0(SVECTOR *pos);
@ -515,7 +515,7 @@ void GunCamE_800C7994(GunCamEWork *work)
if ((((GV_Time_800AB330 + work->field_414) & 3) == 0) && GunCamE_800C7224(work))
{
AN_Unknown_800C9CBC(&work->field_9C.objs->objs[0].world, 0);
AN_Unknown_800CA1EC(&work->field_9C.objs->objs[0].world, 0);
if (s03e_dword_800CC6BC <= 0)
{

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.