Commit Graph

301 Commits

Author SHA1 Message Date
Philippe Symons
07e522fd62 Add comments, optimize rom space slightly and fix issue in debug_menu_entries.cpp 2026-03-10 11:58:43 +01:00
Philippe Symons
bd091789fb Remove useless function call 2026-03-10 01:03:26 +01:00
Philippe Symons
7d4715ab1b Hide toggle arrows when exiting the debug menu 2026-03-10 01:00:08 +01:00
Philippe Symons
6e377fc709 Make it possible to cleanly disable the debug menu 2026-03-10 00:43:40 +01:00
Philippe Symons
1590a1f108 Make the debug menu functional!
This adds a lot of the debug_mode.h options as an option you can modify at runtime.

I also moved both the text debug screen and the regular debug info screen in there.

And I added an option to start song playback.
2026-03-10 00:38:44 +01:00
Philippe Symons
10350179db Move debug info screen and text debug screen to debug menu 2026-03-09 23:12:32 +01:00
Philippe Symons
c498d59572 Split off the debug menu entries from the debug menu module 2026-03-09 20:36:54 +01:00
Philippe Symons
b84939b49a Add debug menu UI when you press L+R in the main menu.
It's only the UI yet. It only shows a couple of dummy options right now.
2026-03-09 19:56:32 +01:00
GearsProgress
12f710dafc Reapply "Release candidate"
This reverts commit 67aa927108.
2026-03-09 12:09:57 -04:00
GearsProgress
d17371ed1c Updating pt-br implementation 2026-03-05 18:11:16 -05:00
GearsProgress
bf5cbbb438 Merge branch 'release-candidate' into text-debug-screen 2026-03-03 14:04:12 -05:00
Philippe Symons
f7099eb68f Slightly better cleanup of Select_Menu 2026-03-03 00:46:36 +01:00
Philippe Symons
22f29a789b Fix small mistake 2026-03-03 00:28:06 +01:00
Philippe Symons
b0abeaf5f6 Create vertical_menu widget
This commit implements a vertical menu widget, which should be quite a bit more flexible than
what we currently have.

It defines interfaces in order to respond to selection changes, show and hide. And has a i_item_widget
interface class to allow you to use custom item widgets.

This is done in preparation for adding a debug menu, in which I kinda want to add toggle options
while using the same vertical_menu widget.

Right now, vertical_menu is only used in Select_Menu. Needless to say that Select_Menu was reworked quite a bit.
Still, in terms of visuals or functionality, the changes should be invisible for now. I mean, I didn't do anything *new* with it yet.
2026-03-03 00:15:18 +01:00
The Gears of Progress
67aa927108
Revert "Release candidate" 2026-02-24 00:04:47 -05:00
The Gears of Progress
0f003f0120
Merge branch 'text-debug-screen' into release-candidate 2026-02-24 00:02:10 -05:00
GearsProgress
dc75638d99 Merge branch 'text-debug-screen' into latest-release 2026-02-23 23:23:53 -05:00
The Gears of Progress
01376f422c
Merge pull request #107 from GearsProgress/latest-release
Update RC to LR
2026-02-23 23:08:40 -05:00
The Gears of Progress
9b7be5b24f
Merge pull request #105 from risingPhil:feature/add-maxmod-support-to-ptgb
MaxMod sound engine lib integration
2026-02-23 22:35:32 -05:00
Philippe Symons
a7d8beb973 MaxMod sound engine lib integration
This commit integrates the MaxMod sound engine into PTGB.

Some test code already existed, but now it's done for real.

I added a thin API wrapper in sound.c/sound.h to abstract the sound engine.

