-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathconfig.h
58 lines (53 loc) · 2.8 KB
/
config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/******************************************************************************
* This file is part of dirtsand. *
* *
* dirtsand is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* dirtsand is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Affero General Public License for more details. *
* *
* You should have received a copy of the GNU Affero General Public License *
* along with dirtsand. If not, see <http://www.gnu.org/licenses/>. *
******************************************************************************/
#ifndef _DS_CONFIG_H
#define _DS_CONFIG_H
#include <cstdlib>
#include <stdint.h>
namespace DS
{
enum AccountFlags
{
e_AcctAdmin = (1<<0),
e_AcctBetaTester = (1<<2),
e_AcctBanned = (1<<16),
e_AcctMask = (e_AcctAdmin | e_AcctBanned | e_AcctBetaTester)
};
enum NetResultCode
{
e_NetPending = -1,
e_NetSuccess = 0, e_NetInternalError, e_NetTimeout, e_NetBadServerData,
e_NetAgeNotFound, e_NetConnectFailed, e_NetDisconnected,
e_NetFileNotFound, e_NetOldBuildId, e_NetRemoteShutdown,
e_NetTimeoutOdbc, e_NetAccountAlreadyExists, e_NetPlayerAlreadyExists,
e_NetAccountNotFound, e_NetPlayerNotFound, e_NetInvalidParameter,
e_NetNameLookupFailed, e_NetLoggedInElsewhere, e_NetVaultNodeNotFound,
e_NetMaxPlayersOnAcct, e_NetAuthenticationFailed,
e_NetStateObjectNotFound, e_NetLoginDenied, e_NetCircularReference,
e_NetAccountNotActivated, e_NetKeyAlreadyUsed, e_NetKeyNotFound,
e_NetActivationCodeNotFound, e_NetPlayerNameInvalid,
e_NetNotSupported, e_NetServiceForbidden, e_NetAuthTokenTooOld,
e_NetMustUseGameTapClient, e_NetTooManyFailedLogins,
e_NetGameTapConnectionFailed, e_NetGTTooManyAuthOptions,
e_NetGTMissingParameter, e_NetGTServerError, e_NetAccountBanned,
e_NetKickedByCCR, e_NetScoreWrongType, e_NetScoreNotEnoughPoints,
e_NetScoreAlreadyExists, e_NetScoreNoDataFound,
e_NetInviteNoMatchingPlayer, e_NetInviteTooManyHoods, e_NetNeedToPay,
e_NetServerBusy
};
}
#endif