| 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 | |
| 19 | #ifndef MULTI_CLIENT_H |
| 20 | |
| 21 | // Do client stuff for this frame |
| 22 | void MultiDoClientFramecxx . . $ MultiDoClientFrame(49f6e7a06ebc5aa8).(); |
| 23 | |
| 24 | // Set the local machine as a client |
| 25 | void MultiStartClientcxx . . $ MultiStartClient(fda57c8427c60377).(char *scriptname); |
| 26 | |
| 27 | #define MAX_SAVED_MOVEScxx . . $ `Descent3/multi_client.h:27:9`! 100 |
| 28 | |
| 29 | struct saved_movecxx . . $ saved_move# { |
| 30 | float timestampcxx . . $ saved_move#timestamp.; |
| 31 | vectorcxx . . $ vector# thrustcxx . . $ saved_move#thrust., rotthrustcxx . . $ saved_move#rotthrust.; |
| 32 | |
| 33 | }; |
| 34 | |
| 35 | extern saved_movecxx . . $ saved_move# SavedMovescxx . . $ SavedMoves.[]; |
| 36 | extern int Current_saved_movecxx . . $ Current_saved_move.; |
| 37 | |
| 38 | // Alloc and free saved move |
| 39 | extern int MultiAllocSavedMovecxx . . $ MultiAllocSavedMove(b126dc7c1de90089).(); |
| 40 | extern void MultiFreeSavedMovecxx . . $ MultiFreeSavedMove(d4f767463ce0a6b3).(int); |
| 41 | |
| 42 | #endif |