Example #1
0
 public static palette16_data get_draw_block_palette_by_view_type(ETileViewType _view_type, palette16_data _default_plt)
 {
     return((_view_type == ETileViewType.tvt_BW) ? zx_alt_palettes[CONST_ZX_PALETTE_BW]:(_view_type == ETileViewType.tvt_Inv_BW) ? zx_alt_palettes[CONST_ZX_PALETTE_INV_BW]:_default_plt);
 }
Example #2
0
 public static uint get_draw_block_flags_by_view_type(ETileViewType _view_type)
 {
     return((_view_type == ETileViewType.tvt_BW) ? CONST_DRAW_BLOCK_FLAGS_BW:(_view_type == ETileViewType.tvt_Inv_BW) ? CONST_DRAW_BLOCK_FLAGS_INV_BW:0);
 }