-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDERRS.h
More file actions
45 lines (34 loc) · 1.48 KB
/
DERRS.h
File metadata and controls
45 lines (34 loc) · 1.48 KB
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
/* Dust Ultimate Game Library (DUGL)
Copyright (C) 2025 Fakhri Feki
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
contact: libdugl(at)hotmail.com */
#ifndef DERRS_H_INCLUDED
#define DERRS_H_INCLUDED
#define DG_ERRS_SYSTEM_INIT_FAIL 1
#define DG_ERSS_DWORKERS_INIT_FAIL 2
#define DG_ERSS_EVENT_MUTEX_INIT_FAIL 3
#define DG_ERSS_NO_MEM 4
#define DG_ERSS_FAIL_CREATE_SYSTEM_RGB_SURF 5
#define DG_ERSS_FAIL_QUERY_DISPLAY_MODE 6
#define DG_ERSS_WINDOW_CREATION_FAIL 7
#define DG_ERSS_WINDOW_SURFACE_CREATION_FAIL 8
#define DG_ERSS_INVALID_DGSURF_FORMAT 9
#define DG_ERSS_FILE_NOT_FOUND 10
#define DG_ERSS_INVALID_BMFONT_DESC_FORMAT 11
#ifdef __cplusplus
extern "C" {
#endif
extern int dgLastErrID;
#ifdef __cplusplus
}
#endif
#endif // DERRS_H_INCLUDED