diff options
author | 2018-03-03 18:18:08 +0100 | |
---|---|---|
committer | 2018-03-04 04:18:08 +1100 | |
commit | 3b923d59ccb8d2d8e386392518450006f8e644fe (patch) | |
tree | 73c48568e76d69edbde9f96a3f57d173dd05a747 /src/emu/tilemap.cpp | |
parent | 25472091b626bd01ef47f11389a4b2ebe0fc0008 (diff) |
destaticify initializations (nw) (#3289)
* destaticify initializations (nw)
* fix this->set_screen (nw)
Diffstat (limited to 'src/emu/tilemap.cpp')
-rw-r--r-- | src/emu/tilemap.cpp | 81 |
1 files changed, 0 insertions, 81 deletions
diff --git a/src/emu/tilemap.cpp b/src/emu/tilemap.cpp index 3329b98acbe..0b7b748a494 100644 --- a/src/emu/tilemap.cpp +++ b/src/emu/tilemap.cpp @@ -1626,87 +1626,6 @@ tilemap_device::tilemap_device(const machine_config &mconfig, const char *tag, d //------------------------------------------------- -// static_set_gfxdecode_tag: Set the tag of the -// gfx decoder -//------------------------------------------------- - -void tilemap_device::static_set_gfxdecode_tag(device_t &device, const char *tag) -{ - downcast<tilemap_device &>(device).m_gfxdecode.set_tag(tag); -} - - -//------------------------------------------------- -// static_set_bytes_per_entry: Set the -// transparent pen -//------------------------------------------------- - -void tilemap_device::static_set_bytes_per_entry(device_t &device, int bpe) -{ - downcast<tilemap_device &>(device).m_bytes_per_entry = bpe; -} - - -//------------------------------------------------- -// static_set_info_callback: Set the get info -// callback delegate -//------------------------------------------------- - -void tilemap_device::static_set_info_callback(device_t &device, tilemap_get_info_delegate get_info) -{ - downcast<tilemap_device &>(device).m_get_info = get_info; -} - - -//------------------------------------------------- -// static_set_layout: Set the tilemap size and -// layout -//------------------------------------------------- - -void tilemap_device::static_set_layout(device_t &device, tilemap_standard_mapper mapper, u32 columns, u32 rows) -{ - tilemap_device &target = downcast<tilemap_device &>(device); - target.m_standard_mapper = mapper; - target.m_num_columns = columns; - target.m_num_rows = rows; -} - -void tilemap_device::static_set_layout(device_t &device, tilemap_mapper_delegate mapper, u32 columns, u32 rows) -{ - tilemap_device &target = downcast<tilemap_device &>(device); - target.m_standard_mapper = TILEMAP_STANDARD_COUNT; - target.m_mapper = mapper; - target.m_num_columns = columns; - target.m_num_rows = rows; -} - - -//------------------------------------------------- -// static_set_tile_size: Set the tile size -//------------------------------------------------- - -void tilemap_device::static_set_tile_size(device_t &device, u16 width, u16 height) -{ - tilemap_device &target = downcast<tilemap_device &>(device); - target.m_tile_width = width; - target.m_tile_height = height; -} - - -//------------------------------------------------- -// static_set_transparent_pen: Set the -// transparent pen -//------------------------------------------------- - -void tilemap_device::static_set_transparent_pen(device_t &device, pen_t pen) -{ - tilemap_device &target = downcast<tilemap_device &>(device); - target.m_transparent_pen_set = true; - target.m_transparent_pen = pen; -} - - -//------------------------------------------------- // write: Main memory writes //------------------------------------------------- |