summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/windows/d3dhlsl.h
diff options
context:
space:
mode:
author Ryan Holtz <rholtz@batcountryentertainment.com>2011-06-13 23:09:41 +0000
committer Ryan Holtz <rholtz@batcountryentertainment.com>2011-06-13 23:09:41 +0000
commit23976ade94441240db255ecd0f7479bf8bba8694 (patch)
tree74a311cbb4ebed438e9d01746cac94577ea6029a /src/osd/windows/d3dhlsl.h
parente3bfde12099b6e710d8e35bbff76a79a69be4110 (diff)
HLSL Updates: [Ryan Holtz, Bat Country Entertainment]
- MAME will now save an HLSL INI file on the first run of a game that doesn't already have an INI file. - HLSL INI files must have their parameters left in the order in which they are saved out. - Fixed a diagonal 'crease' visible on the screen in HLSL mode.
Diffstat (limited to 'src/osd/windows/d3dhlsl.h')
-rw-r--r--src/osd/windows/d3dhlsl.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/osd/windows/d3dhlsl.h b/src/osd/windows/d3dhlsl.h
index daaa075b190..00f133566b1 100644
--- a/src/osd/windows/d3dhlsl.h
+++ b/src/osd/windows/d3dhlsl.h
@@ -55,7 +55,9 @@
typedef struct _hlsl_options hlsl_options;
struct _hlsl_options
{
+ bool params_dirty;
float shadow_mask_alpha;
+ char shadow_mask_texture[1024];
int shadow_mask_count_x;
int shadow_mask_count_y;
float shadow_mask_u_size;
@@ -82,6 +84,18 @@ struct _hlsl_options
float floor[3];
float phosphor[3];
float saturation;
+ bool yiq_enable;
+ float yiq_cc;
+ float yiq_a;
+ float yiq_b;
+ float yiq_o;
+ float yiq_p;
+ float yiq_n;
+ float yiq_y;
+ float yiq_i;
+ float yiq_q;
+ float yiq_scan_time;
+ int yiq_phase_count;
};
class hlsl_info
@@ -132,7 +146,9 @@ private:
win_window_info * window; // D3D window info
bool master_enable; // overall enable flag
- bool yiq_enable; // YIQ-convolution flag
+ bool external_ini; // external ini flag
+ int prescale_force_x; // prescale force x
+ int prescale_force_y; // prescale force y
int prescale_size_x; // prescale size x
int prescale_size_y; // prescale size y
int preset; // preset, if relevant