[Fix?] Attempt to fix hyperspace on certain arcitecures. ABS was a bit off.

This commit is contained in:
Allanis 2013-02-27 02:23:33 +00:00
parent 4319f3312e
commit fce918506d
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
#define MALLOC_L(type)(malloc(sizeof(type)))
#define CALLOC_L(type)(calloc(1, sizeof(type)))
#define ABS(x) ((x<0)?-(x):(x))
#define ABS(x) (((x)<0)?-(x):(x))
#define MAX(x,y) (((x)>(y))?(x):(y))
#define MIN(x,y) (((x)>(y))?(y):(x))

View File

@ -12,7 +12,7 @@
#define HYPERSPACE_ENGINE_DELAY 3000 // Warm up the engines.
#define HYPERSPACE_FLY_DELAY 5000 // Time taken to hyperspace.
#define HYPERSPACE_STARS_BLUR 3000 // Time stars blur.
#define HYPERSPACE_STARS_LENGTH 600 // Length the stars blur to at max.
#define HYPERSPACE_STARS_LENGTH 500 // Length the stars blur to at max.
#define HYPERSPACE_FADEOUT 1000 // Time fadeout.
// Aproximation for pilot size.