rename gpu_senquack to gpu_unai
[pcsx_rearmed.git] / frontend / plugin_lib.h
index 97d44f2..6cfe596 100644 (file)
@@ -93,7 +93,7 @@ struct rearmed_cbs {
                int   abe_hack;
                int   no_light, no_blend;
                int   lineskip;
-       } gpu_unai;
+       } gpu_unai_old;
        struct {
                int ilace_force;
                int pixel_skip;
@@ -102,7 +102,7 @@ struct rearmed_cbs {
                int blending;
                int dithering;
                int scale_hires;
-       } gpu_senquack;
+       } gpu_unai;
        struct {
                int   dwActFixes;
                int   bDrawDither, iFilterType, iFrameTexType;
@@ -111,13 +111,16 @@ struct rearmed_cbs {
        } gpu_peopsgl;
        // misc
        int gpu_caps;
-       int screen_centering_type; // 0 - auto, 1 - game conrolled, 2 - manual
+       int screen_centering_type;
+       int screen_centering_type_default;
        int screen_centering_x;
        int screen_centering_y;
 };
 
 extern struct rearmed_cbs pl_rearmed_cbs;
 
+enum centering_type { C_AUTO = 0, C_INGAME, C_BORDERLESS, C_MANUAL };
+
 enum gpu_plugin_caps {
        GPU_CAP_OWNS_DISPLAY = (1 << 0),
        GPU_CAP_SUPPORTS_2X = (1 << 1),