Trying to compile on amiga with vbcc.
Removed some useless unixisms. Still not working. Hope I did not break too much things. git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1035 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
10
graph.c
10
graph.c
@@ -47,6 +47,11 @@
|
||||
#include "windows.h"
|
||||
#include "input.h"
|
||||
|
||||
#ifdef __VBCC__
|
||||
#define __attribute__(x)
|
||||
#define M_PI 3.141592653589793238462643
|
||||
#endif
|
||||
|
||||
// Generic pixel-drawing function.
|
||||
Func_pixel Pixel_figure;
|
||||
|
||||
@@ -109,8 +114,7 @@ void Update_part_of_screen(short x, short y, short width, short height)
|
||||
effective_h = Menu_Y - effective_Y;
|
||||
|
||||
/*
|
||||
SDL_Rect r;
|
||||
r.x=effective_X;
|
||||
SDL_Rect r; r.x=effective_X;
|
||||
r.y=effective_Y;
|
||||
r.h=effective_h;
|
||||
r.w=effective_w;
|
||||
@@ -2853,4 +2857,4 @@ void Redraw_grid(short x, short y, unsigned short w, unsigned short h)
|
||||
Vertical_grid_line(col, y, h);
|
||||
col+= Snap_width*Main_magnifier_factor;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user