flGlobal.h

Go to the documentation of this file.
00001 // This file is the global funcLib configuration header,
00002 // it should be included in all your source files.
00003 // Unless you have FL_INCLUDE_ALL enabled obviously.
00004 
00005 #ifndef FLGLOBAL_H
00006 #define FLGLOBAL_H
00007 
00008 #define FL_MATH_RAND_STDIO           0 
00009 #define FL_MATH_RAND_VFPU            1 
00010 #define FL_MATH_RAND_MERSENNETWISTER 2 
00011 #define FL_MATH_RAND_MT              FL_MATH_RAND_MERSENNETWISTER 
00012 
00013 #include <pspgu.h>             // Needed for diplay type constants.
00014 
00015 #include "flConfig.h"          // Users custom configuration.
00016 #include "flConfigDefault.h"   // Default working configuration.
00017 #include "flConfigValidate.h"  // Validate user configuration.
00018 #include "flTypes.h"           // Define all funcLib types.
00019 #include "flDefines.h"         // Define useful constants, etc.
00020 
00021 #if FL_MATH_VFPU != 0
00022 #define PSP_THREAD_ATTR_FUNCLIB (PSP_THREAD_ATTR_VFPU) 
00023 #else
00024 #define PSP_THREAD_ATTR_FUNCLIB 0 
00025 #endif
00026 
00027 // TODO - Get PSP_THREAD_ATTR_SCRATCH_SRAM to work.
00028 // I think it crashes because of the kernel that the code runs on or sth.
00029 
00030 #endif

Generated on Wed Sep 5 19:04:00 2007 for funcLib by  doxygen 1.5.1