Go to the source code of this file.
Defines | |
#define | FL_INCLUDE_ALL_H 1 |
Include all enabled headers in funcLib.h so you only have to include one file in your source. | |
#define | FL_INCLUDE_ALL_C 1 |
Includes all the c source files into one file, to be compiled as one object file (Adds a lot of optimization, the makefile needs to be changed for this). | |
#define | FL_PREFIX 0 |
Enable prefixing of function/variable/struct names (e.g so colorRGB8888 would be flColorRGB8888). | |
#define | FL_PREFIX_BOTH 0 |
Enable use of both prefixed and non-prefixed function/variable/struct names. | |
#define | FL_VSHMODE 0 |
Enable/Disable VSH mode, used when writing vsh plugins. | |
#define | FL_KERNELODE 0 |
Enable/Disable kernel mode features in modules. | |
#define | FL_CALLBACKS 1 |
Include the callbacks module. | |
#define | FL_CALLBACKS_EXIT 1 |
Include the exit callback (Enables the default home button behaviour). | |
#define | FL_CALLBACKS_POWER 0 |
[ERRORS] Include the power callback. | |
#define | FL_DEBUG 1 |
Include (and enable) debug module (also enables internal debugging. It's very useful so should only be removed for final releases if at all.). | |
#define | FL_DEBUG_TIMESTAMP 1 |
Enable/Disable timestamping in the logfile. | |
#define | FL_DEBUG_DATEFORMAT_AMERICAN 0 |
Enable/Disable american date format. | |
#define | FL_DEBUG_CALLEDFROM 1 |
Enables called from info in warnings/errors aswell as in the log. | |
#define | FL_DEBUG_LOGGING 1 |
Enable/Disable error logging. | |
#define | FL_DEBUG_LOGCLEAR 1 |
Clear old debug logs at start of program. | |
#define | FL_DEBUG_LOGPATH "./flDebugLog.txt" |
Path to error log file. | |
#define | FL_DEBUG_STATUS 1 |
Enable/Disable logging of additional events such as program start, etc. | |
#define | FL_DEBUG_STATUS_NOTIFY 1 |
Enable/Disable showing of status messages in the notification tray. | |
#define | FL_DEBUG_STATUS_COLOR 0xFFFF0000 |
Choose the color in which status messages will be displayed. | |
#define | FL_DEBUG_SCREENSHOTPATH "./flDebugPic%i.tga" |
Path to save error screenshot (Must contain a i). | |
#define | FL_DEBUG_ERROR 1 |
Enable/Disable error handling. | |
#define | FL_DEBUG_ERROR_SHOW 1 |
Enable/Disable visible errors (Still get logged if logging is enabled). | |
#define | FL_DEBUG_ERROR_NOTIFY 1 |
Enable/Disable showing of errors in the notification tray. | |
#define | FL_DEBUG_ERROR_COLOR 0xFF0000FF |
Choose the color in which errors will be displayed. | |
#define | FL_DEBUG_ERROR_SCREENSHOT 0 |
When enabled a screenshot is taken upon an error occuring (Requires GRAPHICS and TEXTURE). | |
#define | FL_DEBUG_WARNING 1 |
Enable/Disable warning handling. | |
#define | FL_DEBUG_WARNING_SHOW 0 |
Enable/Disable visible warnings (Still get logged if logging is enabled). | |
#define | FL_DEBUG_WARNING_NOTIFY 1 |
Enable/Disable showing of warnings in the notification tray. | |
#define | FL_DEBUG_WARNING_COLOR 0xFF007FFF |
Choose the color in which warnings will be displayed. | |
#define | FL_DEBUG_WARNING_SCREENSHOT 0 |
When enabled a screenshot is taken upon a warning occuring (Requires GRAPHICS and TEXTURE). | |
#define | FL_DEBUG_DEVWARNING 1 |
Enable/Disable dev warning handling. | |
#define | FL_DEBUG_DEVWARNING_SHOW 0 |
Enable/Disable visible dev warnings (Still get logged if logging is enabled). | |
#define | FL_DEBUG_DEVWARNING_NOTIFY 1 |
Enable/Disable showing of developer warnings in the notification tray. | |
#define | FL_DEBUG_DEVWARNING_COLOR 0xFFFF3F3F |
Choose the color in which dev warnings will be displayed. | |
#define | FL_DEBUG_DEVWARNING_SCREENSHOT 0 |
When enabled a screenshot is taken upon a dev warning occuring (Requires GRAPHICS and TEXTURE). | |
#define | FL_DEBUG_CRITICALERROR_SHOW 1 |
Enable/Disable visible critical error (Programs still quits, critical errors cannot be disabled). | |
#define | FL_DEBUG_CRITICALERROR_COLOR 0xFF00007F |
Choose the color in which critical errors will be displayed. | |
#define | FL_DEBUG_CRITICALERROR_SCREENSHOT 1 |
When enabled a screenshot is taken upon a critical error occuring (Requires GRAPHICS and TEXTURE). | |
#define | FL_MEMORY 1 |
Include memory module (wrapper for memory allocation functions). | |
#define | FL_MEMORY_ALIGNMENT_DEFAULT 16 |
Default alignment (used for memAlloc), should be >= 16 and a binary number (e.g 16, 32, 64, etc.). | |
#define | FL_MEMORY_SCRATCHPAD 1 |
Enable the use of the 16kb scratchpad. | |
#define | FL_MEMORY_VMEM 1 |
Include video memory functions. | |
#define | FL_MEMORY_VMEM_BLOCKSIZE 512 |
Should be a binary number (128, 256, 512, etc.), lower number means less wastage but slower (Must be above 16). | |
#define | FL_MEMORY_VMEM_OVERFLOW 1 |
If main memory is full, overflow into vram. | |
#define | FL_MEMORY_VMEM_STIDE_FILL 1 |
If enabled, all memory allocation functions will use stride memory to make best use of it. | |
#define | FL_MEMORY_VMEM_CACHE 16384 |
Size of vmem cache, used to speed up various modules and to provide stability. | |
#define | FL_MEMORY_POOL 1 |
Include memory pooling module. | |
#define | FL_MEMORY_PAGE 0 |
Include memory paging functions. | |
#define | FL_MEMORY_PAGE_PATH "./flPageFile.dat" |
The file where paged memory chunks are saved. | |
#define | FL_MEMORY_LOGGING 0 |
[INCOMPLETE] Enable memory logging. | |
#define | FL_MEMORY_LOGPATH "./flMemoryLog.txt" |
Path to memory log file (Set to DEBUG_LOGPATH to use the same file for both). | |
#define | FL_MEMORY_ERRORBYTES 1 |
Adds error checking bytes to the beginning and end of memory allocations. | |
#define | FL_FILE 1 |
Include filesys module. | |
#define | FL_TIMER 1 |
Include timer module. | |
#define | FL_INPUT 1 |
Include input module. | |
#define | FL_MATH 1 |
Include maths module. | |
#define | FL_MATH_VFPU 1 |
Use VFPU code where possible (You need to add -lpspvfpu to the LIBS line of your makefile, and PSP_MAIN_THREAD_ATTR(THREAD_ATTR_USER | THREAD_ATTR_VFPU); to the top of your main.c). | |
#define | FL_MATH_RANDTYPE FL_MATH_RAND_VFPU |
Which method of random number generation to use FL_MATH_RAND_(STDIO/VFPU/MERSENNETWISTER). | |
#define | FL_MATH_RANDOMSEED 0 |
Randomly reseed random number generator, only works for FL_MATH_STDIO. | |
#define | FL_MATH_RANDOMSEED_FREQUENCY 4096 |
How often to randomly reseed (A low number can cause repetition if the rand function is called again in less than a microsecond. | |
#define | FL_MATH_TRIGCACHE 0 |
[SLOW] How many trig calls to cache, so that calls to trig functions should carry a lower average overhead. | |
#define | FL_STRING 1 |
Include string module. | |
#define | FL_COLOR 1 |
Include color module. | |
#define | FL_GRAPHICS 1 |
Include (and enable) graphics module. | |
#define | FL_GRAPHICS_DISP_BUFFER_FORMAT GU_PSM_8888 |
[ERROR when disp and draw are different] What format to use for the display buffer. | |
#define | FL_GRAPHICS_DRAW_BUFFER_FORMAT GU_PSM_8888 |
[ERROR when disp and draw are different] What format to use for the draw buffer. | |
#define | FL_GRAPHICS_VSYNC_DEFAULT 0 |
Default (starting) vsync setting. | |
#define | FL_GRAPHICS_VSYNC_AUTO 1 |
Will automatically enable/disable vsync depending on the framerate. | |
#define | FL_GRAPHICS_VSYNC_AUTO_CUTOFF 55.0f |
If the FPS goes below this value and GRAPHICS_VSYNC_AUTO is enabled then vsync will turn off. | |
#define | FL_GRAPHICS_DISPLAYLIST_SIZE 262144 |
Initial size of display list. | |
#define | FL_GRAPHICS_DISPLAYLIST_STATIC 0 |
Declare the display list statically rather than dynamically (No real effect, except that the display list cannot be resized). | |
#define | FL_GRAPHICS_LINES_ANTIALIAS_DEFAULT 0 |
Default line anti-aliasing value (RECOMMENDATION: Set to 0, and turn Line AA on/off when needed). | |
#define | FL_GRAPHICS_FPS_SHOW_DEFAULT 0 |
Default (starting) show fps setting. | |
#define | FL_GRAPHICS_FPS_SHOW_COLOR 0xFFFFFFFF |
Color of fps display. | |
#define | FL_GRAPHICS_FPS_DAMP 1 |
Whether to damp the fps display (make the numbers stablize). | |
#define | FL_GRAPHICS_FPS_DAMPRATIO 0.25 |
Amount of effect current fps has on fps display. | |
#define | FL_GRAPHICS_USEDEGENERATETRIS 0 |
Enable/Disable use of degenerate triangles to lower the amount of calls to draw array required. | |
#define | FL_GRAPHICS_2D 1 |
Include 2d graphics module. | |
#define | FL_GRAPHICS_2D_USEDMA 1 |
Use DMA to copy textures when possible. | |
#define | FL_GRAPHICS_2D_ELLIPSE_MINLINES 16 |
The minimum number of lines to use when constructing ellipses. | |
#define | FL_GRAPHICS_2D_ELLIPSE_EDGESPERRAD 0.25 |
Number of edges to use per pixel radius. | |
#define | FL_GRAPHICS_3D 1 |
Include 3d graphics module. | |
#define | FL_GRAPHICS_EFFECTS_FULLSCREEN 1 |
Enable/Disable the fullscreen effects module. | |
#define | FL_CAMERA 1 |
Enable/Disable camera module. | |
#define | FL_TEXTURE 1 |
Include texture module. | |
#define | FL_TEXTURE_UNCACHED 0 |
[SEEMS TO CLASH WITH MEMORY ERROR CHECKING] Enable/Disable the use of uncached pointers (Causes wierd artifacts in palettized textures). | |
#define | FL_TEXTURE_AUTOMIPMAP 8 |
Enable/Disable automatic mipmapping of loaded textures (0 - 8, where 0 is disabled and 8 is maximum). | |
#define | FL_TEXTURE_AUTOMIPMAP_PALETTED 1 |
Allow auto-mipmapping of paletted textures, not advised as it causes artifacts. (There seems to be an error with level 8 at the minute, so it is internally disabled for this option, but will still occur if you call the function at level 8). | |
#define | FL_TEXTURE_AUTOSWIZZLE 1 |
Enable/Disable automatic swizzling of loaded textures. | |
#define | FL_TEXTURE_ERRORTEX 0 |
Enable/Disable the use of an error texture. | |
#define | FL_TEXTURE_ERRORTEX_COMPILE 0 |
Compile a default error tex into the program. | |
#define | FL_TEXTURE_ERRORTEX_PATH "./flTexError.tga" |
The path for the image loaded to represent a texture error (if one isn't compiled in). | |
#define | FL_TEXTURE_PRESERVENONALPHA 1 |
If enabled images that are loaded with no alpha channel will be treated differently. | |
#define | FL_TEXTURE_PCX 1 |
Include support for PCX textures. | |
#define | FL_TEXTURE_TGA 1 |
Include support for TGA textures. | |
#define | FL_TEXTURE_BMP 1 |
Include support for BMP textures. | |
#define | FL_TEXTURE_WAL 0 |
[INCOMPLETE] Include support for WAL textures. | |
#define | FL_TEXTURE_PNG 0 |
[INCOMPLETE] Include support for PNG textures. | |
#define | FL_TEXTURE_FTF 0 |
[INCOMPLETE] Include support for FTF textures. | |
#define | FL_TEXTURE_RAW 0 |
Include support for RAW textures. | |
#define | FL_TEXTURE_MANIPULATION 1 |
Include texture manipulation module. | |
#define | FL_MODEL 1 |
Include model module. | |
#define | FL_MODEL_OBJ 1 |
Include support for OBJ models. | |
#define | FL_MODEL_MD2 1 |
Include support for MD2 animated models. | |
#define | FL_SPRITE 1 |
Include sprite module. | |
#define | FL_FONT 1 |
Include font module. | |
#define | FL_FONT_HSPACE_DEFAULT 0 |
Default horizontal spacing (in pixels) for fonts. | |
#define | FL_FONT_VSPACE_DEFAULT 0 |
Default vertical spacing (in pixels) for fonts. | |
#define | FL_FONT_COLOR_DEFAULT 0xFFFFFFFF |
Default color for fonts. | |
#define | FL_FONT_TABWIDTH_DEFAULT 5 |
How many spaces long a tab should be. | |
#define | FL_COLLISION 1 |
Include collision detection module. | |
#define | FL_NOTIFY 1 |
Include notification of status changes. | |
#define | FL_NOTIFY_FREQUENCY 60 |
Check for notifications once every FL_NOTIFY_FREQUENCY frames. | |
#define | FL_NOTIFY_DURATION 5.0f |
How long to show notifications for. | |
#define | FL_NOTIFY_VOLUME 0 |
[REQUIRES KERNEL] Notify the users of volume changes. | |
#define | FL_NOTIFY_BATTERY 1 |
Notify if they have a low battery, every quarter segment, or everytime the AC status changes. | |
#define | FL_NOTIFY_TIME 1 |
Notify the user of the time at regular intervals. | |
#define | FL_NOTIFY_TRAYSIZE 4 |
Size of the notification tray. | |
#define | FL_UMD 0 |
[INCOMPLETE] Include umd info module. | |
#define | FL_FILEBROWSER 0 |
[INCOMPLETE] Include filebrowser module. |
#define FL_CALLBACKS 1 |
#define FL_CALLBACKS_EXIT 1 |
Include the exit callback (Enables the default home button behaviour).
Definition at line 25 of file flConfig.h.
#define FL_CALLBACKS_POWER 0 |
#define FL_CAMERA 1 |
#define FL_COLLISION 1 |
#define FL_COLOR 1 |
#define FL_DEBUG 1 |
Include (and enable) debug module (also enables internal debugging. It's very useful so should only be removed for final releases if at all.).
Definition at line 28 of file flConfig.h.
#define FL_DEBUG_CALLEDFROM 1 |
Enables called from info in warnings/errors aswell as in the log.
Definition at line 31 of file flConfig.h.
Referenced by memtErrorBytesCheckFrom(), and vmemFreeFrom().
#define FL_DEBUG_CRITICALERROR_COLOR 0xFF00007F |
Choose the color in which critical errors will be displayed.
Definition at line 55 of file flConfig.h.
Referenced by debugCriticalErrorFrom().
#define FL_DEBUG_CRITICALERROR_SCREENSHOT 1 |
When enabled a screenshot is taken upon a critical error occuring (Requires GRAPHICS and TEXTURE).
Definition at line 56 of file flConfig.h.
#define FL_DEBUG_CRITICALERROR_SHOW 1 |
Enable/Disable visible critical error (Programs still quits, critical errors cannot be disabled).
Definition at line 54 of file flConfig.h.
#define FL_DEBUG_DATEFORMAT_AMERICAN 0 |
#define FL_DEBUG_DEVWARNING 1 |
Enable/Disable dev warning handling.
Definition at line 49 of file flConfig.h.
Referenced by texMipMapAdd().
#define FL_DEBUG_DEVWARNING_COLOR 0xFFFF3F3F |
Choose the color in which dev warnings will be displayed.
Definition at line 52 of file flConfig.h.
Referenced by debugDevWarningFrom().
#define FL_DEBUG_DEVWARNING_NOTIFY 1 |
Enable/Disable showing of developer warnings in the notification tray.
Definition at line 51 of file flConfig.h.
#define FL_DEBUG_DEVWARNING_SCREENSHOT 0 |
When enabled a screenshot is taken upon a dev warning occuring (Requires GRAPHICS and TEXTURE).
Definition at line 53 of file flConfig.h.
#define FL_DEBUG_DEVWARNING_SHOW 0 |
Enable/Disable visible dev warnings (Still get logged if logging is enabled).
Definition at line 50 of file flConfig.h.
#define FL_DEBUG_ERROR 1 |
Enable/Disable error handling.
Definition at line 39 of file flConfig.h.
Referenced by memtErrorBytesCheckFrom(), and vmemFreeFrom().
#define FL_DEBUG_ERROR_COLOR 0xFF0000FF |
Choose the color in which errors will be displayed.
Definition at line 42 of file flConfig.h.
Referenced by debugErrorFrom().
#define FL_DEBUG_ERROR_NOTIFY 1 |
Enable/Disable showing of errors in the notification tray.
Definition at line 41 of file flConfig.h.
#define FL_DEBUG_ERROR_SCREENSHOT 0 |
When enabled a screenshot is taken upon an error occuring (Requires GRAPHICS and TEXTURE).
Definition at line 43 of file flConfig.h.
#define FL_DEBUG_ERROR_SHOW 1 |
Enable/Disable visible errors (Still get logged if logging is enabled).
Definition at line 40 of file flConfig.h.
#define FL_DEBUG_LOGCLEAR 1 |
#define FL_DEBUG_LOGGING 1 |
#define FL_DEBUG_LOGPATH "./flDebugLog.txt" |
Path to error log file.
Definition at line 34 of file flConfig.h.
Referenced by debugInit(), debugLog(), and debugLogFrom().
#define FL_DEBUG_SCREENSHOTPATH "./flDebugPic%i.tga" |
Path to save error screenshot (Must contain a i).
Definition at line 38 of file flConfig.h.
Referenced by debugScreenshot().
#define FL_DEBUG_STATUS 1 |
Enable/Disable logging of additional events such as program start, etc.
Definition at line 35 of file flConfig.h.
Referenced by memInit().
#define FL_DEBUG_STATUS_COLOR 0xFFFF0000 |
Choose the color in which status messages will be displayed.
Definition at line 37 of file flConfig.h.
Referenced by debugStatusLogFrom().
#define FL_DEBUG_STATUS_NOTIFY 1 |
Enable/Disable showing of status messages in the notification tray.
Definition at line 36 of file flConfig.h.
#define FL_DEBUG_TIMESTAMP 1 |
#define FL_DEBUG_WARNING 1 |
Enable/Disable warning handling.
Definition at line 44 of file flConfig.h.
Referenced by texSwizzle(), and texUnswizzle().
#define FL_DEBUG_WARNING_COLOR 0xFF007FFF |
Choose the color in which warnings will be displayed.
Definition at line 47 of file flConfig.h.
Referenced by debugWarningFrom().
#define FL_DEBUG_WARNING_NOTIFY 1 |
Enable/Disable showing of warnings in the notification tray.
Definition at line 46 of file flConfig.h.
#define FL_DEBUG_WARNING_SCREENSHOT 0 |
When enabled a screenshot is taken upon a warning occuring (Requires GRAPHICS and TEXTURE).
Definition at line 48 of file flConfig.h.
#define FL_DEBUG_WARNING_SHOW 0 |
Enable/Disable visible warnings (Still get logged if logging is enabled).
Definition at line 45 of file flConfig.h.
#define FL_FILE 1 |
#define FL_FILEBROWSER 0 |
#define FL_FONT 1 |
#define FL_FONT_COLOR_DEFAULT 0xFFFFFFFF |
Default color for fonts.
Definition at line 149 of file flConfig.h.
Referenced by fontInit(), and fontLoad().
#define FL_FONT_HSPACE_DEFAULT 0 |
Default horizontal spacing (in pixels) for fonts.
Definition at line 147 of file flConfig.h.
Referenced by fontLoad().
#define FL_FONT_TABWIDTH_DEFAULT 5 |
How many spaces long a tab should be.
Definition at line 150 of file flConfig.h.
Referenced by fontCharWidth().
#define FL_FONT_VSPACE_DEFAULT 0 |
Default vertical spacing (in pixels) for fonts.
Definition at line 148 of file flConfig.h.
Referenced by fontLoad().
#define FL_GRAPHICS 1 |
#define FL_GRAPHICS_2D 1 |
#define FL_GRAPHICS_2D_ELLIPSE_EDGESPERRAD 0.25 |
Number of edges to use per pixel radius.
Definition at line 116 of file flConfig.h.
Referenced by graphics2dDrawEllipse(), graphics2dDrawEllipseFilledGrad(), and graphics2dDrawSpheroidShaded().
#define FL_GRAPHICS_2D_ELLIPSE_MINLINES 16 |
The minimum number of lines to use when constructing ellipses.
Definition at line 115 of file flConfig.h.
Referenced by graphics2dDrawEllipse(), graphics2dDrawEllipseFilledGrad(), and graphics2dDrawSpheroidShaded().
#define FL_GRAPHICS_2D_USEDMA 1 |
#define FL_GRAPHICS_3D 1 |
#define FL_GRAPHICS_DISP_BUFFER_FORMAT GU_PSM_8888 |
[ERROR when disp and draw are different] What format to use for the display buffer.
Definition at line 100 of file flConfig.h.
Referenced by graphicsInit(), and graphicsSwapBuffers().
#define FL_GRAPHICS_DISPLAYLIST_SIZE 262144 |
#define FL_GRAPHICS_DISPLAYLIST_STATIC 0 |
Declare the display list statically rather than dynamically (No real effect, except that the display list cannot be resized).
Definition at line 106 of file flConfig.h.
#define FL_GRAPHICS_DRAW_BUFFER_FORMAT GU_PSM_8888 |
[ERROR when disp and draw are different] What format to use for the draw buffer.
Definition at line 101 of file flConfig.h.
Referenced by graphicsInit(), graphicsRenderToFramebuffer(), and graphicsSwapBuffers().
#define FL_GRAPHICS_EFFECTS_FULLSCREEN 1 |
#define FL_GRAPHICS_FPS_DAMP 1 |
Whether to damp the fps display (make the numbers stablize).
Definition at line 110 of file flConfig.h.
#define FL_GRAPHICS_FPS_DAMPRATIO 0.25 |
Amount of effect current fps has on fps display.
Definition at line 111 of file flConfig.h.
Referenced by graphicsSwapBuffers().
#define FL_GRAPHICS_FPS_SHOW_COLOR 0xFFFFFFFF |
Color of fps display.
Definition at line 109 of file flConfig.h.
Referenced by graphicsSwapBuffers().
#define FL_GRAPHICS_FPS_SHOW_DEFAULT 0 |
#define FL_GRAPHICS_LINES_ANTIALIAS_DEFAULT 0 |
Default line anti-aliasing value (RECOMMENDATION: Set to 0, and turn Line AA on/off when needed).
Definition at line 107 of file flConfig.h.
#define FL_GRAPHICS_USEDEGENERATETRIS 0 |
Enable/Disable use of degenerate triangles to lower the amount of calls to draw array required.
Definition at line 112 of file flConfig.h.
#define FL_GRAPHICS_VSYNC_AUTO 1 |
Will automatically enable/disable vsync depending on the framerate.
Definition at line 103 of file flConfig.h.
#define FL_GRAPHICS_VSYNC_AUTO_CUTOFF 55.0f |
If the FPS goes below this value and GRAPHICS_VSYNC_AUTO is enabled then vsync will turn off.
Definition at line 104 of file flConfig.h.
Referenced by graphicsSwapBuffers().
#define FL_GRAPHICS_VSYNC_DEFAULT 0 |
#define FL_INCLUDE_ALL_C 1 |
Includes all the c source files into one file, to be compiled as one object file (Adds a lot of optimization, the makefile needs to be changed for this).
Definition at line 10 of file flConfig.h.
#define FL_INCLUDE_ALL_H 1 |
Include all enabled headers in funcLib.h so you only have to include one file in your source.
Definition at line 9 of file flConfig.h.
#define FL_INPUT 1 |
#define FL_KERNELODE 0 |
#define FL_MATH 1 |
#define FL_MATH_RANDOMSEED 0 |
Randomly reseed random number generator, only works for FL_MATH_STDIO.
Definition at line 84 of file flConfig.h.
#define FL_MATH_RANDOMSEED_FREQUENCY 4096 |
How often to randomly reseed (A low number can cause repetition if the rand function is called again in less than a microsecond.
Definition at line 85 of file flConfig.h.
Referenced by mathRandf(), mathRandFractf(), and mathRandi().
#define FL_MATH_RANDTYPE FL_MATH_RAND_VFPU |
Which method of random number generation to use FL_MATH_RAND_(STDIO/VFPU/MERSENNETWISTER).
Definition at line 83 of file flConfig.h.
#define FL_MATH_TRIGCACHE 0 |
[SLOW] How many trig calls to cache, so that calls to trig functions should carry a lower average overhead.
Definition at line 86 of file flConfig.h.
#define FL_MATH_VFPU 1 |
Use VFPU code where possible (You need to add -lpspvfpu to the LIBS line of your makefile, and PSP_MAIN_THREAD_ATTR(THREAD_ATTR_USER | THREAD_ATTR_VFPU); to the top of your main.c).
Definition at line 82 of file flConfig.h.
#define FL_MEMORY 1 |
Include memory module (wrapper for memory allocation functions).
Definition at line 60 of file flConfig.h.
#define FL_MEMORY_ALIGNMENT_DEFAULT 16 |
Default alignment (used for memAlloc), should be >= 16 and a binary number (e.g 16, 32, 64, etc.).
Definition at line 61 of file flConfig.h.
Referenced by memAlignFrom(), memAllocFrom(), memAllocUncachedFrom(), vmemStrideAlign(), and vmemStrideAlloc().
#define FL_MEMORY_ERRORBYTES 1 |
Adds error checking bytes to the beginning and end of memory allocations.
Definition at line 73 of file flConfig.h.
#define FL_MEMORY_LOGGING 0 |
#define FL_MEMORY_LOGPATH "./flMemoryLog.txt" |
Path to memory log file (Set to DEBUG_LOGPATH to use the same file for both).
Definition at line 72 of file flConfig.h.
#define FL_MEMORY_PAGE 0 |
#define FL_MEMORY_PAGE_PATH "./flPageFile.dat" |
The file where paged memory chunks are saved.
Definition at line 70 of file flConfig.h.
Referenced by memTerm().
#define FL_MEMORY_POOL 1 |
#define FL_MEMORY_SCRATCHPAD 1 |
#define FL_MEMORY_VMEM 1 |
#define FL_MEMORY_VMEM_BLOCKSIZE 512 |
Should be a binary number (128, 256, 512, etc.), lower number means less wastage but slower (Must be above 16).
Definition at line 64 of file flConfig.h.
Referenced by vmemAllocFrom(), vmemFragmentation(), vmemFreeFrom(), vmemFreeSpace(), vmemInit(), vmemLargestFreeBlock(), and vmemReallocFrom().
#define FL_MEMORY_VMEM_CACHE 16384 |
Size of vmem cache, used to speed up various modules and to provide stability.
Definition at line 67 of file flConfig.h.
Referenced by vmemInit().
#define FL_MEMORY_VMEM_OVERFLOW 1 |
#define FL_MEMORY_VMEM_STIDE_FILL 1 |
If enabled, all memory allocation functions will use stride memory to make best use of it.
Definition at line 66 of file flConfig.h.
#define FL_MODEL 1 |
#define FL_MODEL_MD2 1 |
#define FL_MODEL_OBJ 1 |
#define FL_NOTIFY 1 |
#define FL_NOTIFY_BATTERY 1 |
Notify if they have a low battery, every quarter segment, or everytime the AC status changes.
Definition at line 158 of file flConfig.h.
#define FL_NOTIFY_DURATION 5.0f |
How long to show notifications for.
Definition at line 156 of file flConfig.h.
Referenced by ntfyCheckBattery(), ntfyCheckTime(), and ntfyTrayAdd().
#define FL_NOTIFY_FREQUENCY 60 |
Check for notifications once every FL_NOTIFY_FREQUENCY frames.
Definition at line 155 of file flConfig.h.
Referenced by ntfyTick().
#define FL_NOTIFY_TIME 1 |
#define FL_NOTIFY_TRAYSIZE 4 |
Size of the notification tray.
Definition at line 160 of file flConfig.h.
Referenced by ntfyInit(), ntfyTrayAdd(), ntfyTrayShow(), and ntfyTrayTick().
#define FL_NOTIFY_VOLUME 0 |
#define FL_PREFIX 0 |
Enable prefixing of function/variable/struct names (e.g so colorRGB8888 would be flColorRGB8888).
Definition at line 11 of file flConfig.h.
#define FL_PREFIX_BOTH 0 |
Enable use of both prefixed and non-prefixed function/variable/struct names.
Definition at line 12 of file flConfig.h.
#define FL_SPRITE 1 |
#define FL_STRING 1 |
#define FL_TEXTURE 1 |
#define FL_TEXTURE_AUTOMIPMAP 8 |
Enable/Disable automatic mipmapping of loaded textures (0 - 8, where 0 is disabled and 8 is maximum).
Definition at line 124 of file flConfig.h.
Referenced by texLoad().
#define FL_TEXTURE_AUTOMIPMAP_PALETTED 1 |
Allow auto-mipmapping of paletted textures, not advised as it causes artifacts. (There seems to be an error with level 8 at the minute, so it is internally disabled for this option, but will still occur if you call the function at level 8).
Definition at line 125 of file flConfig.h.
#define FL_TEXTURE_AUTOSWIZZLE 1 |
#define FL_TEXTURE_BMP 1 |
#define FL_TEXTURE_ERRORTEX 0 |
#define FL_TEXTURE_ERRORTEX_COMPILE 0 |
#define FL_TEXTURE_ERRORTEX_PATH "./flTexError.tga" |
The path for the image loaded to represent a texture error (if one isn't compiled in).
Definition at line 129 of file flConfig.h.
Referenced by texInit().
#define FL_TEXTURE_FTF 0 |
#define FL_TEXTURE_MANIPULATION 1 |
#define FL_TEXTURE_PCX 1 |
#define FL_TEXTURE_PNG 0 |
#define FL_TEXTURE_PRESERVENONALPHA 1 |
If enabled images that are loaded with no alpha channel will be treated differently.
Definition at line 130 of file flConfig.h.
Referenced by texSaveTGA().
#define FL_TEXTURE_RAW 0 |
#define FL_TEXTURE_TGA 1 |
#define FL_TEXTURE_UNCACHED 0 |
[SEEMS TO CLASH WITH MEMORY ERROR CHECKING] Enable/Disable the use of uncached pointers (Causes wierd artifacts in palettized textures).
Definition at line 123 of file flConfig.h.
Referenced by palCreateDefaultColorT4(), and texScreenshot().
#define FL_TEXTURE_WAL 0 |
#define FL_TIMER 1 |
#define FL_UMD 0 |
#define FL_VSHMODE 0 |