| 1 | /* |
| 2 | * Descent 3 |
| 3 | * Copyright (C) 2024 Parallax Software |
| 4 | * |
| 5 | * This program is free software: you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License as published by |
| 7 | * the Free Software Foundation, either version 3 of the License, or |
| 8 | * (at your option) any later version. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 17 | |
| 18 | --- HISTORICAL COMMENTS FOLLOW --- |
| 19 | |
| 20 | * $Logfile: $ |
| 21 | * $Revision: 1.1.1.1 $ |
| 22 | * $Date: 2003-08-26 03:57:38 $ |
| 23 | * $Author: kevinb $ |
| 24 | * |
| 25 | * Header for read3ds.cpp |
| 26 | * |
| 27 | * $Log: not supported by cvs2svn $ |
| 28 | * |
| 29 | * $NoKeywords: $ |
| 30 | */ |
| 31 | |
| 32 | #ifndef READ3DS_H |
| 33 | #define READ3DS_H |
| 34 | |
| 35 | #include "cfile.h" |
| 36 | #include "room.h" |
| 37 | |
| 38 | // Opens and reads a 3dsmax file for our rooms. Reads this file into the passed room |
| 39 | // structure |
| 40 | int Read3DSMaxFile(char *filename); |
| 41 | |
| 42 | // Converts the 3dsmax coordinate space into our left-handed coordinate space |
| 43 | void ConvertHandiness(vector *v); |
| 44 | |
| 45 | // Parses a chunk of a 3dsmax file - this function calls itself |
| 46 | void Parse3DSMaxChunk(CFILE *fp, int size); |
| 47 | |
| 48 | #endif |