diff --git a/configure.py b/configure.py index 2381911d..820d4ce5 100755 --- a/configure.py +++ b/configure.py @@ -27,15 +27,15 @@ LIBS = [ "mwcc_version": "1.2.5", "cflags": "$cflags_base", "objects": [ - ["MetroTRK/mslsupp", True], - ], + ["MetroTRK/mslsupp", True], + ], }, { "lib": "MetroidPrimeCW", "cflags": "$cflags_retro", "mwcc_version": "1.3.2", "objects": [ - "MetroidPrime/main", + ["MetroidPrime/main", False], "MetroidPrime/IRenderer", "MetroidPrime/Cameras/CCameraManager", "MetroidPrime/CControlMapper", @@ -43,23 +43,23 @@ LIBS = [ ["MetroidPrime/CObjectList", True], "MetroidPrime/Player/CPlayer", ["MetroidPrime/CAxisAngle", True], - "MetroidPrime/CEulerAngles", + ["MetroidPrime/CEulerAngles", False], ["MetroidPrime/CArchMsgParmUserInput", True], "MetroidPrime/CFrontEndUI", - "MetroidPrime/CInputGenerator", + ["MetroidPrime/CInputGenerator", False], "MetroidPrime/CMainFlow", "MetroidPrime/CMFGame", "MetroidPrime/CCredits", "MetroidPrime/CSplashScreen", - "MetroidPrime/CInstruction", + ["MetroidPrime/CInstruction", False], "MetroidPrime/CAnimData", "MetroidPrime/Factories/CCharacterFactory", "MetroidPrime/Factories/CAssetFactory", - "MetroidPrime/Tweaks/CTweakPlayer", + ["MetroidPrime/Tweaks/CTweakPlayer", False], "MetroidPrime/Tweaks/CTweaks", ["MetroidPrime/Tweaks/CTweakGame", True], "MetroidPrime/CGameProjectile", - "MetroidPrime/Player/CPlayerGun", + ["MetroidPrime/Player/CPlayerGun", False], "MetroidPrime/CStateManager", ["MetroidPrime/CEntity", True], ["MetroidPrime/CArchMsgParmInt32", True], @@ -69,7 +69,7 @@ LIBS = [ ["MetroidPrime/Decode", True], "MetroidPrime/CIOWinManager", ["MetroidPrime/CIOWin", True], - "MetroidPrime/CActor", + ["MetroidPrime/CActor", False], "MetroidPrime/CWorld", ["MetroidPrime/Tweaks/CTweakParticle", True], "MetroidPrime/Clamp_int", @@ -81,7 +81,7 @@ LIBS = [ "MetroidPrime/HUD/CSamusHud", "MetroidPrime/CAnimationDatabaseGame", "MetroidPrime/CTransitionDatabaseGame", - "MetroidPrime/Tweaks/CTweakPlayerControl", + ["MetroidPrime/Tweaks/CTweakPlayerControl", False], "MetroidPrime/Tweaks/CTweakPlayerGun", "MetroidPrime/CPauseScreen", "MetroidPrime/Tweaks/CTweakGui", @@ -92,11 +92,11 @@ LIBS = [ "MetroidPrime/ScriptObjects/CScriptDoor", "MetroidPrime/Enemies/CStateMachine", "MetroidPrime/CMapArea", - "MetroidPrime/Cameras/CBallCamera", + ["MetroidPrime/Cameras/CBallCamera", False], "MetroidPrime/ScriptObjects/CScriptEffect", "MetroidPrime/Weapons/CBomb", "MetroidPrime/Tweaks/CTweakBall", - "MetroidPrime/Player/CPlayerState", + ["MetroidPrime/Player/CPlayerState", False], ["MetroidPrime/ScriptObjects/CScriptTimer", True], "MetroidPrime/Cameras/CCinematicCamera", "MetroidPrime/CAutoMapper", @@ -106,7 +106,7 @@ LIBS = [ "MetroidPrime/Enemies/PatternedCastTo", ["MetroidPrime/TCastTo", True], "MetroidPrime/ScriptObjects/CScriptSound", - "MetroidPrime/ScriptObjects/CScriptPlatform", + ["MetroidPrime/ScriptObjects/CScriptPlatform", False], ["MetroidPrime/UserNames", True], "MetroidPrime/ScriptObjects/CScriptGenerator", "MetroidPrime/ScriptObjects/CScriptCameraWaypoint", @@ -114,13 +114,13 @@ LIBS = [ "MetroidPrime/Tweaks/CTweakTargeting", "MetroidPrime/Tweaks/CTweakAutoMapper", ["MetroidPrime/CParticleGenInfoGeneric", True], - "MetroidPrime/CParticleGenInfo", + ["MetroidPrime/CParticleGenInfo", False], "MetroidPrime/CParticleDatabase", "MetroidPrime/Tweaks/CTweakGunRes", "MetroidPrime/CTargetReticles", "MetroidPrime/CWeaponMgr", ["MetroidPrime/ScriptObjects/CScriptPickup", True], - "MetroidPrime/CDamageInfo", + ["MetroidPrime/CDamageInfo", False], ["MetroidPrime/CMemoryDrawEnum", True], "MetroidPrime/ScriptObjects/CScriptDock", "MetroidPrime/ScriptObjects/CScriptCameraHint", @@ -133,7 +133,7 @@ LIBS = [ "MetroidPrime/Weapons/CIceBeam", "MetroidPrime/CScriptMailbox", ["MetroidPrime/ScriptObjects/CScriptRelay", True], - "MetroidPrime/ScriptObjects/CScriptSpawnPoint", + ["MetroidPrime/ScriptObjects/CScriptSpawnPoint", False], "MetroidPrime/ScriptObjects/CScriptRandomRelay", "MetroidPrime/Enemies/CBeetle", ["MetroidPrime/HUD/CHUDMemoParms", True], @@ -142,16 +142,16 @@ LIBS = [ "MetroidPrime/Player/CPlayerCameraBob", "MetroidPrime/ScriptObjects/CScriptCameraFilterKeyframe", ["MetroidPrime/ScriptObjects/CScriptCameraBlurKeyframe", True], - "MetroidPrime/Cameras/CCameraFilter", + ["MetroidPrime/Cameras/CCameraFilter", False], "MetroidPrime/Player/CMorphBall", "MetroidPrime/ScriptObjects/CScriptDamageableTrigger", "MetroidPrime/ScriptObjects/CScriptDebris", "MetroidPrime/ScriptObjects/CScriptCameraShaker", "MetroidPrime/ScriptObjects/CScriptActorKeyframe", - "MetroidPrime/CConsoleOutputWindow", + ["MetroidPrime/CConsoleOutputWindow", False], "MetroidPrime/ScriptObjects/CScriptWater", "MetroidPrime/Weapons/CWeapon", - "MetroidPrime/CDamageVulnerability", + ["MetroidPrime/CDamageVulnerability", False], "MetroidPrime/CActorLights", ["MetroidPrime/Enemies/CPatternedInfo", True], "MetroidPrime/CSimpleShadow", @@ -166,12 +166,12 @@ LIBS = [ "MetroidPrime/ScriptObjects/CScriptSpiderBallWaypoint", "MetroidPrime/Enemies/CBloodFlower", ["MetroidPrime/TGameTypes", True], - "MetroidPrime/CPhysicsActor", + ["MetroidPrime/CPhysicsActor", False], ["MetroidPrime/CPhysicsState", True], - "MetroidPrime/CRipple", + ["MetroidPrime/CRipple", False], "MetroidPrime/CFluidUVMotion", "MetroidPrime/CRippleManager", - "MetroidPrime/Player/CGrappleArm", + ["MetroidPrime/Player/CGrappleArm", False], "MetroidPrime/Enemies/CSpacePirate", "MetroidPrime/ScriptObjects/CScriptCoverPoint", "MetroidPrime/Cameras/CPathCamera", @@ -214,8 +214,8 @@ LIBS = [ "MetroidPrime/BodyState/CBSProjectileAttack", "MetroidPrime/Weapons/CPowerBomb", "MetroidPrime/Enemies/CMetaree", - "MetroidPrime/ScriptObjects/CScriptDockAreaChange", - "MetroidPrime/ScriptObjects/CScriptSpecialFunction", + ["MetroidPrime/ScriptObjects/CScriptDockAreaChange", False], + ["MetroidPrime/ScriptObjects/CScriptSpecialFunction", False], "MetroidPrime/ScriptObjects/CScriptActorRotate", ["MetroidPrime/Player/CFidget", True], "MetroidPrime/Enemies/CSpankWeed", @@ -232,7 +232,7 @@ LIBS = [ "MetroidPrime/Enemies/CMetroid", "MetroidPrime/Player/CScanDisplay", "MetroidPrime/ScriptObjects/CScriptSteam", - "MetroidPrime/ScriptObjects/CScriptRipple", + ["MetroidPrime/ScriptObjects/CScriptRipple", False], "MetroidPrime/CBoneTracking", "MetroidPrime/Player/CFaceplateDecoration", "MetroidPrime/BodyState/CBSCover", @@ -241,7 +241,7 @@ LIBS = [ "MetroidPrime/Player/CPlayerOrbit", "MetroidPrime/CGameCollision", ["MetroidPrime/CBallFilter", True], - "MetroidPrime/CAABoxFilter", + ["MetroidPrime/CAABoxFilter", False], "MetroidPrime/CGroundMovement", "MetroidPrime/Enemies/CNewIntroBoss", "MetroidPrime/Weapons/CPhazonBeam", @@ -267,15 +267,15 @@ LIBS = [ ["MetroidPrime/GameObjectLists", True], "MetroidPrime/Weapons/CAuxWeapon", "MetroidPrime/Weapons/CGunWeapon", - "MetroidPrime/ScriptObjects/CScriptAreaAttributes", + ["MetroidPrime/ScriptObjects/CScriptAreaAttributes", False], "MetroidPrime/Weapons/CWaveBuster", "MetroidPrime/Player/CStaticInterference", "MetroidPrime/Enemies/CMetroidBeta", "MetroidPrime/PathFinding/CPathFindSearch", "MetroidPrime/PathFinding/CPathFindRegion", "MetroidPrime/PathFinding/CPathFindArea", - "MetroidPrime/Weapons/GunController/CGunController", - "MetroidPrime/Weapons/GunController/CGSFreeLook", + ["MetroidPrime/Weapons/GunController/CGunController", False], + ["MetroidPrime/Weapons/GunController/CGSFreeLook", False], "MetroidPrime/Weapons/GunController/CGSComboFire", "MetroidPrime/HUD/CHudBallInterface", "MetroidPrime/Tweaks/CTweakGuiColors", @@ -287,7 +287,7 @@ LIBS = [ "MetroidPrime/ScriptObjects/CScriptVisorGoo", "MetroidPrime/Enemies/CJellyZap", "MetroidPrime/ScriptObjects/CScriptControllerAction", - "MetroidPrime/Weapons/GunController/CGunMotion", + ["MetroidPrime/Weapons/GunController/CGunMotion", False], ["MetroidPrime/ScriptObjects/CScriptSwitch", True], ["MetroidPrime/BodyState/CABSIdle", True], ["MetroidPrime/BodyState/CABSFlinch", True], @@ -347,13 +347,13 @@ LIBS = [ "MetroidPrime/Player/CSaveWorld", "MetroidPrime/ScriptObjects/CScriptCameraHintTrigger", "MetroidPrime/Enemies/CAmbientAI", - "MetroidPrime/CMemoryCardDriver", + ["MetroidPrime/CMemoryCardDriver", False], "MetroidPrime/CSaveGameScreen", "MetroidPrime/Enemies/CAtomicBeta", "MetroidPrime/Weapons/CElectricBeamProjectile", "MetroidPrime/Enemies/CRidley", "MetroidPrime/Enemies/CPuffer", - "MetroidPrime/ScriptObjects/CFire", + ["MetroidPrime/ScriptObjects/CFire", False], "MetroidPrime/CPauseScreenBlur", "MetroidPrime/Enemies/CTryclops", "MetroidPrime/Weapons/CNewFlameThrower", @@ -371,7 +371,7 @@ LIBS = [ "MetroidPrime/Enemies/CMetroidPrimeEssence", "MetroidPrime/Enemies/CMetroidPrimeRelay", "MetroidPrime/Player/CPlayerDynamics", - "MetroidPrime/ScriptObjects/CScriptMazeNode", + ["MetroidPrime/ScriptObjects/CScriptMazeNode", False], "MetroidPrime/Weapons/WeaponTypes", "MetroidPrime/Enemies/COmegaPirate", "MetroidPrime/Enemies/CPhazonPool", @@ -398,11 +398,11 @@ LIBS = [ "objects": [ "WorldFormat/CAreaOctTree_Tests", ["WorldFormat/CCollisionSurface", True], - "WorldFormat/CMetroidModelInstance", + ["WorldFormat/CMetroidModelInstance", False], "WorldFormat/CAreaBspTree", "WorldFormat/CAreaOctTree", "WorldFormat/CMetroidAreaCollider", - "WorldFormat/CWorldLight", + ["WorldFormat/CWorldLight", False], "WorldFormat/COBBTree", "WorldFormat/CCollidableOBBTree", "WorldFormat/CCollidableOBBTreeGroup", @@ -420,7 +420,7 @@ LIBS = [ "Weapons/CCollisionResponseData", ["Weapons/IWeaponRenderer", True], "Weapons/CDecalDataFactory", - "Weapons/CDecal", + ["Weapons/CDecal", False], "Weapons/CWeaponDescription", "Weapons/CDecalDescription", ], @@ -471,7 +471,7 @@ LIBS = [ "Collision/CollisionUtil", "Collision/CCollidableSphere", ["Collision/CMaterialFilter", True], - "Collision/COBBox", + ["Collision/COBBox", False], ["Collision/CMRay", True], ], }, @@ -486,7 +486,7 @@ LIBS = [ ["Kyoto/Alloc/CCallStackDolphin", True], ["Kyoto/Basics/COsContextDolphin", True], ["Kyoto/Basics/CSWDataDolphin", True], - "Kyoto/Basics/RAssertDolphin", + ["Kyoto/Basics/RAssertDolphin", False], "Kyoto/Animation/CAnimation", "Kyoto/Animation/CAnimationManager", "Kyoto/Animation/CAnimationSet", @@ -563,7 +563,7 @@ LIBS = [ "Kyoto/Text/CSavableState", "Kyoto/Text/CTextExecuteBuffer", "Kyoto/Text/CTextInstruction", - "Kyoto/Text/CTextParser", + ["Kyoto/Text/CTextParser", False], "Kyoto/Text/CWordBreakTables", "Kyoto/Text/CWordInstruction", "Kyoto/Text/CBlockInstruction", @@ -585,9 +585,9 @@ LIBS = [ ["Kyoto/Math/CVector2f", True], ["Kyoto/Math/CVector2i", True], ["Kyoto/Math/CVector3d", True], - "Kyoto/Math/CVector3f", + ["Kyoto/Math/CVector3f", False], ["Kyoto/Math/CVector3i", True], - "Kyoto/Math/RMathUtils", + ["Kyoto/Math/RMathUtils", False], ["Kyoto/CCrc32", True], ["Kyoto/Alloc/CCircularBuffer", True], ["Kyoto/Alloc/CMemory", True], @@ -610,7 +610,7 @@ LIBS = [ ["Kyoto/Particles/CWarp", True], ["Kyoto/Math/CPlane", True], ["Kyoto/Math/CSphere", True], - "Kyoto/Math/CAABox", + ["Kyoto/Math/CAABox", False], "Kyoto/CFactoryMgr", "Kyoto/CResFactory", "Kyoto/CResLoader", @@ -650,8 +650,8 @@ LIBS = [ "objects": [ "Kyoto/CARAMManager", "Kyoto/Math/CFrustumPlanes", - "Kyoto/Graphics/CCubeMaterial", - "Kyoto/Graphics/CCubeSurface", + ["Kyoto/Graphics/CCubeMaterial", False], + ["Kyoto/Graphics/CCubeSurface", False], "Kyoto/Animation/CCharAnimTime", ["Kyoto/Animation/CSegIdList", False], ["Kyoto/Input/CFinalInput", True], @@ -664,7 +664,7 @@ LIBS = [ "Kyoto/DolphinCDvdFile", "Kyoto/Alloc/CMediumAllocPool", ["Kyoto/Alloc/CSmallAllocPool", True], - "Kyoto/Alloc/CGameAllocator", + ["Kyoto/Alloc/CGameAllocator", False], "Kyoto/Animation/DolphinCSkinnedModel", "Kyoto/Animation/DolphinCSkinRules", "Kyoto/Animation/DolphinCVirtualBone", @@ -695,7 +695,7 @@ LIBS = [ "Kyoto/Particles/CGenDescription", "Kyoto/CPakFile", "Kyoto/Animation/CPoseAsTransformsVariableSize", - "Kyoto/Input/CRumbleVoice", + ["Kyoto/Input/CRumbleVoice", False], ["Kyoto/Input/RumbleAdsr", True], "Kyoto/Input/CRumbleGenerator", "Kyoto/Audio/SDSPStream", @@ -708,7 +708,9 @@ LIBS = [ "lib": "ai", "mwcc_version": "1.2.5", "cflags": "$cflags_base", - "objects": ["Dolphin/ai"], + "objects": [ + ["Dolphin/ai", False], + ], }, { "lib": "ar", @@ -740,7 +742,7 @@ LIBS = [ "mwcc_version": "1.2.5", "cflags": "$cflags_base", "objects": [ - "Dolphin/dsp/dsp", + ["Dolphin/dsp/dsp", False], ["Dolphin/dsp/dsp_debug", True], "Dolphin/dsp/dsp_task", ], @@ -752,7 +754,7 @@ LIBS = [ "objects": [ "Dolphin/dvd/dvdlow", "Dolphin/dvd/dvdfs", - "Dolphin/dvd/dvd", + ["Dolphin/dvd/dvd", False], "Dolphin/dvd/dvdqueue", "Dolphin/dvd/dvderror", "Dolphin/dvd/dvdidutils", @@ -816,7 +818,7 @@ LIBS = [ "Dolphin/os/OSReboot", ["Dolphin/os/OSReset", True], "Dolphin/os/OSResetSW", - "Dolphin/os/OSRtc", + ["Dolphin/os/OSRtc", False], ["Dolphin/os/OSSync", True], "Dolphin/os/OSThread", "Dolphin/os/OSTime", @@ -853,7 +855,7 @@ LIBS = [ ["Runtime/__init_cpp_exceptions", True], ["Runtime/Gecko_ExceptionPPC", True], ["Runtime/abort_exit", True], - "Runtime/alloc", + ["Runtime/alloc", False], ["Runtime/ansi_files", True], "Runtime/ansi_fp", "Runtime/arith", @@ -869,7 +871,7 @@ LIBS = [ ["Runtime/mem_funcs", True], ["Runtime/misc_io", True], "Runtime/printf", - "Runtime/qsort", + ["Runtime/qsort", False], ["Runtime/rand", True], "Runtime/sscanf", "Runtime/string", @@ -880,16 +882,16 @@ LIBS = [ ["Runtime/e_acos", True], ["Runtime/e_asin", True], ["Runtime/e_atan2", True], - "Runtime/e_exp", + ["Runtime/e_exp", False], # CW 1.3.2 lib bug ["Runtime/e_fmod", True], ["Runtime/e_log", True], - "Runtime/e_pow", + ["Runtime/e_pow", False], # CW 1.3.2 lib bug ["Runtime/e_rem_pio2", True], ["Runtime/k_cos", True], ["Runtime/k_rem_pio2", True], ["Runtime/k_sin", True], ["Runtime/k_tan", True], - "Runtime/s_atan", + ["Runtime/s_atan", False], # CW 1.3.2 lib bug ["Runtime/s_copysign", True], ["Runtime/s_cos", True], ["Runtime/s_floor", True], @@ -929,12 +931,12 @@ LIBS = [ "musyx/s_data", "musyx/hw_dspctrl", "musyx/hw_volconv", - "musyx/snd3d", + ["musyx/snd3d", False], ["musyx/snd_init", True], - "musyx/snd_math", + ["musyx/snd_math", False], "musyx/snd_midictrl", ["musyx/snd_service", True], - "musyx/hardware", + ["musyx/hardware", False], "musyx/hw_aramdma", ["musyx/dsp_import", True], "musyx/hw_dolphin", @@ -942,7 +944,7 @@ LIBS = [ ["musyx/creverb_fx", True], "musyx/creverb", ["musyx/reverb_fx", True], - "musyx/reverb", + ["musyx/reverb", False], ["musyx/delay_fx", True], "musyx/chorus_fx", ], @@ -960,12 +962,12 @@ LIBS = [ "mwcc_version": "1.2.5e", "cflags": "$cflags_base", "objects": [ - "Dolphin/card/CARDBios", + ["Dolphin/card/CARDBios", False], ["Dolphin/card/CARDUnlock", True], ["Dolphin/card/CARDRdwr", True], ["Dolphin/card/CARDBlock", True], ["Dolphin/card/CARDDir", True], - "Dolphin/card/CARDCheck", + ["Dolphin/card/CARDCheck", False], ["Dolphin/card/CARDMount", True], ["Dolphin/card/CARDFormat", True], ["Dolphin/card/CARDOpen", True], @@ -983,7 +985,7 @@ LIBS = [ "mwcc_version": "1.2.5e", "cflags": "$cflags_base", "objects": [ - "Dolphin/si/SIBios", + ["Dolphin/si/SIBios", False], ["Dolphin/si/SISamplingRate", True], ], }, @@ -1011,11 +1013,11 @@ LIBS = [ "cflags": "$cflags_base", "objects": [ ["Dolphin/GBA/GBA", True], - "Dolphin/GBA/GBAGetProcessStatus", + ["Dolphin/GBA/GBAGetProcessStatus", False], "Dolphin/GBA/GBAJoyBoot", ["Dolphin/GBA/GBARead", True], ["Dolphin/GBA/GBAWrite", True], - "Dolphin/GBA/GBAXfer", + ["Dolphin/GBA/GBAXfer", False], "Dolphin/GBA/GBAKey", ], }, @@ -1132,7 +1134,6 @@ else: description="AR $out") n.newline() -from pprint import pprint ### # Build ###