Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

synchronise bg_window.c with heartgold #523

Merged
merged 4 commits into from
Jul 6, 2023
Merged

Conversation

red031000
Copy link
Member

I think I genuinely hate graphics programming, this is the worst part of the rom, even with all the shit I've seen and everything that doesn't make sense, this fucking file is the worst out of all of them. I genuinely hate this shit, it's actually frustrating, sometimes the bg id is a u32 and sometimes it's a u8, the enum doesn't work if it's a u8, and some parts don't match, and some parts don't match if everything is a u32, I don't get why they didn't just put it fully as one or the other, I once again question the mental capacity of the people who wrote this file in the first place, and question whether they were on drugs or having drunk some serious alcohol for this, because this shit makes barely any sense, there's shit in here which you would expect to find in gen 2, and not on a graphics system like the DS, like actually, you'd think they'd be past this by now, but of course not, since this is GF code here. This is not made any better by the fucking compiler, which only does what you'd expect half the fucking time, and the other half of the time needs a weird hack or just straight up won't work, I've had to explicitly cast to u8 a few times because that gets the compiler to work, even if the original variable is of u8, I am genuinely starting to be convinced that metrowerks, freescale, nintendo, and game freak all got together and threw a massive drug party that lasted a few months and designed and programmed the games, libraries, tools, and compilers used in it

I still have a bunch to do here, but I'm only so masochistic, and every single second I take another look at this file I am losing braincells, I need them to continue to push these roms forward, because we only have a few contributors who are working on gen 4.

@red031000 red031000 marked this pull request as ready for review July 6, 2023 02:09
@red031000 red031000 merged commit 31ad7de into pret:master Jul 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant