|
OpenEnroth 731eccc
|
#include "OpenGLRenderer.h"#include <algorithm>#include <memory>#include <utility>#include <map>#include <string>#include <tuple>#include <glad/gl.h>#include <glm/glm.hpp>#include <glm/gtc/matrix_transform.hpp>#include <imgui/backends/imgui_impl_opengl3.h>#include <imgui/backends/imgui_impl_sdl3.h>#include "Engine/Engine.h"#include "Engine/Resources/EngineFileSystem.h"#include "Engine/EngineGlobals.h"#include "Engine/Graphics/BspRenderer.h"#include "Engine/Graphics/Image.h"#include "Engine/Graphics/ImageLoader.h"#include "Engine/Graphics/LightmapBuilder.h"#include "Engine/Graphics/DecalBuilder.h"#include "Engine/Objects/Decoration.h"#include "Engine/Graphics/LightsStack.h"#include "Engine/Graphics/Outdoor.h"#include "Engine/Graphics/Indoor.h"#include "Engine/Graphics/ParticleEngine.h"#include "Engine/Tables/TextureFrameTable.h"#include "Engine/Graphics/Viewport.h"#include "Engine/Graphics/Vis.h"#include "Engine/Graphics/Weather.h"#include "Engine/Graphics/PaletteManager.h"#include "Engine/Tables/TileTable.h"#include "Engine/OurMath.h"#include "Engine/Party.h"#include "Engine/SpellFxRenderer.h"#include "Arcomage/Arcomage.h"#include "Engine/AssetsManager.h"#include "Engine/EngineCallObserver.h"#include "Library/Platform/Application/PlatformApplication.h"#include "Library/Serialization/EnumSerialization.h"#include "Library/Color/Colorf.h"#include "Library/Logger/Logger.h"#include "Library/Geometry/Size.h"#include "Library/Image/ImageFunctions.h"#include "Utility/String/Format.h"#include "Utility/Memory/MemSet.h"#include "OpenGLShader.h"Classes | |
| struct | linesverts |
| struct | forcepersverts |
| struct | twodverts |
| struct | GLdecalverts |
| struct | GLshaderverts |
| struct | billbverts |
Namespaces | |
| namespace | detail_gl_error |
| namespace | detail_fb_error |
Macros | |
| #define | LOWORD(l) ((unsigned short)(((std::uintptr_t)(l)) & 0xFFFF)) |
Functions | |
| void | GL_Check_Errors (void *ret, const char *name, GLADapiproc apiproc, int len_args,...) |
| void | GL_Check_Framebuffer (const char *name) |
| #define LOWORD | ( | l | ) | ((unsigned short)(((std::uintptr_t)(l)) & 0xFFFF)) |
| void GL_Check_Errors | ( | void * | ret, |
| const char * | name, | ||
| GLADapiproc | apiproc, | ||
| int | len_args, | ||
| ... | |||
| ) |
| void GL_Check_Framebuffer | ( | const char * | name | ) |
| RenderVertexSoft array_73D150[20] |
| billbverts billbstore[1000] {} |
| int billbstorecnt { 0 } |
| GLshaderverts* BSPshaderstore[16] = { nullptr } |
| RenderVertexD3D3 d3d_vertex_buffer[50] |
| GLdecalverts decalshaderstore[10000] = {} |
|
staticconstexpr |
| forcepersverts forceperstore[MAX_FORCEPERSTORECNT] {} |
| int forceperstorecnt { 0 } |
|
static |
|
static |
| linesverts lineshaderstore[2000] = {} |
| int linevertscnt = 0 |
| const int MAX_FORCEPERSTORECNT { 498 } |
| int numBSPverts[16] = { 0 } |
| int numdecalverts { 0 } |
| int numoutbuildverts[16] = { 0 } |
|
static |
| GLshaderverts* outbuildshaderstore[16] = { nullptr } |
| RenderBillboard pBillboardRenderList[500] |
| const int terrain_block_scale = 512 |
| const int terrain_height_scale = 32 |
| GLshaderverts terrshaderstore[127 *127 *6] = {} |
| twodverts textshaderstore[10000] = {} |
| int textvertscnt = 0 |
| twodverts twodshaderstore[500] = {} |
| int twodvertscnt = 0 |
| unsigned int uNumBillboardsToDraw |
| int uNumDecorationsDrawnThisFrame |
| int uNumSpritesDrawnThisFrame |
| RenderVertexSoft VertexRenderList[50] |