Skip to content

Commit

Permalink
arrow + 3 other actors now match
Browse files Browse the repository at this point in the history
  • Loading branch information
LagoLunatic committed Oct 1, 2023
1 parent e9d15be commit 08ba064
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
18 changes: 9 additions & 9 deletions configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,11 +198,11 @@


# Helper function for single-object RELs
def Rel(status, rel_name, cpp_name):
def Rel(status, rel_name, cpp_name, extra_cflags=[]):
return {
"lib": rel_name,
"mw_version": "GC/1.3.2",
"cflags": cflags_rel,
"cflags": cflags_rel + extra_cflags,
"host": True,
"objects": [
Object(status, cpp_name),
Expand All @@ -211,8 +211,8 @@ def Rel(status, rel_name, cpp_name):


# Helper function for actor RELs
def ActorRel(status, rel_name):
return Rel(status, rel_name, f"d/actor/{rel_name}.cpp")
def ActorRel(status, rel_name, extra_cflags=[]):
return Rel(status, rel_name, f"d/actor/{rel_name}.cpp", extra_cflags=extra_cflags)


# Helper function for JSystem libraries
Expand Down Expand Up @@ -414,7 +414,7 @@ def DolphinLib(lib_name, objects):
Object(NonMatching, "d/d_snap.cpp"),
Object(Matching, "d/d_point_wind.cpp"),
Object(NonMatching, "d/actor/d_a_agb.cpp"),
Object(NonMatching, "d/actor/d_a_arrow.cpp"),
Object(Matching, "d/actor/d_a_arrow.cpp", cflags=[*cflags_framework, "-sym off"]),
Object(NonMatching, "d/actor/d_a_bg.cpp"),
Object(NonMatching, "d/actor/d_a_bomb.cpp"),
Object(NonMatching, "d/actor/d_a_bomb2.cpp"),
Expand Down Expand Up @@ -1239,7 +1239,7 @@ def DolphinLib(lib_name, objects):
ActorRel(NonMatching, "d_a_kytag03"),
ActorRel(NonMatching, "d_a_kytag04"),
ActorRel(NonMatching, "d_a_kytag05"),
ActorRel(NonMatching, "d_a_kytag06"),
ActorRel(Matching, "d_a_kytag06"),
ActorRel(NonMatching, "d_a_kytag07"),
ActorRel(NonMatching, "d_a_lamp"),
ActorRel(NonMatching, "d_a_lod_bg"),
Expand All @@ -1250,7 +1250,7 @@ def DolphinLib(lib_name, objects):
ActorRel(NonMatching, "d_a_msw"),
ActorRel(NonMatching, "d_a_mtoge"),
ActorRel(NonMatching, "d_a_obj_AjavW"),
ActorRel(NonMatching, "d_a_obj_Ygush00"),
ActorRel(Matching, "d_a_obj_Ygush00", extra_cflags=["-sym off"]),
ActorRel(NonMatching, "d_a_obj_akabe"),
ActorRel(NonMatching, "d_a_obj_barrel"),
ActorRel(NonMatching, "d_a_obj_barrel2"),
Expand Down Expand Up @@ -1292,7 +1292,7 @@ def DolphinLib(lib_name, objects):
ActorRel(NonMatching, "d_a_pirate_flag"),
ActorRel(NonMatching, "d_a_race_item"),
ActorRel(NonMatching, "d_a_rd"),
ActorRel(Matching, "d_a_rectangle"),
ActorRel(Matching, "d_a_rectangle"),
ActorRel(NonMatching, "d_a_salvage"),
ActorRel(NonMatching, "d_a_sbox"),
ActorRel(NonMatching, "d_a_sk"),
Expand Down Expand Up @@ -1602,7 +1602,7 @@ def DolphinLib(lib_name, objects):
ActorRel(NonMatching, "d_a_tag_etc"),
ActorRel(NonMatching, "d_a_tag_island"),
ActorRel(NonMatching, "d_a_tag_kf1"),
ActorRel(NonMatching, "d_a_tag_ret"),
ActorRel(Matching, "d_a_tag_ret", extra_cflags=["-sym off"]),
ActorRel(NonMatching, "d_a_tag_volcano"),
ActorRel(NonMatching, "d_a_title"),
ActorRel(NonMatching, "d_a_tn"),
Expand Down
6 changes: 3 additions & 3 deletions src/d/actor/d_a_kytag06.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ static int daKytag06_Create(fopAc_ac_c* i_this) {
}

static actor_method_class l_daKytag06_Method = {
(process_method_func)daKytag06_Create,
(process_method_func)daKytag06_Delete,
(process_method_func)daKytag06_Execute,
(process_method_func)daKytag06_Draw,
(process_method_func)daKytag06_IsDelete,
(process_method_func)daKytag06_Delete,
(process_method_func)daKytag06_Create,
(process_method_func)daKytag06_Draw,
};

extern actor_process_profile_definition g_profile_KYTAG06 = {
Expand Down

0 comments on commit 08ba064

Please sign in to comment.