|
2D_Game_Engine
|
#include <renderer.hpp>#include <textrenderer.hpp>#include <input.hpp>#include <texturesmanager.hpp>#include <fontmanager.hpp>#include <textqueue.hpp>Go to the source code of this file.
Namespaces | |
| namespace | Window |
Functions | |
| int | Window::InitGlfwWindow (const char *window_name, bool resizable) |
| void | Window::DeinitGlfwWindow () |
| void | Window::ToggleFullScreen () |
| void | Window::ToggleVSync () |
| void | Window::SetResizable (bool resizable) |
| bool | Window::GetKeyState (int key, int state) |
| bool | Window::GetMouseButtonState (int button, int state) |
| void | Window::GetMousePos (double *x, double *y) |
| void | Window::ShowMetrics () |
| void | Window::PrintDebugInfo () |
| void GLAPIENTRY | Window::MessageCallback (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *message, const void *userParam) |
| void GLAPIENTRY | Window::FramebufferSizeCallback (GLFWwindow *window, int width, int height) |
| void GLAPIENTRY | Window::ErrorCallback (int error, const char *description) |
| Application * | Window::CreateApplication () |
Variables | |
| bool | ISFULLSCREEN |
| Renderer * | RENDERER |
| The main renderer. | |
| TextRenderer * | TEXT_RENDERER |
| The text renderers. | |
| Input * | INPUT |
| The input manager. | |
| TexturesManager * | TEXTURES_MANAGER |
| The textures manager. | |
| FontManager * | FONT_MANAGER |
| The font manager. | |
| TextQueue * | TEXT_QUEUE |
| The text queue. | |
| GLFWwindow * | Window::Window |
| float | Window::Width |
| float | Window::Height |
| float | Window::BaseWidth |
| float | Window::BaseHeight |
| float | Window::FullscreenWidth |
| float | Window::FullscreenHeight |
| float | Window::FPS |
| float | Window::CurrentFrameTime |
| float | Window::LastFrameTime |
| float | Window::DeltaTime |
| float | Window::Alpha |
| bool | Window::IsFullscreen |
| bool | Window::IsVSync |
| bool | Window::ShowMetrics_ |
| bool | Window::FramebufferUpdate =false |
| bool | Window::ProjUpdate =false |
| bool | Window::TextProjUpdate =false |
| const float | Window::MAX_WIDTH =10.0f |
| float | Window::MAX_HEIGHT |
|
extern |
The font manager.
Definition at line 16 of file window.cpp.
|
extern |
The input manager.
Definition at line 14 of file window.cpp.
|
extern |
Definition at line 11 of file window.cpp.
|
extern |
The main renderer.
Definition at line 12 of file window.cpp.
|
extern |
The text queue.
Definition at line 17 of file window.cpp.
|
extern |
The text renderers.
Definition at line 13 of file window.cpp.
|
extern |
The textures manager.
Definition at line 15 of file window.cpp.