|
49 | 49 | #define SUPPORT_RPRAND_GENERATOR 1 |
50 | 50 | // Mouse gestures are directly mapped like touches and processed by gestures system |
51 | 51 | #define SUPPORT_MOUSE_GESTURES 1 |
52 | | -// Reconfigure standard input to receive key inputs, works with SSH connection. |
| 52 | +// Reconfigure standard input to receive key inputs, works with SSH connection |
53 | 53 | #define SUPPORT_SSH_KEYBOARD_RPI 1 |
54 | | -// Setting a higher resolution can improve the accuracy of time-out intervals in wait functions. |
55 | | -// However, it can also reduce overall system performance, because the thread scheduler switches tasks more often. |
| 54 | +// Setting a higher resolution can improve the accuracy of time-out intervals in wait functions |
| 55 | +// However, it can also reduce overall system performance, because the thread scheduler switches tasks more often |
56 | 56 | #define SUPPORT_WINMM_HIGHRES_TIMER 1 |
57 | 57 | // Use busy wait loop for timing sync, if not defined, a high-resolution timer is set up and used |
58 | 58 | //#define SUPPORT_BUSY_WAIT_LOOP 1 |
59 | 59 | // Use a partial-busy wait loop, in this case frame sleeps for most of the time, but then runs a busy loop at the end for accuracy |
60 | 60 | #define SUPPORT_PARTIALBUSY_WAIT_LOOP 1 |
61 | 61 | // Allow automatic screen capture of current screen pressing F12, defined in KeyCallback() |
| 62 | +// WARNING: It also requires SUPPORT_IMAGE_EXPORT and SUPPORT_FILEFORMAT_PNG flags |
62 | 63 | #define SUPPORT_SCREEN_CAPTURE 1 |
63 | | -// Allow automatic gif recording of current screen pressing CTRL+F12, defined in KeyCallback() |
64 | | -#define SUPPORT_GIF_RECORDING 1 |
65 | 64 | // Support CompressData() and DecompressData() functions |
66 | 65 | #define SUPPORT_COMPRESSION_API 1 |
67 | 66 | // Support automatic generated events, loading and recording of those events when required |
|
76 | 75 | #define SUPPORT_CLIPBOARD_IMAGE 1 |
77 | 76 |
|
78 | 77 | // NOTE: Clipboard image loading requires support for some image file formats |
79 | | -// TODO: Those defines should probably be removed from here, I prefer to let the user manage them |
| 78 | +// TODO: Those defines should probably be removed from here, letting the user manage them |
80 | 79 | #if defined(SUPPORT_CLIPBOARD_IMAGE) |
81 | 80 | #ifndef SUPPORT_MODULE_RTEXTURES |
82 | 81 | #define SUPPORT_MODULE_RTEXTURES 1 |
|
95 | 94 | #endif |
96 | 95 | #endif |
97 | 96 |
|
98 | | - |
99 | 97 | // rcore: Configuration values |
100 | 98 | //------------------------------------------------------------------------------------ |
101 | 99 | #define MAX_FILEPATH_CAPACITY 8192 // Maximum file paths capacity |
|
136 | 134 |
|
137 | 135 | #define RL_MAX_SHADER_LOCATIONS 32 // Maximum number of shader locations supported |
138 | 136 |
|
139 | | -#define RL_CULL_DISTANCE_NEAR 0.001 // Default projection matrix near cull distance |
140 | | -#define RL_CULL_DISTANCE_FAR 10000.0 // Default projection matrix far cull distance |
| 137 | +#define RL_CULL_DISTANCE_NEAR 0.05 // Default projection matrix near cull distance |
| 138 | +#define RL_CULL_DISTANCE_FAR 4000.0 // Default projection matrix far cull distance |
141 | 139 |
|
142 | 140 | // Default shader vertex attribute locations |
143 | 141 | #define RL_DEFAULT_SHADER_ATTRIB_LOCATION_POSITION 0 |
|
153 | 151 | #endif |
154 | 152 | #define RL_DEFAULT_SHADER_ATTRIB_LOCATION_INSTANCE_TX 9 |
155 | 153 |
|
156 | | - |
157 | 154 | // Default shader vertex attribute names to set location points |
158 | 155 | // NOTE: When a new shader is loaded, the following locations are tried to be set for convenience |
159 | 156 | #define RL_DEFAULT_SHADER_ATTRIB_NAME_POSITION "vertexPosition" // Bound by default to shader location: RL_DEFAULT_SHADER_ATTRIB_LOCATION_POSITION |
|
173 | 170 | #define RL_DEFAULT_SHADER_SAMPLER2D_NAME_TEXTURE1 "texture1" // texture1 (texture slot active 1) |
174 | 171 | #define RL_DEFAULT_SHADER_SAMPLER2D_NAME_TEXTURE2 "texture2" // texture2 (texture slot active 2) |
175 | 172 |
|
176 | | - |
177 | 173 | //------------------------------------------------------------------------------------ |
178 | 174 | // Module: rshapes - Configuration Flags |
179 | 175 | //------------------------------------------------------------------------------------ |
|
185 | 181 | //------------------------------------------------------------------------------------ |
186 | 182 | #define SPLINE_SEGMENT_DIVISIONS 24 // Spline segments subdivisions |
187 | 183 |
|
188 | | - |
189 | 184 | //------------------------------------------------------------------------------------ |
190 | 185 | // Module: rtextures - Configuration Flags |
191 | 186 | //------------------------------------------------------------------------------------ |
192 | | -// Selecte desired fileformats to be supported for image data loading |
| 187 | +// Selected desired fileformats to be supported for image data loading |
193 | 188 | #define SUPPORT_FILEFORMAT_PNG 1 |
194 | | -#define SUPPORT_FILEFORMAT_BMP 1 |
| 189 | +//#define SUPPORT_FILEFORMAT_BMP 1 |
195 | 190 | //#define SUPPORT_FILEFORMAT_TGA 1 |
196 | | -#define SUPPORT_FILEFORMAT_JPG 1 |
| 191 | +//#define SUPPORT_FILEFORMAT_JPG 1 |
197 | 192 | #define SUPPORT_FILEFORMAT_GIF 1 |
198 | 193 | #define SUPPORT_FILEFORMAT_QOI 1 |
199 | 194 | //#define SUPPORT_FILEFORMAT_PSD 1 |
|
213 | 208 | // If not defined, still some functions are supported: ImageFormat(), ImageCrop(), ImageToPOT() |
214 | 209 | #define SUPPORT_IMAGE_MANIPULATION 1 |
215 | 210 |
|
216 | | - |
217 | 211 | //------------------------------------------------------------------------------------ |
218 | 212 | // Module: rtext - Configuration Flags |
219 | 213 | //------------------------------------------------------------------------------------ |
|
223 | 217 | // Selected desired font fileformats to be supported for loading |
224 | 218 | #define SUPPORT_FILEFORMAT_TTF 1 |
225 | 219 | #define SUPPORT_FILEFORMAT_FNT 1 |
226 | | -#define SUPPORT_FILEFORMAT_BDF 1 |
| 220 | +//#define SUPPORT_FILEFORMAT_BDF 1 |
227 | 221 |
|
228 | 222 | // Support text management functions |
229 | 223 | // If not defined, still some functions are supported: TextLength(), TextFormat() |
230 | 224 | #define SUPPORT_TEXT_MANIPULATION 1 |
231 | 225 |
|
232 | 226 | // On font atlas image generation [GenImageFontAtlas()], add a 3x3 pixels white rectangle |
233 | 227 | // at the bottom-right corner of the atlas. It can be useful to for shapes drawing, to allow |
234 | | -// drawing text and shapes with a single draw call [SetShapesTexture()]. |
| 228 | +// drawing text and shapes with a single draw call [SetShapesTexture()] |
235 | 229 | #define SUPPORT_FONT_ATLAS_WHITE_REC 1 |
236 | 230 |
|
| 231 | +// Support conservative font atlas size estimation |
| 232 | +//#define SUPPORT_FONT_ATLAS_SIZE_CONSERVATIVE 1 |
| 233 | + |
237 | 234 | // rtext: Configuration values |
238 | 235 | //------------------------------------------------------------------------------------ |
239 | 236 | #define MAX_TEXT_BUFFER_LENGTH 1024 // Size of internal static buffers used on some functions: |
240 | 237 | // TextFormat(), TextSubtext(), TextToUpper(), TextToLower(), TextToPascal(), TextSplit() |
241 | 238 | #define MAX_TEXTSPLIT_COUNT 128 // Maximum number of substrings to split: TextSplit() |
242 | 239 |
|
243 | | - |
244 | 240 | //------------------------------------------------------------------------------------ |
245 | 241 | // Module: rmodels - Configuration Flags |
246 | 242 | //------------------------------------------------------------------------------------ |
|
0 commit comments