Debian Codegraph @

Descent3/multi_client.h

raw symbols SCIP
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 MultiDoClientFrame();
23
24 // Set the local machine as a client
25 void MultiStartClient(char *scriptname);
26
27 #define MAX_SAVED_MOVES 100
28
29 struct saved_move {
30 float timestamp;
31 vector thrust, rotthrust;
32
33 };
34
35 extern saved_move SavedMoves[];
36 extern int Current_saved_move;
37
38 // Alloc and free saved move
39 extern int MultiAllocSavedMove();
40 extern void MultiFreeSavedMove(int);
41
42 #endif