Home
last modified time | relevance | path

Searched refs:colortable_source (Results 1 – 25 of 30) sorted by relevance

12

/dports/emulators/mess/mame-mame0226/src/mame/video/
H A Dfiretrk.cpp17 static constexpr uint8_t colortable_source[] = in firetrk_palette() local
37 for (int i = 0; i < ARRAY_LENGTH(colortable_source); i++) in firetrk_palette()
39 uint8_t color = colortable_source[i]; in firetrk_palette()
61 static constexpr uint8_t colortable_source[] = in montecar_palette() local
96 for (int i = 0; i < ARRAY_LENGTH(colortable_source); i++) in montecar_palette()
98 uint8_t color = colortable_source[i]; in montecar_palette()
105 prom_to_palette(i, color_prom[0x100 + colortable_source[i]]); in montecar_palette()
108 palette.set_pen_color(ARRAY_LENGTH(colortable_source) + 0, rgb_t::black()); in montecar_palette()
109 palette.set_pen_color(ARRAY_LENGTH(colortable_source) + 1, rgb_t::white()); in montecar_palette()
H A Dstarshp1.cpp28 static constexpr uint16_t colortable_source[] = in starshp1_palette() local
40 for (unsigned i = 0; i < ARRAY_LENGTH(colortable_source); i++) in starshp1_palette()
41 palette.set_pen_indirect(i, colortable_source[i]); in starshp1_palette()
/dports/emulators/mame/mame-mame0226/src/mame/video/
H A Dfiretrk.cpp17 static constexpr uint8_t colortable_source[] = in firetrk_palette() local
37 for (int i = 0; i < ARRAY_LENGTH(colortable_source); i++) in firetrk_palette()
39 uint8_t color = colortable_source[i]; in firetrk_palette()
61 static constexpr uint8_t colortable_source[] = in montecar_palette() local
96 for (int i = 0; i < ARRAY_LENGTH(colortable_source); i++) in montecar_palette()
98 uint8_t color = colortable_source[i]; in montecar_palette()
105 prom_to_palette(i, color_prom[0x100 + colortable_source[i]]); in montecar_palette()
108 palette.set_pen_color(ARRAY_LENGTH(colortable_source) + 0, rgb_t::black()); in montecar_palette()
109 palette.set_pen_color(ARRAY_LENGTH(colortable_source) + 1, rgb_t::white()); in montecar_palette()
H A Dstarshp1.cpp28 static constexpr uint16_t colortable_source[] = in starshp1_palette() local
40 for (unsigned i = 0; i < ARRAY_LENGTH(colortable_source); i++) in starshp1_palette()
41 palette.set_pen_indirect(i, colortable_source[i]); in starshp1_palette()
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/drivers/
H A Dbsktball.c51 static unsigned short colortable_source[] = variable
145 memcpy(colortable,colortable_source,sizeof(colortable_source)); in PALETTE_INIT()
398 MDRV_COLORTABLE_LENGTH(sizeof(colortable_source) / sizeof(colortable_source[0]))
H A Dstarcrus.c155 static unsigned short colortable_source[] = variable
163 memcpy(colortable,colortable_source,sizeof(colortable_source)); in PALETTE_INIT()
201 MDRV_COLORTABLE_LENGTH(sizeof(colortable_source) / sizeof(colortable_source[0]))
H A Dnitedrvr.c69 static unsigned short colortable_source[] = variable
81 memcpy(colortable,colortable_source,sizeof(colortable_source)); in PALETTE_INIT()
391 MDRV_COLORTABLE_LENGTH(sizeof(colortable_source) / sizeof(colortable_source[0]))
H A Dsubs.c32 static unsigned short colortable_source[] = variable
44 memcpy(colortable,colortable_source,sizeof(colortable_source)); in PALETTE_INIT()
326 MDRV_COLORTABLE_LENGTH(sizeof(colortable_source) / sizeof(colortable_source[0])) in DISCRETE_MULTIPLY()
H A Dredalert.c306 static unsigned short colortable_source[] = variable
336 memcpy(colortable,colortable_source,sizeof(colortable_source)); in PALETTE_INIT()
388 MDRV_COLORTABLE_LENGTH(sizeof(colortable_source) / sizeof(colortable_source[0]))
447 MDRV_COLORTABLE_LENGTH(sizeof(colortable_source) / sizeof(colortable_source[0]))
H A Dskydiver.c98 static unsigned short colortable_source[] = variable
112 memcpy(colortable,colortable_source,sizeof(colortable_source)); in PALETTE_INIT()
543 MDRV_COLORTABLE_LENGTH(sizeof(colortable_source) / sizeof(colortable_source[0]))
H A Dspcforce.c233 static unsigned short colortable_source[] = variable
249 memcpy(colortable,colortable_source,sizeof(colortable_source)); in PALETTE_INIT()
282 MDRV_COLORTABLE_LENGTH(sizeof(colortable_source) / sizeof(colortable_source[0]))
H A Dultratnk.c33 static unsigned short colortable_source[] = variable
47 memcpy(colortable,colortable_source,sizeof(colortable_source)); in PALETTE_INIT()
658 MDRV_COLORTABLE_LENGTH(sizeof(colortable_source)/sizeof(unsigned short))
H A Dstarshp1.c73 static const UINT16 colortable_source[] = in PALETTE_INIT() local
84 memcpy(colortable, colortable_source, sizeof(colortable_source)); in PALETTE_INIT()
H A Dfiretrk.c217 static const UINT16 colortable_source[] = in PALETTE_INIT() local
233 memcpy(colortable, colortable_source, sizeof(colortable_source)); in PALETTE_INIT()
248 static const UINT16 colortable_source[] = in PALETTE_INIT() local
319 memcpy(colortable, colortable_source, sizeof(colortable_source)); in PALETTE_INIT()
/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/drivers/
H A Dbsktball.c51 static unsigned short colortable_source[] = variable
145 memcpy(colortable,colortable_source,sizeof(colortable_source)); in PALETTE_INIT()
398 MDRV_COLORTABLE_LENGTH(sizeof(colortable_source) / sizeof(colortable_source[0]))
H A Dstarcrus.c155 static unsigned short colortable_source[] = variable
163 memcpy(colortable,colortable_source,sizeof(colortable_source)); in PALETTE_INIT()
201 MDRV_COLORTABLE_LENGTH(sizeof(colortable_source) / sizeof(colortable_source[0]))
H A Dskydiver.c98 static unsigned short colortable_source[] = variable
112 memcpy(colortable,colortable_source,sizeof(colortable_source)); in PALETTE_INIT()
356 MDRV_COLORTABLE_LENGTH(sizeof(colortable_source) / sizeof(colortable_source[0]))
H A Dnitedrvr.c69 static unsigned short colortable_source[] = variable
81 memcpy(colortable,colortable_source,sizeof(colortable_source)); in PALETTE_INIT()
389 MDRV_COLORTABLE_LENGTH(sizeof(colortable_source) / sizeof(colortable_source[0]))
H A Dsubs.c32 static unsigned short colortable_source[] = variable
44 memcpy(colortable,colortable_source,sizeof(colortable_source)); in PALETTE_INIT()
325 MDRV_COLORTABLE_LENGTH(sizeof(colortable_source) / sizeof(colortable_source[0])) in DISCRETE_MULTIPLY()
H A Dredalert.c306 static unsigned short colortable_source[] = variable
336 memcpy(colortable,colortable_source,sizeof(colortable_source)); in PALETTE_INIT()
388 MDRV_COLORTABLE_LENGTH(sizeof(colortable_source) / sizeof(colortable_source[0]))
447 MDRV_COLORTABLE_LENGTH(sizeof(colortable_source) / sizeof(colortable_source[0]))
H A Dspcforce.c233 static unsigned short colortable_source[] = variable
249 memcpy(colortable,colortable_source,sizeof(colortable_source)); in PALETTE_INIT()
282 MDRV_COLORTABLE_LENGTH(sizeof(colortable_source) / sizeof(colortable_source[0]))
H A Dultratnk.c33 static unsigned short colortable_source[] = variable
47 memcpy(colortable,colortable_source,sizeof(colortable_source)); in PALETTE_INIT()
653 MDRV_COLORTABLE_LENGTH(sizeof(colortable_source)/sizeof(unsigned short))
H A Dstarshp1.c73 static const UINT16 colortable_source[] = in PALETTE_INIT() local
84 memcpy(colortable, colortable_source, sizeof(colortable_source)); in PALETTE_INIT()
/dports/emulators/mess/mame-mame0226/src/mame/drivers/
H A Dskydiver.cpp110 static constexpr unsigned colortable_source[] = variable
121 for (unsigned i = 0; i < ARRAY_LENGTH(colortable_source); i++) in skydiver_palette()
123 assert(colortable_source[i] < ARRAY_LENGTH(colors)); in skydiver_palette()
124 palette.set_pen_color(i, colors[colortable_source[i]]); in skydiver_palette()
381 …PALETTE(config, m_palette, FUNC(skydiver_state::skydiver_palette), ARRAY_LENGTH(colortable_source)… in skydiver()
/dports/emulators/mame/mame-mame0226/src/mame/drivers/
H A Dskydiver.cpp110 static constexpr unsigned colortable_source[] = variable
121 for (unsigned i = 0; i < ARRAY_LENGTH(colortable_source); i++) in skydiver_palette()
123 assert(colortable_source[i] < ARRAY_LENGTH(colors)); in skydiver_palette()
124 palette.set_pen_color(i, colors[colortable_source[i]]); in skydiver_palette()
381 …PALETTE(config, m_palette, FUNC(skydiver_state::skydiver_palette), ARRAY_LENGTH(colortable_source)… in skydiver()

12