Covellite++
Version: 2.3.2 Revision: 2584 Platform: x64 Build: 19:03 05.09.2026
Кроссплатформенный фреймворк для разработки приложений на С++
Toggle main menu visibility
Загрузка...
Поиск...
Не найдено
Defines.hpp
1
2
#pragma once
3
#include <vector>
4
#include <boost/any.hpp>
5
#include <Covellite/Api/Renders.hpp>
6
7
namespace
boost {
class
any; }
8
9
namespace
basement
10
{
11
12
using
Id_t = size_t;
13
using
Objects_t = ::std::vector<Id_t>;
14
using
Component_t = ::covellite::api::Component;
15
using
ComponentPtr_t = Component_t::ComponentPtr_t;
16
using
Object_t = ::std::vector<Component_t::ComponentPtr_t>;
17
using
Renders_t = Component_t::Renders::Renders_t;
18
using
RendersPtr_t = ::std::shared_ptr<Component_t::Renders>;
19
using
Any_t = ::boost::any;
20
21
namespace
support {
class
GameScene
; }
22
23
using
GameScenePtr_t = ::std::shared_ptr<support::GameScene>;
24
25
class
Point final
26
{
27
public
:
28
inline
Point operator + (
const
Point & _Point)
const
29
{
30
return
Point{ x + _Point.x, y + _Point.y, z + _Point.z };
31
}
32
33
public
:
34
const
float
x;
35
const
float
y;
36
const
float
z;
37
38
public
:
39
explicit
Point(
40
const
float
_X = 0.0f,
41
const
float
_Y = 0.0f,
42
const
float
_Z = 0.0f) :
43
x(_X),
44
y(_Y),
45
z(_Z)
46
{
47
48
}
49
};
50
51
class
Rect final
52
{
53
public
:
54
float
left, top, right, bottom;
55
};
56
57
class
Cursor final
58
{
59
public
:
60
int32_t X = 0, Y = 0;
61
float
WindowX = 1, WindowY = 1;
62
bool
IsClick =
false
;
63
};
64
65
}
// namespace basement
basement
Определения
Common.hpp:10
basement::support::GameScene
Класс входит в проект Example Класс реализации игровой сцены.
Определения
GameScene.hpp:35
Solution
Solution
Example
Example
Basements
Demo
Defines.hpp
Документация по Covellite++. Последние изменения:
. Создано системой
1.18.0