Advertisement
Guest User

rendermanager.h

a guest
Jul 16th, 2018
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.42 KB | None | 0 0
  1. #pragma once
  2.  
  3. #include "Interfaces.h"
  4.  
  5. #include "Vector2D.h"
  6.  
  7. void Quad();
  8.  
  9.  
  10. namespace Render
  11. {
  12. void Initialise();
  13.  
  14. void Clear(int x, int y, int w, int h, Color color);
  15. void Outline(int x, int y, int w, int h, Color color);
  16. void OutlinedRect(int x, int y, int w, int h, Color color_out, Color color_in);
  17. void Line(int x, int y, int x2, int y2, Color color);
  18. void PolyLine(int *x, int *y, int count, Color color);
  19. void DrawOutlinedRect(int x, int y, int w, int h, Color col);
  20. void DrawLine(int x0, int y0, int x1, int y1, Color col);
  21. void DrawRect(int x, int y, int w, int h, Color col);
  22. void TexturedPolygon(int n, std::vector<Vertex_t> vertice, Color color);
  23. void rect(int x, int y, int w, int h, Color color);
  24. void Polygon(int count, Vertex_t* Vertexs, Color color);
  25. void PolygonOutline(int count, Vertex_t* Vertexs, Color color, Color colorLine);
  26. void PolyLine(int count, Vertex_t* Vertexs, Color colorLine);
  27.  
  28. void Color_spectrum(int x, int y, int w, int h);
  29.  
  30. Color Color_spectrum_pen(int x, int y, int w, int h, Vector stx);
  31.  
  32. void DrawTexturedPoly(int n, Vertex_t * vertice, Color col);
  33.  
  34. void DrawFilledCircle(Vector2D center, Color color, float radius, float points);
  35.  
  36. void GradientV(int x, int y, int w, int h, Color c1, Color c2);
  37. void DrawCircle(float x, float y, float r, float segments, Color color);
  38. void GradientH(int x, int y, int w, int h, Color c1, Color c2);
  39.  
  40. namespace Fonts
  41. {
  42. extern DWORD Default;
  43. extern DWORD Menu;
  44. extern DWORD MenuBold;
  45. extern DWORD ESP;
  46. extern DWORD MenuText;
  47. extern DWORD Icon;
  48. extern DWORD MenuTabs;
  49. extern DWORD Text;
  50. extern DWORD Slider;
  51. extern DWORD Clock;
  52. extern DWORD ICON;
  53. extern DWORD AAarows;
  54. extern DWORD LBY;
  55. extern DWORD Untitled1;
  56. extern DWORD xd;
  57. extern DWORD Tabs;
  58. extern DWORD CheckBox;
  59. extern DWORD MenuSymbols;
  60. extern DWORD LBYIndicator;
  61. extern DWORD WeaponIcon;
  62. extern DWORD jew;
  63. extern DWORD gay;
  64. };
  65.  
  66. void Text(int x, int y, Color color, DWORD font, const char* text);
  67. void Text2(int x, int y, const char * _Input, int font, Color color);
  68. void Textf(int x, int y, Color color, DWORD font, const char* fmt, ...);
  69. void Text(int x, int y, Color color, DWORD font, const wchar_t* text);
  70. RECT GetTextSize(DWORD font, const char* text);
  71.  
  72. bool TransformScreen(const Vector & in, Vector & out);
  73.  
  74. bool WorldToScreen(const Vector& in, Vector& out);
  75. RECT GetViewport();
  76. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement