summaryrefslogtreecommitdiffstats
path: root/Graphic_Equalizer/include/display.hch
diff options
context:
space:
mode:
authorOliver Schinagl <oliver@schinagl.nl>2004-11-24 15:09:39 (GMT)
committerOliver Schinagl <oliver@schinagl.nl>2004-11-24 15:09:39 (GMT)
commitba3f9224d0800fb3d830f966f661d3ead22fc327 (patch)
tree82d7c548d4d0bb474b0922aec8c1918e713ef6e2 /Graphic_Equalizer/include/display.hch
parent562d0d27ac21b8e8f559fa2b3da0ebd6e2fc0969 (diff)
downloadTASS-ba3f9224d0800fb3d830f966f661d3ead22fc327.zip
TASS-ba3f9224d0800fb3d830f966f661d3ead22fc327.tar.gz
TASS-ba3f9224d0800fb3d830f966f661d3ead22fc327.tar.bz2
removed PAL defines. this wasn't really bright afterall IMHO.
temporarly set the pixel color defines here. they are now beeing used to initialize the variables. this will be removed later. added the skindata struct so components know where to get skindata from.
Diffstat (limited to 'Graphic_Equalizer/include/display.hch')
-rw-r--r--Graphic_Equalizer/include/display.hch20
1 files changed, 14 insertions, 6 deletions
diff --git a/Graphic_Equalizer/include/display.hch b/Graphic_Equalizer/include/display.hch
index c69bf26..dcc0105 100644
--- a/Graphic_Equalizer/include/display.hch
+++ b/Graphic_Equalizer/include/display.hch
@@ -22,10 +22,12 @@
/*
- * Use defines to keep API generic
+ * Set the color for various items that will be drawn on screen.
*/
-#define display_run(VideoOut, ClockRate) PalVideoOutRun(VideoOut, ClockRate)
-#define display_init(VideoOut) PalVideoOutEnable(VideoOut)
+#define PIXEL_VOLUME (0x0000ff)
+#define PIXEL_EQUALIZER (0xff0000)
+#define PIXEL_SPECTRUM ((((skindata.area_spectrum_bottom -(SCANY <- 10)) <<1) <- 8) @ 0x00 @ (((skindata.area_spectrum_bottom -(SCANY <- 10)) <<1) <- 8))
+#define PIXEL_WAVEFORM (0x0000ff)
@@ -35,9 +37,15 @@
* informs events what the current mask is. To optain the current mask we need
* the X and Y coordinates from our mousedata pointer.
*/
-macro proc display_main(audiodata, events, mousedata, CLOCKRATE, VIDEOOUT, RAM_BANK0);
+macro proc display_main(skindata, audiodata, events, mousedata, CLOCKRATE, VIDEOOUT, RAM_BANK0);
+
+
+
+/*
+ * reload equalizer bars into the display memory.
+ */
+macro proc reload_equalizer(events, equalizer_levels, preset_offset);
#else
#error "ERROR file display.hch multiple times included"
-#endif /* --- _DISPLAY_HCH --- */
-
+#endif /* --- _DISPLAY_HCH --- */ \ No newline at end of file