Commit Graph

25 Commits

Author SHA1 Message Date
Philippe Symons
9268cbd42e Reduce binary size by eliminating libstdc++
This commit removes all references to things in the libstdc++ library to remove a decent chunk of bloat.

This means every std::to_string() call, std::string and std::vector. (as well as iostream related stuff).

I replaced those with my own versions ptgb::to_string() and ptgb::vector. Especially the latter is not exactly the same,
but close enough.

I also replaced operator new and delete with my own implementation to avoid pulling in everything related to exceptions
from libstdc++

Another problem was the fact that libtonc uses siscanf, which pulls in everything related to the scanf family of functions
and locale support. The worst part of that was that it included a 13KB "categories" symbol from libc_a-categories.o,
which was pulled in because of the locale support integrated into newlibc's siscanf() function. To fix that, I created a
custom, extremely restricted implementation of siscanf. libtonc only used this function to parse at most 2 integers from a
string anyway.
2025-04-09 20:04:08 +02:00
The Gears of Progress
a278bfb355 Updating Dream Dex 2025-04-06 11:57:37 -04:00
The Gears of Progress
1ee46e1719 Resolving build warnings 2025-03-30 11:56:32 -04:00
The Gears of Progress
b267912687 Continuing box updating 2025-03-27 14:37:47 -04:00
The Gears of Progress
8160bcd276 updating box menu, pre sprite grabbing 2025-03-22 15:57:22 -04:00
The Gears of Progress
73fd2342e9 Last push before release (probably not actually though lol) 2024-08-20 23:31:07 -04:00
The Gears of Progress
1ec09842ad Updating tons of graphics 2024-08-19 14:47:29 -04:00
The Gears of Progress
b7f056ce79 Updating Dex Graphics 2024-08-08 16:07:43 -04:00
The Gears of Progress
7aa6933dd6 Fixing crash 2024-07-05 19:20:05 -04:00
The Gears of Progress
8f07b1ebdb Re-enabling the old event 2024-07-01 16:45:54 -04:00
The Gears of Progress
f7cc4b5667 Finalizing the mystery events, sans sprites/music 2024-06-28 11:08:47 -04:00
The Gears of Progress
444878de04 Finalizing new event 2024-06-26 13:38:34 -04:00
The Gears of Progress
7181407915 Implementing custom fanfare 2024-06-25 13:20:59 -04:00
The Gears of Progress
5950e53e88 Continuing work on updated event 2024-06-22 11:24:43 -04:00
Remnants of Forgotten Disney
d7d8648eb4 Finalizing the RB transfer rewrite 2024-03-27 11:20:54 -05:00
Remnants of Forgotten Disney
22fc6ee9d2 Finalizing the ROM data rewrite 2024-03-09 17:30:43 -06:00
Remnants of Forgotten Disney
c825203e70 Modifying save data flags 2024-03-04 16:56:14 -06:00
Remnants of Forgotten Disney
4768f72a50 Moving Pokemon data to Sector 30 2024-03-03 17:42:59 -06:00
Remnants of Forgotten Disney
257fe54a76 Finalizing ASM variable rewrite 2024-03-01 19:52:46 -06:00
Remnants of Forgotten Disney
338819268a Beginning to rewrite the ASM "compiler" 2024-02-26 19:40:51 -06:00
Remnants of Forgotten Disney
020d27433d Preparing for ASM rewrite 2024-02-24 14:53:12 -06:00
Remnants of Forgotten Disney
1b5f30087a Modifying Pokemon Injection 2024-02-19 08:29:37 -06:00
Remnants of Forgotten Disney
fde2cfe68f Adding check for other events 2023-11-18 12:58:48 -06:00
Remnants of Forgotten Disney
29f4baaf3b Created rom data class 2023-11-15 13:08:17 -06:00
Remnants of Forgotten Disney
e01a782929 Pre-text engine rewrite 2023-11-10 21:19:19 -06:00