1 /* 2 * This file is part of Dune Legacy. 3 * 4 * Dune Legacy is free software: you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 6 * the Free Software Foundation, either version 2 of the License, or 7 * (at your option) any later version. 8 * 9 * Dune Legacy is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU General Public License for more details. 13 * 14 * You should have received a copy of the GNU General Public License 15 * along with Dune Legacy. If not, see <http://www.gnu.org/licenses/>. 16 */ 17 18 #ifndef FIXPOINT_H 19 #define FIXPOINT_H 20 21 #include "FixPoint32.h" 22 23 typedef FixPoint32 FixPoint; 24 25 #define FixPt(i,m) FixPt32(i,m) 26 27 #define FixPt_MAX FixPt32_MAX 28 #define FixPt_PI FixPt32_PI 29 #define FixPt_E FixPt32_E 30 #define FixPt_SQRT2 FixPt32_SQRT2 31 32 #endif // FIXPOINT_H 33