mirror of https://github.com/nmlgc/ReC98.git
[Maintenance] Rename the EGC implementation files a bit
Part of P0121, funded by Yanga.
This commit is contained in:
parent
0de07a489f
commit
1801e29cb3
|
@ -10,7 +10,7 @@ void pascal end_pics_load_palette_show(const char *fn)
|
|||
|
||||
// Avoid symbol duplication...
|
||||
#define egc_start_copy egc_start_copy_1
|
||||
#include "th01/hardware/egcscopy.c"
|
||||
#include "th01/hardware/egcstart.c"
|
||||
|
||||
static const pixel_t PIC_W = (RES_X / 2);
|
||||
static const pixel_t PIC_H = (RES_Y / 2);
|
||||
|
|
|
@ -7,5 +7,5 @@ extern "C" {
|
|||
#include "th01/th01.h"
|
||||
|
||||
#include "th01/hardware/vplanset.c"
|
||||
#include "th01/hardware/egccopyr.cpp"
|
||||
#include "th01/hardware/egcrect.cpp"
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include "th01/hardware/egcscopy.c"
|
||||
#include "th01/hardware/egcstart.c"
|
||||
|
||||
void egc_copy_rect_1_to_0_16(screen_x_t x, vram_y_t y, pixel_t w, pixel_t h)
|
||||
{
|
|
@ -11,6 +11,6 @@ extern "C" {
|
|||
|
||||
#include "th01/formats/ptn_0to1.cpp"
|
||||
#include "th01/hardware/vplanset.c"
|
||||
#include "th01/hardware/egccopyr.cpp"
|
||||
#include "th01/hardware/egcrect.cpp"
|
||||
#include "th01/formats/ptn_snap.cpp"
|
||||
}
|
||||
|
|
|
@ -11,6 +11,6 @@ extern "C" {
|
|||
|
||||
#include "th01/formats/ptn_0to1.cpp"
|
||||
#include "th01/hardware/vplanset.c"
|
||||
#include "th01/hardware/egccopyr.cpp"
|
||||
#include "th01/hardware/egcrect.cpp"
|
||||
#include "th01/formats/ptn_snap.cpp"
|
||||
}
|
||||
|
|
|
@ -29,7 +29,7 @@ void pascal near rotrect_draw(int rad, unsigned char angle)
|
|||
}
|
||||
|
||||
#define graph_accesspage_func graph_accesspage
|
||||
#include "th01/hardware/egccopyr.cpp"
|
||||
#include "th01/hardware/egcrect.cpp"
|
||||
|
||||
void pascal rotrect_animate(char rot_speed, char start_angle)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue