sm64coopdx/actors
MysterD e0903003f4 Rewrote how players are initialized, stored, and displayed
Since the second-player code was the first code I wrote, it was implemented
poorly. At that point, I didn't know the code base at all and the way it was
written would prevent anyone from ever adding to those parts.

The rewrite allows me to use the default geo.inc.c file for Mario, and removes
all of the geo2.inc.c files. I no longer do a bunch of bit shifting to figure
out which player is being drawn in the rendering code.

I'm also now able to remove tons of duplicate code that exists just for the
remote player. The main player code is generic enough to support both indices.
A side-effect of the rewrite is I was able to remove many assumptions in the
code where two-players is assumed, but many other parts of the code still
assume two players.

This is a fairly major change that, if all goes well, will be completely
unnoticed by the player. However, I do expect new bugs to pop up in strange
places. Time will tell.
2020-09-06 18:52:52 -07:00
..
amp refresh 4 2019-12-01 21:52:53 -05:00
bird refresh 4 2019-12-01 21:52:53 -05:00
blargg refresh 4 2019-12-01 21:52:53 -05:00
blue_coin_switch merge refresh 10 2020-06-20 02:49:59 +03:00
blue_fish refresh 4 2019-12-01 21:52:53 -05:00
bobomb refresh 4 2019-12-01 21:52:53 -05:00
bomb refresh 4 2019-12-01 21:52:53 -05:00
boo Refresh 7 2020-03-01 22:42:52 -05:00
boo_castle Refresh 7 2020-03-01 22:42:52 -05:00
book refresh 4 2019-12-01 21:52:53 -05:00
bookend refresh 4 2019-12-01 21:52:53 -05:00
bowling_ball Refresh 3 2019-11-03 14:36:27 -05:00
bowser Refresh 7 2020-03-01 22:42:52 -05:00
bowser_flame fix crashes with EXTERNAL_TEXTURES on JP/EU and Bowser 2020-05-27 02:51:21 +03:00
bowser_key Refresh 7 2020-03-01 22:42:52 -05:00
breakable_box merge refresh 10 2020-06-20 02:49:59 +03:00
bub refresh 4 2019-12-01 21:52:53 -05:00
bubba refresh 4 2019-12-01 21:52:53 -05:00
bubble Refresh 3 2019-11-03 14:36:27 -05:00
bullet_bill refresh 4 2019-12-01 21:52:53 -05:00
bully refresh 4 2019-12-01 21:52:53 -05:00
burn_smoke Set compile-time flag for texture fixes 2020-05-16 09:36:06 -03:00
butterfly Refresh 3 2019-11-03 14:36:27 -05:00
cannon_barrel refresh 4 2019-12-01 21:52:53 -05:00
cannon_base refresh 4 2019-12-01 21:52:53 -05:00
cannon_lid merge refresh 10 2020-06-20 02:49:59 +03:00
capswitch merge refresh 10 2020-06-20 02:49:59 +03:00
chain_ball Refresh 3 2019-11-03 14:36:27 -05:00
chain_chomp refresh 4 2019-12-01 21:52:53 -05:00
chair refresh 4 2019-12-01 21:52:53 -05:00
checkerboard_platform merge refresh 10 2020-06-20 02:49:59 +03:00
chillychief refresh 4 2019-12-01 21:52:53 -05:00
chuckya use full texture sizes for the eyes of big bomb lad and chuckya 2020-06-10 19:11:09 +03:00
clam_shell refresh 4 2019-12-01 21:52:53 -05:00
coin Refresh 3 2019-11-03 14:36:27 -05:00
cyan_fish refresh 4 2019-12-01 21:52:53 -05:00
dirt refresh 4 2019-12-01 21:52:53 -05:00
door refresh 4 2019-12-01 21:52:53 -05:00
dorrie merge refresh 10 2020-06-20 02:49:59 +03:00
exclamation_box give the correct textures a different name instead 2020-06-14 13:37:57 +03:00
exclamation_box_outline merge refresh 10 2020-06-20 02:49:59 +03:00
explosion Refresh 3 2019-11-03 14:36:27 -05:00
eyerok refresh 4 2019-12-01 21:52:53 -05:00
flame Refresh 3 2019-11-03 14:36:27 -05:00
flyguy refresh 4 2019-12-01 21:52:53 -05:00
fwoosh Refresh 3 2019-11-03 14:36:27 -05:00
goomba refresh 4 2019-12-01 21:52:53 -05:00
haunted_cage refresh 4 2019-12-01 21:52:53 -05:00
heart Refresh 3 2019-11-03 14:36:27 -05:00
heave_ho refresh 4 2019-12-01 21:52:53 -05:00
hoot refresh 4 2019-12-01 21:52:53 -05:00
impact_ring Refresh 7 2020-03-01 22:42:52 -05:00
impact_smoke fix crashes with EXTERNAL_TEXTURES on JP/EU and Bowser 2020-05-27 02:51:21 +03:00
king_bobomb use full texture sizes for the eyes of big bomb lad and chuckya 2020-06-10 19:11:09 +03:00
klepto Refresh 7 2020-03-01 22:42:52 -05:00
koopa Added compile-time optional Koopa shorts fix 2020-05-16 09:40:33 -03:00
koopa_flag refresh 4 2019-12-01 21:52:53 -05:00
koopa_shell refresh 4 2019-12-01 21:52:53 -05:00
lakitu_cameraman refresh 4 2019-12-01 21:52:53 -05:00
lakitu_enemy Refresh 7 2020-03-01 22:42:52 -05:00
leaves Refresh 3 2019-11-03 14:36:27 -05:00
luigi Geo2 removal wip 2020-09-06 13:54:01 -07:00
luigi_cap Fix EXTERNAL_DATA for Luigi 2020-09-05 00:11:15 -07:00
mad_piano refresh 4 2019-12-01 21:52:53 -05:00
manta refresh 4 2019-12-01 21:52:53 -05:00
mario Geo2 removal wip 2020-09-06 13:54:01 -07:00
mario_cap Refresh 7 2020-03-01 22:42:52 -05:00
metal_box merge refresh 10 2020-06-20 02:49:59 +03:00
mips refresh 4 2019-12-01 21:52:53 -05:00
mist Refresh 7 2020-03-01 22:42:52 -05:00
moneybag Refresh 7 2020-03-01 22:42:52 -05:00
monty_mole Refresh 7 2020-03-01 22:42:52 -05:00
monty_mole_hole Refresh 3 2019-11-03 14:36:27 -05:00
mr_i_eyeball Refresh 3 2019-11-03 14:36:27 -05:00
mr_i_iris Refresh 3 2019-11-03 14:36:27 -05:00
mushroom_1up Refresh 3 2019-11-03 14:36:27 -05:00
number Refresh 3 2019-11-03 14:36:27 -05:00
peach Refresh 7 2020-03-01 22:42:52 -05:00
pebble Refresh 3 2019-11-03 14:36:27 -05:00
penguin merge refresh 10 2020-06-20 02:49:59 +03:00
piranha_plant refresh 4 2019-12-01 21:52:53 -05:00
pokey Refresh 3 2019-11-03 14:36:27 -05:00
poundable_pole merge refresh 10 2020-06-20 02:49:59 +03:00
power_meter Refresh 3 2019-11-03 14:36:27 -05:00
purple_switch merge refresh 10 2020-06-20 02:49:59 +03:00
sand Refresh 3 2019-11-03 14:36:27 -05:00
scuttlebug refresh 4 2019-12-01 21:52:53 -05:00
seaweed refresh 4 2019-12-01 21:52:53 -05:00
skeeter refresh 4 2019-12-01 21:52:53 -05:00
small_key refresh 4 2019-12-01 21:52:53 -05:00
smoke Refresh 3 2019-11-03 14:36:27 -05:00
snowman Refresh 7 2020-03-01 22:42:52 -05:00
snufit Refresh 7 2020-03-01 22:42:52 -05:00
sparkle Refresh 3 2019-11-03 14:36:27 -05:00
sparkle_animation Refresh 3 2019-11-03 14:36:27 -05:00
spindrift refresh 4 2019-12-01 21:52:53 -05:00
spiny refresh 4 2019-12-01 21:52:53 -05:00
spiny_egg refresh 4 2019-12-01 21:52:53 -05:00
springboard merge refresh 10 2020-06-20 02:49:59 +03:00
star correct star texture size 2020-06-10 18:44:30 +03:00
stomp_smoke Refresh 7 2020-03-01 22:42:52 -05:00
sushi Refresh 7 2020-03-01 22:42:52 -05:00
swoop refresh 4 2019-12-01 21:52:53 -05:00
test_platform merge refresh 10 2020-06-20 02:49:59 +03:00
thwomp merge refresh 10 2020-06-20 02:49:59 +03:00
toad Refresh 7 2020-03-01 22:42:52 -05:00
tornado refresh 6 2020-02-03 00:51:26 -05:00
transparent_star refresh 4 2019-12-01 21:52:53 -05:00
treasure_chest refresh 4 2019-12-01 21:52:53 -05:00
tree refresh 4 2019-12-01 21:52:53 -05:00
ukiki refresh 4 2019-12-01 21:52:53 -05:00
unagi refresh 4 2019-12-01 21:52:53 -05:00
walk_smoke Refresh 3 2019-11-03 14:36:27 -05:00
warp_collision merge refresh 10 2020-06-20 02:49:59 +03:00
warp_pipe merge refresh 10 2020-06-20 02:49:59 +03:00
water_bubble refresh 4 2019-12-01 21:52:53 -05:00
water_mine refresh 4 2019-12-01 21:52:53 -05:00
water_ring Refresh 7 2020-03-01 22:42:52 -05:00
water_splash Refresh 3 2019-11-03 14:36:27 -05:00
water_wave Refresh 7 2020-03-01 22:42:52 -05:00
whirlpool Refresh 3 2019-11-03 14:36:27 -05:00
white_particle Refresh 3 2019-11-03 14:36:27 -05:00
white_particle_small Refresh 3 2019-11-03 14:36:27 -05:00
whomp merge refresh 10 2020-06-20 02:49:59 +03:00
wiggler_body refresh 4 2019-12-01 21:52:53 -05:00
wiggler_head refresh 4 2019-12-01 21:52:53 -05:00
wooden_signpost merge refresh 10 2020-06-20 02:49:59 +03:00
yellow_sphere Refresh 3 2019-11-03 14:36:27 -05:00
yellow_sphere_small Refresh 3 2019-11-03 14:36:27 -05:00
yoshi refresh 4 2019-12-01 21:52:53 -05:00
yoshi_egg Refresh 3 2019-11-03 14:36:27 -05:00
common0.c Refresh 3 2019-11-03 14:36:27 -05:00
common0.h merge refresh 10 2020-06-20 02:49:59 +03:00
common0_geo.c Refresh 3 2019-11-03 14:36:27 -05:00
common1.c Refresh 3 2019-11-03 14:36:27 -05:00
common1.h merge refresh 10 2020-06-20 02:49:59 +03:00
common1_geo.c Refresh 3 2019-11-03 14:36:27 -05:00
group0.c L is real 2020 2020-08-08 21:36:49 -07:00
group0.h Rewrote how players are initialized, stored, and displayed 2020-09-06 18:52:52 -07:00
group0_geo.c Geo2 removal wip 2020-09-06 13:54:01 -07:00
group1.c Refresh 3 2019-11-03 14:36:27 -05:00
group1.h merge refresh 10 2020-06-20 02:49:59 +03:00
group1_geo.c Refresh 3 2019-11-03 14:36:27 -05:00
group2.c Refresh 3 2019-11-03 14:36:27 -05:00
group2.h Refresh 3 2019-11-03 14:36:27 -05:00
group2_geo.c Refresh 3 2019-11-03 14:36:27 -05:00
group3.c Refresh 3 2019-11-03 14:36:27 -05:00
group3.h Refresh 3 2019-11-03 14:36:27 -05:00
group3_geo.c Refresh 3 2019-11-03 14:36:27 -05:00
group4.c Refresh 3 2019-11-03 14:36:27 -05:00
group4.h Refresh 3 2019-11-03 14:36:27 -05:00
group4_geo.c Refresh 3 2019-11-03 14:36:27 -05:00
group5.c Refresh 3 2019-11-03 14:36:27 -05:00
group5.h refresh 6 2020-02-03 00:51:26 -05:00
group5_geo.c Refresh 3 2019-11-03 14:36:27 -05:00
group6.c Refresh 3 2019-11-03 14:36:27 -05:00
group6.h Refresh 3 2019-11-03 14:36:27 -05:00
group6_geo.c Refresh 3 2019-11-03 14:36:27 -05:00
group7.c Refresh 3 2019-11-03 14:36:27 -05:00
group7.h merge refresh 10 2020-06-20 02:49:59 +03:00
group7_geo.c Refresh 3 2019-11-03 14:36:27 -05:00
group8.c Refresh 3 2019-11-03 14:36:27 -05:00
group8.h merge refresh 10 2020-06-20 02:49:59 +03:00
group8_geo.c Refresh 3 2019-11-03 14:36:27 -05:00
group9.c Refresh 3 2019-11-03 14:36:27 -05:00
group9.h Refresh 3 2019-11-03 14:36:27 -05:00
group9_geo.c Refresh 3 2019-11-03 14:36:27 -05:00
group10.c Refresh 3 2019-11-03 14:36:27 -05:00
group10.h Refresh 3 2019-11-03 14:36:27 -05:00
group10_geo.c Refresh 3 2019-11-03 14:36:27 -05:00
group11.c Refresh 3 2019-11-03 14:36:27 -05:00
group11.h Refresh 3 2019-11-03 14:36:27 -05:00
group11_geo.c Refresh 3 2019-11-03 14:36:27 -05:00
group12.c Refresh 3 2019-11-03 14:36:27 -05:00
group12.h Refresh 3 2019-11-03 14:36:27 -05:00
group12_geo.c Refresh 3 2019-11-03 14:36:27 -05:00
group13.c Refresh 3 2019-11-03 14:36:27 -05:00
group13.h Refresh 3 2019-11-03 14:36:27 -05:00
group13_geo.c Refresh 3 2019-11-03 14:36:27 -05:00
group14.c Refresh 3 2019-11-03 14:36:27 -05:00
group14.h merge refresh 10 2020-06-20 02:49:59 +03:00
group14_geo.c Refresh 3 2019-11-03 14:36:27 -05:00
group15.c Refresh 3 2019-11-03 14:36:27 -05:00
group15.h Refresh 3 2019-11-03 14:36:27 -05:00
group15_geo.c Refresh 3 2019-11-03 14:36:27 -05:00
group16.c Refresh 3 2019-11-03 14:36:27 -05:00
group16.h Refresh 3 2019-11-03 14:36:27 -05:00
group16_geo.c Refresh 3 2019-11-03 14:36:27 -05:00
group17.c Refresh 3 2019-11-03 14:36:27 -05:00
group17.h merge refresh 10 2020-06-20 02:49:59 +03:00
group17_geo.c Refresh 3 2019-11-03 14:36:27 -05:00