Previous 199869 Revisions Next

r17893 Friday 14th September, 2012 at 18:58:58 UTC by Angelo Salese
Small addendum
[src/mame/machine]seicop.c

trunk/src/mame/machine/seicop.c
r17892r17893
18301830Mecha Ghidorah 0x12dc X = 0x24ec Y = 0x55dc
18311831Mecha Godzilla 0x12d4 X = 0x1cf1 Y = 0x52dc
18321832Gigan 0x12cc X = 0x23e8 Y = 0x55db
1833
1834(DC.W $1020, $F0C0, $0000, $0000)
1835X = collides at the same spot
1836Y = collides between 0xd0 and 0x20
1837
18331838*/
18341839static void cop_take_hit_box_params(UINT8 offs)
18351840{
18361841   INT16 start_x,start_y,end_x,end_y;
18371842
1838   start_x = INT8(cop_collision_info[offs].hitbox_x);
1843   end_y = INT8(cop_collision_info[offs].hitbox_y >> 8);
18391844   start_y = INT8(cop_collision_info[offs].hitbox_y);
1840
18411845   end_x = INT8(cop_collision_info[offs].hitbox_x >> 8);
1842   end_y = INT8(cop_collision_info[offs].hitbox_y >> 8);
1846   start_x = INT8(cop_collision_info[offs].hitbox_x);
18431847
18441848   cop_collision_info[offs].min_x = start_x + (cop_collision_info[offs].x >> 16);
18451849   cop_collision_info[offs].min_y = start_y + (cop_collision_info[offs].y >> 16);

Previous 199869 Revisions Next


© 1997-2024 The MAME Team