Draws a simple bitmap at the specified x,y location
| 1906 | } |
| 1907 | // Draws a simple bitmap at the specified x,y location |
| 1908 | void rend_DrawSimpleBitmap(int bm_handle, int x, int y) { |
| 1909 | rend_SetAlphaType(AT_CONSTANT_TEXTURE); |
| 1910 | rend_SetAlphaValue(255); |
| 1911 | rend_SetLighting(LS_NONE); |
| 1912 | rend_SetColorModel(CM_MONO); |
| 1913 | rend_SetOverlayType(OT_NONE); |
| 1914 | rend_SetFiltering(0); |
| 1915 | rend_DrawScaledBitmap(x, y, x + bm_w(bm_handle, 0), y + bm_h(bm_handle, 0), bm_handle, 0, 0, 1, 1); |
| 1916 | rend_SetFiltering(1); |
| 1917 | } |
| 1918 | // Fills in the passed in pointer with the current rendering state |
| 1919 | void rend_GetRenderState(rendering_state *rstate) { |
| 1920 | switch (Renderer_type) { |
no test coverage detected