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:
Adrien Destugues
2009-09-19 22:41:51 +00:00
parent 7a19586b2d
commit b12423d03b
14 changed files with 111 additions and 60 deletions

10
graph.c
View File

@@ -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;
}
}
}