nmlgc
cf95cc8717
[Maintenance] [th01] Remove `extern "C"` from all remaining areas of code
...
Nothing says "we're getting things done" quite as much as this.
Part of P0214, funded by Ember2528.
2022-08-14 23:03:15 +02:00
nmlgc
643f662815
[Decompilation] [th01] VSync interrupt handler: Move all data to C land
...
Ending the data catch-up with… an unused mouse cursor graphic?!
Part of P0213, funded by Ember2528 and GhostRiderCog.
2022-08-11 23:21:23 +02:00
nmlgc
60a7e44b53
[Maintenance] Introduce proper Shift-JIS and JIS X 0208 types
...
Much more semantic than that twobyte_t abomination.
Part of P0212, funded by GhostRiderCog, Lmocinemod, and LeyDud.
2022-08-11 15:53:13 +02:00
nmlgc
96510b3cba
[Maintenance] [th01] Don't #include grppsafx.h inside graph.h
...
That file is about to gain a dependency on a Shift-JIS type header.
Part of P0212, funded by GhostRiderCog, Lmocinemod, and LeyDud.
2022-08-11 15:50:46 +02:00
nmlgc
e97a869e90
[Maintenance] [th01] Compile all remaining C code as C++
...
And all that it needed was a few ellipses.
Part of P0212, funded by GhostRiderCog, Lmocinemod, and LeyDud.
2022-08-11 15:50:19 +02:00
nmlgc
0c682b5bc0
[Maintenance] Declare the optimization_barrier() a single time
...
And put that single instance into the compiler optimization workaround
section of `decomp.hpp`.
Part of P0204, funded by [Anonymous].
2022-07-10 13:45:18 +02:00
nmlgc
3e79deeb3a
[Contributing] Define function brace placement rules
...
I've been following them pretty consistently for a while now, time to
finally write them down.
Part of P0204, funded by [Anonymous] and Yanga.
2022-07-10 13:45:18 +02:00
nmlgc
001033d15a
[Maintenance] [th01] Remove `extern "C"` from more areas of code
...
The .GRC and .GRP functions, to be specific.
Part of P0203, funded by [Anonymous] and GhostRiderCog.
2022-07-10 13:09:12 +02:00
nmlgc
2863a69836
[Decompilation] [th01] Verdict screen: Main function
...
Part of P0197, funded by Yanga and Ember2528.
2022-06-01 02:27:52 +02:00
nmlgc
e15942bb7c
[Maintenance] [th01] Add string length calculation wrappers for VRAM typing
...
Part of P0197, funded by Yanga and Ember2528.
2022-05-31 23:39:34 +02:00
nmlgc
94372d2e27
[Maintenance] [th01] Move data of FUUIN.EXE segments ≥4 to a new assembly unit
...
Turns out that the "new idea" for handling these data slices won't work
out in reality. At least the amount of necessary manual `extern`
declarations isn't soul-crushingly large, so this way isn't bad either,
after all!
Part of P0197, funded by Yanga and Ember2528.
2022-05-31 23:39:34 +02:00
nmlgc
a2358bef47
[Maintenance] Remove `extern "C"` from `x86real.h` and `decomp.hpp`
...
One of those per delivery now, eh?
Part of P0189, funded by Arandui and Lmocinemod.
2022-04-16 23:53:46 +02:00
nmlgc
2efd1fb29d
[Maintenance] Get rid of ReC98.h
...
… and this mistake.
Part of P0186, funded by [Anonymous] and Blue Bolt.
2022-03-26 20:44:54 +01:00
nmlgc
00ca4ccc1f
[Maintenance] Add a COMPONENT_COUNT constant for RGB colors
...
sizeof(RGB4), seriously?! That's *so* wrong. And also inconsistent next
to COLOR_COUNT everywhere.
Part of P0140, funded by [Anonymous].
2021-05-27 18:49:29 +02:00
nmlgc
0ce869c30a
[Maintenance] Complete the master.hpp transition
...
Part of P0133, funded by [Anonymous].
2021-01-30 19:22:29 +01:00
nmlgc
f1c63ab3a1
[Reverse-engineering] Assign names to all graph_putsa_fx() effects
...
And get rid of the constraining FX() macro, with its spacing parameter
that we haven't even seen used so far.
Part of P0124, funded by [Anonymous] and Blue Bolt.
2020-11-02 22:33:50 +01:00
nmlgc
eb89330f64
[Build] [th01] Move the -Z and -3 options onto the command line
...
Deactivating them is the exception, not the norm.
Part of P0122, funded by Yanga.
2020-10-06 13:27:33 +02:00
nmlgc
368f151759
[Maintenance] Declare distinct types for screen, VRAM, and TRAM coordinates
...
Whew, time to look at every `int` variable we ever declared! The best
moment to do this would have been a year ago, but well, better late
than never. No need to communicate that in comments anymore.
These shouldn't be used for widths, heights, or sprite-space
coordinates. Maybe we'll cover that another time, this commit is
already large enough.
Part of P0111, funded by [Anonymous] and Blue Bolt.
2020-08-28 14:53:30 +02:00
nmlgc
026fff63a5
[Decompilation] [th01] Ending picture loading and display
...
Aww, how far we've come with inlining and helpful macros.
Part of P0094, funded by Yanga.
2020-05-25 15:18:44 +02:00
nmlgc
8adbeb76b6
[Decompilation] [th01] .GRP palette fades
...
It's optimization barrier time again \o/
Part of P0082, funded by Ember2528.
2020-03-13 19:14:32 +01:00
nmlgc
00050d0e5e
[Decompilation] [th01] VRAM text typing
...
Yeah, that 8×16 text RAM grid is so restricting.
Part of P0082, funded by Ember2528.
2020-03-13 19:09:12 +01:00