- Main Page
- Classes
- Files

- File List
- File Members

# flConfig.h

Go to the documentation of this file.

    00001 // The following flags define the behaviour of funclib.
    00002 // These flags must coincide with the FLOBJS line of your makefile
    00003 // Don't worry, anything you leave out will be set to the default value,
    00004 // also the config file is validated at the end, so bad values will not stick.
    00005
    00006
    00007 // Global behaviour modifiers.
    00008
    00009 #define FL_INCLUDE_ALL_H                  1
    00010 #define FL_INCLUDE_ALL_C                  1
    00011 #define FL_PREFIX                         0
    00012 #define FL_PREFIX_BOTH                    0
    00013 #define FL_VSHMODE                        0
    00014 #define FL_KERNELODE                      0
    00015
    00016
    00017
    00018
    00019
    00020
    00021 // Core Modules - These modules are all optional, but we advise that you treat them as necessary,
    00022 //                this is because funclib is most effective when all the core modules are enabled.
    00023
    00024 #define FL_CALLBACKS                      1
    00025 #define FL_CALLBACKS_EXIT                 1
    00026 #define FL_CALLBACKS_POWER                0
    00027
    00028 #define FL_DEBUG                          1
    00029 #define FL_DEBUG_TIMESTAMP                1
    00030 #define FL_DEBUG_DATEFORMAT_AMERICAN      0
    00031 #define FL_DEBUG_CALLEDFROM               1
    00032 #define FL_DEBUG_LOGGING                  1
    00033 #define FL_DEBUG_LOGCLEAR                 1
    00034 #define FL_DEBUG_LOGPATH                  "./flDebugLog.txt"
    00035 #define FL_DEBUG_STATUS                   1
    00036 #define FL_DEBUG_STATUS_NOTIFY            1
    00037 #define FL_DEBUG_STATUS_COLOR             0xFFFF0000
    00038 #define FL_DEBUG_SCREENSHOTPATH           "./flDebugPic%i.tga"
    00039 #define FL_DEBUG_ERROR                    1
    00040 #define FL_DEBUG_ERROR_SHOW               1
    00041 #define FL_DEBUG_ERROR_NOTIFY             1
    00042 #define FL_DEBUG_ERROR_COLOR              0xFF0000FF
    00043 #define FL_DEBUG_ERROR_SCREENSHOT         0
    00044 #define FL_DEBUG_WARNING                  1
    00045 #define FL_DEBUG_WARNING_SHOW             0
    00046 #define FL_DEBUG_WARNING_NOTIFY           1
    00047 #define FL_DEBUG_WARNING_COLOR            0xFF007FFF
    00048 #define FL_DEBUG_WARNING_SCREENSHOT       0
    00049 #define FL_DEBUG_DEVWARNING               1
    00050 #define FL_DEBUG_DEVWARNING_SHOW          0
    00051 #define FL_DEBUG_DEVWARNING_NOTIFY        1
    00052 #define FL_DEBUG_DEVWARNING_COLOR         0xFFFF3F3F
    00053 #define FL_DEBUG_DEVWARNING_SCREENSHOT    0
    00054 #define FL_DEBUG_CRITICALERROR_SHOW       1
    00055 #define FL_DEBUG_CRITICALERROR_COLOR      0xFF00007F
    00056 #define FL_DEBUG_CRITICALERROR_SCREENSHOT 1
    00057
    00058
    00059
    00060 #define FL_MEMORY                         1
    00061 #define FL_MEMORY_ALIGNMENT_DEFAULT       16
    00062 #define FL_MEMORY_SCRATCHPAD              1
    00063 #define FL_MEMORY_VMEM                    1
    00064 #define FL_MEMORY_VMEM_BLOCKSIZE          512
    00065 #define FL_MEMORY_VMEM_OVERFLOW           1
    00066 #define FL_MEMORY_VMEM_STIDE_FILL         1
    00067 #define FL_MEMORY_VMEM_CACHE              16384
    00068 #define FL_MEMORY_POOL                    1
    00069 #define FL_MEMORY_PAGE                    0
    00070 #define FL_MEMORY_PAGE_PATH               "./flPageFile.dat"
    00071 #define FL_MEMORY_LOGGING                 0
    00072 #define FL_MEMORY_LOGPATH                 "./flMemoryLog.txt"
    00073 #define FL_MEMORY_ERRORBYTES              1
    00074
    00075 #define FL_FILE                           1
    00076
    00077 #define FL_TIMER                          1
    00078
    00079 #define FL_INPUT                          1
    00080
    00081 #define FL_MATH                           1
    00082 #define FL_MATH_VFPU                      1
    00083 #define FL_MATH_RANDTYPE                  FL_MATH_RAND_VFPU
    00084 #define FL_MATH_RANDOMSEED                0
    00085 #define FL_MATH_RANDOMSEED_FREQUENCY      4096
    00086 #define FL_MATH_TRIGCACHE                 0
    00087
    00088 #define FL_STRING                         1
    00089
    00090
    00091
    00092
    00093
    00094
    00095 // Extra modules - We advise you use these modules as you wish but treat them as optional.
    00096
    00097 #define FL_COLOR                             1
    00098
    00099 #define FL_GRAPHICS                          1
    00100 #define FL_GRAPHICS_DISP_BUFFER_FORMAT       GU_PSM_8888
    00101 #define FL_GRAPHICS_DRAW_BUFFER_FORMAT       GU_PSM_8888
    00102 #define FL_GRAPHICS_VSYNC_DEFAULT            0
    00103 #define FL_GRAPHICS_VSYNC_AUTO               1
    00104 #define FL_GRAPHICS_VSYNC_AUTO_CUTOFF        55.0f
    00105 #define FL_GRAPHICS_DISPLAYLIST_SIZE         262144
    00106 #define FL_GRAPHICS_DISPLAYLIST_STATIC       0
    00107 #define FL_GRAPHICS_LINES_ANTIALIAS_DEFAULT  0
    00108 #define FL_GRAPHICS_FPS_SHOW_DEFAULT         0
    00109 #define FL_GRAPHICS_FPS_SHOW_COLOR           0xFFFFFFFF
    00110 #define FL_GRAPHICS_FPS_DAMP                 1
    00111 #define FL_GRAPHICS_FPS_DAMPRATIO            0.25
    00112 #define FL_GRAPHICS_USEDEGENERATETRIS        0
    00113 #define FL_GRAPHICS_2D                       1
    00114 #define FL_GRAPHICS_2D_USEDMA                1
    00115 #define FL_GRAPHICS_2D_ELLIPSE_MINLINES      16
    00116 #define FL_GRAPHICS_2D_ELLIPSE_EDGESPERRAD   0.25
    00117 #define FL_GRAPHICS_3D                       1
    00118 #define FL_GRAPHICS_EFFECTS_FULLSCREEN       1
    00119
    00120 #define FL_CAMERA                            1
    00121
    00122 #define FL_TEXTURE                           1
    00123 #define FL_TEXTURE_UNCACHED                  0
    00124 #define FL_TEXTURE_AUTOMIPMAP                8
    00125 #define FL_TEXTURE_AUTOMIPMAP_PALETTED       1
    00126 #define FL_TEXTURE_AUTOSWIZZLE               1
    00127 #define FL_TEXTURE_ERRORTEX                  0
    00128 #define FL_TEXTURE_ERRORTEX_COMPILE          0
    00129 #define FL_TEXTURE_ERRORTEX_PATH             "./flTexError.tga"
    00130 #define FL_TEXTURE_PRESERVENONALPHA          1
    00131 #define FL_TEXTURE_PCX                       1
    00132 #define FL_TEXTURE_TGA                       1
    00133 #define FL_TEXTURE_BMP                       1
    00134 #define FL_TEXTURE_WAL                       0
    00135 #define FL_TEXTURE_PNG                       0
    00136 #define FL_TEXTURE_FTF                       0
    00137 #define FL_TEXTURE_RAW                       0
    00138 #define FL_TEXTURE_MANIPULATION              1
    00139
    00140 #define FL_MODEL                             1
    00141 #define FL_MODEL_OBJ                         1
    00142 #define FL_MODEL_MD2                         1
    00143
    00144 #define FL_SPRITE                            1
    00145
    00146 #define FL_FONT                              1
    00147 #define FL_FONT_HSPACE_DEFAULT               0
    00148 #define FL_FONT_VSPACE_DEFAULT               0
    00149 #define FL_FONT_COLOR_DEFAULT                0xFFFFFFFF
    00150 #define FL_FONT_TABWIDTH_DEFAULT             5
    00151
    00152 #define FL_COLLISION                         1
    00153
    00154 #define FL_NOTIFY                            1
    00155 #define FL_NOTIFY_FREQUENCY                  60
    00156 #define FL_NOTIFY_DURATION                   5.0f
    00157 #define FL_NOTIFY_VOLUME                     0
    00158 #define FL_NOTIFY_BATTERY                    1
    00159 #define FL_NOTIFY_TIME                       1
    00160 #define FL_NOTIFY_TRAYSIZE                   4
    00161
    00162 #define FL_UMD                               0
    00163
    00164 #define FL_FILEBROWSER                       0
    00165
    00166
    00167
    00168
    00169
    00170 // WARNING: The simple graphics system requires -lz and -lpng added to the LIBS line of your makefile!
    00171 // My advice would be to ignore this section, but it is useable. It is highly likely that it will be removed.
    00172 /*#define FL_GRAPHICS_SIMPLE                             0 ///< An alternative to GRAPHICS, more simple for new users, but slower overall. (CANT USE WITH GRAPHICS/TEXTURE/SPRITE/FONT)
    00173 #define FL_GRAPHICS_SIMPLE_CLIPPING                    1 ///< Enable software clipping of vram drawn shapes to prevent crashes, but slows down execution a little.
    00174 #define FL_GRAPHICS_SIMPLE_IMAGESTACK                  0 ///< Enable the use of an image stack, so that you don't have to keep track of all images and to prevent loading duplicates.
    00175 #define FL_GRAPHICS_SIMPLE_SPRITE                      1 ///< Enable the sprite module of the simple graphics system.
    00176 #define FL_GRAPHICS_SIMPLE_SPRITE_ALPHA_COLOR          0xFFFF00FF ///< Choose what color to replace with alpha in the sprite.
    00177 #define FL_GRAPHICS_SIMPLE_FONT                        1 ///< Enable the font module of the simple graphics system.
    00178 #define FL_GRAPHICS_SIMPLE_FONT_DEFAULTCOLOR           0xFF000000 ///< Default font color.
    00179 #define FL_GRAPHICS_SIMPLE_FONT_ALPHA_COLOR            0xFFFF00FF ///< Choose what color to replace with alpha in the font.
    00180 #define FL_GRAPHICS_SIMPLE_FONT_ALPHA_UPPER_COLOR      0xFF0000FF ///< For font's that have multiple colors to replace with alpha.
    00181 #define FL_GRAPHICS_SIMPLE_FONT_ALPHA_LOWER_COLOR      0xFF00FF00 ///< Same as above, change to GRAPHICS_SIMPLE_FONT_ALPHA_COLOR in order to disable.*/