Debian Codegraph @

Descent3/marker.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 MARKER_H
20 #define MARKER_H
21
22 #include "player.h"
23
24 #define MAX_MARKER_MESSAGE_LENGTH 40
25
26 // Drops a marker at the players current position
27 void DropMarker(char *message);
28
29 // Resets markers before a level stars
30 void ResetMarkers();
31
32 // Inits markers at game load
33 void InitMarkers();
34
35 extern int Marker_polynum;
36 extern int Marker_message;
37
38 extern char MarkerMessages[MAX_PLAYERS * 2][MAX_MARKER_MESSAGE_LENGTH];
39
40 #endif