One of AquaticAlloy's test songs was added to the main menu as a proof of concept.
We may want to disable it before the actual merge though.
2026-02-23 13:08:35 +01:00
easyaspi314
4cbc128c16 Improve movement data storage
Instead of each macro being a ternary (which can't be constant folded),
the values are now stored sequentially.

Additionally, I use byte instead of int and made the tables static

-1300 bytes.
2026-02-18 16:28:18 -05:00
The Gears of Progress
335e1dfe7f Updating Makefile and Dockerfile 2026-02-17 17:40:35 -05:00
Philippe Symons
3a5366e0af This commit reduces our romsize by 3KB by optimizing away libc's malloc() function
The problem was that our custom_malloc was not marking these functions as extern "C".
Therefore libc's malloc function and everything linked to it was still getting pulled into our
rom.

Fix: mark these functions as extern "C". This ensures that these functions aren't getting pulled in
from libc. This reduces our rom size by 3KB
2026-02-17 16:24:06 +01:00
The Gears of Progress
a0d242a44f Compressing underscores with escape characters 2026-02-13 21:25:31 -05:00
The Gears of Progress
38c07011a3 Updating legal message margins 2026-02-11 21:04:29 -05:00
The Gears of Progress
8d869927da Adding in {LVL} escape sequence 2026-02-11 21:00:42 -05:00
The Gears of Progress
de4e5bbad6
Adding legal message padding 2026-02-11 08:22:49 -05:00
The Gears of Progress
5e7e9b4df7 Updating makefile 2026-02-05 11:15:09 -05:00
The Gears of Progress
210add3f62 Making the real changes this time 2026-02-02 22:42:31 -05:00
The Gears of Progress
e257bafb23 Disabling error printout and giving the legal screen more space 2026-02-02 22:25:07 -05:00
The Gears of Progress
9106d459dd Fixing scrolling 2026-02-02 12:09:33 -05:00
The Gears of Progress
5447b39569 Updating dex menu and selections 2026-01-29 22:42:06 -05:00
The Gears of Progress
84dfe45866 Adding Japanese comma and debug text options 2026-01-28 21:52:55 -05:00
The Gears of Progress
aff5709717 Fully adding scroll support 2026-01-28 17:34:30 -05:00
The Gears of Progress
a64bc8c6a0 Combining fonts into one file 2026-01-27 10:34:06 -05:00
The Gears of Progress
26b89d17fc Updating font generation 2026-01-27 09:29:28 -05:00
The Gears of Progress
48c1ae7b14 Adding font generator 2026-01-26 11:47:28 -05:00
The Gears of Progress
1acbe99f93 Updating debug ROM to first check if real ROM has been inserted 2026-01-19 15:32:53 -05:00
The Gears of Progress
f50d42f61f Updating accent characters 2026-01-13 20:24:03 -05:00
The Gears of Progress
2309f7c493 Adding text debug menu 2026-01-11 17:33:02 -05:00
The Gears of Progress
2482bb486b Modifying decompression function to be based on indexes 2026-01-11 17:09:30 -05:00
The Gears of Progress
1055094ab9 Modifying text_helper to not have static text sections 2026-01-11 15:02:16 -05:00
The Gears of Progress
97e1333078 Removing extra debug info 2026-01-03 17:31:30 -05:00
The Gears of Progress
fff4588d4a Updating packet debug features and restricting data offset to positive numbers 2026-01-03 17:29:36 -05:00
The Gears of Progress
a5ff585596
Merge pull request #76 from GearsProgress/latest-release
Refactoring to latest "latest release" branch
2025-12-06 15:50:56 -05:00
The Gears of Progress
9ca5c650d0 Working on debugging 2025-12-03 22:08:35 -05:00
Philippe Symons
a7b2703bf8 Replace the PCCS code with a git submodule
This eliminates duplicate code. - Only maintain the code in one place!

To make sure the submodule is getting cloned too after cloning Poke_Transporter_GB, execute:
git submodule update --init --recursive

To update the submodule to a newer commit/different branch:

cd PCCS
git pull
git checkout <commit_or_branchname>
cd ..
git add PCCS
git commit
git push

The way it works is that a specific commit is tied to your Poke_Transporter_GB repository's PCCS folder.
2025-11-27 23:14:29 +01:00
The Gears of Progress
a98a58eb4e Final finishing touches 2025-10-12 16:41:48 -04:00
The Gears of Progress
ba1a075701 Adding PCCS 2025-10-12 15:08:33 -04:00
The Gears of Progress
a0793c72c0 Fixing issues before implementing the CPCS 2025-09-20 17:17:20 -04:00