Skip to content

Commit c369854

Browse files
committed
fix regressions
1 parent 39349ab commit c369854

File tree

4 files changed

+17
-22
lines changed

4 files changed

+17
-22
lines changed

configure.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -525,8 +525,8 @@ def RevolutionLib(lib_name: str, objects: List[Object], extra_cflags=[]) -> Dict
525525

526526
# Helper function for REL script objects
527527
def Rel(lib_name: str, objects: List[Object], isInDol=False) -> Dict[str, Any]:
528-
if (config.version == "ShieldD" or config.version == "Shield") and isInDol:
529-
# For Shield version, some RELs were moved into the DOL
528+
if (config.version == "ShieldD") and isInDol:
529+
# For Shield Debug version, some RELs were moved into the DOL
530530
return {
531531
"lib": lib_name,
532532
"mw_version": MWVersion(config.version),
@@ -2329,7 +2329,7 @@ def MatchingFor(*versions) -> bool:
23292329
ActorRel(MatchingFor(ALL_GCN), "d_a_obj_swpush5"),
23302330
ActorRel(MatchingFor(ALL_GCN), "d_a_obj_yobikusa"),
23312331
ActorRel(MatchingFor(ALL_GCN), "d_a_scene_exit2"),
2332-
ActorRel(MatchingFor(ALL_GCN), "d_a_shop_item"),
2332+
ActorRel(MatchingFor(ALL_GCN), "d_a_shop_item", [], True),
23332333
ActorRel(MatchingFor(ALL_GCN), "d_a_sq"),
23342334
ActorRel(MatchingFor(ALL_GCN), "d_a_swc00", [], True),
23352335
ActorRel(MatchingFor(ALL_GCN), "d_a_tag_CstaSw"), # debug weak func order
@@ -2953,7 +2953,7 @@ def MatchingFor(*versions) -> bool:
29532953
ActorRel(MatchingFor(ALL_GCN, ALL_WII, "Shield"), "d_a_tag_setBall"), # debug weak func order
29542954
ActorRel(MatchingFor(ALL_GCN), "d_a_tag_setrestart"), # debug weak func order
29552955
ActorRel(MatchingFor(ALL_GCN), "d_a_tag_shop_camera"), # debug weak func order
2956-
ActorRel(MatchingFor(ALL_GCN), "d_a_tag_shop_item", [], True), # debug weak func order
2956+
ActorRel(MatchingFor(ALL_GCN), "d_a_tag_shop_item"), # debug weak func order
29572957
ActorRel(MatchingFor(ALL_GCN), "d_a_tag_smk_emt"), # debug weak func order
29582958
ActorRel(MatchingFor(ALL_GCN), "d_a_tag_spinner"), # debug weak func order
29592959
ActorRel(MatchingFor(ALL_GCN), "d_a_tag_sppath"), # debug weak func order

include/d/d_drawlist.h

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,7 @@ class dDlst_blo_c : public dDlst_base_c {
6767

6868
}
6969

70-
void setBlackColor(u64 i_tag, JUtility::TColor i_color) {
71-
J2DPicture* picture = getPicture(i_tag);
72-
JUT_ASSERT(1570, picture != NULL);
73-
74-
picture->setBlack(i_color);
75-
}
70+
void setBlackColor(u64 i_tag, JUtility::TColor i_color);
7671

7772
class anm_c {
7873
public:

src/c/c_dylink.cpp

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ static DynamicNameTableEntry const DynamicNameTable[] = {
9999
{PROC_Obj_BkDoor, "d_a_obj_bkdoor"},
100100
{PROC_Obj_Cboard, "d_a_obj_cboard"},
101101
{PROC_Obj_MGate, "d_a_obj_mgate"},
102-
#if !PLATFORM_SHIELD
102+
#if VERSION != VERSION_SHIELD_DEBUG
103103
{PROC_Obj_Ikada, "d_a_obj_ikada"},
104104
#endif
105105
{PROC_Obj_Ice_l, "d_a_obj_ice_l"},
@@ -540,7 +540,7 @@ static DynamicNameTableEntry const DynamicNameTable[] = {
540540
{PROC_Obj_LifeContainer, "d_a_obj_life_container"},
541541
{PROC_Obj_Shield, "d_a_obj_shield"},
542542
{PROC_Demo_Item, "d_a_demo_item"},
543-
#if !PLATFORM_SHIELD
543+
#if VERSION != VERSION_SHIELD_DEBUG
544544
{PROC_ShopItem, "d_a_shop_item"},
545545
#endif
546546
{PROC_Obj_Drop, "d_a_obj_drop"},
@@ -549,7 +549,7 @@ static DynamicNameTableEntry const DynamicNameTable[] = {
549549
{PROC_TAG_CSW, "d_a_tag_csw"},
550550
{PROC_TAG_QS, "d_a_tag_qs"},
551551
{PROC_HOZELDA, "d_a_hozelda"},
552-
#if !PLATFORM_SHIELD
552+
#if VERSION != VERSION_SHIELD_DEBUG
553553
{PROC_SWC00, "d_a_swc00"},
554554
#endif
555555
{PROC_KNOB20, "d_a_door_knob00"},
@@ -563,7 +563,7 @@ static DynamicNameTableEntry const DynamicNameTable[] = {
563563
{PROC_Tag_ChgRestart, "d_a_tag_chgrestart"},
564564
{PROC_Tag_Restart, "d_a_tag_setrestart"},
565565
{PROC_ANDSW, "d_a_andsw"},
566-
#if !PLATFORM_SHIELD
566+
#if VERSION != VERSION_SHIELD_DEBUG
567567
{PROC_ANDSW2, "d_a_andsw2"},
568568
#endif
569569
{PROC_MYNA, "d_a_myna"},
@@ -684,12 +684,12 @@ static DynamicNameTableEntry const DynamicNameTable[] = {
684684
{PROC_NPC_CHIN, "d_a_npc_chin"},
685685
{PROC_NPC_INS, "d_a_npc_ins"},
686686
{PROC_NPC_SHOP0, "d_a_npc_shop0"},
687-
#if !PLATFORM_SHIELD
687+
#if VERSION != VERSION_SHIELD_DEBUG
688688
{PROC_NPC_MK, "d_a_npc_mk"},
689689
#endif
690690
{PROC_NPC_P2, "d_a_npc_p2"},
691691
{PROC_KYTAG00, "d_a_kytag00"},
692-
#if !PLATFORM_SHIELD
692+
#if VERSION != VERSION_SHIELD_DEBUG
693693
{PROC_KYTAG01, "d_a_kytag01"},
694694
#endif
695695
{PROC_KYTAG02, "d_a_kytag02"},
@@ -729,13 +729,13 @@ static DynamicNameTableEntry const DynamicNameTable[] = {
729729
{PROC_DEMO00, "d_a_demo00"},
730730
{PROC_TAG_CAMERA, "d_a_tag_camera"},
731731
{PROC_TAG_CHKPOINT, "d_a_tag_chkpoint"},
732-
#if !PLATFORM_SHIELD
732+
#if VERSION != VERSION_SHIELD_DEBUG
733733
{PROC_TAG_EVENT, "d_a_tag_event"},
734734
#endif
735735
{PROC_TAG_EVT, "d_a_tag_evt"},
736736
{PROC_TAG_TELOP, "d_a_tag_telop"},
737737
{PROC_TAG_HOWL, "d_a_tag_howl"},
738-
#if !PLATFORM_SHIELD
738+
#if VERSION != VERSION_SHIELD_DEBUG
739739
{PROC_TAG_MSG, "d_a_tag_msg"},
740740
#endif
741741
{PROC_TAG_LANTERN, "d_a_tag_lantern"},
@@ -748,7 +748,7 @@ static DynamicNameTableEntry const DynamicNameTable[] = {
748748
{PROC_BG_OBJ, "d_a_bg_obj"},
749749
{PROC_MIRROR, "d_a_mirror"},
750750
{PROC_MOVIE_PLAYER, "d_a_movie_player"},
751-
#if !PLATFORM_SHIELD
751+
#if VERSION != VERSION_SHIELD_DEBUG
752752
{PROC_TITLE, "d_a_title"},
753753
#endif
754754
{PROC_FR, "d_a_fr"},
@@ -793,7 +793,7 @@ static DynamicNameTableEntry const DynamicNameTable[] = {
793793
{PROC_Obj_Timer, "d_a_obj_timer"},
794794
{PROC_SCENE_EXIT, "d_a_scene_exit"},
795795
{PROC_SUSPEND, "d_a_suspend"},
796-
#if !PLATFORM_SHIELD
796+
#if VERSION != VERSION_SHIELD_DEBUG
797797
{PROC_GRASS, "d_a_grass"},
798798
#endif
799799
{-1, NULL},

src/d/d_camera.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11209,7 +11209,7 @@ camera_process_profile_definition g_profile_CAMERA = {
1120911209
fpcPi_CURRENT_e,
1121011210
PROC_CAMERA,
1121111211
&g_fpcLf_Method.base,
11212-
sizeof(camera_class),
11212+
sizeof(camera_process_class),
1121311213
0,
1121411214
0,
1121511215
&g_fopVw_Method,
@@ -11230,7 +11230,7 @@ camera_process_profile_definition g_profile_CAMERA2 = {
1123011230
fpcPi_CURRENT_e,
1123111231
PROC_CAMERA2,
1123211232
&g_fpcLf_Method.base,
11233-
sizeof(camera_class),
11233+
sizeof(camera_process_class),
1123411234
0,
1123511235
0,
1123611236
&g_fopVw_Method,

0 commit comments

Comments
 (0)