aboutsummaryrefslogtreecommitdiff
path: root/src/parsec/include/e_draw.h
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2026-08-24 11:16:07 +0200
committerFelix Morgner <felix.morgner@gmail.com>2026-08-24 11:16:07 +0200
commitc068f22329d5cc722622a2183bbb22eef2093df7 (patch)
tree12d56c1aede67988a55e241364606bfbb4dba933 /src/parsec/include/e_draw.h
downloadopenparsec-main.tar.xz
openparsec-main.zip
initial importHEADmain
Diffstat (limited to 'src/parsec/include/e_draw.h')
-rw-r--r--src/parsec/include/e_draw.h55
1 files changed, 55 insertions, 0 deletions
diff --git a/src/parsec/include/e_draw.h b/src/parsec/include/e_draw.h
new file mode 100644
index 0000000..6fdd324
--- /dev/null
+++ b/src/parsec/include/e_draw.h
@@ -0,0 +1,55 @@
+/*
+ * PARSEC HEADER: e_draw.h
+ */
+
+#ifndef _E_DRAW_H_
+#define _E_DRAW_H_
+
+
+// colored screen rectangle info
+
+struct colscreenrect_s {
+
+ int x;
+ int y;
+ int w;
+ int h;
+
+ dword itertype;
+ colrgba_s color;
+};
+
+
+// textured screen rectangle info
+
+struct texscreenrect_s {
+
+ int x;
+ int y;
+ int w;
+ int h;
+
+ int scaled_w;
+ int scaled_h;
+
+ int texofsx;
+ int texofsy;
+
+ int alpha;
+
+ dword itertype;
+ TextureMap* texmap;
+};
+
+
+// external functions
+
+void DRAW_PanelDecorations( sgrid_t putx, sgrid_t puty, int width, int height );
+void DRAW_ClippedTrRect( sgrid_t putx, sgrid_t puty, int width, int height, dword brightx );
+void DRAW_ColoredScreenRect( colscreenrect_s *rect );
+void DRAW_TexturedScreenRect( texscreenrect_s *rect, Rectangle2 *cliprect );
+
+
+#endif // _E_DRAW_H_
+
+