Patch from begasus to allow building under haiku and beos. The program is crashing when you launch it (segmentation violation).
I'm not sure the way to get the program directory we use is ok for beos, but the official way of doing that is using C++ code. Maybe it's time to switch to some more unix way to store the config files... This should also fix watcom build (very untested as i'm using mingw to cross compile windows builds now) Also added begasus to the credits screen. git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@325 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
@@ -4239,7 +4239,7 @@ void Rectangle_Degrade_0_5(void)
|
||||
short RAX;
|
||||
short RAY;
|
||||
short RBX;
|
||||
short RBY;
|
||||
short RBY, largeur,hauteur;
|
||||
|
||||
|
||||
// Tracé propre du rectangle
|
||||
@@ -4252,8 +4252,8 @@ void Rectangle_Degrade_0_5(void)
|
||||
Pinceau_Y = RAY;
|
||||
Effacer_curseur();
|
||||
|
||||
short largeur = abs(RBX-RAX);
|
||||
short hauteur = abs(RBY-RAY);
|
||||
largeur = abs(RBX-RAX);
|
||||
hauteur = abs(RBY-RAY);
|
||||
Ligne_horizontale_XOR(Min(RAX,RBX),Min(RAY,RBY),largeur);
|
||||
Ligne_horizontale_XOR(Min(RAX,RBX),Max(RAY,RBY)-1,largeur);
|
||||
Ligne_verticale_XOR(Min(RAX,RBX),Min(RAY,RBY),hauteur);
|
||||
|
||||
Reference in New Issue
Block a user