Survival Royale 1.0.0
A very simple yet funny card game.
Loading...
Searching...
No Matches
consts.h
Go to the documentation of this file.
1// Copyright (C) 2025 Giulio Salvi, Jacopo Paradisi
2//
3// This program is free software: you can redistribute it and/or modify
4// it under the terms of the GNU General Public License as published by
5// the Free Software Foundation, either version 3 of the License, or
6// (at your option) any later version.
7//
8// This program is distributed in the hope that it will be useful,
9// but WITHOUT ANY WARRANTY; without even the implied warranty of
10// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11// GNU General Public License for more details.
12//
13// You should have received a copy of the GNU General Public License
14// along with this program. If not, see <https://www.gnu.org/licenses/>.
15
20
22#define EXIT_ALLOC_FAILURE 2
24#define EXIT_POP_FAILURE 3
26#define EXIT_ILLEGAL_INDEX_FAILURE 4
28#define EXIT_CLI_ILLEGAL 5
30#define EXIT_TERMINAL_TOO_SMALL 6
32#define EXIT_WINDOWS_TERMINAL_HOST_NOT_SUPPORTED 7
33
35#define ACTION_NOTHING 0
37#define ACTION_IGNORE_CONFIG_FILE 1
39#define ACTION_DONT_ASK_CONFIG_OPTIONS 2
41#define ACTION_SAVE_TO_FILE 4
43#define ACTION_BE_VERBOSE 8
45#define ACTION_USE_TUI 16
47#define ACTION_GO 32
49#define ACTION_HELP 33