mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 08:52:40 +01:00
647db26552
* . * yaml update * git subrepo pull --force tools/splat subrepo: subdir: "tools/splat" merged: "cd690f725d" upstream: origin: "https://github.com/ethteck/splat.git" branch: "master" commit: "cd690f725d" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo" commit: "2f68596" * separate main bss syms * renames and one match * SR symbol rename * fix symbol_addrs * git subrepo pull tools/splat subrepo: subdir: "tools/splat" merged: "5fa8aa24ca" upstream: origin: "https://github.com/ethteck/splat.git" branch: "master" commit: "5fa8aa24ca" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo" commit: "2f68596" * remove old artifacts
22 lines
767 B
C
22 lines
767 B
C
#include "common.h"
|
|
|
|
INCLUDE_ASM(s32, "de740_len_23f0", clear_sprite_shading_data);
|
|
|
|
INCLUDE_ASM(s32, "de740_len_23f0", init_sprite_shading_data);
|
|
|
|
INCLUDE_ASM(s32, "de740_len_23f0", sprite_shading_set_light_source);
|
|
|
|
INCLUDE_ASM(s32, "de740_len_23f0", render_shaded_sprite);
|
|
|
|
INCLUDE_ASM(s32, "de740_len_23f0", appendGfx_shaded_sprite);
|
|
|
|
void func_801491E4(s32 arg0, s32 arg1, s32 arg2, s32 arg3, s32 arg4, s32 alpha) {
|
|
gDPSetPrimColor(gMasterGfxPos++, 0, 0, 0, 0, 0, alpha);
|
|
|
|
if (alpha == 255) {
|
|
gDPSetCombineLERP(gMasterGfxPos++, 0, 0, 0, TEXEL1, 0, 0, 0, TEXEL1, 0, 0, 0, COMBINED, 0, 0, 0, COMBINED);
|
|
} else {
|
|
gDPSetCombineLERP(gMasterGfxPos++, 0, 0, 0, TEXEL0, TEXEL0, 0, PRIMITIVE, 0, 0, 0, 0, COMBINED, 0, 0, 0, COMBINED);
|
|
}
|
|
}
|