/dports/graphics/quat-gui/quat-1.20/kernel/ |
H A D | colors.c | 110 int CalcWeightsum(struct realpal_struct *realpal) in CalcWeightsum() argument 116 for (i=0; i<realpal->colnum; i++) weightsum += realpal->cols[i].weight; in CalcWeightsum() 122 struct realpal_struct *realpal; 134 weight = realpal->cols[0].weight; 136 for (i=0; i<realpal->colnum; i++) 138 if ( (realpal->cols[i].col1[0]==realpal->cols[i].col2[0]) 139 &&(realpal->cols[i].col1[1]==realpal->cols[i].col2[1]) 140 &&(realpal->cols[i].col1[2]==realpal->cols[i].col2[2])) 143 if (weight!=realpal->cols[i].weight) oswcols = 0; 170 CalcWeightsum(realpal); [all …]
|
H A D | quat.c | 407 realpal->cols[0].col1[0] = 0; realpal->cols[0].col1[1] = 0; realpal->cols[0].col1[2] = 1; in SetDefaults() 408 realpal->cols[0].col2[0] = 1; realpal->cols[0].col2[1] = 0; realpal->cols[0].col2[2] = 0; in SetDefaults() 409 realpal->cols[0].weight = 1; in SetDefaults() 410 realpal->colnum = 1; in SetDefaults() 1179 realpal.colnum = 1; in CreateZBuf() 1180 realpal.cols[0].weight = 1; in CreateZBuf() 1290 rp = realpal; in CalculatePNG() 1305 realpal = rp; in CalculatePNG() 1783 if (realpal->cols[i].col1[0]==realpal->cols[i].col2[0] in WriteINI() 1784 && realpal->cols[i].col1[1]==realpal->cols[i].col2[1] in WriteINI() [all …]
|
H A D | quat.h | 40 struct realpal_struct *realpal, char *colscheme, double *cutbuf); 41 int SetDefaults(struct frac_struct *frac, struct view_struct *view, struct realpal_struct *realpal, 48 struct realpal_struct *realpal, char *colscheme, double *cutbuf); 53 struct realpal_struct *realpal, char *colscheme, double *cutbuf, int zflag); 56 struct realpal_struct *realpal, char *colscheme, double *cutbuf, int zflag); 60 struct view_struct *view, struct realpal_struct *realpal, char *colscheme, double *cutbuf, 67 struct realpal_struct *realpal, char *colscheme, double *cutbuf);
|
H A D | colors.h | 4 int CreateDispPal(struct disppal_struct *disppal, struct realpal_struct *realpal, int maxcol, doubl… 7 struct realpal_struct *realpal, unsigned char *line, float *CBuf, float *BBuf); 8 int CalcWeightsum(struct realpal_struct *realpal);
|
H A D | files.c | 378 v, pal, realpal, colorscheme, cutbuf, zflag) in PNGInitialization() argument 389 struct realpal_struct *realpal; 534 pos = sprintf(string, "%iN", realpal->colnum); 538 for (j=0; j<realpal->colnum; j++) 540 pos = sprintf(string, "%+20.20eN", realpal->cols[j].weight); 542 realpal->cols[j].col1[0], realpal->cols[j].col1[1], realpal->cols[j].col1[2]); 544 realpal->cols[j].col2[0], realpal->cols[j].col2[1], realpal->cols[j].col2[2]); 648 struct frac_struct *f, struct view_struct *v, struct realpal_struct *realpal, in ReadParameters() argument 743 if (ReadNextInt(&d, &realpal->colnum, Error)) return(-6); in ReadParameters() 744 for (i=0; i<realpal->colnum; i++) in ReadParameters() [all …]
|
H A D | files.h | 53 …rac_struct *f, struct view_struct *v, struct disppal_struct *pal, struct realpal_struct *realpal, 58 struct frac_struct *f, struct view_struct *v, struct realpal_struct *realpal,
|
/dports/graphics/quat/quat-1.20/kernel/ |
H A D | colors.c | 110 int CalcWeightsum(struct realpal_struct *realpal) in CalcWeightsum() argument 116 for (i=0; i<realpal->colnum; i++) weightsum += realpal->cols[i].weight; in CalcWeightsum() 122 struct realpal_struct *realpal; 134 weight = realpal->cols[0].weight; 136 for (i=0; i<realpal->colnum; i++) 138 if ( (realpal->cols[i].col1[0]==realpal->cols[i].col2[0]) 139 &&(realpal->cols[i].col1[1]==realpal->cols[i].col2[1]) 140 &&(realpal->cols[i].col1[2]==realpal->cols[i].col2[2])) 143 if (weight!=realpal->cols[i].weight) oswcols = 0; 170 CalcWeightsum(realpal); [all …]
|
H A D | quat.c | 407 realpal->cols[0].col1[0] = 0; realpal->cols[0].col1[1] = 0; realpal->cols[0].col1[2] = 1; in SetDefaults() 408 realpal->cols[0].col2[0] = 1; realpal->cols[0].col2[1] = 0; realpal->cols[0].col2[2] = 0; in SetDefaults() 409 realpal->cols[0].weight = 1; in SetDefaults() 410 realpal->colnum = 1; in SetDefaults() 1179 realpal.colnum = 1; in CreateZBuf() 1180 realpal.cols[0].weight = 1; in CreateZBuf() 1290 rp = realpal; in CalculatePNG() 1305 realpal = rp; in CalculatePNG() 1783 if (realpal->cols[i].col1[0]==realpal->cols[i].col2[0] in WriteINI() 1784 && realpal->cols[i].col1[1]==realpal->cols[i].col2[1] in WriteINI() [all …]
|
H A D | quat.h | 40 struct realpal_struct *realpal, char *colscheme, double *cutbuf); 41 int SetDefaults(struct frac_struct *frac, struct view_struct *view, struct realpal_struct *realpal, 48 struct realpal_struct *realpal, char *colscheme, double *cutbuf); 53 struct realpal_struct *realpal, char *colscheme, double *cutbuf, int zflag); 56 struct realpal_struct *realpal, char *colscheme, double *cutbuf, int zflag); 60 struct view_struct *view, struct realpal_struct *realpal, char *colscheme, double *cutbuf, 67 struct realpal_struct *realpal, char *colscheme, double *cutbuf);
|
H A D | colors.h | 4 int CreateDispPal(struct disppal_struct *disppal, struct realpal_struct *realpal, int maxcol, doubl… 7 struct realpal_struct *realpal, unsigned char *line, float *CBuf, float *BBuf); 8 int CalcWeightsum(struct realpal_struct *realpal);
|
H A D | files.c | 378 v, pal, realpal, colorscheme, cutbuf, zflag) in PNGInitialization() argument 389 struct realpal_struct *realpal; 534 pos = sprintf(string, "%iN", realpal->colnum); 538 for (j=0; j<realpal->colnum; j++) 540 pos = sprintf(string, "%+20.20eN", realpal->cols[j].weight); 542 realpal->cols[j].col1[0], realpal->cols[j].col1[1], realpal->cols[j].col1[2]); 544 realpal->cols[j].col2[0], realpal->cols[j].col2[1], realpal->cols[j].col2[2]); 648 struct frac_struct *f, struct view_struct *v, struct realpal_struct *realpal, in ReadParameters() argument 743 if (ReadNextInt(&d, &realpal->colnum, Error)) return(-6); in ReadParameters() 744 for (i=0; i<realpal->colnum; i++) in ReadParameters() [all …]
|
H A D | files.h | 53 …rac_struct *f, struct view_struct *v, struct disppal_struct *pal, struct realpal_struct *realpal, 58 struct frac_struct *f, struct view_struct *v, struct realpal_struct *realpal,
|
/dports/graphics/quat-gui/quat-1.20/gui/ |
H A D | MainWindow.cxx | 146 p->Parameters_ReadINI(p->frac, p->view, p->realpal, in Parameters_ReadINI_cb() 153 p->Parameters_ReadPNG(p->frac, p->view, p->realpal, in Parameters_ReadPNG_cb() 160 p->Parameters_SaveAs(p->frac, p->view, p->realpal, in Parameters_SaveAs_cb() 263 SetDefaults(&frac, &view, &realpal, colscheme, cutbuf); in MainWindow() 461 frac = _f; view = _v; realpal = _r; colscheme = _col; cutbuf = _cut; in DoImgOpen() 669 &view, &realpal, colscheme, cutbuf, 0) != 0) in Image_Save() 706 &realpal, colscheme, cutbuf, 0)!=0) in Image_SaveAs() 799 i = CreateImage(Error, &imgxstart, &imgystart, &frac, &view, &realpal, in Calculation_StartImage() 851 editor->set(frac, view, realpal, colscheme, cutbuf); in Parameters_Edit() 869 SetDefaults(&frac, &view, &realpal, colscheme, cutbuf); in Parameters_Reset() [all …]
|
H A D | MainWindow.h | 70 realpal_cpp realpal; variable
|
/dports/graphics/quat/quat-1.20/gui/ |
H A D | MainWindow.cxx | 146 p->Parameters_ReadINI(p->frac, p->view, p->realpal, in Parameters_ReadINI_cb() 153 p->Parameters_ReadPNG(p->frac, p->view, p->realpal, in Parameters_ReadPNG_cb() 160 p->Parameters_SaveAs(p->frac, p->view, p->realpal, in Parameters_SaveAs_cb() 263 SetDefaults(&frac, &view, &realpal, colscheme, cutbuf); in MainWindow() 461 frac = _f; view = _v; realpal = _r; colscheme = _col; cutbuf = _cut; in DoImgOpen() 669 &view, &realpal, colscheme, cutbuf, 0) != 0) in Image_Save() 706 &realpal, colscheme, cutbuf, 0)!=0) in Image_SaveAs() 799 i = CreateImage(Error, &imgxstart, &imgystart, &frac, &view, &realpal, in Calculation_StartImage() 851 editor->set(frac, view, realpal, colscheme, cutbuf); in Parameters_Edit() 869 SetDefaults(&frac, &view, &realpal, colscheme, cutbuf); in Parameters_Reset() [all …]
|
H A D | MainWindow.h | 70 realpal_cpp realpal; variable
|
/dports/emulators/mess/mame-mame0226/src/mame/drivers/ |
H A D | vt1682.cpp | 4907 uint8_t realpal, realdepth; in draw_layer() local 4917 realpal = (pal & 0x0c) | bk_depth; in draw_layer() 4921 realpal = pal; in draw_layer() 4925 …draw_tile_pixline(segment, tile, ytileline, xpos + xscrolltile_part, y, palselect, realpal, bk_til… in draw_layer()
|
/dports/emulators/mame/mame-mame0226/src/mame/drivers/ |
H A D | vt1682.cpp | 4907 uint8_t realpal, realdepth; in draw_layer() local 4917 realpal = (pal & 0x0c) | bk_depth; in draw_layer() 4921 realpal = pal; in draw_layer() 4925 …draw_tile_pixline(segment, tile, ytileline, xpos + xscrolltile_part, y, palselect, realpal, bk_til… in draw_layer()
|
/dports/emulators/atari800/atari800-3.1.0/DOC/ |
H A D | CHANGES.OLD | 124 -realpal <use real palette>
|