X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fvideo%2Fdrawing_request.hpp;h=725a346b96876a53ec748633056d7f420c0f7351;hb=43db9a6c44b6ee544e7694d1bb234ba559b0849c;hp=24e0c02049ad594155243870d932474f2c1629dd;hpb=fea3446f05e1e7673607b835c269d3e8d1929ab3;p=supertux.git diff --git a/src/video/drawing_request.hpp b/src/video/drawing_request.hpp index 24e0c0204..725a346b9 100644 --- a/src/video/drawing_request.hpp +++ b/src/video/drawing_request.hpp @@ -25,12 +25,10 @@ #include -#include - #include "glutil.hpp" -#include "math/vector.hpp" #include "color.hpp" #include "font.hpp" +#include "math/vector.hpp" class Surface; @@ -70,7 +68,7 @@ enum Target { enum RequestType { - SURFACE, SURFACE_PART, TEXT, GRADIENT, FILLRECT, GETLIGHT + SURFACE, SURFACE_PART, TEXT, GRADIENT, FILLRECT, INVERSEELLIPSE, DRAW_LIGHTMAP, GETLIGHT }; struct SurfacePartRequest @@ -94,7 +92,14 @@ struct GradientRequest struct FillRectRequest { - Color color; + Color color; + Vector size; + float radius; +}; + +struct InverseEllipseRequest +{ + Color color; Vector size; };