World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
Титульная страница
Описания
Группы
Пространства имен
Пространства имен
Члены пространств имен
Указатель
Функции
Перечисления
Классы
Классы
Алфавитный указатель классов
Иерархия классов
Члены классов
Указатель
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Функции
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
y
z
~
Переменные
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Определения типов
Перечисления
Элементы перечислений
Относящиеся к классу функции
Файлы
Файлы
Список членов всех файлов
Указатель
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Функции
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
z
Переменные
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Определения типов
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Перечисления
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Элементы перечислений
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Примеры
•
Указатель
Классы
Пространства имен
Файлы
Функции
Переменные
Определения типов
Перечисления
Элементы перечислений
Друзья
Группы
Страницы
ErrorHandling.h
См. документацию.
1
#pragma once
2
3
#include <cassert>
4
5
#define Error(...) \
6
do { \
7
Error_impl_(__FILE__, __FUNCTION__, __LINE__, __VA_ARGS__); \
8
assert(false); \
9
exit(0); \
10
} while (0)
11
12
#ifdef _WINDOWS
13
#define Assert(condition, ...) \
14
Assert_impl_(__FILE__, __FUNCTION__, __LINE__, condition, #condition, __VA_ARGS__)
15
#else
16
#define Assert(condition, ...) \
17
Assert_impl_(__FILE__, __FUNCTION__, __LINE__, condition, #condition __VA_OPT__(,) __VA_ARGS__)
18
#endif
19
20
void
Error_impl_
(
const
char
*filename,
const
char
*functionname,
21
int
line,
const
char
*
format
, ...);
22
23
void
Assert_impl_
(
const
char
*filename,
const
char
*functionname,
24
int
line,
bool
condition
,
const
char
*condition_string =
nullptr
,
25
const
char
*
format
=
nullptr
, ...);
26
27
#ifndef _WINDOWS
28
#define __debugbreak(...) assert(false);
29
#endif
30
condition
EGLenum condition
Definition:
SDL_egl.h:1629
Error_impl_
void Error_impl_(const char *filename, const char *functionname, int line, const char *format,...)
Definition:
ErrorHandling.cpp:9
format
SDL_AudioFormat format
Definition:
SDL_audio.h:194
Assert_impl_
void Assert_impl_(const char *filename, const char *functionname, int line, bool condition, const char *condition_string=nullptr, const char *format=nullptr,...)
Definition:
ErrorHandling.cpp:30
Engine
ErrorHandling.h
Документация по World of Might and Magic. Последние изменения: Вт 7 Апр 2020 22:03:27. Создано системой
1.8.17