fix ranrot_rand linkage break in linux build

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1127 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
Dylan Smith 2007-08-05 11:22:05 +00:00
parent 2a81d2caa1
commit 89b47c1af1
3 changed files with 4 additions and 1 deletions

View File

@ -28,6 +28,7 @@ MA 02110-1301, USA.
#import "OOBrain.h" #import "OOBrain.h"
#import "OOStringParsing.h" #import "OOStringParsing.h"
#include "legacy_random.h"
@implementation OOCharacter @implementation OOCharacter
@ -88,6 +89,7 @@ MA 02110-1301, USA.
+ (OOCharacter *) randomCharacterWithRole:(NSString *) c_role andOriginalSystem:(Random_Seed) o_seed + (OOCharacter *) randomCharacterWithRole:(NSString *) c_role andOriginalSystem:(Random_Seed) o_seed
{ {
Random_Seed r_seed; Random_Seed r_seed;
r_seed.a = (ranrot_rand() & 0xff); r_seed.a = (ranrot_rand() & 0xff);
r_seed.b = (ranrot_rand() & 0xff); r_seed.b = (ranrot_rand() & 0xff);
r_seed.c = (ranrot_rand() & 0xff); r_seed.c = (ranrot_rand() & 0xff);

View File

@ -26,6 +26,7 @@ MA 02110-1301, USA.
#import "OOMaths.h" #import "OOMaths.h"
#import "OOLogging.h" #import "OOLogging.h"
#include "legacy_random.h"
const Quaternion kIdentityQuaternion = { 1.0f, 0.0f, 0.0f, 0.0f }; const Quaternion kIdentityQuaternion = { 1.0f, 0.0f, 0.0f, 0.0f };
const Quaternion kZeroQuaternion = { 0.0f, 0.0f, 0.0f, 0.0f }; const Quaternion kZeroQuaternion = { 0.0f, 0.0f, 0.0f, 0.0f };

View File

@ -26,7 +26,7 @@ MA 02110-1301, USA.
#import "OOMaths.h" #import "OOMaths.h"
#import "Entity.h" #import "Entity.h"
#import "OOOpenGL.h" #import "OOOpenGL.h"
#import "legacy_random.h" #include "legacy_random.h"
#ifndef NDEBUG #ifndef NDEBUG