[Fix?] Attempt to fix hyperspace on certain arcitecures. ABS was a bit off.
This commit is contained in:
		
							parent
							
								
									4319f3312e
								
							
						
					
					
						commit
						fce918506d
					
				| @ -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)) | ||||
|  | ||||
| @ -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.
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Allanis
						Allanis