Conquer Space 0.0.0
A space themed grand strategy game set in the near future, with realistic orbital mechanics, and an emphasis on economics and politics.
starsystemoverlay.h
Go to the documentation of this file.
1/* Conquer Space
2 * Copyright (C) 2021-2025 Conquer Space
3 *
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <https://www.gnu.org/licenses/>.
16 */
17#pragma once
18
19#include "core/universe.h"
20#include "engine/application.h"
23
24namespace cqsp::client::systems {
29 public:
31
32 void Initialize();
33 void Ui();
34 void Update();
35
36 std::vector<glm::vec4> GeneratePoints(const std::vector<glm::vec2> &points);
37
38 private:
43 float value1 = 2.0;
44 float value2 = 2.0;
45};
46} // namespace cqsp::client::systems
Definition: starsystemoverlay.h:28
void Ui()
Definition: starsystemoverlay.cpp:58
core::Universe & universe
Definition: starsystemoverlay.h:39
void Initialize()
Definition: starsystemoverlay.cpp:32
engine::Mesh_t line_mesh
Definition: starsystemoverlay.h:41
float value1
Definition: starsystemoverlay.h:43
float value2
Definition: starsystemoverlay.h:44
asset::ShaderProgram_t line_shader
Definition: starsystemoverlay.h:42
StarSystemOverlay(core::Universe &, engine::Application &)
Definition: starsystemoverlay.cpp:29
void Update()
Definition: starsystemoverlay.cpp:60
engine::Application & app
Definition: starsystemoverlay.h:40
std::vector< glm::vec4 > GeneratePoints(const std::vector< glm::vec2 > &points)
Definition: starsystemoverlay.cpp:89
Definition: universe.h:59
Definition: application.h:61
std::shared_ptr< ShaderProgram > ShaderProgram_t
The preferred way of using a shader program.
Definition: shader.h:113
Definition: editorwidgets.cpp:29
std::shared_ptr< Mesh > Mesh_t
Definition: mesh.h:43