 |
Blamite Game Engine - blam!
00388.06.24.23.2301.blamite
The core library for the Blamite Game Engine.
|
Namespace surrounding all major engine components.
Definition: blam_api.h:28
Ogre::TextureGpu * texture
Definition: textures.cpp:18
BLAM void SetClearColor(ImVec4 color)
Changes the color to used to clear the render target.
Definition: rendering_abstraction.cpp:27
BLAM HRESULT ConvertWICBitmapToD2D(IWICBitmap *wic_bitmap, ID2D1Bitmap **d2d_bitmap)
Converts a WIC bitmap to a D2D bitmap.
Definition: wic.cpp:91
@ mat_cmp_less_equal
Definition: material.h:32
BLAM ImVec4 * GetClearColor()
Retrieves the current color used to clear the render target.
Definition: render_manage.cpp:613
Ogre::FilterOptions parse_ogre_filter_mode(material_filter_modes filter_mode)
Definition: materials.cpp:124
BLAM void SetViewClearFlags(int new_flags)
Definition: bgfx.cpp:170
BlamMap< std::string, ogre_texture_info_data * > ogre_texture_map
Definition: textures.cpp:22
bool persistent_reload
Definition: materials.cpp:19
BLAM void LogEvent(std::string message)
Logs a message to the log and/or console.
Definition: aliases.cpp:142
BLAM void ShutdownRenderThread()
Instructs the rendering thread to stop running.
Definition: render_manage.cpp:331
BLAM HRESULT GetLastFrameTextureAlt(ID3D11Texture2D *texture)
Retrieves the last frame that was rendered.
Definition: render_manage.cpp:647
int width
Definition: bgfx.cpp:19
BLAM HRESULT ConvertWICBitmapTo32bppPBGRA(IWICBitmap *source, IWICBitmap **destination)
Converts a WIC bitmap to a WIC bitmap, with the 32 bits-per-pixe, PBGRA format.
Definition: wic.cpp:58
@ mat_wrap_border
Definition: material.h:24
@ bitm_filter_none
Definition: bitmap.h:15
Ogre::PbsTextureTypes get_ogre_texture_type_from_material_type(material::pbr_material_entry::textures_entry::texture_type_enum texture_type)
Definition: materials.cpp:24
bitmap * bitmap_tag
Definition: textures.cpp:16
@ mat_wrap_clamp
Definition: material.h:23
unsigned short uint16_t
Definition: stdint.h:125
BLAM void Shutdown()
Definition: ogre.cpp:239
BLAM BlamRenderingEngine GetCurrentRenderingEngine()
Retrieves the current rendering engine being used.
Definition: rendering_abstraction.cpp:104
BLAM bool Initialize()
Definition: ogre.cpp:63
std::string GetTagPath()
Retrieves the path of the tag that this tagref refers to.
Definition: tag_reference.cpp:63
BLAM Demo::GraphicsSystem * GetGraphicsSystem()
Definition: ogre.cpp:280
BLAM void HandleWindowResize(int width, int height, WPARAM wParam)
Definition: rendering_abstraction.cpp:81
BLAM IDWriteFactory * GetDWriteFactory()
Retrieves the DirectWrite factory.
Definition: render_manage.cpp:573
@ OGRE
Definition: rendering.h:35
BlamRenderingEngine
Enumerator listing possible rendering APIs/engines.
Definition: rendering.h:31
BLAM ID2D1DeviceContext * GetD2DRenderTarget()
Retrieves the Direct2D render target.
Definition: render_manage.cpp:598
BLAM void ShowCrashScreen(const char *exc, const char *file, int line, std::string message)
Displays the engine crash screen.
Definition: rendering_abstraction.cpp:62
BLAM HRESULT SetDisplayRes(int x, int y)
Changes the game's display resolution.
Definition: rendering_abstraction.cpp:8
BLAM void DisplaySignalCrashScreen(int signal)
Displays a signal-based engine crash screen.
Definition: render_manage.cpp:464
BLAM void SetClearColor(ImVec4 color)
Changes the color to used to clear the render target.
Definition: render_manage.cpp:567
@ mat_fm_none
Definition: material.h:13
@ mat_cmp_equal
Definition: material.h:33
BLAM void DisplayDetailedCrashScreen(const char *expression, const char *file, int line, std::string details)
Displays a detailed engine crash screen.
Definition: render_manage.cpp:443
bool flag2
Definition: tags.h:263
BLAM void ReloadPendingBitmaps()
Definition: textures.cpp:115
BLAM HRESULT CreateWICBitmapFromMemory(void *data, int size, IWICBitmap **bitmap_pointer)
Creates a WIC bitmap from a block of memory.
Definition: wic.cpp:173
BLAM void HandleWindowReisze(int width, int height)
Definition: bgfx.cpp:150
std::string tag_path
Definition: textures.cpp:17
@ mat_cmp_always_fail
Definition: material.h:29
BLAM HRESULT GetLastFrameHResult()
Unused.
Definition: render_manage.cpp:642
BLAM HRESULT Initialize(HWND hWnd)
Initializes DirectX 11.
Definition: render_manage.cpp:74
Ogre::TextureAddressingMode parse_texture_addressing_mode(material_wrap_modes wrap_mode)
Definition: materials.cpp:146
BLAM HRESULT UpdateResolution(int x, int y)
Changes the DirectX render target resolution.
Definition: resolution.cpp:9
bool load_datablock_from_material_tag(Ogre::HlmsPbsDatablock *datablock, material *material_tag)
Definition: materials.cpp:230
BLAM ImVec4 * GetClearColor()
Retrieves the color used for render target clearing.
Definition: rendering_abstraction.cpp:46
BLAM void Shutdown()
Definition: bgfx.cpp:143
BLAM int GetRenderHeight()
Definition: bgfx.cpp:190
int16_t bytes_per_line
Definition: bitmap.h:43
BLAM HRESULT Initialize()
Initializes the Windows Imaging Component (WIC).
Definition: wic.cpp:12
BLAM ID3D11Texture2D ** GetLastFrameTexture()
Retrieves the last frame that was rendered.
Definition: render_manage.cpp:626
@ bitm_filter_point
Definition: bitmap.h:12
Definition: textures.cpp:14
BLAM HRESULT LoadFontFromFile(std::string id, std::string file_path)
Loads a TrueType font from the specified file into the list of loaded font collections.
Definition: render_manage.cpp:555
BLAM DXGI_SWAP_CHAIN_DESC GetSwapChainDesc()
Retrieves the current Direct3D Swap Chain description.
Definition: render_manage.cpp:618
BLAM HRESULT HandleWindowResize(LPARAM lParam)
Handles a window resize event.
Definition: render_manage.cpp:306
@ mat_fm_linear
Definition: material.h:15
vector2 size
Definition: bitmap.h:42
@ bitm_filter_linear
Definition: bitmap.h:13
BLAM void TakeScreenshot()
Captures the current frame and saves it to a file.
Definition: screenshot.cpp:101
font DisplayOffset y
Definition: README.txt:68
material_wrap_modes
Definition: material.h:19
bool needs_reload
Definition: materials.cpp:18
@ mat_wrap_mirror
Definition: material.h:22
BLAM ID2D1Factory * GetD2DFactory()
Retrieves the Direct2D factory.
Definition: render_manage.cpp:603
BLAM void RenderLoop()
Definition: ogre.cpp:189
BLAM void RenderLoop()
Definition: bgfx.cpp:65
@ mat_fm_anisotropic
Definition: material.h:16
BLAM Ogre::TextureGpu * GetTextureFromTag(std::string tag_path)
Definition: textures.cpp:96
BLAM void SetPlatformData()
Structure representing a tag reference.
Definition: tags.h:182
BLAM void ScreenshotDone()
Informs DirectX that the screenshot has finished being captured.
Definition: render_manage.cpp:664
Ogre::TextureGpu * build_ogre_texture_data(ogre_texture_info_data *texture_info)
Definition: textures.cpp:34
BLAM int GetRenderHeight()
Definition: ogre.cpp:312
BLAM void ProcessSDLEvents(SDL_Event *event)
Definition: ogre.cpp:264
Structure representing a Material tag.
Definition: material.h:46
@ mat_cmp_not_equal
Definition: material.h:34
bitmap_filtering_mode filter_mode_mip
Definition: bitmap.h:31
Ogre::CompareFunction parse_material_comparison_function(material_comparison_function comparison_function)
Definition: materials.cpp:168
BLAM bool BuildDatablockFromTag(material *material_tag, std::string tag_path)
Definition: materials.cpp:551
char class_name[4]
The tag class identifier. Will be the short class name.
Definition: tags.h:185
Ogre::HlmsPbsDatablock * datablock
Definition: materials.cpp:17
BLAM bitmap * GetBitmapTag(std::string tag_path)
Definition: bitmap.cpp:5
BLAM void ReloadPendingMaterials()
Definition: materials.cpp:613
ascii id
Definition: material.h:48
BLAM HRESULT CreateD2DBitmapFromResource(int res_id, const char *res_type, ID2D1Bitmap **bitmap_pointer)
Creates a Direct2D bitmap from an application resource.
Definition: wic.cpp:262
@ mat_cmp_always_pass
Definition: material.h:30
BLAM ID3D11RenderTargetView * GetD3DRenderTargetView()
Retrieves the current Direct3D Render Target.
Definition: render_manage.cpp:593
BLAM IDXGISwapChain * GetDXGISwapChain()
Retrieves the current DXGI Swap Chain.
Definition: render_manage.cpp:588
BLAM void DisplayBasicCrashScreen()
Displays a basic engine crash screen.
Definition: render_manage.cpp:456
bool flag1
Definition: tags.h:262
BLAM ID3D11Device * GetD3DDevice()
Retrieves the current Direct3D device.
Definition: render_manage.cpp:578
@ NotReady
Definition: rendering.h:36
@ mat_cmp_greater
Definition: material.h:36
sock planetquake com All rights reserved Quake III Arena is a registered trademark of id Inc This level may be electronically distributed only at NO CHARGE to the recipient in its current MUST include this txt file
Definition: chiropteraDM.txt:95
BLAM HRESULT CreateWICBitmapFromFile(std::wstring path, IWICBitmap **bitmap_pointer)
Creates a WIC bitmap from a file.
Definition: wic.cpp:141
void * data_address
The address of the referenced data.
Definition: tags.h:235
@ bitm_filter_anisotropic
Definition: bitmap.h:14
bitmap_filtering_mode filter_mode_min
Definition: bitmap.h:29
@ mat_fm_use_bitmap_state
Definition: material.h:12
data_reference pixel_data
Definition: bitmap.h:41
bitfield8 flags
Definition: bitmap.h:33
@ mat_cmp_greater_equal
Definition: material.h:35
BLAM int GetRenderWidth()
Definition: bgfx.cpp:185
Ogre::FilterOptions parse_ogre_bitmap_filter_mode(bitmap_filtering_mode filter_mode)
Definition: materials.cpp:102
@ DirectX11
Definition: rendering.h:33
int height
Definition: bgfx.cpp:20
Namespace for things relating to rendering.
Definition: primitives.h:24
Definition: GraphicsSystem.h:26
Ogre::PixelFormatGpu determine_gpu_pixel_format(bitmap::format_enum tag_format)
Definition: textures.cpp:24
bitmap_filtering_mode
Definition: bitmap.h:10
@ mat_fm_point
Definition: material.h:14
BLAM int GetRenderWidth()
Definition: ogre.cpp:307
BLAM void RenderThread()
Definition: ogre.cpp:226
bitmap_filtering_mode filter_mode_mag
Definition: bitmap.h:30
BLAM void RenderLoop(bool debug)
Renders everything to the screen.
Definition: render_manage.cpp:370
BLAM ID3D11DeviceContext * GetD3DContext()
Retrieves the current Direct3D context.
Definition: render_manage.cpp:583
BLAM IWICImagingFactory * GetWICFactory()
Retrieves the WIC Imaging Factory.
Definition: wic.cpp:53
bool load_pending
Definition: textures.cpp:19
BLAM uint16_t Get3DViewID()
Definition: bgfx.cpp:175
Structure representing a Bitmap tag.
Definition: bitmap.h:27
@ mat_wrap_wrap
Definition: material.h:21
bool flag0
Definition: tags.h:261
#define BLAM
Definition: rendering.h:18
material_comparison_function
Definition: material.h:27
@ mat_cmp_disabled
Definition: material.h:37
BLAM void HandleWindowReisze(int width, int height)
Definition: ogre.cpp:285
config GlyphExtraSpacing x
Definition: README.txt:30
BLAM void Shutdown()
Shuts down the Windows Imaging Component (WIC).
Definition: wic.cpp:47
Definition: materials.cpp:14
BLAM void Cleanup()
Cleans up all DirectX data.
Definition: render_manage.cpp:237
BLAM material * GetMaterialTag(std::string tag_path)
Definition: material.cpp:5
std::string tag_path
Definition: materials.cpp:16
BLAM void Initialize()
Definition: bgfx.cpp:28
Definition: SdlEmulationLayer.h:735
BlamMap< std::string, ogre_material_info_data * > ogre_material_map
Definition: materials.cpp:22
BLAM bool HasRenderThreadStopped()
Determines whether or not the render thread has finished stopping.
Definition: render_manage.cpp:326
BLAM uint16_t Get2DViewID()
Definition: bgfx.cpp:180
void set_datablock_texture(Ogre::HlmsPbsDatablock *datablock, Ogre::PbsTextureTypes texture_type, tag_reference tagref)
Definition: materials.cpp:213
BLAM void RebuildDatablocks()
Definition: materials.cpp:528
Ogre::Root * getRoot(void) const
Definition: GraphicsSystem.h:144
BLAM bool * RenderTargetClearing()
Retrieves whether or not to enable render target clearing.
Definition: render_manage.cpp:608
@ mat_cmp_less
Definition: material.h:31
@ BGFX
Definition: rendering.h:34
material_filter_modes
Definition: material.h:10
BLAM HRESULT CreateD2DBitmapFromFile(std::wstring path, ID2D1Bitmap **bitmap_pointer)
Creates a Direct2D bitmap from a file.
Definition: wic.cpp:216
UI_API ImVec4 transparent()
Definition: debug_ui_colors.cpp:35
BLAM Ogre::Window * GetRenderWindow()
Definition: ogre.cpp:317
BLAM void RenderThread(bool debug)
Instructs the engine to start rendering on a separate thread.
Definition: render_manage.cpp:337
const char * details
Definition: error_notice.cpp:17
BLAM void BuildTextureFromTag(bitmap *bitmap_tag, std::string tag_path)
Definition: textures.cpp:84
const CharType(& source)[N]
Definition: pointer.h:1272