| 1 |
/* |
| 2 |
* FTGL - OpenGL font library |
| 3 |
* |
| 4 |
* Copyright (c) 2008 Jeff Myers <[email protected]> |
| 5 |
* Copyright (c) 2008 Daniel Remenak <[email protected]> |
| 6 |
* |
| 7 |
* Permission is hereby granted, free of charge, to any person obtaining |
| 8 |
* a copy of this software and associated documentation files (the |
| 9 |
* "Software"), to deal in the Software without restriction, including |
| 10 |
* without limitation the rights to use, copy, modify, merge, publish, |
| 11 |
* distribute, sublicense, and/or sell copies of the Software, and to |
| 12 |
* permit persons to whom the Software is furnished to do so, subject to |
| 13 |
* the following conditions: |
| 14 |
* |
| 15 |
* The above copyright notice and this permission notice shall be |
| 16 |
* included in all copies or substantial portions of the Software. |
| 17 |
* |
| 18 |
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
| 19 |
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 20 |
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
| 21 |
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY |
| 22 |
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, |
| 23 |
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
| 24 |
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 25 |
*/ |
| 26 |
|
| 27 |
// Default font file |
| 28 |
#define FONT_FILE "C:\\Windows\\Fonts\\Arial.ttf" |
| 29 |
|
| 30 |
// GLUT |
| 31 |
#define HAVE_GL_GLUT_H |
| 32 |
|
| 33 |
// M_PI and friends on VC |
| 34 |
#define _USE_MATH_DEFINES |
| 35 |
|
| 36 |
// quell spurious "'this': used in base member initializer list" warnings |
| 37 |
#ifdef _MSC_VER |
| 38 |
#pragma warning(disable: 4355) |
| 39 |
#endif |
| 40 |
|
| 41 |
// quell spurious portable-function deprecation warnings |
| 42 |
#define _CRT_SECURE_NO_DEPRECATE 1 |
| 43 |
#define _POSIX_ 1 |
| 44 |
|
| 45 |
// use __FUNCTION__ |
| 46 |
#define __FUNC__ __FUNCTION__ |
| 47 |
|
| 48 |
#define PACKAGE_VERSION "2.4.0" |