Commit Graph

29 Commits

Author SHA1 Message Date
Pieter-Jan Briers a6376368ee String safety (#1548)
* Array size UB fixes

* Fix ShieldD

* Remove (almost) all unsafe strcpy calls

Bunch of macros. C arrays are easy enough and just need a different call. For various cases where a char* is passed around bare, I've made a TEXT_SPAN macro that can store a length too for bounds checking.

* Move crash handling in safe string operations to separate TU

* strcat safe version

* sprintf made safe too

* Fix compile
2026-05-24 10:43:00 -06:00
Olivia!! 28d0017d4c Transform level is 0xF after lakebed temple, verified on dolphin (#1571) 2026-05-17 20:04:34 -06:00
roeming 7313712263 update area flags to precalculate correct offsets/masks (#694)
Co-authored-by: roeming <roeming@users.noreply.github.com>
2026-05-06 18:40:10 -06:00
roeming b84b309e00 compilation fix attempt 3 2026-04-30 17:51:52 -04:00
roeming 62eecb3ccd compilation fix attempt 2 2026-04-30 17:48:39 -04:00
roeming ec07572ced compilation fix attempt 2026-04-30 17:45:53 -04:00
roeming b45e2fa34d swap array for named variables 2026-04-30 17:25:24 -04:00
roeming 289a718446 fix comment wording 2026-04-30 17:10:33 -04:00
roeming 292a2a6c34 fix wrong formatting, fix duplicate ui object, fix wrong flags getting set 2026-04-30 17:03:47 -04:00
roeming dbf1f6e354 implement multibyte area flags in UI 2026-04-30 16:25:56 -04:00
roeming 9a2fe9745d Draw area flags as table 2026-04-30 15:55:59 -04:00
roeming 0bf663141a change filter to avoid allocations 2026-04-25 14:39:47 -04:00
roeming 171dbdd0a1 Implement custom sorting when sorting event flags by flag on/off 2026-04-24 16:50:31 -04:00
CraftyBoss 1c00e2cdde fix unsafe cstr usage in flag editor, remove stray backslash 2026-04-23 23:40:20 -07:00
TakaRikka d625c7ab0c fix save editor clothes change crash 2026-04-23 20:26:50 -07:00
roeming 72a73ba661 Add UI for better manipulation of event flags 2026-04-16 19:11:20 -04:00
TakaRikka dd84c3f46d add get item flags to save editor 2026-04-16 03:33:16 -07:00
TakaRikka a2882711ee add dungeon item flags to save editor 2026-04-16 01:44:44 -07:00
TakaRikka 99fd2f9bc5 save editor minigame tab / item amounts 2026-04-15 05:00:38 -07:00
TakaRikka 7eb61b71f1 some save editor cleanup 2026-04-15 04:29:33 -07:00
Pheenoh be8e67ab18 Group Collection tab sections into collapsible tree nodes 2026-04-11 15:18:22 -06:00
Pheenoh 5865ccc9d5 Add Collection tab and Inventory slot defaults to save editor 2026-04-11 14:43:08 -06:00
Luke Street 7e77577097 Big imgui overhaul 2026-04-09 23:11:10 -06:00
MelonSpeedruns adf22e69c1 Resize ImGui windows automatically + Move "Tools" menu after "Enhancements" (#232)
* Resize ImGui windows automatically + Move "Tools" menu after "Enhancements"

* Oops, forgot one of those

* Always resize Tools menu

* Moved hotkeys to allow fullscreen & reset to be done without the menu open
2026-04-05 12:30:48 -06:00
TakaRikka 015e7aceab hd faster tears toggle 2026-04-04 06:02:23 -07:00
TakaRikka 803eb07341 Merge branch 'main' of https://github.com/TakaRikka/dusk 2026-03-26 04:52:52 -07:00
TakaRikka e212ccd417 save editor inventory menu wip 2026-03-26 04:52:09 -07:00
PJB3005 0148d913e1 Add a bunch of missing imgui close buttons 2026-03-23 13:46:46 +01:00
TakaRikka 364400d56f save editor wip 2026-03-23 05:01:42 -07:00