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:
parent
2a81d2caa1
commit
89b47c1af1
@ -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);
|
||||||
|
@ -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 };
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user