Mercurial > mm7
comparison Engine/Graphics/Render.h @ 2575:a76d408c5132 tip
DrawTranslucent -> DrawTextureGrayShade
Removed old texture drawing stuff
author | a.parshin |
---|---|
date | Wed, 09 Mar 2016 01:39:52 +0200 |
parents | dd36326a9994 |
children |
comparison
equal
deleted
inserted
replaced
2574:dd36326a9994 | 2575:a76d408c5132 |
---|---|
261 virtual void ZBuffer_Fill_2(signed int a2, signed int a3, struct Image *pTexture, int a5); | 261 virtual void ZBuffer_Fill_2(signed int a2, signed int a3, struct Image *pTexture, int a5); |
262 virtual void ZDrawTextureAlpha(float u, float v, struct Image *pTexture, int zVal); | 262 virtual void ZDrawTextureAlpha(float u, float v, struct Image *pTexture, int zVal); |
263 virtual void BlendTextures(unsigned int a2, unsigned int a3, struct Image *a4, struct Texture_MM7 *a5, int t, int start_opacity, int end_opacity); | 263 virtual void BlendTextures(unsigned int a2, unsigned int a3, struct Image *a4, struct Texture_MM7 *a5, int t, int start_opacity, int end_opacity); |
264 virtual void _4A65CC(unsigned int x, unsigned int y, struct Texture_MM7 *a4, struct Texture_MM7 *a5, int a6, int a7, int a8); | 264 virtual void _4A65CC(unsigned int x, unsigned int y, struct Texture_MM7 *a4, struct Texture_MM7 *a5, int a6, int a7, int a8); |
265 | 265 |
266 virtual void DrawMasked(float u, float v, struct Image *img, unsigned int color_dimming_level, unsigned __int16 mask); | |
267 virtual void DrawTextureGrayShade(float u, float v, struct Image *a4); | |
266 virtual void DrawTransparentRedShade(float u, float v, struct Image *a4); | 268 virtual void DrawTransparentRedShade(float u, float v, struct Image *a4); |
267 virtual void DrawTransparentGreenShade(float u, float v, struct Image *pTexture); | 269 virtual void DrawTransparentGreenShade(float u, float v, struct Image *pTexture); |
268 virtual void DrawFansTransparent(const RenderVertexD3D3 *vertices, unsigned int num_vertices); | 270 virtual void DrawFansTransparent(const RenderVertexD3D3 *vertices, unsigned int num_vertices); |
269 | 271 |
270 virtual void DrawMasked(float u, float v, struct Image *pTexture, unsigned __int16 mask); | |
271 | |
272 virtual void DrawTextAlpha(int x, int y, unsigned char* font_pixels, int a5, unsigned int uFontHeight, unsigned __int16 *pPalette, bool present_time_transparency); | 272 virtual void DrawTextAlpha(int x, int y, unsigned char* font_pixels, int a5, unsigned int uFontHeight, unsigned __int16 *pPalette, bool present_time_transparency); |
273 virtual void DrawText(signed int uOutX, signed int uOutY, unsigned __int8 *pFontPixels, unsigned int uCharWidth, unsigned int uCharHeight, unsigned __int16 *pFontPalette, unsigned __int16 uFaceColor, unsigned __int16 uShadowColor); | 273 virtual void DrawText(signed int uOutX, signed int uOutY, unsigned __int8 *pFontPixels, unsigned int uCharWidth, unsigned int uCharHeight, unsigned __int16 *pFontPalette, unsigned __int16 uFaceColor, unsigned __int16 uShadowColor); |
274 | 274 |
275 virtual void FillRectFast(unsigned int uX, unsigned int uY, unsigned int uWidth, unsigned int uHeight, unsigned int uColor16); | 275 virtual void FillRectFast(unsigned int uX, unsigned int uY, unsigned int uWidth, unsigned int uHeight, unsigned int uColor16); |
276 virtual void _4A6DF5(unsigned __int16 *pBitmap, unsigned int uBitmapPitch, struct Vec2_int_ *pBitmapXY, void *pTarget, unsigned int uTargetPitch, Vec4_int_ *a7); | 276 virtual void _4A6DF5(unsigned __int16 *pBitmap, unsigned int uBitmapPitch, struct Vec2_int_ *pBitmapXY, void *pTarget, unsigned int uTargetPitch, Vec4_int_ *a7); |
277 virtual void DrawTranslucent(unsigned int a2, unsigned int a3, struct Texture_MM7 *a4); | |
278 | 277 |
279 virtual void DrawBuildingsD3D(); | 278 virtual void DrawBuildingsD3D(); |
280 //struct BSPModel *DrawBuildingsSW(); | 279 //struct BSPModel *DrawBuildingsSW(); |
281 //int OnOutdoorRedrawSW(); | 280 //int OnOutdoorRedrawSW(); |
282 | 281 |