Commit Graph

27 Commits (78f10d582c48f4f5a37679bb6fd536d88224ac5f)

Author SHA1 Message Date
fgsfds 3317154ec2 implement changeable model colors
in a very dumb way:

the custom colors are set for lights 3, 4, 5, 6 in a GEO_ASM callback, then copied to lights 1, 2 using gsSPCopyLightEXT
2021-04-06 00:22:42 +03:00
anzz1 8d26400e84 Enemy hat fixes (#83)
* Ukiki now steals Mario/Luigi hat correctly
* Klepto now steals Mario/Luigi hat correctly
* Mr. Blizzard now knocks off Mario/Luigi hat correctly
* Fwoosh now knocks off Mario/Luigi hat correctly

Co-authored-by: anzz1 <>
2020-10-16 03:03:25 -07:00
MysterD 0bde13c695 Add no camera collision to various objects 2020-10-04 23:55:06 -07:00
MysterD 416f4a1398 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
MysterD 62ecf2c58a Geo2 removal wip 2020-09-06 13:54:01 -07:00
MysterD 40590bdcbb Fixed Luigi sideburns, renamed Luigi textures 2020-09-05 10:02:11 -07:00
MysterD e2aa45129e Fix EXTERNAL_DATA for Luigi
Fixes #25
2020-09-05 00:11:15 -07:00
MysterD b69b229ae5 Made Luigi a bit bigger 2020-08-23 23:44:11 -07:00
MysterD a1522c9eaf L is real 2020
Added Luigi model.
Renamed all previous references to 'Luigi' to 'Mario2' since player 1
isn't always mario, and player 2 isn't always luigi.
Now server is always mario and client is always Luigi.

Luigi model credits:
Original model by Cjes, converted by AloXado320, textures added/fixed by
SunlitSpace542.
2020-08-08 21:36:49 -07:00
MysterD afc4331d9e Separated held objects, made Bobombs Luigi-aware 2020-07-31 18:03:57 -07:00
MysterD f55716c46a Began fixing up Luigi collisions 2020-07-30 18:44:09 -07:00
MysterD 70fa41fd65 Separated animations between players 2020-07-30 18:09:47 -07:00
n64 5bee83faa8 merge refresh 10 2020-06-20 02:49:59 +03:00
fgsfds 1515c94ee5 give the correct textures a different name instead 2020-06-14 13:37:57 +03:00
fgsfds 46c3727423 use full texture sizes for the eyes of big bomb lad and chuckya
this fixes the incorrect rendering of their eyes when EXTERNAL_DATA is enabled
2020-06-10 19:11:09 +03:00
fgsfds 0ed809dda1 correct star texture size
should fix incorrect star envmap with EXTERNAL_DATA
2020-06-10 18:44:30 +03:00
fgsfds fa05fe5acc fix crashes with EXTERNAL_TEXTURES on JP/EU and Bowser
related to two huge textures and fonts
2020-05-27 02:51:21 +03:00
Colton G. Rushton 76fd4d2975 Added compile-time optional Koopa shorts fix 2020-05-16 09:40:33 -03:00
Colton G. Rushton 7740c0775b Set compile-time flag for texture fixes
This should allow for quashing the debate surrounding some minor texture fix PRs.
2020-05-16 09:36:06 -03:00
Víctor Díez García 6818e2d1bb Correct texture format for burn smoke
All credits to zoinknoise, I found this at Romhacking: http://www.romhacking.net/hacks/5008/

"Thanks to the recent decompilation efforts, it’s now known that this texture is displayed in the wrong format by the game, resulting in 

black garbage pixels. Since video game smoke of this era was often depicted with black garbage pixels, the mistake went unnoticed for over two decades. This patch corrects the error by displaying the texture correctly as proper transparent smoke. It does not add any new art; the texture has been inside the ROM all along.

At build time, this will compile the texture into IA16 format (correct) instead of RGBA16 (incorrect)."
2020-05-15 20:33:00 +02:00
n64 88e2433da5 Refresh 7 2020-03-01 22:42:52 -05:00
n64 88b91e7c75 refresh 6 2020-02-03 00:51:26 -05:00
n64 99e662fa5d refresh 4 2019-12-01 21:52:53 -05:00
n64 8bc51a5025 Refresh 3 2019-11-03 14:36:27 -05:00
n64 5effc886be Refresh 2 2019-10-05 15:08:05 -04:00
n64 33b27a1ceb Refresh 1 2019-09-01 15:50:50 -04:00
n64 89e8690857 init2 2019-08-25 00:46:40 -04:00