summaryrefslogtreecommitdiff
path: root/mm/2s2h/Rando/MiscBehavior/OnFileCreate.cpp
AgeCommit message (Collapse)Author
2026-01-04Exclude Triforce from plentiful items, add error handling (#1433)Eblo
* Exclude Triforce from plentiful, add error handling * Add max check because unsigned
2025-10-30[Rando] Implement Traps (#1287)Caladius
* Initial Trap Implementation with 1 Trap Example. * New TrapTypes and Per Trap Custom Messages * Spruce up Menu and add placeholders for toggling traps * Reordering and clean up * Seeded Trap Models * Trap Type Opt-in * Add Jinx Trap * Add Enemy (Like Like) Trap * Fix Shop Item draws and convert for Progressive * Placeholder for Custom Model * Implemented time trap[Please Squash this] (#13) * Implemented time trap * Finished comment because im braindead today * Forgot to fix indentation(whoops) * Changed things not mess with the games code, added some more Time Trap messages * Removed a include I forgot to yoink from the base code. * Removed header define for VerifyTimeSkip * Clangit * Missed some leftovers from a merge conflict. * Clang format throwing a fit over a empty line * Added Timeskip CVar placeholder * Fixed issue where game crashes past midnight * Added Moonfall skipping prevention messures. * Added fallback loop to handle the remaining cycles in the event of a overflow. * Cleaner implementation * Keep it simple stupid * changed function name to be more accurate * Removed outdated comment, used TimeSkipInc for moonfall skip prevention * Reverted max trap(accidentally pushed it while testing) * Removed old unused value * Reduced the iteration by 1 to be closer to where it was at before. * Will this fix Windows? * Added TRAP_TIME to trapToCvarMap * Corrected typo on comment * Clangit...again * Added calls to load environment values and adjust the weather. * Update Time Trap and clean up code * Add Flash effect to Time Trap * Added a few more timeTrapMessages * I hate you clang format * Fix Trading Post Kick Out Time * Added map for all locations I can think of that close. * Clangit yet again * Removed Inn handling because the edge case related to it closing cannot happen * Corrected a whoopie I made when I was dealing with a conflict * Removed pointless condition check that is always true * Removed duped variable * Removed unnecessary data from SCENE_8ITEMSHO kickout entry * Removed now used TRADING_POS_ACTOR_PARAM --------- Co-authored-by: Caladius <clatini88@gmail.com> * Comment out Kick Out code for later TODO * Clean out commented code * Adds Wallet Trap and updates some tooltips * More Trap Messages * Even more trap messages * moooooore messages * update for clang * Feedback changes for Time Trap * Update Trap functions * Fix Matrix call * Trap Model Import (Thanks Zrc) * rename * Adjust size * update name for uniformity * Update mm/2s2h/Rando/MiscBehavior/Traps.cpp Co-authored-by: Eblo <7004497+Eblo@users.noreply.github.com> * Update mm/2s2h/Rando/MiscBehavior/Traps.cpp Co-authored-by: Eblo <7004497+Eblo@users.noreply.github.com> * feedback updates * Update notifications to remove color codes from trap messages when item skip is on * VBify Object Dependency * Fix comma * fix headers * Refactor ObjectDependency hook * Check if item get cutscenes are being skipped * Use brackets for LUS include * Header update --------- Co-authored-by: sitton76 <58642183+sitton76@users.noreply.github.com> Co-authored-by: Eblo <7004497+Eblo@users.noreply.github.com>
2025-10-29Retire French Vanilla logic setting (#1311)Eblo
2025-10-29[Rando] Enemy Drop Shuffle (#1282)Caladius
* Implement most of the Enemy Drops * Fix Glitchless Generation * Fix duplicate Logic Checks * Add Slime Items and fix Linux Floating Point. * Add Comment for Enemy Drops RC Sets * Adds Leever and fixes Position Check issue. * Adds GBC for Logic check * Add Hiploop * Adds Skullfish (Enemy only drops items inside GBT) * Feedback Updates * Updates * Update to Switch for Actor Selection * More Enemy Locations * Fix Mini Baba and remove actors that dont drop items * Update mm/2s2h/Rando/Logic/Logic.h Co-authored-by: Eblo <7004497+Eblo@users.noreply.github.com> * Update mm/2s2h/Rando/ActorBehavior/EnemyDrops.cpp Co-authored-by: Eblo <7004497+Eblo@users.noreply.github.com> * Update mm/2s2h/Rando/ActorBehavior/EnemyDrops.cpp Co-authored-by: Eblo <7004497+Eblo@users.noreply.github.com> * Update mm/2s2h/Rando/Logic/Regions/Miscellaneous.cpp Co-authored-by: Eblo <7004497+Eblo@users.noreply.github.com> * Add case for ACTOR_BOSS_05 in Logic.h * Update mm/2s2h/Rando/Types.h Co-authored-by: Eblo <7004497+Eblo@users.noreply.github.com> * Update mm/2s2h/Rando/ActorBehavior/EnemyDrops.cpp Co-authored-by: Eblo <7004497+Eblo@users.noreply.github.com> * Clang format actor position * Need swim for Bio Deku Baba * Define RC_ENEMY_DROP_BIO_DEKU_BABA in checks * GitHub spacing how dare you * Update mm/2s2h/Rando/StaticData/Checks.cpp Co-authored-by: Eblo <7004497+Eblo@users.noreply.github.com> * Update mm/2s2h/Rando/Types.h Co-authored-by: Eblo <7004497+Eblo@users.noreply.github.com> * Update mm/2s2h/Rando/ActorBehavior/EnemyDrops.cpp Co-authored-by: Eblo <7004497+Eblo@users.noreply.github.com> * Update mm/2s2h/Rando/Logic/Regions/Miscellaneous.cpp Co-authored-by: Eblo <7004497+Eblo@users.noreply.github.com> * Update mm/2s2h/Rando/Logic/Regions/Miscellaneous.cpp Co-authored-by: Eblo <7004497+Eblo@users.noreply.github.com> * Update mm/2s2h/Rando/StaticData/Checks.cpp Co-authored-by: Eblo <7004497+Eblo@users.noreply.github.com> * Update mm/2s2h/Rando/Types.h Co-authored-by: Eblo <7004497+Eblo@users.noreply.github.com> * Update mm/2s2h/Rando/ActorBehavior/EnemyDrops.cpp Co-authored-by: Eblo <7004497+Eblo@users.noreply.github.com> * Update mm/2s2h/Rando/Logic/Regions/Miscellaneous.cpp Co-authored-by: Eblo <7004497+Eblo@users.noreply.github.com> * Update mm/2s2h/Rando/ActorBehavior/EnemyDrops.cpp Co-authored-by: Eblo <7004497+Eblo@users.noreply.github.com> * Update mm/2s2h/Rando/Logic/Regions/Miscellaneous.cpp Co-authored-by: Eblo <7004497+Eblo@users.noreply.github.com> * Update mm/2s2h/Rando/StaticData/Checks.cpp Co-authored-by: Eblo <7004497+Eblo@users.noreply.github.com> * Update mm/2s2h/Rando/Types.h Co-authored-by: Eblo <7004497+Eblo@users.noreply.github.com> * Apply suggestion from @Eblo --------- Co-authored-by: Eblo <7004497+Eblo@users.noreply.github.com>
2025-10-29Bump LUS and OTRExporter, add null audio backend (#1289)Eblo
* Bump LUS and OTRExporter, add null audio backend * Missed an include change * And again * Thanks macOS * Another one * Bump LUS again, fixing SDL audio backend bug * Sync LUS bump changes to merged PRs * Bump LUS again * Update CMakeLists.txt includes
2025-10-26Remove boost dependency (#1298)Eblo
* Remove boost dependency * Convert check pools to vectors * Convert checks and region collections to ordered
2025-10-18[Rando] Starting Items Rework (Cleaner Edition) (#1295)Caladius
* WIP * Reworked Starting Items * Clean up * Clean up 2 * default macro for cvar * Spoiler and Save File handling * Fix spoiler drop --------- Co-authored-by: Eblo <7004497+Eblo@users.noreply.github.com>
2025-10-18Remove Special Characters from seed Gen (#1291)Caladius
2025-10-18Ok fine, dont shuffle swim.. see if i care! (#1292)Caladius
* Ok fine, dont shuffle swim.. see if i care! * Revert Temp Fix and update OnFileCreate * Fix syntax
2025-10-15[Rando] Implement Triforce Hunt (#1071)Caladius
* Implement Triforce Hunt (needs Glitchless Seed Gen help) * Fix Credits Warping * Clean up logging * Fix Seed Gen * Remove test code. * Add Triforce Piece to item tracker * Allow for multiple models, pushing up because I dislike it and can't figure out a better way. * Majora Soul for Reward (needs work). Completed Triforce text * Clang * clean up comment * Remove SPDLOG * Updates based on Feedback * Cleanup * Cleanup again * Fix Ship Utils * Fix Tracker drawing * Feedback updates * clang because why not * Update to use ENTRANCE mapping. Thanks BalloonDude * Expand shuffle maximum and handle instances where a seed may not generate. * Undo menu text. * Fix Item Tracker... again and feedback changes. * Update define location to StaticData.h and update majora syntax * cleanup * Remove TriforceHunt.cpp again... * clean up * FOR REAL THIS TIME * Update ratio of required/max if the seed needs to adjust how many are in the pool due to generator issues. * clang
2025-10-15[Rando] Shuffle Swim (#1087)Caladius
* Shuffle Swim + Central Logic * East Logic * Great Bay Temple (hopefully) * North Logic * Pirates Logic (Hopefully) * South Logic * West Logic * Fix Termina Field Logic * Fix Great Bay Temple Logic * Feedback Changes * Split Southern Swamp North * Update Swamp and GBC logic * missed one * Feedback Updates * fix syntax * Split Marine Lab Exterior from GBC * replace Bronze Scale wording in Menu. * Additional logic pass for swim ability * Mimic Deku hop failure event when touching water Separate Woodfall owl statue platform into own region * Import Model * Add to 2ship.o2r * Add Model Selector * Update Model * Clean remove model for replacement * Import new model extract from Dana * Testing * pathing change * Pushing for someone to look at the model crash issue. * Enable DrawAbilityItem to take in multiple items when more get added. This is ready to go. * Feedback Changes * clang * Revert "clang" This reverts commit e09482f8b83c39f4678a9c349ed9061f2e002251. * Undo clang for once lol * Do not skip pushing Mikau if no swim ability * How did I mess that up * Fix changes * clang bullsh*t --------- Co-authored-by: Eblo <7004497+Eblo@users.noreply.github.com>
2025-10-15[Rando] Excluding Checks from Seed (#1069)Caladius
* Operational Check Exclusion List. needs logic help. * Add Search filter and Clear All * shemantics * Fix build errors * Clear out unsused code. * Better =/ * This works now, just debug boot to warp seems to be finnicky. * clang * Fix Logic Generation and Regeneration. * Feedback Fixes * Updates * Fix Logic Generation and restrict for specific Logic Types. * Update Glitchless Logic * Update rest of Logics
2025-08-20[Rando] Add Frog Shuffle (#1115)balloondude2
* Draw a frog * wip * builds and doesn't crash * add to regions and fix flag stuff * notes * add menu option * progress * mostly works * format * fix postLimbCrash * fix logic * formatting * cleanup * move to DrawFuncs * rearrange includes to satisfy clang format * Make frogs give check when wearing Don Gero's Mask (#5) * add second text variation * fix init issue --------- Co-authored-by: Caladius <clatini88@gmail.com> Co-authored-by: Eblo <7004497+Eblo@users.noreply.github.com>
2025-05-18[Rando] Shuffle Grass v2 (#1155)balloondude2
* Initial Commit for Grasssanity * Migrate to Whole Numbers for consistency and fix Linux/macOS crash. * baguette * Implemented Romani Ranch grass checks. * Some Grottos, ABC Enums * Randomize poisoned + cleared swamp grass. * Added more Termina Field Grottos * Fix peahat grass location * Address Grottos sharing Coors * Snowhead region (wip) * Trimmed out regrowing grass and reenumerated. * Add Snowhead Region * Add Lone Peak Shrine * Add Ikana Region * Finish Ikana grottos * Revert ActorViewer * re-add line end * Add missing grass from Smiffics Strim * Thrown Grass actors now drop their appropriate RC's * remove comment * Revert ActorViewer * ugh * Add missing Grass... again * Logic cleanup * Update using Archez suggestions * Fixing grass... finally * Initial Commit for Grasssanity * Migrate to Whole Numbers for consistency and fix Linux/macOS crash. * baguette * Implemented Romani Ranch grass checks. * Some Grottos, ABC Enums * Randomize poisoned + cleared swamp grass. * Trimmed out regrowing grass and reenumerated. * Added more Termina Field Grottos * Fix peahat grass location * Address Grottos sharing Coors * Snowhead region (wip) * Add Snowhead Region * Add Lone Peak Shrine * Add Ikana Region * Finish Ikana grottos * Revert ActorViewer * re-add line end * Add missing grass from Smiffics Strim * Thrown Grass actors now drop their appropriate RC's * remove comment * Revert ActorViewer * ugh * Add missing Grass... again * Logic cleanup * Update using Archez suggestions * Fixing grass... finally * Dev Rebase * Use Entrance Builder where applicable. * Clang * remove unneeded Ternary, thanks Archez * split regions and build * prevent rando drops when not shuffled * clang format * fix include --------- Co-authored-by: Caladius <Caladius@users.noreply.github.com> Co-authored-by: sitton76 <58642183+sitton76@users.noreply.github.com> Co-authored-by: Caladius <clatini88@gmail.com>
2025-05-05[Rando] Fix the two happy mask salesman checks (#1134)balloondude2
* allow the two mask salesman checks to be awarded when generating from a file * clang format pls
2025-04-06Cleanup includes (#1072)louist103
* Cleanup * Format * Fixes * Update macports-deps.txt * Fix mac * Update macports-deps.txt Co-authored-by: Archez <Archez@users.noreply.github.com> * Move includes around --------- Co-authored-by: Archez <Archez@users.noreply.github.com>
2025-03-08Implement snowball drop shuffle (#1034)Garrett Cox
Co-authored-by: Caladius <Caladius@users.noreply.github.com>
2025-02-14Boss Souls initial implementationGarrett Cox
Co-authored-by: Caladius <Caladius@users.noreply.github.com>
2025-02-13Add some access featuresGarrett Cox
2025-02-12Seemingly fixed starting items on Linux (#229)sitton76
* seemingly fixed starting items on Linux * Added extra ()
2025-02-11Implement toggles for a few more things like hints and cowsGarrett Cox
2025-02-10Fix more variations of the vanilla magic bugGarrett Cox
2025-02-10fix issues with opening save (#214)balloondude2
2025-02-10Re-add block setting vanilla items to unshuffled locations, fix starting ↵Garrett Cox
items from spoiler
2025-02-03Fix default starting healthGarrett Cox
2025-02-03Initial starting items implementationGarrett Cox
2025-02-03Disable checks on the moon until we have a solution for moon accessGarrett Cox
2025-02-01Rework item pool creation, split up mundane options and add plentiful itemsGarrett Cox
2025-01-20Grant mask salesman checks when beginning seed, and prep for starting itemsGarrett Cox
2025-01-19Add initial implementation of nearly no logicGarrett Cox
2025-01-12Create new glitchless logic variant, and move old one to 'French Vanilla'Garrett Cox
2025-01-02Allow logic to account for non-shuffled itemsGarrett Cox
2024-12-28Fix some minor issuesGarrett Cox
2024-12-05Tweaks to song/remains names and more convertItem cases handledGarrett Cox
2024-11-11Start as human with ocarina & SoTGarrett Cox
2024-11-03Split onFileCreate handler upGarrett Cox
2024-11-03PoC glitchless playthrough implementationGarrett Cox
2024-10-26Various tweaks to ConvertItem process, and better support for SoT resetGarrett Cox
2024-10-10More tweaks to item00 and shuffled checksGarrett Cox
2024-10-10Add shop prices and tweaks to spoiler generationGarrett Cox
2024-10-02Make skulltula tokens and pots opt-inGarrett Cox
2024-09-30Add randoOption and vanilla logic optionGarrett Cox
2024-09-28Move a bunch of things out of the main rando.cpp fileGarrett Cox