ReC98/th01/hardware
nmlgc b0c832bdee [Decompilation] [th01] Restorable line drawing
Yes, when clipping the start and end points to the screen area, ZUN
uses an integer division to calculate the line slopes, rather than a
floating-point one. Doesn't seem like it actually causes any incorrect
lines to be drawn, though; that case is only hit in the Mima boss
fight, which draws a few lines with a bottom coordinate of 400 rather
than 399. It *might* also restore the wrong pixels at parts of the
YuugenMagan fight, causing weird flickering, but seriously, that's an
issue everywhere you look in this game.

Part of P0069, funded by [Anonymous] and Yanga.
2020-01-14 22:12:08 +01:00
..
color.asm [Reverse-engineering] [th01] Basic hardware palette functions 2020-01-05 19:08:31 +01:00
egc.h [Decompilation] [th01] Restorable line drawing 2020-01-14 22:12:08 +01:00
egc.inc [Reduction] EGC-powered VRAM region copies 2018-12-29 17:03:26 +01:00
egccopyr.c [Maintenance] Define VRAM access macros for arbitrary bit counts 2020-01-14 22:09:51 +01:00
frmdely.c [Decompilation] [th01] frame_delay 2019-11-18 21:29:43 +01:00
graph.cpp [Decompilation] [th01] Restorable line drawing 2020-01-14 22:12:08 +01:00
graph.h [Decompilation] [th01] graph_printf_fx 2020-01-14 22:08:44 +01:00
graph[bss].asm [Reverse-engineering] [th01] Restorable line and box drawing 2020-01-14 21:53:00 +01:00
graph_page.asm [Reverse-engineering] [th01] Current back page 2020-01-14 21:48:40 +01:00
graph_r[data].asm [Reverse-engineering] [th01] Restorable line and box drawing 2020-01-14 21:53:00 +01:00
grppffx.c [Decompilation] [th01] graph_printf_fx 2020-01-14 22:08:44 +01:00
grppsafx.c [Maintenance] [th01/th02] Split graph_putsa_fx() into its shared parts 2020-01-14 22:03:00 +01:00
grppsafx.h [Maintenance] [th01/th02] Split graph_putsa_fx() into its shared parts 2020-01-14 22:03:00 +01:00
palette.hpp [Decompilation] [th01] Blocking palette fade-ins from a custom start color 2020-01-14 21:47:17 +01:00
palette[data].asm [Reverse-engineering] [th01] Main color palette 2020-01-05 19:07:48 +01:00
palette_black.asm [Reverse-engineering] [th01] Basic hardware palette functions 2020-01-05 19:08:31 +01:00
palette_set_show.asm [Reverse-engineering] [th01] Basic hardware palette functions 2020-01-05 19:08:31 +01:00
palette_white.asm [Reverse-engineering] [th01] Basic hardware palette functions 2020-01-05 19:08:31 +01:00
respal[data].asm [Decompilation] [th01] master.lib resident palette function reimplementations 2020-01-05 20:23:27 +01:00
vplanset.c [C decompilation] [th01] VRAM region copy via EGC 2015-02-27 23:11:47 +01:00
vram_planes[bss].asm Make the VRAM plane constants available to C 2015-02-24 22:16:31 +01:00
vram_planes_set.asm [C decompilation] [th02] Code segment #2 of all three executables 2015-03-14 23:25:50 +01:00
vsync.c [C decompilation] [th01] VSync interrupt handler 2015-09-05 22:33:07 +02:00
vsync.h [Decompilation] [th01] Blocking palette fade-ins from a custom start color 2020-01-14 21:47:17 +01:00
vsync[bss].asm [C decompilation] [th01] VSync interrupt handler 2015-09-05 22:33:07 +02:00
vsync[data].asm [C decompilation] [th01] VSync interrupt handler 2015-09-05 22:33:07 +02:00
vsyncclr.c [C decompilation] [th01] VSync interrupt handler 2015-09-05 22:33:07 +02:00