summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes
diff options
context:
space:
mode:
authorGravatarGravatar AJR <ajrhacker@users.noreply.github.com>2019-08-21 14:09:01 -0400
committerGravatarGravatar AJR <ajrhacker@users.noreply.github.com>2019-08-21 14:09:01 -0400
commit121326f802fc04a70c3e9929f33973ade9c389ee (patch)
tree400f7164e2bfe33680702e50834bcb1845263052 /src/mame/includes
parent084c0472a4f09e8ad9a20294809fbae7de49d562 (diff)
Remove tilemap.h from emu.h (nw)
Diffstat (limited to 'src/mame/includes')
-rw-r--r--src/mame/includes/1942.h1
-rw-r--r--src/mame/includes/1943.h1
-rw-r--r--src/mame/includes/40love.h1
-rw-r--r--src/mame/includes/4enraya.h1
-rw-r--r--src/mame/includes/aeroboto.h1
-rw-r--r--src/mame/includes/aerofgt.h1
-rw-r--r--src/mame/includes/airbustr.h1
-rw-r--r--src/mame/includes/alpha68k.h1
-rw-r--r--src/mame/includes/ampoker2.h1
-rw-r--r--src/mame/includes/amspdwy.h1
-rw-r--r--src/mame/includes/angelkds.h2
-rw-r--r--src/mame/includes/appoooh.h1
-rw-r--r--src/mame/includes/aquarium.h1
-rw-r--r--src/mame/includes/aquarius.h1
-rw-r--r--src/mame/includes/argus.h1
-rw-r--r--src/mame/includes/arkanoid.h1
-rw-r--r--src/mame/includes/armedf.h1
-rw-r--r--src/mame/includes/ashnojoe.h1
-rw-r--r--src/mame/includes/atarifb.h1
-rw-r--r--src/mame/includes/atarig1.h1
-rw-r--r--src/mame/includes/atarig42.h1
-rw-r--r--src/mame/includes/atarigt.h1
-rw-r--r--src/mame/includes/atarigx2.h1
-rw-r--r--src/mame/includes/atarisy1.h1
-rw-r--r--src/mame/includes/atarisy2.h1
-rw-r--r--src/mame/includes/atetris.h1
-rw-r--r--src/mame/includes/badlands.h1
-rw-r--r--src/mame/includes/bagman.h1
-rw-r--r--src/mame/includes/bankp.h1
-rw-r--r--src/mame/includes/baraduke.h1
-rw-r--r--src/mame/includes/batman.h1
-rw-r--r--src/mame/includes/battlane.h1
-rw-r--r--src/mame/includes/battlex.h1
-rw-r--r--src/mame/includes/bbusters.h1
-rw-r--r--src/mame/includes/bigstrkb.h1
-rw-r--r--src/mame/includes/bking.h1
-rw-r--r--src/mame/includes/blktiger.h1
-rw-r--r--src/mame/includes/blmbycar.h3
-rw-r--r--src/mame/includes/bloodbro.h1
-rw-r--r--src/mame/includes/blstroid.h1
-rw-r--r--src/mame/includes/blueprnt.h1
-rw-r--r--src/mame/includes/bogeyman.h1
-rw-r--r--src/mame/includes/bombjack.h1
-rw-r--r--src/mame/includes/bosco.h1
-rw-r--r--src/mame/includes/brkthru.h1
-rw-r--r--src/mame/includes/bsktball.h1
-rw-r--r--src/mame/includes/bwing.h1
-rw-r--r--src/mame/includes/cabal.h1
-rw-r--r--src/mame/includes/calomega.h1
-rw-r--r--src/mame/includes/canyon.h1
-rw-r--r--src/mame/includes/cave.h1
-rw-r--r--src/mame/includes/cbasebal.h1
-rw-r--r--src/mame/includes/cclimber.h1
-rw-r--r--src/mame/includes/centiped.h1
-rw-r--r--src/mame/includes/chaknpop.h1
-rw-r--r--src/mame/includes/champbas.h1
-rw-r--r--src/mame/includes/cheekyms.h1
-rw-r--r--src/mame/includes/circus.h1
-rw-r--r--src/mame/includes/circusc.h1
-rw-r--r--src/mame/includes/citycon.h1
-rw-r--r--src/mame/includes/cloak.h1
-rw-r--r--src/mame/includes/clshroad.h1
-rw-r--r--src/mame/includes/combatsc.h1
-rw-r--r--src/mame/includes/commando.h1
-rw-r--r--src/mame/includes/compgolf.h1
-rw-r--r--src/mame/includes/contra.h1
-rw-r--r--src/mame/includes/cop01.h1
-rw-r--r--src/mame/includes/cps1.h1
-rw-r--r--src/mame/includes/crbaloon.h1
-rw-r--r--src/mame/includes/crospang.h1
-rw-r--r--src/mame/includes/crshrace.h1
-rw-r--r--src/mame/includes/cyberbal.h1
-rw-r--r--src/mame/includes/cybstorm.h1
-rw-r--r--src/mame/includes/darius.h1
-rw-r--r--src/mame/includes/darkmist.h1
-rw-r--r--src/mame/includes/dbz.h1
-rw-r--r--src/mame/includes/dcon.h1
-rw-r--r--src/mame/includes/dday.h1
-rw-r--r--src/mame/includes/ddragon.h1
-rw-r--r--src/mame/includes/ddragon3.h1
-rw-r--r--src/mame/includes/ddribble.h1
-rw-r--r--src/mame/includes/deadang.h1
-rw-r--r--src/mame/includes/dec8.h1
-rw-r--r--src/mame/includes/decocass.h1
-rw-r--r--src/mame/includes/deniam.h1
-rw-r--r--src/mame/includes/digdug.h1
-rw-r--r--src/mame/includes/divebomb.h1
-rw-r--r--src/mame/includes/djboy.h1
-rw-r--r--src/mame/includes/dkong.h1
-rw-r--r--src/mame/includes/docastle.h1
-rw-r--r--src/mame/includes/dogfgt.h1
-rw-r--r--src/mame/includes/dragrace.h1
-rw-r--r--src/mame/includes/drgnmst.h1
-rw-r--r--src/mame/includes/drmicro.h1
-rw-r--r--src/mame/includes/dynduke.h1
-rw-r--r--src/mame/includes/efdt.h1
-rw-r--r--src/mame/includes/eprom.h1
-rw-r--r--src/mame/includes/equites.h1
-rw-r--r--src/mame/includes/esd16.h1
-rw-r--r--src/mame/includes/espial.h1
-rw-r--r--src/mame/includes/exedexes.h1
-rw-r--r--src/mame/includes/exprraid.h1
-rw-r--r--src/mame/includes/f1gp.h1
-rw-r--r--src/mame/includes/fastfred.h1
-rw-r--r--src/mame/includes/fastlane.h1
-rw-r--r--src/mame/includes/fcombat.h1
-rw-r--r--src/mame/includes/finalizr.h1
-rw-r--r--src/mame/includes/firetrap.h1
-rw-r--r--src/mame/includes/firetrk.h1
-rw-r--r--src/mame/includes/fitfight.h1
-rw-r--r--src/mame/includes/flkatck.h1
-rw-r--r--src/mame/includes/flstory.h1
-rw-r--r--src/mame/includes/foodf.h1
-rw-r--r--src/mame/includes/freekick.h1
-rw-r--r--src/mame/includes/fromanc2.h1
-rw-r--r--src/mame/includes/fromance.h1
-rw-r--r--src/mame/includes/funkybee.h1
-rw-r--r--src/mame/includes/funworld.h1
-rw-r--r--src/mame/includes/funybubl.h1
-rw-r--r--src/mame/includes/fuukifg2.h1
-rw-r--r--src/mame/includes/fuukifg3.h1
-rw-r--r--src/mame/includes/gaelco.h1
-rw-r--r--src/mame/includes/gaelco2.h1
-rw-r--r--src/mame/includes/gaiden.h1
-rw-r--r--src/mame/includes/galaga.h1
-rw-r--r--src/mame/includes/galaxia.h1
-rw-r--r--src/mame/includes/galaxian.h1
-rw-r--r--src/mame/includes/galaxold.h1
-rw-r--r--src/mame/includes/galivan.h1
-rw-r--r--src/mame/includes/gaplus.h1
-rw-r--r--src/mame/includes/gatron.h3
-rw-r--r--src/mame/includes/gauntlet.h1
-rw-r--r--src/mame/includes/gberet.h1
-rw-r--r--src/mame/includes/gcpinbal.h1
-rw-r--r--src/mame/includes/ginganin.h1
-rw-r--r--src/mame/includes/gladiatr.h1
-rw-r--r--src/mame/includes/glass.h1
-rw-r--r--src/mame/includes/gng.h1
-rw-r--r--src/mame/includes/goal92.h1
-rw-r--r--src/mame/includes/goindol.h1
-rw-r--r--src/mame/includes/goldstar.h1
-rw-r--r--src/mame/includes/gomoku.h1
-rw-r--r--src/mame/includes/gotcha.h1
-rw-r--r--src/mame/includes/gottlieb.h1
-rw-r--r--src/mame/includes/gotya.h1
-rw-r--r--src/mame/includes/grchamp.h1
-rw-r--r--src/mame/includes/gsword.h1
-rw-r--r--src/mame/includes/gumbo.h2
-rw-r--r--src/mame/includes/gundealr.h1
-rw-r--r--src/mame/includes/gunsmoke.h1
-rw-r--r--src/mame/includes/gyruss.h1
-rw-r--r--src/mame/includes/hanaawas.h1
-rw-r--r--src/mame/includes/hcastle.h1
-rw-r--r--src/mame/includes/hexion.h1
-rw-r--r--src/mame/includes/higemaru.h1
-rw-r--r--src/mame/includes/himesiki.h1
-rw-r--r--src/mame/includes/hitme.h1
-rw-r--r--src/mame/includes/hng64.h1
-rw-r--r--src/mame/includes/holeland.h1
-rw-r--r--src/mame/includes/homedata.h1
-rw-r--r--src/mame/includes/homerun.h1
-rw-r--r--src/mame/includes/hyperspt.h1
-rw-r--r--src/mame/includes/inufuku.h1
-rw-r--r--src/mame/includes/iqblock.h1
-rw-r--r--src/mame/includes/ironhors.h1
-rw-r--r--src/mame/includes/jack.h1
-rw-r--r--src/mame/includes/jackal.h1
-rw-r--r--src/mame/includes/jailbrek.h1
-rw-r--r--src/mame/includes/karnov.h1
-rw-r--r--src/mame/includes/kchamp.h1
-rw-r--r--src/mame/includes/kickgoal.h1
-rw-r--r--src/mame/includes/kingobox.h1
-rw-r--r--src/mame/includes/klax.h1
-rw-r--r--src/mame/includes/kncljoe.h1
-rw-r--r--src/mame/includes/konamigx.h1
-rw-r--r--src/mame/includes/kopunch.h1
-rw-r--r--src/mame/includes/ksayakyu.h1
-rw-r--r--src/mame/includes/kyugo.h1
-rw-r--r--src/mame/includes/labyrunr.h1
-rw-r--r--src/mame/includes/ladybug.h1
-rw-r--r--src/mame/includes/ladyfrog.h1
-rw-r--r--src/mame/includes/lasso.h1
-rw-r--r--src/mame/includes/lastduel.h1
-rw-r--r--src/mame/includes/legionna.h1
-rw-r--r--src/mame/includes/leland.h1
-rw-r--r--src/mame/includes/lemmings.h1
-rw-r--r--src/mame/includes/liberate.h1
-rw-r--r--src/mame/includes/lkage.h1
-rw-r--r--src/mame/includes/lockon.h1
-rw-r--r--src/mame/includes/lordgun.h1
-rw-r--r--src/mame/includes/lucky74.h1
-rw-r--r--src/mame/includes/lvcards.h1
-rw-r--r--src/mame/includes/lwings.h1
-rw-r--r--src/mame/includes/m10.h1
-rw-r--r--src/mame/includes/m107.h1
-rw-r--r--src/mame/includes/m52.h1
-rw-r--r--src/mame/includes/m57.h1
-rw-r--r--src/mame/includes/m58.h1
-rw-r--r--src/mame/includes/m62.h1
-rw-r--r--src/mame/includes/m72.h1
-rw-r--r--src/mame/includes/m90.h1
-rw-r--r--src/mame/includes/m92.h1
-rw-r--r--src/mame/includes/macrossp.h1
-rw-r--r--src/mame/includes/madalien.h1
-rw-r--r--src/mame/includes/mainsnk.h1
-rw-r--r--src/mame/includes/mappy.h1
-rw-r--r--src/mame/includes/marineb.h1
-rw-r--r--src/mame/includes/mario.h1
-rw-r--r--src/mame/includes/markham.h1
-rw-r--r--src/mame/includes/mcatadv.h1
-rw-r--r--src/mame/includes/mcr.h1
-rw-r--r--src/mame/includes/mcr3.h1
-rw-r--r--src/mame/includes/mcr68.h1
-rw-r--r--src/mame/includes/meadows.h1
-rw-r--r--src/mame/includes/mermaid.h1
-rw-r--r--src/mame/includes/metlclsh.h1
-rw-r--r--src/mame/includes/metro.h1
-rw-r--r--src/mame/includes/microtan.h1
-rw-r--r--src/mame/includes/mikie.h1
-rw-r--r--src/mame/includes/mitchell.h1
-rw-r--r--src/mame/includes/mjkjidai.h1
-rw-r--r--src/mame/includes/model3.h1
-rw-r--r--src/mame/includes/mosaic.h2
-rw-r--r--src/mame/includes/mrdo.h1
-rw-r--r--src/mame/includes/mrjong.h1
-rw-r--r--src/mame/includes/ms32.h1
-rw-r--r--src/mame/includes/msisaac.h1
-rw-r--r--src/mame/includes/mugsmash.h1
-rw-r--r--src/mame/includes/multfish.h1
-rw-r--r--src/mame/includes/mustache.h1
-rw-r--r--src/mame/includes/mystston.h1
-rw-r--r--src/mame/includes/mystwarr.h1
-rw-r--r--src/mame/includes/namcona1.h1
-rw-r--r--src/mame/includes/namcos22.h1
-rw-r--r--src/mame/includes/namcos86.h1
-rw-r--r--src/mame/includes/nemesis.h1
-rw-r--r--src/mame/includes/news.h2
-rw-r--r--src/mame/includes/ninjakd2.h1
-rw-r--r--src/mame/includes/nmk16.h1
-rw-r--r--src/mame/includes/nova2001.h1
-rw-r--r--src/mame/includes/nycaptor.h1
-rw-r--r--src/mame/includes/offtwall.h1
-rw-r--r--src/mame/includes/ohmygod.h1
-rw-r--r--src/mame/includes/ojankohs.h1
-rw-r--r--src/mame/includes/oneshot.h1
-rw-r--r--src/mame/includes/orbit.h1
-rw-r--r--src/mame/includes/osborne1.h1
-rw-r--r--src/mame/includes/pacland.h1
-rw-r--r--src/mame/includes/pacman.h1
-rw-r--r--src/mame/includes/pandoras.h1
-rw-r--r--src/mame/includes/paradise.h1
-rw-r--r--src/mame/includes/pass.h2
-rw-r--r--src/mame/includes/pbaction.h1
-rw-r--r--src/mame/includes/pgm.h1
-rw-r--r--src/mame/includes/pgm2.h1
-rw-r--r--src/mame/includes/phoenix.h1
-rw-r--r--src/mame/includes/pingpong.h1
-rw-r--r--src/mame/includes/pirates.h1
-rw-r--r--src/mame/includes/pitnrun.h1
-rw-r--r--src/mame/includes/playch10.h1
-rw-r--r--src/mame/includes/playmark.h1
-rw-r--r--src/mame/includes/plygonet.h1
-rw-r--r--src/mame/includes/pokechmp.h1
-rw-r--r--src/mame/includes/polepos.h1
-rw-r--r--src/mame/includes/poolshrk.h1
-rw-r--r--src/mame/includes/pooyan.h1
-rw-r--r--src/mame/includes/popeye.h1
-rw-r--r--src/mame/includes/portrait.h1
-rw-r--r--src/mame/includes/powerins.h1
-rw-r--r--src/mame/includes/prehisle.h1
-rw-r--r--src/mame/includes/psikyo.h1
-rw-r--r--src/mame/includes/psychic5.h1
-rw-r--r--src/mame/includes/punchout.h1
-rw-r--r--src/mame/includes/quizdna.h1
-rw-r--r--src/mame/includes/quizpani.h1
-rw-r--r--src/mame/includes/raiden.h1
-rw-r--r--src/mame/includes/raiden2.h1
-rw-r--r--src/mame/includes/rallyx.h1
-rw-r--r--src/mame/includes/realbrk.h1
-rw-r--r--src/mame/includes/redclash.h1
-rw-r--r--src/mame/includes/relief.h1
-rw-r--r--src/mame/includes/renegade.h1
-rw-r--r--src/mame/includes/retofinv.h1
-rw-r--r--src/mame/includes/rocnrope.h1
-rw-r--r--src/mame/includes/rollrace.h1
-rw-r--r--src/mame/includes/rpunch.h1
-rw-r--r--src/mame/includes/runaway.h1
-rw-r--r--src/mame/includes/rungun.h1
-rw-r--r--src/mame/includes/sauro.h1
-rw-r--r--src/mame/includes/sbasketb.h1
-rw-r--r--src/mame/includes/sbugger.h1
-rw-r--r--src/mame/includes/scotrsht.h1
-rw-r--r--src/mame/includes/sderby.h1
-rw-r--r--src/mame/includes/segag80r.h1
-rw-r--r--src/mame/includes/segas32.h1
-rw-r--r--src/mame/includes/seibuspi.h1
-rw-r--r--src/mame/includes/seicross.h1
-rw-r--r--src/mame/includes/senjyo.h1
-rw-r--r--src/mame/includes/seta.h1
-rw-r--r--src/mame/includes/sf.h1
-rw-r--r--src/mame/includes/shadfrce.h1
-rw-r--r--src/mame/includes/shangkid.h1
-rw-r--r--src/mame/includes/shaolins.h1
-rw-r--r--src/mame/includes/shisen.h1
-rw-r--r--src/mame/includes/shootout.h1
-rw-r--r--src/mame/includes/shuuz.h1
-rw-r--r--src/mame/includes/sidearms.h1
-rw-r--r--src/mame/includes/sidepckt.h1
-rw-r--r--src/mame/includes/silkroad.h1
-rw-r--r--src/mame/includes/skullxbo.h1
-rw-r--r--src/mame/includes/skydiver.h1
-rw-r--r--src/mame/includes/skykid.h1
-rw-r--r--src/mame/includes/slapfght.h1
-rw-r--r--src/mame/includes/snk.h1
-rw-r--r--src/mame/includes/snk6502.h1
-rw-r--r--src/mame/includes/snk68.h1
-rw-r--r--src/mame/includes/snookr10.h1
-rw-r--r--src/mame/includes/solomon.h1
-rw-r--r--src/mame/includes/sonson.h1
-rw-r--r--src/mame/includes/spbactn.h1
-rw-r--r--src/mame/includes/spdodgeb.h1
-rw-r--r--src/mame/includes/speedbal.h1
-rw-r--r--src/mame/includes/speedspn.h1
-rw-r--r--src/mame/includes/splash.h1
-rw-r--r--src/mame/includes/sprint2.h1
-rw-r--r--src/mame/includes/sprint4.h1
-rw-r--r--src/mame/includes/sprint8.h1
-rw-r--r--src/mame/includes/srumbler.h1
-rw-r--r--src/mame/includes/sslam.h1
-rw-r--r--src/mame/includes/ssozumo.h1
-rw-r--r--src/mame/includes/ssrj.h1
-rw-r--r--src/mame/includes/ssv.h1
-rw-r--r--src/mame/includes/stadhero.h1
-rw-r--r--src/mame/includes/starshp1.h1
-rw-r--r--src/mame/includes/sub.h1
-rw-r--r--src/mame/includes/suna8.h1
-rw-r--r--src/mame/includes/superqix.h1
-rw-r--r--src/mame/includes/suprloco.h1
-rw-r--r--src/mame/includes/suprnova.h1
-rw-r--r--src/mame/includes/suprridr.h1
-rw-r--r--src/mame/includes/suprslam.h1
-rw-r--r--src/mame/includes/system1.h1
-rw-r--r--src/mame/includes/system16.h1
-rw-r--r--src/mame/includes/tagteam.h1
-rw-r--r--src/mame/includes/tail2nos.h1
-rw-r--r--src/mame/includes/taito_f3.h1
-rw-r--r--src/mame/includes/taito_l.h1
-rw-r--r--src/mame/includes/taitojc.h1
-rw-r--r--src/mame/includes/tank8.h1
-rw-r--r--src/mame/includes/tankbatt.h1
-rw-r--r--src/mame/includes/tankbust.h1
-rw-r--r--src/mame/includes/taotaido.h1
-rw-r--r--src/mame/includes/targeth.h1
-rw-r--r--src/mame/includes/tatsumi.h1
-rw-r--r--src/mame/includes/tbowl.h1
-rw-r--r--src/mame/includes/tceptor.h1
-rw-r--r--src/mame/includes/tecmo.h1
-rw-r--r--src/mame/includes/tecmo16.h1
-rw-r--r--src/mame/includes/tecmosys.h1
-rw-r--r--src/mame/includes/tehkanwc.h1
-rw-r--r--src/mame/includes/terracre.h1
-rw-r--r--src/mame/includes/tetrisp2.h1
-rw-r--r--src/mame/includes/thedeep.h1
-rw-r--r--src/mame/includes/thepit.h1
-rw-r--r--src/mame/includes/thoop2.h1
-rw-r--r--src/mame/includes/thunderj.h1
-rw-r--r--src/mame/includes/tiamc1.h1
-rw-r--r--src/mame/includes/tigeroad.h1
-rw-r--r--src/mame/includes/timelimt.h1
-rw-r--r--src/mame/includes/timeplt.h1
-rw-r--r--src/mame/includes/tmnt.h1
-rw-r--r--src/mame/includes/toaplan1.h1
-rw-r--r--src/mame/includes/toaplan2.h1
-rw-r--r--src/mame/includes/toki.h1
-rw-r--r--src/mame/includes/toobin.h1
-rw-r--r--src/mame/includes/tp84.h1
-rw-r--r--src/mame/includes/trackfld.h1
-rw-r--r--src/mame/includes/travrusa.h1
-rw-r--r--src/mame/includes/triplhnt.h1
-rw-r--r--src/mame/includes/trucocl.h1
-rw-r--r--src/mame/includes/tryout.h1
-rw-r--r--src/mame/includes/tsamurai.h1
-rw-r--r--src/mame/includes/tumbleb.h1
-rw-r--r--src/mame/includes/tunhunt.h1
-rw-r--r--src/mame/includes/turbo.h1
-rw-r--r--src/mame/includes/twin16.h1
-rw-r--r--src/mame/includes/twincobr.h1
-rw-r--r--src/mame/includes/ultratnk.h1
-rw-r--r--src/mame/includes/unico.h1
-rw-r--r--src/mame/includes/vastar.h1
-rw-r--r--src/mame/includes/vball.h1
-rw-r--r--src/mame/includes/videopin.h1
-rw-r--r--src/mame/includes/vindictr.h1
-rw-r--r--src/mame/includes/vulgus.h1
-rw-r--r--src/mame/includes/warpwarp.h1
-rw-r--r--src/mame/includes/wc90.h1
-rw-r--r--src/mame/includes/wc90b.h1
-rw-r--r--src/mame/includes/wecleman.h1
-rw-r--r--src/mame/includes/welltris.h1
-rw-r--r--src/mame/includes/wgp.h1
-rw-r--r--src/mame/includes/williams.h1
-rw-r--r--src/mame/includes/witch.h1
-rw-r--r--src/mame/includes/wrally.h3
-rw-r--r--src/mame/includes/wwfsstar.h1
-rw-r--r--src/mame/includes/x68k.h1
-rw-r--r--src/mame/includes/xain.h1
-rw-r--r--src/mame/includes/xevious.h1
-rw-r--r--src/mame/includes/xorworld.h1
-rw-r--r--src/mame/includes/xxmissio.h1
-rw-r--r--src/mame/includes/xybots.h1
-rw-r--r--src/mame/includes/xyonix.h1
-rw-r--r--src/mame/includes/yiear.h1
-rw-r--r--src/mame/includes/yunsun16.h1
-rw-r--r--src/mame/includes/yunsung8.h1
-rw-r--r--src/mame/includes/zac2650.h1
-rw-r--r--src/mame/includes/zaccaria.h1
-rw-r--r--src/mame/includes/zaxxon.h1
-rw-r--r--src/mame/includes/zerozone.h1
418 files changed, 427 insertions, 2 deletions
diff --git a/src/mame/includes/1942.h b/src/mame/includes/1942.h
index c9b3c8d5a22..18830458fe4 100644
--- a/src/mame/includes/1942.h
+++ b/src/mame/includes/1942.h
@@ -13,6 +13,7 @@
#include "machine/gen_latch.h"
#include "machine/timer.h"
#include "emupal.h"
+#include "tilemap.h"
class _1942_state : public driver_device
{
diff --git a/src/mame/includes/1943.h b/src/mame/includes/1943.h
index a3a91aac59a..208b1bbdf7b 100644
--- a/src/mame/includes/1943.h
+++ b/src/mame/includes/1943.h
@@ -13,6 +13,7 @@
#include "cpu/mcs51/mcs51.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class _1943_state : public driver_device
{
diff --git a/src/mame/includes/40love.h b/src/mame/includes/40love.h
index 574e3e3c0d1..f4699a5a279 100644
--- a/src/mame/includes/40love.h
+++ b/src/mame/includes/40love.h
@@ -11,6 +11,7 @@
#include "sound/ay8910.h"
#include "sound/ta7630.h"
#include "emupal.h"
+#include "tilemap.h"
class fortyl_state : public driver_device
{
diff --git a/src/mame/includes/4enraya.h b/src/mame/includes/4enraya.h
index edd11139ae8..5eebfabf593 100644
--- a/src/mame/includes/4enraya.h
+++ b/src/mame/includes/4enraya.h
@@ -13,6 +13,7 @@
#include "sound/ay8910.h"
#include "emupal.h"
+#include "tilemap.h"
class _4enraya_state : public driver_device
{
diff --git a/src/mame/includes/aeroboto.h b/src/mame/includes/aeroboto.h
index d851db0b32c..b2a2e29453b 100644
--- a/src/mame/includes/aeroboto.h
+++ b/src/mame/includes/aeroboto.h
@@ -11,6 +11,7 @@
#pragma once
#include "emupal.h"
+#include "tilemap.h"
class aeroboto_state : public driver_device
{
diff --git a/src/mame/includes/aerofgt.h b/src/mame/includes/aerofgt.h
index a8f8496fb13..19c6ac112d9 100644
--- a/src/mame/includes/aerofgt.h
+++ b/src/mame/includes/aerofgt.h
@@ -11,6 +11,7 @@
#include "sound/okim6295.h"
#include "sound/upd7759.h"
#include "emupal.h"
+#include "tilemap.h"
class aerofgt_state : public driver_device
{
diff --git a/src/mame/includes/airbustr.h b/src/mame/includes/airbustr.h
index 7a420c8c612..b44e16d0fde 100644
--- a/src/mame/includes/airbustr.h
+++ b/src/mame/includes/airbustr.h
@@ -16,6 +16,7 @@
#include "video/kan_pand.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class airbustr_state : public driver_device
{
diff --git a/src/mame/includes/alpha68k.h b/src/mame/includes/alpha68k.h
index 5ab7d7ced66..e7cecdfbb6a 100644
--- a/src/mame/includes/alpha68k.h
+++ b/src/mame/includes/alpha68k.h
@@ -14,6 +14,7 @@
#include "machine/gen_latch.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class alpha68k_state : public driver_device
{
diff --git a/src/mame/includes/ampoker2.h b/src/mame/includes/ampoker2.h
index 4a5f699cbfe..45c1a4dbc56 100644
--- a/src/mame/includes/ampoker2.h
+++ b/src/mame/includes/ampoker2.h
@@ -7,6 +7,7 @@
#include "machine/watchdog.h"
#include "emupal.h"
+#include "tilemap.h"
class ampoker2_state : public driver_device
{
diff --git a/src/mame/includes/amspdwy.h b/src/mame/includes/amspdwy.h
index f9a8e9ec63e..cbd4bf74ef4 100644
--- a/src/mame/includes/amspdwy.h
+++ b/src/mame/includes/amspdwy.h
@@ -14,6 +14,7 @@
#include "sound/ym2151.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class amspdwy_state : public driver_device
{
diff --git a/src/mame/includes/angelkds.h b/src/mame/includes/angelkds.h
index 94addea45ea..c46f10a6e81 100644
--- a/src/mame/includes/angelkds.h
+++ b/src/mame/includes/angelkds.h
@@ -10,6 +10,8 @@
#pragma once
+#include "tilemap.h"
+
class angelkds_state : public driver_device
{
public:
diff --git a/src/mame/includes/appoooh.h b/src/mame/includes/appoooh.h
index b0f75867c3c..88673f98215 100644
--- a/src/mame/includes/appoooh.h
+++ b/src/mame/includes/appoooh.h
@@ -7,6 +7,7 @@
#include "sound/msm5205.h"
#include "emupal.h"
+#include "tilemap.h"
class appoooh_state : public driver_device
{
diff --git a/src/mame/includes/aquarium.h b/src/mame/includes/aquarium.h
index 16ac7c0fefb..cf2c03e4f48 100644
--- a/src/mame/includes/aquarium.h
+++ b/src/mame/includes/aquarium.h
@@ -11,6 +11,7 @@
#include "video/excellent_spr.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class aquarium_state : public driver_device
{
diff --git a/src/mame/includes/aquarius.h b/src/mame/includes/aquarius.h
index de6f01b28f6..2d8ebfaa678 100644
--- a/src/mame/includes/aquarius.h
+++ b/src/mame/includes/aquarius.h
@@ -22,6 +22,7 @@
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class aquarius_state : public driver_device
diff --git a/src/mame/includes/argus.h b/src/mame/includes/argus.h
index e163fc93d6e..83aac1282eb 100644
--- a/src/mame/includes/argus.h
+++ b/src/mame/includes/argus.h
@@ -5,6 +5,7 @@
#include "video/jalblend.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class argus_state : public driver_device
{
diff --git a/src/mame/includes/arkanoid.h b/src/mame/includes/arkanoid.h
index b901438462c..82a62040406 100644
--- a/src/mame/includes/arkanoid.h
+++ b/src/mame/includes/arkanoid.h
@@ -7,6 +7,7 @@
#include "machine/taito68705interface.h"
#include "emupal.h"
+#include "tilemap.h"
/* This it the best way to allow game specific kludges until the system is fully understood */
enum {
diff --git a/src/mame/includes/armedf.h b/src/mame/includes/armedf.h
index 3702ee2b129..02f8e6c27d7 100644
--- a/src/mame/includes/armedf.h
+++ b/src/mame/includes/armedf.h
@@ -9,6 +9,7 @@
#include "machine/gen_latch.h"
#include "video/bufsprite.h"
#include "emupal.h"
+#include "tilemap.h"
class armedf_state : public driver_device
{
diff --git a/src/mame/includes/ashnojoe.h b/src/mame/includes/ashnojoe.h
index bcbe689ae82..e5b5e669594 100644
--- a/src/mame/includes/ashnojoe.h
+++ b/src/mame/includes/ashnojoe.h
@@ -13,6 +13,7 @@
#include "machine/gen_latch.h"
#include "sound/msm5205.h"
+#include "tilemap.h"
class ashnojoe_state : public driver_device
{
diff --git a/src/mame/includes/atarifb.h b/src/mame/includes/atarifb.h
index bafd63d026b..d3d6ea9b31f 100644
--- a/src/mame/includes/atarifb.h
+++ b/src/mame/includes/atarifb.h
@@ -13,6 +13,7 @@
#include "sound/discrete.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
/* Discrete Sound Input Nodes */
diff --git a/src/mame/includes/atarig1.h b/src/mame/includes/atarig1.h
index cef0d9c29bd..04d31106dca 100644
--- a/src/mame/includes/atarig1.h
+++ b/src/mame/includes/atarig1.h
@@ -11,6 +11,7 @@
#include "machine/atarigen.h"
#include "video/atarirle.h"
#include "cpu/m68000/m68000.h"
+#include "tilemap.h"
class atarig1_state : public atarigen_state
{
diff --git a/src/mame/includes/atarig42.h b/src/mame/includes/atarig42.h
index 56ee8830eea..05f8f6469fe 100644
--- a/src/mame/includes/atarig42.h
+++ b/src/mame/includes/atarig42.h
@@ -16,6 +16,7 @@
#include "cpu/m68000/m68000.h"
#include "machine/adc0808.h"
#include "machine/asic65.h"
+#include "tilemap.h"
class atarig42_state : public atarigen_state
{
diff --git a/src/mame/includes/atarigt.h b/src/mame/includes/atarigt.h
index 06d67b9812d..8add09e4d9d 100644
--- a/src/mame/includes/atarigt.h
+++ b/src/mame/includes/atarigt.h
@@ -11,6 +11,7 @@
#include "machine/atarigen.h"
#include "video/atarirle.h"
#include "emupal.h"
+#include "tilemap.h"
#define CRAM_ENTRIES 0x4000
#define TRAM_ENTRIES 0x4000
diff --git a/src/mame/includes/atarigx2.h b/src/mame/includes/atarigx2.h
index 2bef2eaa7f4..3da9f15394a 100644
--- a/src/mame/includes/atarigx2.h
+++ b/src/mame/includes/atarigx2.h
@@ -15,6 +15,7 @@
#include "machine/atarigen.h"
#include "machine/atarixga.h"
#include "video/atarirle.h"
+#include "tilemap.h"
class atarigx2_state : public atarigen_state
diff --git a/src/mame/includes/atarisy1.h b/src/mame/includes/atarisy1.h
index 1efd96e076d..bbd62b5cf24 100644
--- a/src/mame/includes/atarisy1.h
+++ b/src/mame/includes/atarisy1.h
@@ -19,6 +19,7 @@
#include "sound/ym2151.h"
#include "video/atarimo.h"
#include "emupal.h"
+#include "tilemap.h"
class atarisy1_state : public atarigen_state
{
diff --git a/src/mame/includes/atarisy2.h b/src/mame/includes/atarisy2.h
index f714e366ef2..4be2bb7faf1 100644
--- a/src/mame/includes/atarisy2.h
+++ b/src/mame/includes/atarisy2.h
@@ -17,6 +17,7 @@
#include "sound/tms5220.h"
#include "emupal.h"
#include "slapstic.h"
+#include "tilemap.h"
class atarisy2_state : public atarigen_state
{
diff --git a/src/mame/includes/atetris.h b/src/mame/includes/atetris.h
index a6d8e90fe29..cda95e72691 100644
--- a/src/mame/includes/atetris.h
+++ b/src/mame/includes/atetris.h
@@ -15,6 +15,7 @@
#include "machine/gen_latch.h"
#include "sound/sn76496.h"
#include "screen.h"
+#include "tilemap.h"
class atetris_state : public driver_device
{
diff --git a/src/mame/includes/badlands.h b/src/mame/includes/badlands.h
index 1b45cffd8a9..8c5f7cc8b1c 100644
--- a/src/mame/includes/badlands.h
+++ b/src/mame/includes/badlands.h
@@ -21,6 +21,7 @@
#include "video/atarimo.h"
#include "speaker.h"
+#include "tilemap.h"
/*----------- defined in machine/badlands.cpp -----------*/
diff --git a/src/mame/includes/bagman.h b/src/mame/includes/bagman.h
index 5cd0950f7d8..1973072600b 100644
--- a/src/mame/includes/bagman.h
+++ b/src/mame/includes/bagman.h
@@ -9,6 +9,7 @@
#include "machine/74259.h"
#include "sound/tms5110.h"
#include "emupal.h"
+#include "tilemap.h"
class bagman_state : public driver_device
{
diff --git a/src/mame/includes/bankp.h b/src/mame/includes/bankp.h
index 9d7569c9ba4..bd716183e49 100644
--- a/src/mame/includes/bankp.h
+++ b/src/mame/includes/bankp.h
@@ -11,6 +11,7 @@
#pragma once
#include "emupal.h"
+#include "tilemap.h"
class bankp_state : public driver_device
{
diff --git a/src/mame/includes/baraduke.h b/src/mame/includes/baraduke.h
index a901186185e..b2893b57a69 100644
--- a/src/mame/includes/baraduke.h
+++ b/src/mame/includes/baraduke.h
@@ -8,6 +8,7 @@
#include "cpu/m6800/m6801.h"
#include "sound/namco.h"
#include "emupal.h"
+#include "tilemap.h"
class baraduke_state : public driver_device
{
diff --git a/src/mame/includes/batman.h b/src/mame/includes/batman.h
index 195dd53c1b0..811d410c91b 100644
--- a/src/mame/includes/batman.h
+++ b/src/mame/includes/batman.h
@@ -15,6 +15,7 @@
#include "video/atarivad.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class batman_state : public driver_device
{
diff --git a/src/mame/includes/battlane.h b/src/mame/includes/battlane.h
index 16116cb08e4..25103c5057a 100644
--- a/src/mame/includes/battlane.h
+++ b/src/mame/includes/battlane.h
@@ -7,6 +7,7 @@
***************************************************************************/
#include "emupal.h"
+#include "tilemap.h"
class battlane_state : public driver_device
{
diff --git a/src/mame/includes/battlex.h b/src/mame/includes/battlex.h
index 387a7b4471b..f38fc2606a1 100644
--- a/src/mame/includes/battlex.h
+++ b/src/mame/includes/battlex.h
@@ -7,6 +7,7 @@
***************************************************************************/
#include "emupal.h"
+#include "tilemap.h"
class battlex_state : public driver_device
{
diff --git a/src/mame/includes/bbusters.h b/src/mame/includes/bbusters.h
index d078fe982d0..e0e23fd988c 100644
--- a/src/mame/includes/bbusters.h
+++ b/src/mame/includes/bbusters.h
@@ -8,6 +8,7 @@
#include "machine/gen_latch.h"
#include "video/bufsprite.h"
#include "screen.h"
+#include "tilemap.h"
class bbusters_state_base : public driver_device
{
diff --git a/src/mame/includes/bigstrkb.h b/src/mame/includes/bigstrkb.h
index 78716ec432b..27aedc05d4b 100644
--- a/src/mame/includes/bigstrkb.h
+++ b/src/mame/includes/bigstrkb.h
@@ -6,6 +6,7 @@
#pragma once
#include "emupal.h"
+#include "tilemap.h"
class bigstrkb_state : public driver_device
{
diff --git a/src/mame/includes/bking.h b/src/mame/includes/bking.h
index 2745ec8de13..08ca168388c 100644
--- a/src/mame/includes/bking.h
+++ b/src/mame/includes/bking.h
@@ -10,6 +10,7 @@
#include "machine/input_merger.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class bking_state : public driver_device
{
diff --git a/src/mame/includes/blktiger.h b/src/mame/includes/blktiger.h
index f2dbc03422d..29931735e6a 100644
--- a/src/mame/includes/blktiger.h
+++ b/src/mame/includes/blktiger.h
@@ -13,6 +13,7 @@
#include "cpu/mcs51/mcs51.h"
#include "video/bufsprite.h"
#include "emupal.h"
+#include "tilemap.h"
class blktiger_state : public driver_device
{
diff --git a/src/mame/includes/blmbycar.h b/src/mame/includes/blmbycar.h
index fb7982ff6b5..cb8735713a9 100644
--- a/src/mame/includes/blmbycar.h
+++ b/src/mame/includes/blmbycar.h
@@ -6,8 +6,9 @@
***************************************************************************/
-#include "emupal.h"
#include "video/gaelco_wrally_sprites.h"
+#include "emupal.h"
+#include "tilemap.h"
class blmbycar_state : public driver_device
{
diff --git a/src/mame/includes/bloodbro.h b/src/mame/includes/bloodbro.h
index 8451ef2e3e9..ea83cb37be6 100644
--- a/src/mame/includes/bloodbro.h
+++ b/src/mame/includes/bloodbro.h
@@ -9,6 +9,7 @@
#include "sound/3812intf.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class bloodbro_state : public driver_device, public seibu_sound_common
{
diff --git a/src/mame/includes/blstroid.h b/src/mame/includes/blstroid.h
index 78c48fcbb0c..7f6ef7803aa 100644
--- a/src/mame/includes/blstroid.h
+++ b/src/mame/includes/blstroid.h
@@ -13,6 +13,7 @@
#include "machine/atarigen.h"
#include "audio/atarijsa.h"
#include "video/atarimo.h"
+#include "tilemap.h"
class blstroid_state : public atarigen_state
{
diff --git a/src/mame/includes/blueprnt.h b/src/mame/includes/blueprnt.h
index ac5b38783d0..aba9cf20950 100644
--- a/src/mame/includes/blueprnt.h
+++ b/src/mame/includes/blueprnt.h
@@ -12,6 +12,7 @@
#include "machine/gen_latch.h"
#include "emupal.h"
+#include "tilemap.h"
class blueprnt_state : public driver_device
{
diff --git a/src/mame/includes/bogeyman.h b/src/mame/includes/bogeyman.h
index cbbaafc6c32..93dcb22febb 100644
--- a/src/mame/includes/bogeyman.h
+++ b/src/mame/includes/bogeyman.h
@@ -12,6 +12,7 @@
#include "sound/ay8910.h"
#include "emupal.h"
+#include "tilemap.h"
class bogeyman_state : public driver_device
{
diff --git a/src/mame/includes/bombjack.h b/src/mame/includes/bombjack.h
index b9940c9a041..3ce4bbaaf3e 100644
--- a/src/mame/includes/bombjack.h
+++ b/src/mame/includes/bombjack.h
@@ -12,6 +12,7 @@
#include "machine/gen_latch.h"
#include "emupal.h"
+#include "tilemap.h"
class bombjack_state : public driver_device
{
diff --git a/src/mame/includes/bosco.h b/src/mame/includes/bosco.h
index 81f1d940a08..77eeddae20e 100644
--- a/src/mame/includes/bosco.h
+++ b/src/mame/includes/bosco.h
@@ -6,6 +6,7 @@
#pragma once
#include "galaga.h"
+#include "tilemap.h"
class bosco_state : public galaga_state
{
diff --git a/src/mame/includes/brkthru.h b/src/mame/includes/brkthru.h
index 1db10b0652f..c8fcc491ba0 100644
--- a/src/mame/includes/brkthru.h
+++ b/src/mame/includes/brkthru.h
@@ -12,6 +12,7 @@
#include "machine/gen_latch.h"
#include "emupal.h"
+#include "tilemap.h"
class brkthru_state : public driver_device
{
diff --git a/src/mame/includes/bsktball.h b/src/mame/includes/bsktball.h
index 5ae3792bd25..975be60d772 100644
--- a/src/mame/includes/bsktball.h
+++ b/src/mame/includes/bsktball.h
@@ -13,6 +13,7 @@
#include "machine/timer.h"
#include "sound/discrete.h"
#include "emupal.h"
+#include "tilemap.h"
/* Discrete Sound Input Nodes */
#define BSKTBALL_NOTE_DATA NODE_01
diff --git a/src/mame/includes/bwing.h b/src/mame/includes/bwing.h
index ae637a488a9..9c017d299e2 100644
--- a/src/mame/includes/bwing.h
+++ b/src/mame/includes/bwing.h
@@ -9,6 +9,7 @@
#include "machine/bankdev.h"
#include "machine/gen_latch.h"
#include "emupal.h"
+#include "tilemap.h"
#define BW_DEBUG 0
diff --git a/src/mame/includes/cabal.h b/src/mame/includes/cabal.h
index ec9d7561d91..c3f3a6d8ddf 100644
--- a/src/mame/includes/cabal.h
+++ b/src/mame/includes/cabal.h
@@ -8,6 +8,7 @@
#include "audio/seibu.h"
#include "sound/msm5205.h"
#include "emupal.h"
+#include "tilemap.h"
class cabal_state : public driver_device
{
diff --git a/src/mame/includes/calomega.h b/src/mame/includes/calomega.h
index 491ed7db0dc..721c6563e44 100644
--- a/src/mame/includes/calomega.h
+++ b/src/mame/includes/calomega.h
@@ -9,6 +9,7 @@
#include "machine/6850acia.h"
#include "machine/clock.h"
#include "emupal.h"
+#include "tilemap.h"
class calomega_state : public driver_device
{
diff --git a/src/mame/includes/canyon.h b/src/mame/includes/canyon.h
index 8fc9ce9f167..440db879b0d 100644
--- a/src/mame/includes/canyon.h
+++ b/src/mame/includes/canyon.h
@@ -14,6 +14,7 @@
#include "machine/watchdog.h"
#include "sound/discrete.h"
#include "emupal.h"
+#include "tilemap.h"
/* Discrete Sound Input Nodes */
#define CANYON_MOTOR1_DATA NODE_01
diff --git a/src/mame/includes/cave.h b/src/mame/includes/cave.h
index d4c97b78cb8..5420a40b8b8 100644
--- a/src/mame/includes/cave.h
+++ b/src/mame/includes/cave.h
@@ -17,6 +17,7 @@
#include "sound/okim6295.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class cave_state : public driver_device
{
diff --git a/src/mame/includes/cbasebal.h b/src/mame/includes/cbasebal.h
index 6c8ee6c88d5..fdc500074ff 100644
--- a/src/mame/includes/cbasebal.h
+++ b/src/mame/includes/cbasebal.h
@@ -7,6 +7,7 @@
*************************************************************************/
#include "emupal.h"
+#include "tilemap.h"
class cbasebal_state : public driver_device
{
diff --git a/src/mame/includes/cclimber.h b/src/mame/includes/cclimber.h
index 63689b3d5b9..23b97a39ffd 100644
--- a/src/mame/includes/cclimber.h
+++ b/src/mame/includes/cclimber.h
@@ -9,6 +9,7 @@
#include "machine/gen_latch.h"
#include "machine/segacrpt_device.h"
#include "emupal.h"
+#include "tilemap.h"
class cclimber_state : public driver_device
{
diff --git a/src/mame/includes/centiped.h b/src/mame/includes/centiped.h
index d5cd85fd4b8..c9b57d2c9c8 100644
--- a/src/mame/includes/centiped.h
+++ b/src/mame/includes/centiped.h
@@ -17,6 +17,7 @@
#include "sound/ay8910.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class centiped_state : public driver_device
{
diff --git a/src/mame/includes/chaknpop.h b/src/mame/includes/chaknpop.h
index 76c38a87345..7378a133d95 100644
--- a/src/mame/includes/chaknpop.h
+++ b/src/mame/includes/chaknpop.h
@@ -7,6 +7,7 @@
#include "machine/taito68705interface.h"
#include "emupal.h"
+#include "tilemap.h"
class chaknpop_state : public driver_device
{
diff --git a/src/mame/includes/champbas.h b/src/mame/includes/champbas.h
index 341e3feb601..fe9737411e4 100644
--- a/src/mame/includes/champbas.h
+++ b/src/mame/includes/champbas.h
@@ -15,6 +15,7 @@
#include "machine/timer.h"
#include "machine/watchdog.h"
#include "emupal.h"
+#include "tilemap.h"
class champbas_state : public driver_device
diff --git a/src/mame/includes/cheekyms.h b/src/mame/includes/cheekyms.h
index 47c83df6ed3..0992ecbf486 100644
--- a/src/mame/includes/cheekyms.h
+++ b/src/mame/includes/cheekyms.h
@@ -14,6 +14,7 @@
#include "sound/dac.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class cheekyms_state : public driver_device
{
diff --git a/src/mame/includes/circus.h b/src/mame/includes/circus.h
index 180f7b3aa4f..d081c378530 100644
--- a/src/mame/includes/circus.h
+++ b/src/mame/includes/circus.h
@@ -9,6 +9,7 @@
#include "sound/discrete.h"
#include "sound/samples.h"
#include "emupal.h"
+#include "tilemap.h"
class circus_state : public driver_device
{
diff --git a/src/mame/includes/circusc.h b/src/mame/includes/circusc.h
index ca07104ff9d..892d803c7af 100644
--- a/src/mame/includes/circusc.h
+++ b/src/mame/includes/circusc.h
@@ -14,6 +14,7 @@
#include "sound/sn76496.h"
#include "sound/discrete.h"
#include "emupal.h"
+#include "tilemap.h"
class circusc_state : public driver_device
{
diff --git a/src/mame/includes/citycon.h b/src/mame/includes/citycon.h
index 397bd70d733..575107088a3 100644
--- a/src/mame/includes/citycon.h
+++ b/src/mame/includes/citycon.h
@@ -11,6 +11,7 @@
#pragma once
#include "emupal.h"
+#include "tilemap.h"
class citycon_state : public driver_device
{
diff --git a/src/mame/includes/cloak.h b/src/mame/includes/cloak.h
index 766ed157c4b..42f7c8e3cd5 100644
--- a/src/mame/includes/cloak.h
+++ b/src/mame/includes/cloak.h
@@ -12,6 +12,7 @@
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class cloak_state : public driver_device
{
diff --git a/src/mame/includes/clshroad.h b/src/mame/includes/clshroad.h
index f80f05f4d67..82a8b23df83 100644
--- a/src/mame/includes/clshroad.h
+++ b/src/mame/includes/clshroad.h
@@ -6,6 +6,7 @@
#pragma once
#include "emupal.h"
+#include "tilemap.h"
class clshroad_state : public driver_device
{
diff --git a/src/mame/includes/combatsc.h b/src/mame/includes/combatsc.h
index 798da2fd520..57ac5f6f52f 100644
--- a/src/mame/includes/combatsc.h
+++ b/src/mame/includes/combatsc.h
@@ -16,6 +16,7 @@
#include "video/k007121.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class combatsc_state : public driver_device
{
diff --git a/src/mame/includes/commando.h b/src/mame/includes/commando.h
index 3cbd975fc83..e0810e7494d 100644
--- a/src/mame/includes/commando.h
+++ b/src/mame/includes/commando.h
@@ -12,6 +12,7 @@
#include "video/bufsprite.h"
#include "emupal.h"
+#include "tilemap.h"
class commando_state : public driver_device
{
diff --git a/src/mame/includes/compgolf.h b/src/mame/includes/compgolf.h
index 0c59bb2418a..1f537f56b1f 100644
--- a/src/mame/includes/compgolf.h
+++ b/src/mame/includes/compgolf.h
@@ -11,6 +11,7 @@
#pragma once
#include "emupal.h"
+#include "tilemap.h"
class compgolf_state : public driver_device
{
diff --git a/src/mame/includes/contra.h b/src/mame/includes/contra.h
index 1f6588bec56..a24cd8e5252 100644
--- a/src/mame/includes/contra.h
+++ b/src/mame/includes/contra.h
@@ -13,6 +13,7 @@
#include "video/k007121.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class contra_state : public driver_device
{
diff --git a/src/mame/includes/cop01.h b/src/mame/includes/cop01.h
index ddd5f3acf22..d7bd67d3458 100644
--- a/src/mame/includes/cop01.h
+++ b/src/mame/includes/cop01.h
@@ -13,6 +13,7 @@
#include "machine/gen_latch.h"
#include "machine/nb1412m2.h"
#include "emupal.h"
+#include "tilemap.h"
class cop01_state : public driver_device
{
diff --git a/src/mame/includes/cps1.h b/src/mame/includes/cps1.h
index 21aa62441d0..5bc48968064 100644
--- a/src/mame/includes/cps1.h
+++ b/src/mame/includes/cps1.h
@@ -18,6 +18,7 @@
#include "cpu/m68000/m68000.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
// Video raw params
// measured clocks:
diff --git a/src/mame/includes/crbaloon.h b/src/mame/includes/crbaloon.h
index dac1ac17fc0..46509e6a8e9 100644
--- a/src/mame/includes/crbaloon.h
+++ b/src/mame/includes/crbaloon.h
@@ -13,6 +13,7 @@ Crazy Ballooon
#include "sound/discrete.h"
#include "sound/sn76477.h"
#include "emupal.h"
+#include "tilemap.h"
#define CRBALOON_MASTER_XTAL (XTAL(9'987'000))
diff --git a/src/mame/includes/crospang.h b/src/mame/includes/crospang.h
index c470eeaaab7..e350ebf037d 100644
--- a/src/mame/includes/crospang.h
+++ b/src/mame/includes/crospang.h
@@ -12,6 +12,7 @@
#include "machine/gen_latch.h"
#include "video/decospr.h"
+#include "tilemap.h"
class crospang_state : public driver_device
{
diff --git a/src/mame/includes/crshrace.h b/src/mame/includes/crshrace.h
index 2f7324d7e97..8bead5943f1 100644
--- a/src/mame/includes/crshrace.h
+++ b/src/mame/includes/crshrace.h
@@ -11,6 +11,7 @@
#include "video/vsystem_spr.h"
#include "video/k053936.h"
#include "emupal.h"
+#include "tilemap.h"
class crshrace_state : public driver_device
{
diff --git a/src/mame/includes/cyberbal.h b/src/mame/includes/cyberbal.h
index d330b4cdb14..64b4fd1551d 100644
--- a/src/mame/includes/cyberbal.h
+++ b/src/mame/includes/cyberbal.h
@@ -19,6 +19,7 @@
#include "sound/ym2151.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class cyberbal_base_state : public atarigen_state
{
diff --git a/src/mame/includes/cybstorm.h b/src/mame/includes/cybstorm.h
index 29e741c1a93..c734e67d985 100644
--- a/src/mame/includes/cybstorm.h
+++ b/src/mame/includes/cybstorm.h
@@ -14,6 +14,7 @@
#include "machine/bankdev.h"
#include "video/atarivad.h"
#include "screen.h"
+#include "tilemap.h"
class cybstorm_state : public driver_device
diff --git a/src/mame/includes/darius.h b/src/mame/includes/darius.h
index a5f8671bc46..500c2ea9bdc 100644
--- a/src/mame/includes/darius.h
+++ b/src/mame/includes/darius.h
@@ -14,6 +14,7 @@
#include "sound/msm5205.h"
#include "video/pc080sn.h"
#include "emupal.h"
+#include "tilemap.h"
#define VOL_MAX (3 * 2 + 2)
#define PAN_MAX (2 + 2 + 1) /* FM 2port + PSG 2port + DA 1port */
diff --git a/src/mame/includes/darkmist.h b/src/mame/includes/darkmist.h
index 44335380090..1516ec41c17 100644
--- a/src/mame/includes/darkmist.h
+++ b/src/mame/includes/darkmist.h
@@ -9,6 +9,7 @@
#include "machine/timer.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class darkmist_state : public driver_device
{
diff --git a/src/mame/includes/dbz.h b/src/mame/includes/dbz.h
index 464639852c1..3f2b7b99de6 100644
--- a/src/mame/includes/dbz.h
+++ b/src/mame/includes/dbz.h
@@ -18,6 +18,7 @@
#include "video/k053936.h"
#include "video/k053251.h"
#include "video/konami_helper.h"
+#include "tilemap.h"
class dbz_state : public driver_device
{
diff --git a/src/mame/includes/dcon.h b/src/mame/includes/dcon.h
index 029a73e3fa7..54ef3c3bf05 100644
--- a/src/mame/includes/dcon.h
+++ b/src/mame/includes/dcon.h
@@ -7,6 +7,7 @@
#include "audio/seibu.h"
#include "emupal.h"
+#include "tilemap.h"
class dcon_state : public driver_device, public seibu_sound_common
{
diff --git a/src/mame/includes/dday.h b/src/mame/includes/dday.h
index 21be46f3479..8f163343ac0 100644
--- a/src/mame/includes/dday.h
+++ b/src/mame/includes/dday.h
@@ -13,6 +13,7 @@
#include "emupal.h"
#include "screen.h"
#include "sound/ay8910.h"
+#include "tilemap.h"
class dday_state : public driver_device
diff --git a/src/mame/includes/ddragon.h b/src/mame/includes/ddragon.h
index db4a5313ee2..bf659d5dd82 100644
--- a/src/mame/includes/ddragon.h
+++ b/src/mame/includes/ddragon.h
@@ -17,6 +17,7 @@
#include "sound/msm5205.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class ddragon_state : public driver_device
diff --git a/src/mame/includes/ddragon3.h b/src/mame/includes/ddragon3.h
index 394fba2b248..686f77c26e5 100644
--- a/src/mame/includes/ddragon3.h
+++ b/src/mame/includes/ddragon3.h
@@ -17,6 +17,7 @@
#include "video/bufsprite.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class ddragon3_state : public driver_device
diff --git a/src/mame/includes/ddribble.h b/src/mame/includes/ddribble.h
index c6067a32389..45d1a7d88ae 100644
--- a/src/mame/includes/ddribble.h
+++ b/src/mame/includes/ddribble.h
@@ -13,6 +13,7 @@
#include "sound/flt_rc.h"
#include "sound/vlm5030.h"
#include "emupal.h"
+#include "tilemap.h"
class ddribble_state : public driver_device
{
diff --git a/src/mame/includes/deadang.h b/src/mame/includes/deadang.h
index 23a880b08c4..2ee6c6aa4b8 100644
--- a/src/mame/includes/deadang.h
+++ b/src/mame/includes/deadang.h
@@ -10,6 +10,7 @@
#include "sound/ym2151.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class deadang_state : public driver_device
{
diff --git a/src/mame/includes/dec8.h b/src/mame/includes/dec8.h
index f3a1ea0c225..761658e0a98 100644
--- a/src/mame/includes/dec8.h
+++ b/src/mame/includes/dec8.h
@@ -15,6 +15,7 @@
#include "video/decmxc06.h"
#include "video/decrmc3.h"
#include "screen.h"
+#include "tilemap.h"
class dec8_state : public driver_device
{
diff --git a/src/mame/includes/decocass.h b/src/mame/includes/decocass.h
index 4db894b4a30..6efe74ffc17 100644
--- a/src/mame/includes/decocass.h
+++ b/src/mame/includes/decocass.h
@@ -19,6 +19,7 @@
#include "cpu/mcs48/mcs48.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
#define T1PROM 1
#define T1DIRECT 2
diff --git a/src/mame/includes/deniam.h b/src/mame/includes/deniam.h
index 1f8e2dbb696..b491d49133d 100644
--- a/src/mame/includes/deniam.h
+++ b/src/mame/includes/deniam.h
@@ -10,6 +10,7 @@
#include "machine/gen_latch.h"
#include "sound/okim6295.h"
#include "emupal.h"
+#include "tilemap.h"
class deniam_state : public driver_device
{
diff --git a/src/mame/includes/digdug.h b/src/mame/includes/digdug.h
index 40a5d85416b..9c7258544a6 100644
--- a/src/mame/includes/digdug.h
+++ b/src/mame/includes/digdug.h
@@ -6,6 +6,7 @@
#pragma once
#include "machine/er2055.h"
+#include "tilemap.h"
class digdug_state : public galaga_state
{
diff --git a/src/mame/includes/divebomb.h b/src/mame/includes/divebomb.h
index b4bb739fafa..8ad9025236a 100644
--- a/src/mame/includes/divebomb.h
+++ b/src/mame/includes/divebomb.h
@@ -17,6 +17,7 @@
#include "sound/sn76496.h"
#include "video/k051316.h"
#include "emupal.h"
+#include "tilemap.h"
#define XTAL1 XTAL(24'000'000)
diff --git a/src/mame/includes/djboy.h b/src/mame/includes/djboy.h
index 873dadbb918..8c72f1c3d31 100644
--- a/src/mame/includes/djboy.h
+++ b/src/mame/includes/djboy.h
@@ -11,6 +11,7 @@
#include "machine/timer.h"
#include "video/kan_pand.h"
#include "emupal.h"
+#include "tilemap.h"
#define PROT_OUTPUT_BUFFER_SIZE 8
diff --git a/src/mame/includes/dkong.h b/src/mame/includes/dkong.h
index 4f77b975fb4..dfcdc948c3b 100644
--- a/src/mame/includes/dkong.h
+++ b/src/mame/includes/dkong.h
@@ -22,6 +22,7 @@
#include "sound/tms5110.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
/*
diff --git a/src/mame/includes/docastle.h b/src/mame/includes/docastle.h
index dd65ec46835..b099ad6ef67 100644
--- a/src/mame/includes/docastle.h
+++ b/src/mame/includes/docastle.h
@@ -14,6 +14,7 @@
#include "video/mc6845.h"
#include "sound/msm5205.h"
#include "emupal.h"
+#include "tilemap.h"
class docastle_state : public driver_device
{
diff --git a/src/mame/includes/dogfgt.h b/src/mame/includes/dogfgt.h
index 427d5940bf1..1c41ad924ef 100644
--- a/src/mame/includes/dogfgt.h
+++ b/src/mame/includes/dogfgt.h
@@ -8,6 +8,7 @@
#include "sound/ay8910.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
#define PIXMAP_COLOR_BASE (16 + 32)
#define BITMAPRAM_SIZE 0x6000
diff --git a/src/mame/includes/dragrace.h b/src/mame/includes/dragrace.h
index 5ee3b611cfb..80a08bbbf59 100644
--- a/src/mame/includes/dragrace.h
+++ b/src/mame/includes/dragrace.h
@@ -15,6 +15,7 @@
#include "sound/discrete.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
/* Discrete Sound Input Nodes */
#define DRAGRACE_SCREECH1_EN NODE_01
diff --git a/src/mame/includes/drgnmst.h b/src/mame/includes/drgnmst.h
index 6ac2260b005..22f1b34df91 100644
--- a/src/mame/includes/drgnmst.h
+++ b/src/mame/includes/drgnmst.h
@@ -8,6 +8,7 @@
#include "cpu/pic16c5x/pic16c5x.h"
#include "sound/okim6295.h"
#include "emupal.h"
+#include "tilemap.h"
class drgnmst_state : public driver_device
{
diff --git a/src/mame/includes/drmicro.h b/src/mame/includes/drmicro.h
index 229a367d423..b4ede40f7ac 100644
--- a/src/mame/includes/drmicro.h
+++ b/src/mame/includes/drmicro.h
@@ -12,6 +12,7 @@
#include "sound/msm5205.h"
#include "emupal.h"
+#include "tilemap.h"
class drmicro_state : public driver_device
{
diff --git a/src/mame/includes/dynduke.h b/src/mame/includes/dynduke.h
index ac93799df10..1f4b6298894 100644
--- a/src/mame/includes/dynduke.h
+++ b/src/mame/includes/dynduke.h
@@ -8,6 +8,7 @@
#include "audio/seibu.h"
#include "video/bufsprite.h"
#include "emupal.h"
+#include "tilemap.h"
class dynduke_state : public driver_device
{
diff --git a/src/mame/includes/efdt.h b/src/mame/includes/efdt.h
index 1993699377a..c8f145bb95c 100644
--- a/src/mame/includes/efdt.h
+++ b/src/mame/includes/efdt.h
@@ -7,6 +7,7 @@
#include "machine/74259.h"
#include "emupal.h"
+#include "tilemap.h"
class efdt_state : public driver_device
diff --git a/src/mame/includes/eprom.h b/src/mame/includes/eprom.h
index 53a76497084..202b1367a7c 100644
--- a/src/mame/includes/eprom.h
+++ b/src/mame/includes/eprom.h
@@ -15,6 +15,7 @@
#include "audio/atarijsa.h"
#include "video/atarimo.h"
#include "emupal.h"
+#include "tilemap.h"
class eprom_state : public atarigen_state
{
diff --git a/src/mame/includes/equites.h b/src/mame/includes/equites.h
index b7b32ec1167..139b6a1965e 100644
--- a/src/mame/includes/equites.h
+++ b/src/mame/includes/equites.h
@@ -21,6 +21,7 @@
#include "sound/samples.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class equites_state : public driver_device
diff --git a/src/mame/includes/esd16.h b/src/mame/includes/esd16.h
index 62682d3f280..3a4dad4d109 100644
--- a/src/mame/includes/esd16.h
+++ b/src/mame/includes/esd16.h
@@ -13,6 +13,7 @@
#include "machine/eepromser.h"
#include "machine/gen_latch.h"
#include "video/decospr.h"
+#include "tilemap.h"
class esd16_state : public driver_device
{
diff --git a/src/mame/includes/espial.h b/src/mame/includes/espial.h
index 0e04ab984dd..e6cefe3b371 100644
--- a/src/mame/includes/espial.h
+++ b/src/mame/includes/espial.h
@@ -14,6 +14,7 @@
#include "machine/gen_latch.h"
#include "machine/timer.h"
#include "emupal.h"
+#include "tilemap.h"
class espial_state : public driver_device
{
diff --git a/src/mame/includes/exedexes.h b/src/mame/includes/exedexes.h
index 6a010e5dd1c..6892ca4d757 100644
--- a/src/mame/includes/exedexes.h
+++ b/src/mame/includes/exedexes.h
@@ -13,6 +13,7 @@
#include "machine/timer.h"
#include "video/bufsprite.h"
#include "emupal.h"
+#include "tilemap.h"
class exedexes_state : public driver_device
{
diff --git a/src/mame/includes/exprraid.h b/src/mame/includes/exprraid.h
index 14e625448e8..7ca44eb3d04 100644
--- a/src/mame/includes/exprraid.h
+++ b/src/mame/includes/exprraid.h
@@ -8,6 +8,7 @@
#include "machine/gen_latch.h"
#include "emupal.h"
+#include "tilemap.h"
class exprraid_state : public driver_device
{
diff --git a/src/mame/includes/f1gp.h b/src/mame/includes/f1gp.h
index a9f9a7d17e0..44ceb7b01a1 100644
--- a/src/mame/includes/f1gp.h
+++ b/src/mame/includes/f1gp.h
@@ -11,6 +11,7 @@
#include "video/vsystem_spr2.h"
#include "video/k053936.h"
#include "emupal.h"
+#include "tilemap.h"
class f1gp_state : public driver_device
{
diff --git a/src/mame/includes/fastfred.h b/src/mame/includes/fastfred.h
index 8e62cd2cbce..0a5efe8377b 100644
--- a/src/mame/includes/fastfred.h
+++ b/src/mame/includes/fastfred.h
@@ -13,6 +13,7 @@
#include "machine/74259.h"
#include "includes/galaxold.h"
+#include "tilemap.h"
class fastfred_state : public galaxold_state
{
diff --git a/src/mame/includes/fastlane.h b/src/mame/includes/fastlane.h
index 3772b09035f..dd139c48f47 100644
--- a/src/mame/includes/fastlane.h
+++ b/src/mame/includes/fastlane.h
@@ -16,6 +16,7 @@
#include "video/k051733.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class fastlane_state : public driver_device
{
diff --git a/src/mame/includes/fcombat.h b/src/mame/includes/fcombat.h
index 33832d0d5b4..160c3188016 100644
--- a/src/mame/includes/fcombat.h
+++ b/src/mame/includes/fcombat.h
@@ -6,6 +6,7 @@
#pragma once
#include "emupal.h"
+#include "tilemap.h"
// this is copied from Exerion, but it should be correct
diff --git a/src/mame/includes/finalizr.h b/src/mame/includes/finalizr.h
index 8124ba3af56..d5e09023f6b 100644
--- a/src/mame/includes/finalizr.h
+++ b/src/mame/includes/finalizr.h
@@ -13,6 +13,7 @@
#include "cpu/mcs48/mcs48.h"
#include "machine/timer.h"
#include "emupal.h"
+#include "tilemap.h"
class finalizr_state : public driver_device
{
diff --git a/src/mame/includes/firetrap.h b/src/mame/includes/firetrap.h
index fcdaacaa3ab..e43f0016fca 100644
--- a/src/mame/includes/firetrap.h
+++ b/src/mame/includes/firetrap.h
@@ -14,6 +14,7 @@
#include "machine/gen_latch.h"
#include "sound/msm5205.h"
#include "emupal.h"
+#include "tilemap.h"
class firetrap_state : public driver_device
{
diff --git a/src/mame/includes/firetrk.h b/src/mame/includes/firetrk.h
index 958f3068b14..447e7cb6e98 100644
--- a/src/mame/includes/firetrk.h
+++ b/src/mame/includes/firetrk.h
@@ -15,6 +15,7 @@ Atari Fire Truck + Super Bug + Monte Carlo driver
#include "sound/discrete.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
#define FIRETRUCK_MOTOR_DATA NODE_01
#define FIRETRUCK_HORN_EN NODE_02
diff --git a/src/mame/includes/fitfight.h b/src/mame/includes/fitfight.h
index bc5d61da401..2a4fe86a4b0 100644
--- a/src/mame/includes/fitfight.h
+++ b/src/mame/includes/fitfight.h
@@ -6,6 +6,7 @@
#pragma once
#include "emupal.h"
+#include "tilemap.h"
class fitfight_state : public driver_device
{
diff --git a/src/mame/includes/flkatck.h b/src/mame/includes/flkatck.h
index f2b8eef0201..46232fe7366 100644
--- a/src/mame/includes/flkatck.h
+++ b/src/mame/includes/flkatck.h
@@ -14,6 +14,7 @@
#include "machine/watchdog.h"
#include "sound/k007232.h"
#include "video/k007121.h"
+#include "tilemap.h"
class flkatck_state : public driver_device
{
diff --git a/src/mame/includes/flstory.h b/src/mame/includes/flstory.h
index daca51946ef..c1a101d43e2 100644
--- a/src/mame/includes/flstory.h
+++ b/src/mame/includes/flstory.h
@@ -12,6 +12,7 @@
#include "sound/ta7630.h"
#include "sound/ay8910.h"
#include "emupal.h"
+#include "tilemap.h"
class flstory_state : public driver_device
{
diff --git a/src/mame/includes/foodf.h b/src/mame/includes/foodf.h
index fe615016523..7a4d2c03695 100644
--- a/src/mame/includes/foodf.h
+++ b/src/mame/includes/foodf.h
@@ -14,6 +14,7 @@
#include "machine/x2212.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class foodf_state : public driver_device
{
diff --git a/src/mame/includes/freekick.h b/src/mame/includes/freekick.h
index da360babc90..c7ecc6d8397 100644
--- a/src/mame/includes/freekick.h
+++ b/src/mame/includes/freekick.h
@@ -3,6 +3,7 @@
#include "machine/74259.h"
#include "emupal.h"
+#include "tilemap.h"
class freekick_state : public driver_device
{
diff --git a/src/mame/includes/fromanc2.h b/src/mame/includes/fromanc2.h
index 6bf0456c7f2..627dabf0362 100644
--- a/src/mame/includes/fromanc2.h
+++ b/src/mame/includes/fromanc2.h
@@ -9,6 +9,7 @@
#include "machine/eepromser.h"
#include "machine/ins8250.h"
#include "emupal.h"
+#include "tilemap.h"
class fromanc2_state : public driver_device
{
diff --git a/src/mame/includes/fromance.h b/src/mame/includes/fromance.h
index 31894d52cd1..7f15cd564b6 100644
--- a/src/mame/includes/fromance.h
+++ b/src/mame/includes/fromance.h
@@ -19,6 +19,7 @@
#include "video/vsystem_spr2.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class fromance_state : public driver_device
{
diff --git a/src/mame/includes/funkybee.h b/src/mame/includes/funkybee.h
index d650e58ea71..a90b285b836 100644
--- a/src/mame/includes/funkybee.h
+++ b/src/mame/includes/funkybee.h
@@ -7,6 +7,7 @@
#include "machine/watchdog.h"
#include "emupal.h"
+#include "tilemap.h"
class funkybee_state : public driver_device
diff --git a/src/mame/includes/funworld.h b/src/mame/includes/funworld.h
index 752ebc2173b..7168d56c7ee 100644
--- a/src/mame/includes/funworld.h
+++ b/src/mame/includes/funworld.h
@@ -9,6 +9,7 @@
#include "machine/i2cmem.h"
#include "sound/ay8910.h"
#include "video/mc6845.h"
+#include "tilemap.h"
class funworld_state : public driver_device
{
diff --git a/src/mame/includes/funybubl.h b/src/mame/includes/funybubl.h
index ce65a1e8173..3283ee71f85 100644
--- a/src/mame/includes/funybubl.h
+++ b/src/mame/includes/funybubl.h
@@ -9,6 +9,7 @@
#include "machine/gen_latch.h"
#include "sound/okim6295.h"
#include "emupal.h"
+#include "tilemap.h"
class funybubl_state : public driver_device
{
diff --git a/src/mame/includes/fuukifg2.h b/src/mame/includes/fuukifg2.h
index 9ee6d47b03f..402a6e01641 100644
--- a/src/mame/includes/fuukifg2.h
+++ b/src/mame/includes/fuukifg2.h
@@ -10,6 +10,7 @@
#include "video/fuukifg.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class fuuki16_state : public driver_device
{
diff --git a/src/mame/includes/fuukifg3.h b/src/mame/includes/fuukifg3.h
index 562dc760d8e..08c37caae04 100644
--- a/src/mame/includes/fuukifg3.h
+++ b/src/mame/includes/fuukifg3.h
@@ -8,6 +8,7 @@
#include "video/fuukifg.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
/* Define clocks based on actual OSC on the PCB */
diff --git a/src/mame/includes/gaelco.h b/src/mame/includes/gaelco.h
index 8421dade291..4ccec091749 100644
--- a/src/mame/includes/gaelco.h
+++ b/src/mame/includes/gaelco.h
@@ -9,6 +9,7 @@
#include "machine/gen_latch.h"
#include "machine/74259.h"
#include "emupal.h"
+#include "tilemap.h"
class gaelco_state : public driver_device
{
diff --git a/src/mame/includes/gaelco2.h b/src/mame/includes/gaelco2.h
index ccacfef6737..a4a3de25b8b 100644
--- a/src/mame/includes/gaelco2.h
+++ b/src/mame/includes/gaelco2.h
@@ -6,6 +6,7 @@
#include "machine/eepromser.h"
#include "machine/timer.h"
#include "emupal.h"
+#include "tilemap.h"
class gaelco2_state : public driver_device
{
diff --git a/src/mame/includes/gaiden.h b/src/mame/includes/gaiden.h
index 36d7c102c0f..d55a4d38867 100644
--- a/src/mame/includes/gaiden.h
+++ b/src/mame/includes/gaiden.h
@@ -19,6 +19,7 @@
#include "video/tecmo_mix.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class gaiden_state : public driver_device
{
diff --git a/src/mame/includes/galaga.h b/src/mame/includes/galaga.h
index 2a8b3faa780..0256aa94552 100644
--- a/src/mame/includes/galaga.h
+++ b/src/mame/includes/galaga.h
@@ -11,6 +11,7 @@
#include "sound/samples.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class galaga_state : public driver_device
{
diff --git a/src/mame/includes/galaxia.h b/src/mame/includes/galaxia.h
index 08ab94e8fe0..6930f83cb23 100644
--- a/src/mame/includes/galaxia.h
+++ b/src/mame/includes/galaxia.h
@@ -11,6 +11,7 @@
#pragma once
#include "includes/cvs.h"
+#include "tilemap.h"
class galaxia_state : public cvs_state
{
diff --git a/src/mame/includes/galaxian.h b/src/mame/includes/galaxian.h
index a6b7bdef871..c21573a4123 100644
--- a/src/mame/includes/galaxian.h
+++ b/src/mame/includes/galaxian.h
@@ -19,6 +19,7 @@
#include "sound/discrete.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
namespace {
diff --git a/src/mame/includes/galaxold.h b/src/mame/includes/galaxold.h
index 71c91132daf..3a098047430 100644
--- a/src/mame/includes/galaxold.h
+++ b/src/mame/includes/galaxold.h
@@ -20,6 +20,7 @@
#include "machine/timer.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
/* star circuit */
#define STAR_COUNT 252
diff --git a/src/mame/includes/galivan.h b/src/mame/includes/galivan.h
index cb694f624a2..684aba87089 100644
--- a/src/mame/includes/galivan.h
+++ b/src/mame/includes/galivan.h
@@ -15,6 +15,7 @@
#include "machine/gen_latch.h"
#include "video/bufsprite.h"
#include "emupal.h"
+#include "tilemap.h"
class galivan_state : public driver_device
{
diff --git a/src/mame/includes/gaplus.h b/src/mame/includes/gaplus.h
index 3ebef7acebc..74e227dd09f 100644
--- a/src/mame/includes/gaplus.h
+++ b/src/mame/includes/gaplus.h
@@ -10,6 +10,7 @@
#include "machine/namcoio.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class gaplus_base_state : public driver_device
{
diff --git a/src/mame/includes/gatron.h b/src/mame/includes/gatron.h
index a57a25a7a45..82aed496533 100644
--- a/src/mame/includes/gatron.h
+++ b/src/mame/includes/gatron.h
@@ -1,5 +1,8 @@
// license:BSD-3-Clause
// copyright-holders:Roberto Fresca
+
+#include "tilemap.h"
+
class gatron_state : public driver_device
{
public:
diff --git a/src/mame/includes/gauntlet.h b/src/mame/includes/gauntlet.h
index bc547db18d0..cc659577ff3 100644
--- a/src/mame/includes/gauntlet.h
+++ b/src/mame/includes/gauntlet.h
@@ -16,6 +16,7 @@
#include "sound/ym2151.h"
#include "sound/pokey.h"
#include "sound/tms5220.h"
+#include "tilemap.h"
class gauntlet_state : public atarigen_state
{
diff --git a/src/mame/includes/gberet.h b/src/mame/includes/gberet.h
index b4918e2cd96..9ad3e9f220f 100644
--- a/src/mame/includes/gberet.h
+++ b/src/mame/includes/gberet.h
@@ -13,6 +13,7 @@
#include "machine/timer.h"
#include "sound/sn76496.h"
#include "emupal.h"
+#include "tilemap.h"
class gberet_state : public driver_device
{
diff --git a/src/mame/includes/gcpinbal.h b/src/mame/includes/gcpinbal.h
index 5db19303316..87bfeb48dfb 100644
--- a/src/mame/includes/gcpinbal.h
+++ b/src/mame/includes/gcpinbal.h
@@ -13,6 +13,7 @@
#include "emupal.h"
#include "machine/timer.h"
#include "screen.h"
+#include "tilemap.h"
class gcpinbal_state : public driver_device
{
diff --git a/src/mame/includes/ginganin.h b/src/mame/includes/ginganin.h
index b348486f471..8f2123d1b8a 100644
--- a/src/mame/includes/ginganin.h
+++ b/src/mame/includes/ginganin.h
@@ -12,6 +12,7 @@
#include "machine/gen_latch.h"
#include "emupal.h"
+#include "tilemap.h"
class ginganin_state : public driver_device
{
diff --git a/src/mame/includes/gladiatr.h b/src/mame/includes/gladiatr.h
index 93c8dc6e60d..44eb567fc50 100644
--- a/src/mame/includes/gladiatr.h
+++ b/src/mame/includes/gladiatr.h
@@ -7,6 +7,7 @@
#include "cpu/mcs48/mcs48.h"
#include "cpu/z80/z80.h"
#include "emupal.h"
+#include "tilemap.h"
class gladiatr_state_base : public driver_device
diff --git a/src/mame/includes/glass.h b/src/mame/includes/glass.h
index 4c159306386..4f71dcd4f43 100644
--- a/src/mame/includes/glass.h
+++ b/src/mame/includes/glass.h
@@ -8,6 +8,7 @@
#include "machine/74259.h"
#include "emupal.h"
+#include "tilemap.h"
class glass_state : public driver_device
{
diff --git a/src/mame/includes/gng.h b/src/mame/includes/gng.h
index 3905f28b70b..771633c5719 100644
--- a/src/mame/includes/gng.h
+++ b/src/mame/includes/gng.h
@@ -13,6 +13,7 @@
#include "sound/2203intf.h"
#include "video/bufsprite.h"
#include "emupal.h"
+#include "tilemap.h"
class gng_state : public driver_device
{
diff --git a/src/mame/includes/goal92.h b/src/mame/includes/goal92.h
index 294cd88a8ac..635e243f772 100644
--- a/src/mame/includes/goal92.h
+++ b/src/mame/includes/goal92.h
@@ -13,6 +13,7 @@
#include "machine/gen_latch.h"
#include "sound/msm5205.h"
#include "emupal.h"
+#include "tilemap.h"
class goal92_state : public driver_device
{
diff --git a/src/mame/includes/goindol.h b/src/mame/includes/goindol.h
index f475a9df5dc..ab0a40d73b5 100644
--- a/src/mame/includes/goindol.h
+++ b/src/mame/includes/goindol.h
@@ -11,6 +11,7 @@
#pragma once
#include "emupal.h"
+#include "tilemap.h"
class goindol_state : public driver_device
{
diff --git a/src/mame/includes/goldstar.h b/src/mame/includes/goldstar.h
index c746ba56d38..274c58ae52b 100644
--- a/src/mame/includes/goldstar.h
+++ b/src/mame/includes/goldstar.h
@@ -9,6 +9,7 @@
#include "machine/i8255.h"
#include "machine/ticket.h"
#include "emupal.h"
+#include "tilemap.h"
class goldstar_state : public driver_device
diff --git a/src/mame/includes/gomoku.h b/src/mame/includes/gomoku.h
index d97afcd5ba5..619b1962d7f 100644
--- a/src/mame/includes/gomoku.h
+++ b/src/mame/includes/gomoku.h
@@ -7,6 +7,7 @@
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class gomoku_state : public driver_device
{
diff --git a/src/mame/includes/gotcha.h b/src/mame/includes/gotcha.h
index 0b533095761..0ab6aa39e29 100644
--- a/src/mame/includes/gotcha.h
+++ b/src/mame/includes/gotcha.h
@@ -12,6 +12,7 @@
#include "sound/okim6295.h"
#include "video/decospr.h"
+#include "tilemap.h"
class gotcha_state : public driver_device
{
diff --git a/src/mame/includes/gottlieb.h b/src/mame/includes/gottlieb.h
index d0bd03806c7..f0c86f5f0a9 100644
--- a/src/mame/includes/gottlieb.h
+++ b/src/mame/includes/gottlieb.h
@@ -13,6 +13,7 @@
#include "machine/ldpr8210.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
#define GOTTLIEB_VIDEO_HCOUNT 318
diff --git a/src/mame/includes/gotya.h b/src/mame/includes/gotya.h
index b0d388633f7..a5a715cac3c 100644
--- a/src/mame/includes/gotya.h
+++ b/src/mame/includes/gotya.h
@@ -7,6 +7,7 @@
#include "sound/samples.h"
#include "emupal.h"
+#include "tilemap.h"
class gotya_state : public driver_device
{
diff --git a/src/mame/includes/grchamp.h b/src/mame/includes/grchamp.h
index b7b0c0a6b77..5b8525f3931 100644
--- a/src/mame/includes/grchamp.h
+++ b/src/mame/includes/grchamp.h
@@ -15,6 +15,7 @@
#include "sound/discrete.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class grchamp_state : public driver_device
{
diff --git a/src/mame/includes/gsword.h b/src/mame/includes/gsword.h
index fde871a6fad..8067f6b96bd 100644
--- a/src/mame/includes/gsword.h
+++ b/src/mame/includes/gsword.h
@@ -9,6 +9,7 @@
#include "sound/ay8910.h"
#include "sound/msm5205.h"
#include "emupal.h"
+#include "tilemap.h"
class gsword_state_base : public driver_device
{
diff --git a/src/mame/includes/gumbo.h b/src/mame/includes/gumbo.h
index 2b766560396..7462a8073b2 100644
--- a/src/mame/includes/gumbo.h
+++ b/src/mame/includes/gumbo.h
@@ -10,6 +10,8 @@
#pragma once
+#include "tilemap.h"
+
class gumbo_state : public driver_device
{
public:
diff --git a/src/mame/includes/gundealr.h b/src/mame/includes/gundealr.h
index 2bdad732f6b..9fab0d78f11 100644
--- a/src/mame/includes/gundealr.h
+++ b/src/mame/includes/gundealr.h
@@ -8,6 +8,7 @@
#include "machine/timer.h"
#include "emupal.h"
+#include "tilemap.h"
class gundealr_state : public driver_device
{
diff --git a/src/mame/includes/gunsmoke.h b/src/mame/includes/gunsmoke.h
index 6255ee95e27..b47509bd3c4 100644
--- a/src/mame/includes/gunsmoke.h
+++ b/src/mame/includes/gunsmoke.h
@@ -11,6 +11,7 @@
#pragma once
#include "emupal.h"
+#include "tilemap.h"
class gunsmoke_state : public driver_device
{
diff --git a/src/mame/includes/gyruss.h b/src/mame/includes/gyruss.h
index e3ffb3c164e..df368d3530d 100644
--- a/src/mame/includes/gyruss.h
+++ b/src/mame/includes/gyruss.h
@@ -14,6 +14,7 @@
#include "sound/discrete.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class gyruss_state : public driver_device
{
diff --git a/src/mame/includes/hanaawas.h b/src/mame/includes/hanaawas.h
index 75bffa921ab..f0f916efc7d 100644
--- a/src/mame/includes/hanaawas.h
+++ b/src/mame/includes/hanaawas.h
@@ -11,6 +11,7 @@
#pragma once
#include "emupal.h"
+#include "tilemap.h"
class hanaawas_state : public driver_device
{
diff --git a/src/mame/includes/hcastle.h b/src/mame/includes/hcastle.h
index 32e6fc79cbf..f546449a1e9 100644
--- a/src/mame/includes/hcastle.h
+++ b/src/mame/includes/hcastle.h
@@ -14,6 +14,7 @@
#include "sound/k007232.h"
#include "video/k007121.h"
#include "emupal.h"
+#include "tilemap.h"
class hcastle_state : public driver_device
{
diff --git a/src/mame/includes/hexion.h b/src/mame/includes/hexion.h
index a7b53615181..6496eaeaa41 100644
--- a/src/mame/includes/hexion.h
+++ b/src/mame/includes/hexion.h
@@ -8,6 +8,7 @@
#include "machine/k053252.h"
#include "machine/timer.h"
#include "emupal.h"
+#include "tilemap.h"
class hexion_state : public driver_device
{
diff --git a/src/mame/includes/higemaru.h b/src/mame/includes/higemaru.h
index a744663a45b..19a5f7324b0 100644
--- a/src/mame/includes/higemaru.h
+++ b/src/mame/includes/higemaru.h
@@ -12,6 +12,7 @@
#include "machine/timer.h"
#include "emupal.h"
+#include "tilemap.h"
class higemaru_state : public driver_device
{
diff --git a/src/mame/includes/himesiki.h b/src/mame/includes/himesiki.h
index f47fb3a77cd..b5d42e6af77 100644
--- a/src/mame/includes/himesiki.h
+++ b/src/mame/includes/himesiki.h
@@ -13,6 +13,7 @@
#include "machine/gen_latch.h"
#include "emupal.h"
+#include "tilemap.h"
class himesiki_state : public driver_device
{
diff --git a/src/mame/includes/hitme.h b/src/mame/includes/hitme.h
index 88306210ca0..6ad92d4af9f 100644
--- a/src/mame/includes/hitme.h
+++ b/src/mame/includes/hitme.h
@@ -12,6 +12,7 @@
#include "sound/discrete.h"
#include "screen.h"
+#include "tilemap.h"
/* Discrete Sound Input Nodes */
#define HITME_DOWNCOUNT_VAL NODE_01
diff --git a/src/mame/includes/hng64.h b/src/mame/includes/hng64.h
index 2ba112d4d78..6c3d528ca8d 100644
--- a/src/mame/includes/hng64.h
+++ b/src/mame/includes/hng64.h
@@ -15,6 +15,7 @@
#include "machine/mb8421.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
enum hng64trans_t
{
diff --git a/src/mame/includes/holeland.h b/src/mame/includes/holeland.h
index 40e3b0644b9..bb0341abeaa 100644
--- a/src/mame/includes/holeland.h
+++ b/src/mame/includes/holeland.h
@@ -12,6 +12,7 @@
#include "machine/74259.h"
#include "emupal.h"
+#include "tilemap.h"
class holeland_state : public driver_device
{
diff --git a/src/mame/includes/homedata.h b/src/mame/includes/homedata.h
index e767abe4bae..9041a29bdd8 100644
--- a/src/mame/includes/homedata.h
+++ b/src/mame/includes/homedata.h
@@ -10,6 +10,7 @@
#include "sound/sn76496.h"
#include "sound/2203intf.h"
#include "emupal.h"
+#include "tilemap.h"
class homedata_state : public driver_device
{
diff --git a/src/mame/includes/homerun.h b/src/mame/includes/homerun.h
index 4bddc7a73bc..0b953c267df 100644
--- a/src/mame/includes/homerun.h
+++ b/src/mame/includes/homerun.h
@@ -10,6 +10,7 @@
#include "sound/samples.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class homerun_state : public driver_device
{
diff --git a/src/mame/includes/hyperspt.h b/src/mame/includes/hyperspt.h
index d47c670cfa6..9c3bc00839b 100644
--- a/src/mame/includes/hyperspt.h
+++ b/src/mame/includes/hyperspt.h
@@ -12,6 +12,7 @@
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class hyperspt_state : public driver_device
{
diff --git a/src/mame/includes/inufuku.h b/src/mame/includes/inufuku.h
index 4a6e2207f97..6986ee213ba 100644
--- a/src/mame/includes/inufuku.h
+++ b/src/mame/includes/inufuku.h
@@ -6,6 +6,7 @@
#include "video/vsystem_spr.h"
#include "machine/gen_latch.h"
#include "emupal.h"
+#include "tilemap.h"
class inufuku_state : public driver_device
{
diff --git a/src/mame/includes/iqblock.h b/src/mame/includes/iqblock.h
index 2e19c9e830b..57e1ffa5fe8 100644
--- a/src/mame/includes/iqblock.h
+++ b/src/mame/includes/iqblock.h
@@ -6,6 +6,7 @@
#pragma once
#include "machine/timer.h"
+#include "tilemap.h"
class iqblock_state : public driver_device
{
diff --git a/src/mame/includes/ironhors.h b/src/mame/includes/ironhors.h
index 5c9a9e01864..6eea4b11dd7 100644
--- a/src/mame/includes/ironhors.h
+++ b/src/mame/includes/ironhors.h
@@ -15,6 +15,7 @@
#include "sound/discrete.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class ironhors_state : public driver_device
{
diff --git a/src/mame/includes/jack.h b/src/mame/includes/jack.h
index 8192534831f..07e118fb7a6 100644
--- a/src/mame/includes/jack.h
+++ b/src/mame/includes/jack.h
@@ -13,6 +13,7 @@
#include "machine/gen_latch.h"
#include "emupal.h"
+#include "tilemap.h"
class jack_state : public driver_device
{
diff --git a/src/mame/includes/jackal.h b/src/mame/includes/jackal.h
index ad6d7457170..ea420998744 100644
--- a/src/mame/includes/jackal.h
+++ b/src/mame/includes/jackal.h
@@ -7,6 +7,7 @@
#pragma once
#include "emupal.h"
+#include "tilemap.h"
#define MASTER_CLOCK XTAL(18'432'000)
#define SOUND_CLOCK XTAL(3'579'545)
diff --git a/src/mame/includes/jailbrek.h b/src/mame/includes/jailbrek.h
index 44b02339ee0..1ed00e95e2b 100644
--- a/src/mame/includes/jailbrek.h
+++ b/src/mame/includes/jailbrek.h
@@ -12,6 +12,7 @@
#include "sound/vlm5030.h"
#include "emupal.h"
+#include "tilemap.h"
#define MASTER_CLOCK XTAL(18'432'000)
#define VOICE_CLOCK XTAL(3'579'545)
diff --git a/src/mame/includes/karnov.h b/src/mame/includes/karnov.h
index 5744dd30b56..0663838e93a 100644
--- a/src/mame/includes/karnov.h
+++ b/src/mame/includes/karnov.h
@@ -10,6 +10,7 @@
#include "video/bufsprite.h"
#include "video/deckarn.h"
#include "video/decrmc3.h"
+#include "tilemap.h"
class karnov_state : public driver_device
{
diff --git a/src/mame/includes/kchamp.h b/src/mame/includes/kchamp.h
index 3b3a0d1db45..0606ee7c4fb 100644
--- a/src/mame/includes/kchamp.h
+++ b/src/mame/includes/kchamp.h
@@ -16,6 +16,7 @@
#include "sound/msm5205.h"
#include "sound/dac.h"
#include "emupal.h"
+#include "tilemap.h"
class kchamp_state : public driver_device
{
diff --git a/src/mame/includes/kickgoal.h b/src/mame/includes/kickgoal.h
index 10d327a26b1..591e183b99b 100644
--- a/src/mame/includes/kickgoal.h
+++ b/src/mame/includes/kickgoal.h
@@ -15,6 +15,7 @@
#include "machine/gen_latch.h"
#include "sound/okim6295.h"
#include "emupal.h"
+#include "tilemap.h"
class kickgoal_state : public driver_device
{
diff --git a/src/mame/includes/kingobox.h b/src/mame/includes/kingobox.h
index ccd6c86e15f..52ec5871118 100644
--- a/src/mame/includes/kingobox.h
+++ b/src/mame/includes/kingobox.h
@@ -13,6 +13,7 @@
#include "machine/gen_latch.h"
#include "machine/input_merger.h"
#include "emupal.h"
+#include "tilemap.h"
class kingofb_state : public driver_device
{
diff --git a/src/mame/includes/klax.h b/src/mame/includes/klax.h
index 82e9d0a8bfb..f3be41db77c 100644
--- a/src/mame/includes/klax.h
+++ b/src/mame/includes/klax.h
@@ -12,6 +12,7 @@
#include "machine/atarigen.h"
#include "video/atarimo.h"
+#include "tilemap.h"
class klax_state : public atarigen_state
{
diff --git a/src/mame/includes/kncljoe.h b/src/mame/includes/kncljoe.h
index 17820edd036..7f37b00ed00 100644
--- a/src/mame/includes/kncljoe.h
+++ b/src/mame/includes/kncljoe.h
@@ -14,6 +14,7 @@
#include "sound/ay8910.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class kncljoe_state : public driver_device
{
diff --git a/src/mame/includes/konamigx.h b/src/mame/includes/konamigx.h
index 8174e31ca23..26cca5cbced 100644
--- a/src/mame/includes/konamigx.h
+++ b/src/mame/includes/konamigx.h
@@ -19,6 +19,7 @@
#include "video/k055555.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class konamigx_state : public driver_device
{
diff --git a/src/mame/includes/kopunch.h b/src/mame/includes/kopunch.h
index 84e4d99a4db..682c5976a74 100644
--- a/src/mame/includes/kopunch.h
+++ b/src/mame/includes/kopunch.h
@@ -11,6 +11,7 @@
#pragma once
#include "emupal.h"
+#include "tilemap.h"
class kopunch_state : public driver_device
{
diff --git a/src/mame/includes/ksayakyu.h b/src/mame/includes/ksayakyu.h
index 671d7f9957a..f17fdd280fb 100644
--- a/src/mame/includes/ksayakyu.h
+++ b/src/mame/includes/ksayakyu.h
@@ -13,6 +13,7 @@
#include "machine/gen_latch.h"
#include "emupal.h"
+#include "tilemap.h"
class ksayakyu_state : public driver_device
{
diff --git a/src/mame/includes/kyugo.h b/src/mame/includes/kyugo.h
index e9140239f1e..79ed308d3bd 100644
--- a/src/mame/includes/kyugo.h
+++ b/src/mame/includes/kyugo.h
@@ -11,6 +11,7 @@
#pragma once
#include "emupal.h"
+#include "tilemap.h"
class kyugo_state : public driver_device
{
diff --git a/src/mame/includes/labyrunr.h b/src/mame/includes/labyrunr.h
index 144b8c43da4..2e83afbe09b 100644
--- a/src/mame/includes/labyrunr.h
+++ b/src/mame/includes/labyrunr.h
@@ -14,6 +14,7 @@
#include "video/k051733.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class labyrunr_state : public driver_device
{
diff --git a/src/mame/includes/ladybug.h b/src/mame/includes/ladybug.h
index d9924f51948..78f89b580f5 100644
--- a/src/mame/includes/ladybug.h
+++ b/src/mame/includes/ladybug.h
@@ -12,6 +12,7 @@
#include "video/ladybug.h"
#include "emupal.h"
+#include "tilemap.h"
class ladybug_base_state : public driver_device
diff --git a/src/mame/includes/ladyfrog.h b/src/mame/includes/ladyfrog.h
index b8ef2b0638e..9f3c728a2c9 100644
--- a/src/mame/includes/ladyfrog.h
+++ b/src/mame/includes/ladyfrog.h
@@ -13,6 +13,7 @@
#include "machine/gen_latch.h"
#include "sound/msm5232.h"
#include "emupal.h"
+#include "tilemap.h"
class ladyfrog_state : public driver_device
{
diff --git a/src/mame/includes/lasso.h b/src/mame/includes/lasso.h
index 04d3707058c..01406e21540 100644
--- a/src/mame/includes/lasso.h
+++ b/src/mame/includes/lasso.h
@@ -13,6 +13,7 @@
#include "machine/gen_latch.h"
#include "sound/sn76496.h"
#include "emupal.h"
+#include "tilemap.h"
class lasso_state : public driver_device
{
diff --git a/src/mame/includes/lastduel.h b/src/mame/includes/lastduel.h
index 0e59d87106a..2d1494df9db 100644
--- a/src/mame/includes/lastduel.h
+++ b/src/mame/includes/lastduel.h
@@ -14,6 +14,7 @@
#include "machine/timer.h"
#include "video/bufsprite.h"
#include "emupal.h"
+#include "tilemap.h"
class lastduel_state : public driver_device
{
diff --git a/src/mame/includes/legionna.h b/src/mame/includes/legionna.h
index 2a3064559ec..b2e3267444c 100644
--- a/src/mame/includes/legionna.h
+++ b/src/mame/includes/legionna.h
@@ -11,6 +11,7 @@
#include "machine/seibucop/seibucop.h"
#include "video/seibu_crtc.h"
#include "emupal.h"
+#include "tilemap.h"
#include <algorithm>
diff --git a/src/mame/includes/leland.h b/src/mame/includes/leland.h
index c34b3312949..88fed5f9449 100644
--- a/src/mame/includes/leland.h
+++ b/src/mame/includes/leland.h
@@ -15,6 +15,7 @@
#include "sound/ay8910.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
#define LELAND_BATTERY_RAM_SIZE 0x4000
#define ATAXX_EXTRA_TRAM_SIZE 0x800
diff --git a/src/mame/includes/lemmings.h b/src/mame/includes/lemmings.h
index ec8c8e18628..e5c909fa06d 100644
--- a/src/mame/includes/lemmings.h
+++ b/src/mame/includes/lemmings.h
@@ -5,6 +5,7 @@
#include "machine/deco146.h"
#include "machine/gen_latch.h"
#include "emupal.h"
+#include "tilemap.h"
class lemmings_state : public driver_device
{
diff --git a/src/mame/includes/liberate.h b/src/mame/includes/liberate.h
index 20c1760a3d0..e3fe540e7e7 100644
--- a/src/mame/includes/liberate.h
+++ b/src/mame/includes/liberate.h
@@ -7,6 +7,7 @@
#include "machine/gen_latch.h"
#include "emupal.h"
+#include "tilemap.h"
class liberate_state : public driver_device
{
diff --git a/src/mame/includes/lkage.h b/src/mame/includes/lkage.h
index ab4c69b1d9e..dd1eade2765 100644
--- a/src/mame/includes/lkage.h
+++ b/src/mame/includes/lkage.h
@@ -9,6 +9,7 @@
#include "machine/input_merger.h"
#include "machine/taito68705interface.h"
#include "emupal.h"
+#include "tilemap.h"
class lkage_state : public driver_device
{
diff --git a/src/mame/includes/lockon.h b/src/mame/includes/lockon.h
index abdbbe9219c..419e7479e3b 100644
--- a/src/mame/includes/lockon.h
+++ b/src/mame/includes/lockon.h
@@ -14,6 +14,7 @@
#include "sound/flt_vol.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
/* Calculated from CRT controller writes */
#define PIXEL_CLOCK (XTAL(21'000'000) / 3)
diff --git a/src/mame/includes/lordgun.h b/src/mame/includes/lordgun.h
index 57b28249f28..22e0be35d42 100644
--- a/src/mame/includes/lordgun.h
+++ b/src/mame/includes/lordgun.h
@@ -10,6 +10,7 @@
#include "machine/gen_latch.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
struct lordgun_gun_data
{
diff --git a/src/mame/includes/lucky74.h b/src/mame/includes/lucky74.h
index 109e7e6e01c..630f96a2ffc 100644
--- a/src/mame/includes/lucky74.h
+++ b/src/mame/includes/lucky74.h
@@ -7,6 +7,7 @@
#include "sound/msm5205.h"
#include "emupal.h"
+#include "tilemap.h"
class lucky74_state : public driver_device
{
diff --git a/src/mame/includes/lvcards.h b/src/mame/includes/lvcards.h
index bf9d07580a1..90e553d57c1 100644
--- a/src/mame/includes/lvcards.h
+++ b/src/mame/includes/lvcards.h
@@ -6,6 +6,7 @@
#pragma once
#include "emupal.h"
+#include "tilemap.h"
class lvcards_state : public driver_device
{
diff --git a/src/mame/includes/lwings.h b/src/mame/includes/lwings.h
index 192ff10f07d..8cb077bc842 100644
--- a/src/mame/includes/lwings.h
+++ b/src/mame/includes/lwings.h
@@ -5,6 +5,7 @@
#include "machine/gen_latch.h"
#include "sound/msm5205.h"
#include "emupal.h"
+#include "tilemap.h"
class lwings_state : public driver_device
{
diff --git a/src/mame/includes/m10.h b/src/mame/includes/m10.h
index 9ec34e917dd..d2de401cb94 100644
--- a/src/mame/includes/m10.h
+++ b/src/mame/includes/m10.h
@@ -14,6 +14,7 @@
#include "machine/74123.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
#define IREMM10_MASTER_CLOCK (12500000)
diff --git a/src/mame/includes/m107.h b/src/mame/includes/m107.h
index f18573bd514..97ab0fae6e5 100644
--- a/src/mame/includes/m107.h
+++ b/src/mame/includes/m107.h
@@ -16,6 +16,7 @@
#include "video/bufsprite.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
struct pf_layer_info
{
diff --git a/src/mame/includes/m52.h b/src/mame/includes/m52.h
index 8d11a75d229..29893892d0a 100644
--- a/src/mame/includes/m52.h
+++ b/src/mame/includes/m52.h
@@ -7,6 +7,7 @@
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class m52_state : public driver_device
{
diff --git a/src/mame/includes/m57.h b/src/mame/includes/m57.h
index a325bc34830..e15f4549736 100644
--- a/src/mame/includes/m57.h
+++ b/src/mame/includes/m57.h
@@ -6,6 +6,7 @@
#pragma once
#include "emupal.h"
+#include "tilemap.h"
class m57_state : public driver_device
{
diff --git a/src/mame/includes/m58.h b/src/mame/includes/m58.h
index 660a8326b69..05f9b96166b 100644
--- a/src/mame/includes/m58.h
+++ b/src/mame/includes/m58.h
@@ -13,6 +13,7 @@
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class m58_state : public driver_device
{
diff --git a/src/mame/includes/m62.h b/src/mame/includes/m62.h
index 6bb54deaafe..579111838d8 100644
--- a/src/mame/includes/m62.h
+++ b/src/mame/includes/m62.h
@@ -7,6 +7,7 @@
#include "audio/irem.h"
#include "emupal.h"
+#include "tilemap.h"
class m62_state : public driver_device
{
diff --git a/src/mame/includes/m72.h b/src/mame/includes/m72.h
index d5bf12336d3..d1c696b5840 100644
--- a/src/mame/includes/m72.h
+++ b/src/mame/includes/m72.h
@@ -19,6 +19,7 @@
#include "sound/dac.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
#define M81_B_B_JUMPER_J3_S \
PORT_START("JumperJ3") \
diff --git a/src/mame/includes/m90.h b/src/mame/includes/m90.h
index 8425971ce29..bf902d73521 100644
--- a/src/mame/includes/m90.h
+++ b/src/mame/includes/m90.h
@@ -9,6 +9,7 @@
#include "cpu/nec/v25.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class m90_state : public driver_device
{
diff --git a/src/mame/includes/m92.h b/src/mame/includes/m92.h
index 0dcd1dd2043..bf057b6c95e 100644
--- a/src/mame/includes/m92.h
+++ b/src/mame/includes/m92.h
@@ -17,6 +17,7 @@
#include "video/bufsprite.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
struct M92_pf_layer_info
{
diff --git a/src/mame/includes/macrossp.h b/src/mame/includes/macrossp.h
index d08b039c0c7..51458fd6d8d 100644
--- a/src/mame/includes/macrossp.h
+++ b/src/mame/includes/macrossp.h
@@ -14,6 +14,7 @@
#include "machine/gen_latch.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class macrossp_state : public driver_device
{
diff --git a/src/mame/includes/madalien.h b/src/mame/includes/madalien.h
index 473a9f2dc0b..aa675e08a0d 100644
--- a/src/mame/includes/madalien.h
+++ b/src/mame/includes/madalien.h
@@ -15,6 +15,7 @@
#include "machine/gen_latch.h"
#include "sound/discrete.h"
#include "emupal.h"
+#include "tilemap.h"
#define MADALIEN_MAIN_CLOCK XTAL(10'595'000)
diff --git a/src/mame/includes/mainsnk.h b/src/mame/includes/mainsnk.h
index 4711e811236..b83ce24f567 100644
--- a/src/mame/includes/mainsnk.h
+++ b/src/mame/includes/mainsnk.h
@@ -7,6 +7,7 @@
#include "machine/gen_latch.h"
#include "emupal.h"
+#include "tilemap.h"
class mainsnk_state : public driver_device
{
diff --git a/src/mame/includes/mappy.h b/src/mame/includes/mappy.h
index 4137691847a..7a5845b9e28 100644
--- a/src/mame/includes/mappy.h
+++ b/src/mame/includes/mappy.h
@@ -10,6 +10,7 @@
#include "sound/namco.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class mappy_state : public driver_device
{
diff --git a/src/mame/includes/marineb.h b/src/mame/includes/marineb.h
index ed70b14892c..469f212fb95 100644
--- a/src/mame/includes/marineb.h
+++ b/src/mame/includes/marineb.h
@@ -7,6 +7,7 @@
#include "machine/74259.h"
#include "emupal.h"
+#include "tilemap.h"
class marineb_state : public driver_device
{
diff --git a/src/mame/includes/mario.h b/src/mame/includes/mario.h
index 9e490383fba..8d2767477d6 100644
--- a/src/mame/includes/mario.h
+++ b/src/mame/includes/mario.h
@@ -8,6 +8,7 @@
#include "machine/gen_latch.h"
#include "machine/z80dma.h"
#include "emupal.h"
+#include "tilemap.h"
#define OLD_SOUND (0)
diff --git a/src/mame/includes/markham.h b/src/mame/includes/markham.h
index 4e94ddc4390..a8890e473e1 100644
--- a/src/mame/includes/markham.h
+++ b/src/mame/includes/markham.h
@@ -20,6 +20,7 @@
#include "emupal.h"
#include "screen.h"
#include "speaker.h"
+#include "tilemap.h"
class markham_state : public driver_device
{
diff --git a/src/mame/includes/mcatadv.h b/src/mame/includes/mcatadv.h
index 3ba72fcffc9..4e92fdb7838 100644
--- a/src/mame/includes/mcatadv.h
+++ b/src/mame/includes/mcatadv.h
@@ -7,6 +7,7 @@
#include "machine/watchdog.h"
#include "emupal.h"
+#include "tilemap.h"
class mcatadv_state : public driver_device
{
diff --git a/src/mame/includes/mcr.h b/src/mame/includes/mcr.h
index 6205110d251..8276bd32bcf 100644
--- a/src/mame/includes/mcr.h
+++ b/src/mame/includes/mcr.h
@@ -22,6 +22,7 @@
#include "audio/csd.h"
#include "sound/samples.h"
#include "emupal.h"
+#include "tilemap.h"
/* constants */
#define MAIN_OSC_MCR_I XTAL(19'968'000)
diff --git a/src/mame/includes/mcr3.h b/src/mame/includes/mcr3.h
index 3224846502e..14a3129c9c6 100644
--- a/src/mame/includes/mcr3.h
+++ b/src/mame/includes/mcr3.h
@@ -15,6 +15,7 @@
#include "machine/74259.h"
#include "machine/adc0844.h"
#include "screen.h"
+#include "tilemap.h"
class mcr3_state : public mcr_state
{
diff --git a/src/mame/includes/mcr68.h b/src/mame/includes/mcr68.h
index 4e3b6b53f51..00eafc5ea01 100644
--- a/src/mame/includes/mcr68.h
+++ b/src/mame/includes/mcr68.h
@@ -17,6 +17,7 @@
#include "machine/6840ptm.h"
#include "machine/adc0844.h"
#include "screen.h"
+#include "tilemap.h"
class mcr68_state : public driver_device
{
diff --git a/src/mame/includes/meadows.h b/src/mame/includes/meadows.h
index 66bf2262f35..2177fd9e729 100644
--- a/src/mame/includes/meadows.h
+++ b/src/mame/includes/meadows.h
@@ -15,6 +15,7 @@
#include "sound/samples.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class meadows_state : public driver_device
{
diff --git a/src/mame/includes/mermaid.h b/src/mame/includes/mermaid.h
index 6ed14f00197..31d43d03d77 100644
--- a/src/mame/includes/mermaid.h
+++ b/src/mame/includes/mermaid.h
@@ -16,6 +16,7 @@
#include "sound/ay8910.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class mermaid_state : public driver_device
{
diff --git a/src/mame/includes/metlclsh.h b/src/mame/includes/metlclsh.h
index 7f0e22ef7bc..41485c25efd 100644
--- a/src/mame/includes/metlclsh.h
+++ b/src/mame/includes/metlclsh.h
@@ -7,6 +7,7 @@
*************************************************************************/
#include "emupal.h"
+#include "tilemap.h"
class metlclsh_state : public driver_device
{
diff --git a/src/mame/includes/metro.h b/src/mame/includes/metro.h
index c25f3a32a53..37c8f9b2c1e 100644
--- a/src/mame/includes/metro.h
+++ b/src/mame/includes/metro.h
@@ -19,6 +19,7 @@
#include "machine/gen_latch.h"
#include "machine/timer.h"
#include "screen.h"
+#include "tilemap.h"
class metro_state : public driver_device
{
diff --git a/src/mame/includes/microtan.h b/src/mame/includes/microtan.h
index 133278b8a42..4d0d2f899fc 100644
--- a/src/mame/includes/microtan.h
+++ b/src/mame/includes/microtan.h
@@ -25,6 +25,7 @@
#include "machine/timer.h"
#include "bus/tanbus/tanbus.h"
#include "imagedev/snapquik.h"
+#include "tilemap.h"
class microtan_state : public driver_device
{
diff --git a/src/mame/includes/mikie.h b/src/mame/includes/mikie.h
index c58a465ee12..8fb2e8aee04 100644
--- a/src/mame/includes/mikie.h
+++ b/src/mame/includes/mikie.h
@@ -11,6 +11,7 @@
#pragma once
#include "emupal.h"
+#include "tilemap.h"
class mikie_state : public driver_device
{
diff --git a/src/mame/includes/mitchell.h b/src/mame/includes/mitchell.h
index adde1a1fd82..38fa3bbb39f 100644
--- a/src/mame/includes/mitchell.h
+++ b/src/mame/includes/mitchell.h
@@ -14,6 +14,7 @@
#include "sound/msm5205.h"
#include "sound/okim6295.h"
#include "emupal.h"
+#include "tilemap.h"
class mitchell_state : public driver_device
{
diff --git a/src/mame/includes/mjkjidai.h b/src/mame/includes/mjkjidai.h
index 8524ba78051..887c36f6b5c 100644
--- a/src/mame/includes/mjkjidai.h
+++ b/src/mame/includes/mjkjidai.h
@@ -8,6 +8,7 @@
#include "machine/nvram.h"
#include "sound/msm5205.h"
#include "emupal.h"
+#include "tilemap.h"
class mjkjidai_state : public driver_device
{
diff --git a/src/mame/includes/model3.h b/src/mame/includes/model3.h
index 34718b9cdd5..b5055e48af8 100644
--- a/src/mame/includes/model3.h
+++ b/src/mame/includes/model3.h
@@ -18,6 +18,7 @@
#include "machine/timer.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
typedef float MATRIX[4][4];
typedef float VECTOR[4];
diff --git a/src/mame/includes/mosaic.h b/src/mame/includes/mosaic.h
index 094ddaa6c30..e83b3fc902c 100644
--- a/src/mame/includes/mosaic.h
+++ b/src/mame/includes/mosaic.h
@@ -10,6 +10,8 @@
#pragma once
+#include "tilemap.h"
+
class mosaic_state : public driver_device
{
public:
diff --git a/src/mame/includes/mrdo.h b/src/mame/includes/mrdo.h
index 0896d2661c7..377c66dfc61 100644
--- a/src/mame/includes/mrdo.h
+++ b/src/mame/includes/mrdo.h
@@ -11,6 +11,7 @@
#pragma once
#include "emupal.h"
+#include "tilemap.h"
class mrdo_state : public driver_device
{
diff --git a/src/mame/includes/mrjong.h b/src/mame/includes/mrjong.h
index 8e5907c66da..adfd472e028 100644
--- a/src/mame/includes/mrjong.h
+++ b/src/mame/includes/mrjong.h
@@ -11,6 +11,7 @@
#pragma once
#include "emupal.h"
+#include "tilemap.h"
class mrjong_state : public driver_device
{
diff --git a/src/mame/includes/ms32.h b/src/mame/includes/ms32.h
index 2a11409fedb..2e49fc23eba 100644
--- a/src/mame/includes/ms32.h
+++ b/src/mame/includes/ms32.h
@@ -9,6 +9,7 @@
#include "machine/timer.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class ms32_state : public driver_device
{
diff --git a/src/mame/includes/msisaac.h b/src/mame/includes/msisaac.h
index 452dd16432c..eb7129e2bbc 100644
--- a/src/mame/includes/msisaac.h
+++ b/src/mame/includes/msisaac.h
@@ -10,6 +10,7 @@
#include "sound/msm5232.h"
#include "sound/ta7630.h"
#include "emupal.h"
+#include "tilemap.h"
/* Disabled because the mcu dump is currently unavailable. -AS */
//#define USE_MCU
diff --git a/src/mame/includes/mugsmash.h b/src/mame/includes/mugsmash.h
index a0f7a40631c..6622876f9a9 100644
--- a/src/mame/includes/mugsmash.h
+++ b/src/mame/includes/mugsmash.h
@@ -3,6 +3,7 @@
#include "machine/gen_latch.h"
#include "emupal.h"
+#include "tilemap.h"
class mugsmash_state : public driver_device
{
diff --git a/src/mame/includes/multfish.h b/src/mame/includes/multfish.h
index 1f0b5e28303..fadec1b8efe 100644
--- a/src/mame/includes/multfish.h
+++ b/src/mame/includes/multfish.h
@@ -10,6 +10,7 @@
#include "machine/ticket.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
#define igrosoft_gamble_ROM_SIZE 0x80000
#define igrosoft_gamble_VIDRAM_SIZE (0x2000*0x04)
diff --git a/src/mame/includes/mustache.h b/src/mame/includes/mustache.h
index 852843dd6bb..25f8d451377 100644
--- a/src/mame/includes/mustache.h
+++ b/src/mame/includes/mustache.h
@@ -9,6 +9,7 @@
#include "machine/timer.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class mustache_state : public driver_device
{
diff --git a/src/mame/includes/mystston.h b/src/mame/includes/mystston.h
index 47fc6636e5e..94bb6d94895 100644
--- a/src/mame/includes/mystston.h
+++ b/src/mame/includes/mystston.h
@@ -11,6 +11,7 @@
#include "sound/ay8910.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
#define MYSTSTON_MASTER_CLOCK (XTAL(12'000'000))
diff --git a/src/mame/includes/mystwarr.h b/src/mame/includes/mystwarr.h
index 7a07c077fcd..e114635a339 100644
--- a/src/mame/includes/mystwarr.h
+++ b/src/mame/includes/mystwarr.h
@@ -10,6 +10,7 @@
#include "video/k054000.h"
#include "machine/k054321.h"
#include "machine/timer.h"
+#include "tilemap.h"
class mystwarr_state : public konamigx_state
{
diff --git a/src/mame/includes/namcona1.h b/src/mame/includes/namcona1.h
index ad06f75aa48..c41bf3349b8 100644
--- a/src/mame/includes/namcona1.h
+++ b/src/mame/includes/namcona1.h
@@ -17,6 +17,7 @@
#include "sound/c140.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class namcona1_state : public driver_device
diff --git a/src/mame/includes/namcos22.h b/src/mame/includes/namcos22.h
index f61174d4457..398385c3cb8 100644
--- a/src/mame/includes/namcos22.h
+++ b/src/mame/includes/namcos22.h
@@ -20,6 +20,7 @@
#include "video/poly.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
enum
{
diff --git a/src/mame/includes/namcos86.h b/src/mame/includes/namcos86.h
index 691c740ad69..8ecfd39b9bf 100644
--- a/src/mame/includes/namcos86.h
+++ b/src/mame/includes/namcos86.h
@@ -10,6 +10,7 @@
#include "sound/n63701x.h"
#include "sound/namco.h"
#include "emupal.h"
+#include "tilemap.h"
class namcos86_state : public driver_device
{
diff --git a/src/mame/includes/nemesis.h b/src/mame/includes/nemesis.h
index c83825ad2fb..3a6ee6fe785 100644
--- a/src/mame/includes/nemesis.h
+++ b/src/mame/includes/nemesis.h
@@ -13,6 +13,7 @@
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class nemesis_state : public driver_device
diff --git a/src/mame/includes/news.h b/src/mame/includes/news.h
index 257c4559361..efebee554d7 100644
--- a/src/mame/includes/news.h
+++ b/src/mame/includes/news.h
@@ -5,6 +5,8 @@
#pragma once
+#include "tilemap.h"
+
class news_state : public driver_device
{
public:
diff --git a/src/mame/includes/ninjakd2.h b/src/mame/includes/ninjakd2.h
index 5df65126962..4df0adb69cc 100644
--- a/src/mame/includes/ninjakd2.h
+++ b/src/mame/includes/ninjakd2.h
@@ -13,6 +13,7 @@
#include "sound/samples.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class ninjakd2_state : public driver_device
{
diff --git a/src/mame/includes/nmk16.h b/src/mame/includes/nmk16.h
index def0caf7585..6ca71cf63e9 100644
--- a/src/mame/includes/nmk16.h
+++ b/src/mame/includes/nmk16.h
@@ -13,6 +13,7 @@
#include "sound/okim6295.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class nmk16_state : public driver_device, public seibu_sound_common
{
diff --git a/src/mame/includes/nova2001.h b/src/mame/includes/nova2001.h
index e63b8116496..75fd4b41786 100644
--- a/src/mame/includes/nova2001.h
+++ b/src/mame/includes/nova2001.h
@@ -7,6 +7,7 @@
#include "cpu/z80/z80.h"
#include "emupal.h"
+#include "tilemap.h"
class nova2001_state : public driver_device
{
diff --git a/src/mame/includes/nycaptor.h b/src/mame/includes/nycaptor.h
index f99bc09b840..80f35592eec 100644
--- a/src/mame/includes/nycaptor.h
+++ b/src/mame/includes/nycaptor.h
@@ -10,6 +10,7 @@
#include "sound/msm5232.h"
#include "machine/taito68705interface.h"
#include "emupal.h"
+#include "tilemap.h"
class nycaptor_state : public driver_device
{
diff --git a/src/mame/includes/offtwall.h b/src/mame/includes/offtwall.h
index cb068fdb889..6c25fd48750 100644
--- a/src/mame/includes/offtwall.h
+++ b/src/mame/includes/offtwall.h
@@ -14,6 +14,7 @@
#include "video/atarimo.h"
#include "video/atarivad.h"
#include "screen.h"
+#include "tilemap.h"
class offtwall_state : public driver_device
{
diff --git a/src/mame/includes/ohmygod.h b/src/mame/includes/ohmygod.h
index c10fd682a58..3376bd5e55c 100644
--- a/src/mame/includes/ohmygod.h
+++ b/src/mame/includes/ohmygod.h
@@ -11,6 +11,7 @@
#pragma once
#include "emupal.h"
+#include "tilemap.h"
class ohmygod_state : public driver_device
{
diff --git a/src/mame/includes/ojankohs.h b/src/mame/includes/ojankohs.h
index c70a5a10e8c..a51ec147091 100644
--- a/src/mame/includes/ojankohs.h
+++ b/src/mame/includes/ojankohs.h
@@ -13,6 +13,7 @@
#include "sound/msm5205.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class ojankohs_state : public driver_device
{
diff --git a/src/mame/includes/oneshot.h b/src/mame/includes/oneshot.h
index b38e88fbbbd..5d411762cb5 100644
--- a/src/mame/includes/oneshot.h
+++ b/src/mame/includes/oneshot.h
@@ -7,6 +7,7 @@
#include "sound/okim6295.h"
#include "emupal.h"
+#include "tilemap.h"
class oneshot_state : public driver_device
{
diff --git a/src/mame/includes/orbit.h b/src/mame/includes/orbit.h
index 2f25989efa5..24776a12a2e 100644
--- a/src/mame/includes/orbit.h
+++ b/src/mame/includes/orbit.h
@@ -15,6 +15,7 @@
#include "sound/discrete.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
/* Discrete Sound Input Nodes */
#define ORBIT_NOTE_FREQ NODE_01
diff --git a/src/mame/includes/osborne1.h b/src/mame/includes/osborne1.h
index 5bcfbbceef7..c972e777e16 100644
--- a/src/mame/includes/osborne1.h
+++ b/src/mame/includes/osborne1.h
@@ -28,6 +28,7 @@
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class osborne1_state : public driver_device
diff --git a/src/mame/includes/pacland.h b/src/mame/includes/pacland.h
index c7318b1a482..2598cac9350 100644
--- a/src/mame/includes/pacland.h
+++ b/src/mame/includes/pacland.h
@@ -9,6 +9,7 @@
#include "sound/namco.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class pacland_state : public driver_device
{
diff --git a/src/mame/includes/pacman.h b/src/mame/includes/pacman.h
index da0ccd3c4cd..cefa2fc4b1c 100644
--- a/src/mame/includes/pacman.h
+++ b/src/mame/includes/pacman.h
@@ -9,6 +9,7 @@
#include "machine/watchdog.h"
#include "sound/namco.h"
#include "emupal.h"
+#include "tilemap.h"
/*************************************************************************
diff --git a/src/mame/includes/pandoras.h b/src/mame/includes/pandoras.h
index af483dd4b35..0598d443943 100644
--- a/src/mame/includes/pandoras.h
+++ b/src/mame/includes/pandoras.h
@@ -12,6 +12,7 @@
#include "cpu/mcs48/mcs48.h"
#include "emupal.h"
+#include "tilemap.h"
class pandoras_state : public driver_device
{
diff --git a/src/mame/includes/paradise.h b/src/mame/includes/paradise.h
index 54cd338d76d..6ef945255b9 100644
--- a/src/mame/includes/paradise.h
+++ b/src/mame/includes/paradise.h
@@ -8,6 +8,7 @@
#include "sound/okim6295.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class paradise_state : public driver_device
{
diff --git a/src/mame/includes/pass.h b/src/mame/includes/pass.h
index c27be53d147..8ed2a2ece2c 100644
--- a/src/mame/includes/pass.h
+++ b/src/mame/includes/pass.h
@@ -5,6 +5,8 @@
#pragma once
+#include "tilemap.h"
+
class pass_state : public driver_device
{
public:
diff --git a/src/mame/includes/pbaction.h b/src/mame/includes/pbaction.h
index 3ebc7d442db..c347478a79a 100644
--- a/src/mame/includes/pbaction.h
+++ b/src/mame/includes/pbaction.h
@@ -14,6 +14,7 @@
#include "machine/gen_latch.h"
#include "machine/z80ctc.h"
#include "emupal.h"
+#include "tilemap.h"
class pbaction_state : public driver_device
{
diff --git a/src/mame/includes/pgm.h b/src/mame/includes/pgm.h
index 4e4fa293562..d7f08beb67f 100644
--- a/src/mame/includes/pgm.h
+++ b/src/mame/includes/pgm.h
@@ -20,6 +20,7 @@
#include "machine/v3021.h"
#include "sound/ics2115.h"
#include "emupal.h"
+#include "tilemap.h"
#define PGMARM7LOGERROR 0
diff --git a/src/mame/includes/pgm2.h b/src/mame/includes/pgm2.h
index 6064d5dee5f..276886c7928 100644
--- a/src/mame/includes/pgm2.h
+++ b/src/mame/includes/pgm2.h
@@ -16,6 +16,7 @@
#include "machine/atmel_arm_aic.h"
#include "machine/pgm2_memcard.h"
#include "emupal.h"
+#include "tilemap.h"
struct kov3_module_key
{
diff --git a/src/mame/includes/phoenix.h b/src/mame/includes/phoenix.h
index e66be308575..05c8dce06cb 100644
--- a/src/mame/includes/phoenix.h
+++ b/src/mame/includes/phoenix.h
@@ -7,6 +7,7 @@
#include "audio/pleiads.h"
#include "emupal.h"
+#include "tilemap.h"
class phoenix_state : public driver_device
{
diff --git a/src/mame/includes/pingpong.h b/src/mame/includes/pingpong.h
index fab62d8945c..237490a086b 100644
--- a/src/mame/includes/pingpong.h
+++ b/src/mame/includes/pingpong.h
@@ -7,6 +7,7 @@
#include "machine/timer.h"
#include "emupal.h"
+#include "tilemap.h"
class pingpong_state : public driver_device
{
diff --git a/src/mame/includes/pirates.h b/src/mame/includes/pirates.h
index 3e75ed67d2e..fc6133d51dc 100644
--- a/src/mame/includes/pirates.h
+++ b/src/mame/includes/pirates.h
@@ -8,6 +8,7 @@
#include "machine/eepromser.h"
#include "sound/okim6295.h"
#include "emupal.h"
+#include "tilemap.h"
class pirates_state : public driver_device
{
diff --git a/src/mame/includes/pitnrun.h b/src/mame/includes/pitnrun.h
index 405fe188c1e..79fdd0a2ae7 100644
--- a/src/mame/includes/pitnrun.h
+++ b/src/mame/includes/pitnrun.h
@@ -7,6 +7,7 @@
#include "cpu/m6805/m68705.h"
#include "emupal.h"
+#include "tilemap.h"
class pitnrun_state : public driver_device
{
diff --git a/src/mame/includes/playch10.h b/src/mame/includes/playch10.h
index b844b5beb4a..6a1efd3072b 100644
--- a/src/mame/includes/playch10.h
+++ b/src/mame/includes/playch10.h
@@ -9,6 +9,7 @@
#include "machine/rp5h01.h"
#include "video/ppu2c0x.h"
#include "emupal.h"
+#include "tilemap.h"
class playch10_state : public driver_device
{
diff --git a/src/mame/includes/playmark.h b/src/mame/includes/playmark.h
index a2dbede2a02..9c11504b8a6 100644
--- a/src/mame/includes/playmark.h
+++ b/src/mame/includes/playmark.h
@@ -10,6 +10,7 @@
#include "machine/ticket.h"
#include "cpu/pic16c5x/pic16c5x.h"
#include "emupal.h"
+#include "tilemap.h"
class playmark_state : public driver_device
{
diff --git a/src/mame/includes/plygonet.h b/src/mame/includes/plygonet.h
index 566d6289d03..55615a4761b 100644
--- a/src/mame/includes/plygonet.h
+++ b/src/mame/includes/plygonet.h
@@ -10,6 +10,7 @@
#include "video/k053936.h"
#include "cpu/dsp56156/dsp56156.h"
#include "emupal.h"
+#include "tilemap.h"
static const uint16_t dsp56156_bank00_size = 0x1000;
diff --git a/src/mame/includes/pokechmp.h b/src/mame/includes/pokechmp.h
index d7c05861837..ab72fb3baea 100644
--- a/src/mame/includes/pokechmp.h
+++ b/src/mame/includes/pokechmp.h
@@ -7,6 +7,7 @@
#include "machine/gen_latch.h"
#include "emupal.h"
+#include "tilemap.h"
class pokechmp_state : public driver_device
{
diff --git a/src/mame/includes/polepos.h b/src/mame/includes/polepos.h
index accfbd89b9a..1bf2f37aa84 100644
--- a/src/mame/includes/polepos.h
+++ b/src/mame/includes/polepos.h
@@ -16,6 +16,7 @@
#include "sound/namco.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class polepos_state : public driver_device
diff --git a/src/mame/includes/poolshrk.h b/src/mame/includes/poolshrk.h
index 84aa6ccbc3d..6ff8cfaa90e 100644
--- a/src/mame/includes/poolshrk.h
+++ b/src/mame/includes/poolshrk.h
@@ -13,6 +13,7 @@
#include "machine/watchdog.h"
#include "sound/discrete.h"
#include "emupal.h"
+#include "tilemap.h"
/* Discrete Sound Input Nodes */
diff --git a/src/mame/includes/pooyan.h b/src/mame/includes/pooyan.h
index 8f743096232..b8e826fa5de 100644
--- a/src/mame/includes/pooyan.h
+++ b/src/mame/includes/pooyan.h
@@ -6,6 +6,7 @@
#pragma once
#include "emupal.h"
+#include "tilemap.h"
class pooyan_state : public driver_device
{
diff --git a/src/mame/includes/popeye.h b/src/mame/includes/popeye.h
index 8cb8a79d1de..05903d9aecf 100644
--- a/src/mame/includes/popeye.h
+++ b/src/mame/includes/popeye.h
@@ -10,6 +10,7 @@
#include "sound/ay8910.h"
#include "video/resnet.h"
#include "emupal.h"
+#include "tilemap.h"
class tnx1_state : public driver_device
{
diff --git a/src/mame/includes/portrait.h b/src/mame/includes/portrait.h
index e3db2e6a473..e33a7cce80d 100644
--- a/src/mame/includes/portrait.h
+++ b/src/mame/includes/portrait.h
@@ -7,6 +7,7 @@
#include "sound/tms5220.h"
#include "emupal.h"
+#include "tilemap.h"
class portrait_state : public driver_device
{
diff --git a/src/mame/includes/powerins.h b/src/mame/includes/powerins.h
index 2db86d7839b..c1b18d63a13 100644
--- a/src/mame/includes/powerins.h
+++ b/src/mame/includes/powerins.h
@@ -5,6 +5,7 @@
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class powerins_state : public driver_device
{
diff --git a/src/mame/includes/prehisle.h b/src/mame/includes/prehisle.h
index 862d33ea4fb..e3ba5cbba53 100644
--- a/src/mame/includes/prehisle.h
+++ b/src/mame/includes/prehisle.h
@@ -8,6 +8,7 @@
#include "machine/gen_latch.h"
#include "sound/upd7759.h"
#include "emupal.h"
+#include "tilemap.h"
class prehisle_state : public driver_device
{
diff --git a/src/mame/includes/psikyo.h b/src/mame/includes/psikyo.h
index 39f361150ee..9f9e0815e58 100644
--- a/src/mame/includes/psikyo.h
+++ b/src/mame/includes/psikyo.h
@@ -15,6 +15,7 @@
#include "sound/okim6295.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
#include <algorithm>
diff --git a/src/mame/includes/psychic5.h b/src/mame/includes/psychic5.h
index 73f43f8ff3c..3f2da46a08a 100644
--- a/src/mame/includes/psychic5.h
+++ b/src/mame/includes/psychic5.h
@@ -5,6 +5,7 @@
#include "machine/timer.h"
#include "video/jalblend.h"
#include "emupal.h"
+#include "tilemap.h"
class psychic5_state : public driver_device
{
diff --git a/src/mame/includes/punchout.h b/src/mame/includes/punchout.h
index 1b5043de301..e544bf42c9d 100644
--- a/src/mame/includes/punchout.h
+++ b/src/mame/includes/punchout.h
@@ -15,6 +15,7 @@
#include "machine/rp5h01.h"
#include "sound/vlm5030.h"
#include "emupal.h"
+#include "tilemap.h"
class punchout_state : public driver_device
{
diff --git a/src/mame/includes/quizdna.h b/src/mame/includes/quizdna.h
index 58bbb57c8d0..4e35e89c3a2 100644
--- a/src/mame/includes/quizdna.h
+++ b/src/mame/includes/quizdna.h
@@ -2,6 +2,7 @@
// copyright-holders:Uki
#include "emupal.h"
+#include "tilemap.h"
class quizdna_state : public driver_device
{
diff --git a/src/mame/includes/quizpani.h b/src/mame/includes/quizpani.h
index 0108bc4a0f5..ed9048acc95 100644
--- a/src/mame/includes/quizpani.h
+++ b/src/mame/includes/quizpani.h
@@ -6,6 +6,7 @@
#pragma once
#include "machine/nmk112.h"
+#include "tilemap.h"
class quizpani_state : public driver_device
{
diff --git a/src/mame/includes/raiden.h b/src/mame/includes/raiden.h
index ad84385f5fc..613875b7925 100644
--- a/src/mame/includes/raiden.h
+++ b/src/mame/includes/raiden.h
@@ -13,6 +13,7 @@
#include "audio/seibu.h"
#include "video/bufsprite.h"
#include "emupal.h"
+#include "tilemap.h"
class raiden_state : public driver_device, public seibu_sound_common
{
diff --git a/src/mame/includes/raiden2.h b/src/mame/includes/raiden2.h
index aacca62d6f1..3027b1eaab3 100644
--- a/src/mame/includes/raiden2.h
+++ b/src/mame/includes/raiden2.h
@@ -11,6 +11,7 @@
#include "video/seibu_crtc.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
#include <algorithm>
diff --git a/src/mame/includes/rallyx.h b/src/mame/includes/rallyx.h
index 4c93463801e..7ce65190614 100644
--- a/src/mame/includes/rallyx.h
+++ b/src/mame/includes/rallyx.h
@@ -10,6 +10,7 @@
#include "sound/samples.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class rallyx_state : public driver_device
{
diff --git a/src/mame/includes/realbrk.h b/src/mame/includes/realbrk.h
index 7c0c1546673..21bdc6a0ca0 100644
--- a/src/mame/includes/realbrk.h
+++ b/src/mame/includes/realbrk.h
@@ -8,6 +8,7 @@
#include "machine/tmp68301.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class realbrk_state : public driver_device
{
diff --git a/src/mame/includes/redclash.h b/src/mame/includes/redclash.h
index 3238f9485c1..7c71f7d1767 100644
--- a/src/mame/includes/redclash.h
+++ b/src/mame/includes/redclash.h
@@ -12,6 +12,7 @@
#include "video/ladybug.h"
#include "emupal.h"
+#include "tilemap.h"
// redclash/zerohour
diff --git a/src/mame/includes/relief.h b/src/mame/includes/relief.h
index efa82079070..fe9a12ac0de 100644
--- a/src/mame/includes/relief.h
+++ b/src/mame/includes/relief.h
@@ -15,6 +15,7 @@
#include "video/atarimo.h"
#include "video/atarivad.h"
#include "screen.h"
+#include "tilemap.h"
class relief_state : public driver_device
{
diff --git a/src/mame/includes/renegade.h b/src/mame/includes/renegade.h
index 34ea2c4369f..bc7feefec58 100644
--- a/src/mame/includes/renegade.h
+++ b/src/mame/includes/renegade.h
@@ -10,6 +10,7 @@
#include "machine/gen_latch.h"
#include "machine/timer.h"
#include "sound/msm5205.h"
+#include "tilemap.h"
class renegade_state : public driver_device
{
diff --git a/src/mame/includes/retofinv.h b/src/mame/includes/retofinv.h
index 3d535ba906f..46cd3264881 100644
--- a/src/mame/includes/retofinv.h
+++ b/src/mame/includes/retofinv.h
@@ -8,6 +8,7 @@
#include "machine/74259.h"
#include "machine/taito68705interface.h"
#include "emupal.h"
+#include "tilemap.h"
class retofinv_state : public driver_device
{
diff --git a/src/mame/includes/rocnrope.h b/src/mame/includes/rocnrope.h
index 216dd87c068..d640ec125ba 100644
--- a/src/mame/includes/rocnrope.h
+++ b/src/mame/includes/rocnrope.h
@@ -6,6 +6,7 @@
#pragma once
#include "emupal.h"
+#include "tilemap.h"
class rocnrope_state : public driver_device
{
diff --git a/src/mame/includes/rollrace.h b/src/mame/includes/rollrace.h
index 1bdf698dbcc..5cc4bb668f5 100644
--- a/src/mame/includes/rollrace.h
+++ b/src/mame/includes/rollrace.h
@@ -6,6 +6,7 @@
#pragma once
#include "emupal.h"
+#include "tilemap.h"
class rollrace_state : public driver_device
{
diff --git a/src/mame/includes/rpunch.h b/src/mame/includes/rpunch.h
index 3a8f2b2409a..973b59e47b7 100644
--- a/src/mame/includes/rpunch.h
+++ b/src/mame/includes/rpunch.h
@@ -10,6 +10,7 @@
#include "video/vsystem_gga.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class rpunch_state : public driver_device
{
diff --git a/src/mame/includes/runaway.h b/src/mame/includes/runaway.h
index 2e26ed709f4..3e34bf2c34f 100644
--- a/src/mame/includes/runaway.h
+++ b/src/mame/includes/runaway.h
@@ -8,6 +8,7 @@
#include "machine/er2055.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class runaway_state : public driver_device
{
diff --git a/src/mame/includes/rungun.h b/src/mame/includes/rungun.h
index 8b811b3a494..9e8b6424e82 100644
--- a/src/mame/includes/rungun.h
+++ b/src/mame/includes/rungun.h
@@ -18,6 +18,7 @@
#include "video/konami_helper.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class rungun_state : public driver_device
{
diff --git a/src/mame/includes/sauro.h b/src/mame/includes/sauro.h
index e44e3fd4bc6..ace9c6679ce 100644
--- a/src/mame/includes/sauro.h
+++ b/src/mame/includes/sauro.h
@@ -9,6 +9,7 @@
#include "machine/gen_latch.h"
#include "sound/sp0256.h"
#include "emupal.h"
+#include "tilemap.h"
class sauro_state : public driver_device
{
diff --git a/src/mame/includes/sbasketb.h b/src/mame/includes/sbasketb.h
index 663f93cbc11..ac17b189226 100644
--- a/src/mame/includes/sbasketb.h
+++ b/src/mame/includes/sbasketb.h
@@ -12,6 +12,7 @@
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class sbasketb_state : public driver_device
{
diff --git a/src/mame/includes/sbugger.h b/src/mame/includes/sbugger.h
index 7ff4fc098cd..b6eefaa585d 100644
--- a/src/mame/includes/sbugger.h
+++ b/src/mame/includes/sbugger.h
@@ -6,6 +6,7 @@
#pragma once
#include "emupal.h"
+#include "tilemap.h"
class sbugger_state : public driver_device
{
diff --git a/src/mame/includes/scotrsht.h b/src/mame/includes/scotrsht.h
index 19c426e91b5..37d54e82413 100644
--- a/src/mame/includes/scotrsht.h
+++ b/src/mame/includes/scotrsht.h
@@ -7,6 +7,7 @@
#include "machine/gen_latch.h"
#include "emupal.h"
+#include "tilemap.h"
class scotrsht_state : public driver_device
{
diff --git a/src/mame/includes/sderby.h b/src/mame/includes/sderby.h
index d2b296df083..2f072b31c73 100644
--- a/src/mame/includes/sderby.h
+++ b/src/mame/includes/sderby.h
@@ -6,6 +6,7 @@
#pragma once
#include "emupal.h"
+#include "tilemap.h"
class sderby_state : public driver_device
{
diff --git a/src/mame/includes/segag80r.h b/src/mame/includes/segag80r.h
index ad0d0bd4ea5..0d2e9c0e6e5 100644
--- a/src/mame/includes/segag80r.h
+++ b/src/mame/includes/segag80r.h
@@ -18,6 +18,7 @@
#include "sound/sn76496.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class sega005_sound_device;
diff --git a/src/mame/includes/segas32.h b/src/mame/includes/segas32.h
index c11ec474096..a37e2f47414 100644
--- a/src/mame/includes/segas32.h
+++ b/src/mame/includes/segas32.h
@@ -15,6 +15,7 @@
#include "machine/timer.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
diff --git a/src/mame/includes/seibuspi.h b/src/mame/includes/seibuspi.h
index e7f2d933fa0..f0ccdc21003 100644
--- a/src/mame/includes/seibuspi.h
+++ b/src/mame/includes/seibuspi.h
@@ -10,6 +10,7 @@
#include "machine/7200fifo.h"
#include "sound/okim6295.h"
#include "emupal.h"
+#include "tilemap.h"
class seibuspi_state : public driver_device
{
diff --git a/src/mame/includes/seicross.h b/src/mame/includes/seicross.h
index 0e6ef27d025..73e0aaac085 100644
--- a/src/mame/includes/seicross.h
+++ b/src/mame/includes/seicross.h
@@ -8,6 +8,7 @@
#include "machine/nvram.h"
#include "sound/dac.h"
#include "emupal.h"
+#include "tilemap.h"
class seicross_state : public driver_device
{
diff --git a/src/mame/includes/senjyo.h b/src/mame/includes/senjyo.h
index 064ba50c532..cdb7a520186 100644
--- a/src/mame/includes/senjyo.h
+++ b/src/mame/includes/senjyo.h
@@ -10,6 +10,7 @@
#include "machine/z80pio.h"
#include "machine/z80ctc.h"
#include "emupal.h"
+#include "tilemap.h"
class senjyo_state : public driver_device
{
diff --git a/src/mame/includes/seta.h b/src/mame/includes/seta.h
index 5e63b144804..85880b3ca6c 100644
--- a/src/mame/includes/seta.h
+++ b/src/mame/includes/seta.h
@@ -22,6 +22,7 @@
#include "sound/x1_010.h"
#include "video/seta001.h"
#include "emupal.h"
+#include "tilemap.h"
class seta_state : public driver_device
diff --git a/src/mame/includes/sf.h b/src/mame/includes/sf.h
index 61dfb063187..164a5a8ba6b 100644
--- a/src/mame/includes/sf.h
+++ b/src/mame/includes/sf.h
@@ -9,6 +9,7 @@
#include "machine/gen_latch.h"
#include "sound/msm5205.h"
#include "emupal.h"
+#include "tilemap.h"
class sf_state : public driver_device
{
diff --git a/src/mame/includes/shadfrce.h b/src/mame/includes/shadfrce.h
index 23b1648b41f..a4af2479394 100644
--- a/src/mame/includes/shadfrce.h
+++ b/src/mame/includes/shadfrce.h
@@ -10,6 +10,7 @@
#include "sound/okim6295.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class shadfrce_state : public driver_device
{
diff --git a/src/mame/includes/shangkid.h b/src/mame/includes/shangkid.h
index 54c815018ee..b5173afeadf 100644
--- a/src/mame/includes/shangkid.h
+++ b/src/mame/includes/shangkid.h
@@ -7,6 +7,7 @@
#include "sound/ay8910.h"
#include "emupal.h"
+#include "tilemap.h"
class shangkid_state : public driver_device
{
diff --git a/src/mame/includes/shaolins.h b/src/mame/includes/shaolins.h
index 15db04608a2..3acd717905d 100644
--- a/src/mame/includes/shaolins.h
+++ b/src/mame/includes/shaolins.h
@@ -7,6 +7,7 @@
#include "machine/timer.h"
#include "emupal.h"
+#include "tilemap.h"
class shaolins_state : public driver_device
{
diff --git a/src/mame/includes/shisen.h b/src/mame/includes/shisen.h
index 8c5234ab35d..3d40d800f85 100644
--- a/src/mame/includes/shisen.h
+++ b/src/mame/includes/shisen.h
@@ -7,6 +7,7 @@
#include "audio/m72.h"
#include "emupal.h"
+#include "tilemap.h"
class shisen_state : public driver_device
{
diff --git a/src/mame/includes/shootout.h b/src/mame/includes/shootout.h
index 4ce7bebfd51..8fd6e1e580c 100644
--- a/src/mame/includes/shootout.h
+++ b/src/mame/includes/shootout.h
@@ -7,6 +7,7 @@
#include "machine/gen_latch.h"
#include "emupal.h"
+#include "tilemap.h"
class shootout_state : public driver_device
{
diff --git a/src/mame/includes/shuuz.h b/src/mame/includes/shuuz.h
index dd5295aabce..64238963601 100644
--- a/src/mame/includes/shuuz.h
+++ b/src/mame/includes/shuuz.h
@@ -13,6 +13,7 @@
#include "machine/atarigen.h"
#include "video/atarimo.h"
#include "video/atarivad.h"
+#include "tilemap.h"
class shuuz_state : public atarigen_state
{
diff --git a/src/mame/includes/sidearms.h b/src/mame/includes/sidearms.h
index ed9d18420d4..3e73728ba45 100644
--- a/src/mame/includes/sidearms.h
+++ b/src/mame/includes/sidearms.h
@@ -7,6 +7,7 @@
#include "video/bufsprite.h"
#include "emupal.h"
+#include "tilemap.h"
class sidearms_state : public driver_device
{
diff --git a/src/mame/includes/sidepckt.h b/src/mame/includes/sidepckt.h
index 37a9318a810..9106e341866 100644
--- a/src/mame/includes/sidepckt.h
+++ b/src/mame/includes/sidepckt.h
@@ -12,6 +12,7 @@
#include "machine/gen_latch.h"
#include "emupal.h"
+#include "tilemap.h"
class sidepckt_state : public driver_device
{
diff --git a/src/mame/includes/silkroad.h b/src/mame/includes/silkroad.h
index e6c68f80a96..74b6b47614a 100644
--- a/src/mame/includes/silkroad.h
+++ b/src/mame/includes/silkroad.h
@@ -7,6 +7,7 @@
#include "sound/okim6295.h"
#include "emupal.h"
+#include "tilemap.h"
class silkroad_state : public driver_device
{
diff --git a/src/mame/includes/skullxbo.h b/src/mame/includes/skullxbo.h
index b3f71e9d440..f0f63570766 100644
--- a/src/mame/includes/skullxbo.h
+++ b/src/mame/includes/skullxbo.h
@@ -14,6 +14,7 @@
#include "machine/timer.h"
#include "audio/atarijsa.h"
#include "video/atarimo.h"
+#include "tilemap.h"
class skullxbo_state : public atarigen_state
{
diff --git a/src/mame/includes/skydiver.h b/src/mame/includes/skydiver.h
index 7c93886212c..61d20dedae1 100644
--- a/src/mame/includes/skydiver.h
+++ b/src/mame/includes/skydiver.h
@@ -14,6 +14,7 @@
#include "machine/watchdog.h"
#include "sound/discrete.h"
#include "emupal.h"
+#include "tilemap.h"
/* Discrete Sound Input Nodes */
#define SKYDIVER_RANGE_DATA NODE_01
diff --git a/src/mame/includes/skykid.h b/src/mame/includes/skykid.h
index 91bbf51f3ad..7b3552c0e38 100644
--- a/src/mame/includes/skykid.h
+++ b/src/mame/includes/skykid.h
@@ -8,6 +8,7 @@
#include "cpu/m6800/m6801.h"
#include "sound/namco.h"
#include "emupal.h"
+#include "tilemap.h"
class skykid_state : public driver_device
{
diff --git a/src/mame/includes/slapfght.h b/src/mame/includes/slapfght.h
index 1e18f8e9729..04eaddc123a 100644
--- a/src/mame/includes/slapfght.h
+++ b/src/mame/includes/slapfght.h
@@ -15,6 +15,7 @@
#include "machine/taito68705interface.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class slapfght_state : public driver_device
{
diff --git a/src/mame/includes/snk.h b/src/mame/includes/snk.h
index 0f5fd5727e3..928f44eda8f 100644
--- a/src/mame/includes/snk.h
+++ b/src/mame/includes/snk.h
@@ -15,6 +15,7 @@
#include "machine/gen_latch.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class snk_state : public driver_device
{
diff --git a/src/mame/includes/snk6502.h b/src/mame/includes/snk6502.h
index 065ee6169bf..9d57812d7ac 100644
--- a/src/mame/includes/snk6502.h
+++ b/src/mame/includes/snk6502.h
@@ -12,6 +12,7 @@
#include "machine/timer.h"
#include "emupal.h"
+#include "tilemap.h"
class fantasy_sound_device;
diff --git a/src/mame/includes/snk68.h b/src/mame/includes/snk68.h
index 15c86a84241..1cddf5b8532 100644
--- a/src/mame/includes/snk68.h
+++ b/src/mame/includes/snk68.h
@@ -5,6 +5,7 @@
#include "sound/upd7759.h"
#include "video/snk68_spr.h"
#include "screen.h"
+#include "tilemap.h"
class snk68_state : public driver_device
{
diff --git a/src/mame/includes/snookr10.h b/src/mame/includes/snookr10.h
index 2958a559c6d..23a5e302a56 100644
--- a/src/mame/includes/snookr10.h
+++ b/src/mame/includes/snookr10.h
@@ -6,6 +6,7 @@
#pragma once
#include "emupal.h"
+#include "tilemap.h"
class snookr10_state : public driver_device
{
diff --git a/src/mame/includes/solomon.h b/src/mame/includes/solomon.h
index 4fb5cf33f90..297316277ff 100644
--- a/src/mame/includes/solomon.h
+++ b/src/mame/includes/solomon.h
@@ -7,6 +7,7 @@
#include "machine/gen_latch.h"
#include "emupal.h"
+#include "tilemap.h"
class solomon_state : public driver_device
{
diff --git a/src/mame/includes/sonson.h b/src/mame/includes/sonson.h
index f152500d746..10842adafef 100644
--- a/src/mame/includes/sonson.h
+++ b/src/mame/includes/sonson.h
@@ -11,6 +11,7 @@
#pragma once
#include "emupal.h"
+#include "tilemap.h"
class sonson_state : public driver_device
{
diff --git a/src/mame/includes/spbactn.h b/src/mame/includes/spbactn.h
index 4b0975858f7..6106095d078 100644
--- a/src/mame/includes/spbactn.h
+++ b/src/mame/includes/spbactn.h
@@ -10,6 +10,7 @@
#include "video/tecmo_mix.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class spbactn_state : public driver_device
{
diff --git a/src/mame/includes/spdodgeb.h b/src/mame/includes/spdodgeb.h
index 88c6890744c..9de7b4407bb 100644
--- a/src/mame/includes/spdodgeb.h
+++ b/src/mame/includes/spdodgeb.h
@@ -15,6 +15,7 @@
#include "sound/msm5205.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class spdodgeb_state : public driver_device
{
diff --git a/src/mame/includes/speedbal.h b/src/mame/includes/speedbal.h
index da1d25dbb91..a1e6ff64ce5 100644
--- a/src/mame/includes/speedbal.h
+++ b/src/mame/includes/speedbal.h
@@ -6,6 +6,7 @@
#pragma once
#include "emupal.h"
+#include "tilemap.h"
class speedbal_state : public driver_device
{
diff --git a/src/mame/includes/speedspn.h b/src/mame/includes/speedspn.h
index 9e18f8da368..be752bb5f20 100644
--- a/src/mame/includes/speedspn.h
+++ b/src/mame/includes/speedspn.h
@@ -8,6 +8,7 @@
#include "machine/gen_latch.h"
#include "sound/okim6295.h"
#include "emupal.h"
+#include "tilemap.h"
class speedspn_state : public driver_device
{
diff --git a/src/mame/includes/splash.h b/src/mame/includes/splash.h
index 74fcb56a686..a6c24bf86e7 100644
--- a/src/mame/includes/splash.h
+++ b/src/mame/includes/splash.h
@@ -10,6 +10,7 @@
#include "machine/74259.h"
#include "sound/msm5205.h"
#include "emupal.h"
+#include "tilemap.h"
class splash_state : public driver_device
{
diff --git a/src/mame/includes/sprint2.h b/src/mame/includes/sprint2.h
index 4cb35258f75..845fa4dca70 100644
--- a/src/mame/includes/sprint2.h
+++ b/src/mame/includes/sprint2.h
@@ -15,6 +15,7 @@
#include "sound/discrete.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
/* Discrete Sound Input Nodes */
#define SPRINT2_SKIDSND1_EN NODE_01
diff --git a/src/mame/includes/sprint4.h b/src/mame/includes/sprint4.h
index d51a4a5030b..802a0db5d88 100644
--- a/src/mame/includes/sprint4.h
+++ b/src/mame/includes/sprint4.h
@@ -9,6 +9,7 @@
#include "sound/discrete.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class sprint4_state : public driver_device
{
diff --git a/src/mame/includes/sprint8.h b/src/mame/includes/sprint8.h
index 9392b32d06d..9c66c6cae20 100644
--- a/src/mame/includes/sprint8.h
+++ b/src/mame/includes/sprint8.h
@@ -10,6 +10,7 @@
#include "sound/discrete.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class sprint8_state : public driver_device
{
diff --git a/src/mame/includes/srumbler.h b/src/mame/includes/srumbler.h
index e3b5432c514..8a5a45bfdea 100644
--- a/src/mame/includes/srumbler.h
+++ b/src/mame/includes/srumbler.h
@@ -4,6 +4,7 @@
#include "machine/timer.h"
#include "video/bufsprite.h"
#include "emupal.h"
+#include "tilemap.h"
class srumbler_state : public driver_device
{
diff --git a/src/mame/includes/sslam.h b/src/mame/includes/sslam.h
index 52e3cfcd63d..585c4b64db0 100644
--- a/src/mame/includes/sslam.h
+++ b/src/mame/includes/sslam.h
@@ -9,6 +9,7 @@
#include "machine/gen_latch.h"
#include "sound/okim6295.h"
#include "emupal.h"
+#include "tilemap.h"
class sslam_state : public driver_device
{
diff --git a/src/mame/includes/ssozumo.h b/src/mame/includes/ssozumo.h
index 0d0a1d757bb..3ee36a6312c 100644
--- a/src/mame/includes/ssozumo.h
+++ b/src/mame/includes/ssozumo.h
@@ -6,6 +6,7 @@
#pragma once
#include "emupal.h"
+#include "tilemap.h"
class ssozumo_state : public driver_device
{
diff --git a/src/mame/includes/ssrj.h b/src/mame/includes/ssrj.h
index de8ee0af577..ea8d658d8f8 100644
--- a/src/mame/includes/ssrj.h
+++ b/src/mame/includes/ssrj.h
@@ -6,6 +6,7 @@
#pragma once
#include "emupal.h"
+#include "tilemap.h"
class ssrj_state : public driver_device
{
diff --git a/src/mame/includes/ssv.h b/src/mame/includes/ssv.h
index 00b1bd83412..23819cdf9dd 100644
--- a/src/mame/includes/ssv.h
+++ b/src/mame/includes/ssv.h
@@ -14,6 +14,7 @@
#include "sound/es5506.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class ssv_state : public driver_device
{
diff --git a/src/mame/includes/stadhero.h b/src/mame/includes/stadhero.h
index 20d6844771f..e741c6444c9 100644
--- a/src/mame/includes/stadhero.h
+++ b/src/mame/includes/stadhero.h
@@ -4,6 +4,7 @@
#include "machine/gen_latch.h"
#include "video/decbac06.h"
#include "video/decmxc06.h"
+#include "tilemap.h"
class stadhero_state : public driver_device
{
diff --git a/src/mame/includes/starshp1.h b/src/mame/includes/starshp1.h
index 028746b6ec7..324dd17654c 100644
--- a/src/mame/includes/starshp1.h
+++ b/src/mame/includes/starshp1.h
@@ -33,6 +33,7 @@
#include "sound/discrete.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
#define STARSHP1_MASTER_CLOCK (12096000)
diff --git a/src/mame/includes/sub.h b/src/mame/includes/sub.h
index 7737f8c6d53..c61c3a9b270 100644
--- a/src/mame/includes/sub.h
+++ b/src/mame/includes/sub.h
@@ -18,6 +18,7 @@ Submarine (c) 1985 Sigma
#include "emupal.h"
#include "screen.h"
#include "speaker.h"
+#include "tilemap.h"
#define MASTER_CLOCK XTAL(18'432'000)
diff --git a/src/mame/includes/suna8.h b/src/mame/includes/suna8.h
index 9a6f0347dc0..48ca4387928 100644
--- a/src/mame/includes/suna8.h
+++ b/src/mame/includes/suna8.h
@@ -10,6 +10,7 @@
#include "sound/samples.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
#define TILEMAPS 0
diff --git a/src/mame/includes/superqix.h b/src/mame/includes/superqix.h
index 1fdcc69f995..deea3f3b15b 100644
--- a/src/mame/includes/superqix.h
+++ b/src/mame/includes/superqix.h
@@ -10,6 +10,7 @@
#include "sound/ay8910.h"
#include "sound/samples.h"
#include "emupal.h"
+#include "tilemap.h"
class superqix_state_base : public driver_device
{
diff --git a/src/mame/includes/suprloco.h b/src/mame/includes/suprloco.h
index 5527b1e1611..dbfe7476e46 100644
--- a/src/mame/includes/suprloco.h
+++ b/src/mame/includes/suprloco.h
@@ -6,6 +6,7 @@
#pragma once
#include "emupal.h"
+#include "tilemap.h"
class suprloco_state : public driver_device
{
diff --git a/src/mame/includes/suprnova.h b/src/mame/includes/suprnova.h
index 9519c775319..cd64317a0c1 100644
--- a/src/mame/includes/suprnova.h
+++ b/src/mame/includes/suprnova.h
@@ -7,6 +7,7 @@
#include "cpu/sh/sh2.h"
#include "emupal.h"
+#include "tilemap.h"
struct hit_t
diff --git a/src/mame/includes/suprridr.h b/src/mame/includes/suprridr.h
index cc41d4540aa..215c7a177c6 100644
--- a/src/mame/includes/suprridr.h
+++ b/src/mame/includes/suprridr.h
@@ -12,6 +12,7 @@
#include "machine/gen_latch.h"
#include "emupal.h"
+#include "tilemap.h"
class suprridr_state : public driver_device
{
diff --git a/src/mame/includes/suprslam.h b/src/mame/includes/suprslam.h
index 6086505018d..28316caff44 100644
--- a/src/mame/includes/suprslam.h
+++ b/src/mame/includes/suprslam.h
@@ -13,6 +13,7 @@
#include "video/vsystem_spr.h"
#include "machine/gen_latch.h"
#include "video/k053936.h"
+#include "tilemap.h"
class suprslam_state : public driver_device
{
diff --git a/src/mame/includes/system1.h b/src/mame/includes/system1.h
index cc57eae6e58..060603b2cc2 100644
--- a/src/mame/includes/system1.h
+++ b/src/mame/includes/system1.h
@@ -14,6 +14,7 @@
#include "machine/timer.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class system1_state : public driver_device
{
diff --git a/src/mame/includes/system16.h b/src/mame/includes/system16.h
index eece6d88ce8..6d58f568b65 100644
--- a/src/mame/includes/system16.h
+++ b/src/mame/includes/system16.h
@@ -11,6 +11,7 @@
#include "machine/segaic16.h"
#include "sound/msm5205.h"
#include "sound/upd7759.h"
+#include "tilemap.h"
class segas1x_bootleg_state : public sega_16bit_common_base
{
diff --git a/src/mame/includes/tagteam.h b/src/mame/includes/tagteam.h
index 0aa2de1cbdd..dff31f7d55c 100644
--- a/src/mame/includes/tagteam.h
+++ b/src/mame/includes/tagteam.h
@@ -7,6 +7,7 @@
#include "machine/gen_latch.h"
#include "emupal.h"
+#include "tilemap.h"
class tagteam_state : public driver_device
{
diff --git a/src/mame/includes/tail2nos.h b/src/mame/includes/tail2nos.h
index 8410d827090..78d013b8838 100644
--- a/src/mame/includes/tail2nos.h
+++ b/src/mame/includes/tail2nos.h
@@ -14,6 +14,7 @@
#include "machine/gen_latch.h"
#include "video/k051316.h"
#include "emupal.h"
+#include "tilemap.h"
class tail2nos_state : public driver_device
{
diff --git a/src/mame/includes/taito_f3.h b/src/mame/includes/taito_f3.h
index 069a216de80..00e0f44cd82 100644
--- a/src/mame/includes/taito_f3.h
+++ b/src/mame/includes/taito_f3.h
@@ -11,6 +11,7 @@
#include "sound/okim6295.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
/* This it the best way to allow game specific kludges until the system is fully understood */
enum {
diff --git a/src/mame/includes/taito_l.h b/src/mame/includes/taito_l.h
index 97839725a92..65156356ed4 100644
--- a/src/mame/includes/taito_l.h
+++ b/src/mame/includes/taito_l.h
@@ -12,6 +12,7 @@
#include "sound/msm5205.h"
#include "sound/2203intf.h"
#include "emupal.h"
+#include "tilemap.h"
class taitol_state : public driver_device
diff --git a/src/mame/includes/taitojc.h b/src/mame/includes/taitojc.h
index 735c5ec5c2f..24819e6d47c 100644
--- a/src/mame/includes/taitojc.h
+++ b/src/mame/includes/taitojc.h
@@ -10,6 +10,7 @@
#include "machine/taitoio.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class taitojc_state : public driver_device
{
diff --git a/src/mame/includes/tank8.h b/src/mame/includes/tank8.h
index 833b5bebfb4..952954ae1f0 100644
--- a/src/mame/includes/tank8.h
+++ b/src/mame/includes/tank8.h
@@ -13,6 +13,7 @@
#include "sound/discrete.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
/* Discrete Sound Input Nodes */
#define TANK8_CRASH_EN NODE_01
diff --git a/src/mame/includes/tankbatt.h b/src/mame/includes/tankbatt.h
index 3be649e07bc..199c6cff39a 100644
--- a/src/mame/includes/tankbatt.h
+++ b/src/mame/includes/tankbatt.h
@@ -7,6 +7,7 @@
#include "sound/samples.h"
#include "emupal.h"
+#include "tilemap.h"
class tankbatt_state : public driver_device
{
diff --git a/src/mame/includes/tankbust.h b/src/mame/includes/tankbust.h
index 8a525853ca6..c0d02de132d 100644
--- a/src/mame/includes/tankbust.h
+++ b/src/mame/includes/tankbust.h
@@ -6,6 +6,7 @@
#pragma once
#include "emupal.h"
+#include "tilemap.h"
class tankbust_state : public driver_device
{
diff --git a/src/mame/includes/taotaido.h b/src/mame/includes/taotaido.h
index 5a19f50a0e7..c2eeca27260 100644
--- a/src/mame/includes/taotaido.h
+++ b/src/mame/includes/taotaido.h
@@ -8,6 +8,7 @@
#include "video/vsystem_spr.h"
#include "machine/gen_latch.h"
#include "machine/mb3773.h"
+#include "tilemap.h"
class taotaido_state : public driver_device
{
diff --git a/src/mame/includes/targeth.h b/src/mame/includes/targeth.h
index 12108b2b81b..3cc08ead1da 100644
--- a/src/mame/includes/targeth.h
+++ b/src/mame/includes/targeth.h
@@ -8,6 +8,7 @@
#include "machine/74259.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class targeth_state : public driver_device
{
diff --git a/src/mame/includes/tatsumi.h b/src/mame/includes/tatsumi.h
index faa1e7963c8..e0f0d1dfcea 100644
--- a/src/mame/includes/tatsumi.h
+++ b/src/mame/includes/tatsumi.h
@@ -11,6 +11,7 @@
#include "machine/cxd1095.h"
#include "machine/gen_latch.h"
#include "emupal.h"
+#include "tilemap.h"
class tatsumi_state : public driver_device
{
diff --git a/src/mame/includes/tbowl.h b/src/mame/includes/tbowl.h
index 538e85b5861..8eb7ce5f151 100644
--- a/src/mame/includes/tbowl.h
+++ b/src/mame/includes/tbowl.h
@@ -9,6 +9,7 @@
#include "sound/msm5205.h"
#include "video/tecmo_spr.h"
#include "emupal.h"
+#include "tilemap.h"
class tbowl_state : public driver_device
{
diff --git a/src/mame/includes/tceptor.h b/src/mame/includes/tceptor.h
index 2ce49c8892e..7b56d27d468 100644
--- a/src/mame/includes/tceptor.h
+++ b/src/mame/includes/tceptor.h
@@ -10,6 +10,7 @@
#include "video/c45.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class tceptor_state : public driver_device
{
diff --git a/src/mame/includes/tecmo.h b/src/mame/includes/tecmo.h
index 66579f650e3..f73fa14731b 100644
--- a/src/mame/includes/tecmo.h
+++ b/src/mame/includes/tecmo.h
@@ -9,6 +9,7 @@
#include "video/tecmo_spr.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class tecmo_state : public driver_device
{
diff --git a/src/mame/includes/tecmo16.h b/src/mame/includes/tecmo16.h
index b1e30d2af77..9115ebc007c 100644
--- a/src/mame/includes/tecmo16.h
+++ b/src/mame/includes/tecmo16.h
@@ -10,6 +10,7 @@
#include "video/tecmo_mix.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class tecmo16_state : public driver_device
{
diff --git a/src/mame/includes/tecmosys.h b/src/mame/includes/tecmosys.h
index d04175c69e4..3d0ab29231c 100644
--- a/src/mame/includes/tecmosys.h
+++ b/src/mame/includes/tecmosys.h
@@ -16,6 +16,7 @@
#include "machine/watchdog.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class tecmosys_state : public driver_device
{
diff --git a/src/mame/includes/tehkanwc.h b/src/mame/includes/tehkanwc.h
index 7f8dfb7aad4..0dad35b272d 100644
--- a/src/mame/includes/tehkanwc.h
+++ b/src/mame/includes/tehkanwc.h
@@ -8,6 +8,7 @@
#include "machine/gen_latch.h"
#include "sound/msm5205.h"
#include "emupal.h"
+#include "tilemap.h"
class tehkanwc_state : public driver_device
{
diff --git a/src/mame/includes/terracre.h b/src/mame/includes/terracre.h
index 9eedc5773f6..04634a678a2 100644
--- a/src/mame/includes/terracre.h
+++ b/src/mame/includes/terracre.h
@@ -9,6 +9,7 @@
#include "machine/gen_latch.h"
#include "video/bufsprite.h"
#include "emupal.h"
+#include "tilemap.h"
class terracre_state : public driver_device
{
diff --git a/src/mame/includes/tetrisp2.h b/src/mame/includes/tetrisp2.h
index 03ee0bf053a..93bf1af326a 100644
--- a/src/mame/includes/tetrisp2.h
+++ b/src/mame/includes/tetrisp2.h
@@ -3,6 +3,7 @@
#include "machine/gen_latch.h"
#include "emupal.h"
+#include "tilemap.h"
class tetrisp2_state : public driver_device
{
diff --git a/src/mame/includes/thedeep.h b/src/mame/includes/thedeep.h
index 992a2fc9182..787f1980e74 100644
--- a/src/mame/includes/thedeep.h
+++ b/src/mame/includes/thedeep.h
@@ -11,6 +11,7 @@
#include "video/decbac06.h"
#include "video/decmxc06.h"
#include "emupal.h"
+#include "tilemap.h"
class thedeep_state : public driver_device
diff --git a/src/mame/includes/thepit.h b/src/mame/includes/thepit.h
index b3220c936c1..08a41e664f3 100644
--- a/src/mame/includes/thepit.h
+++ b/src/mame/includes/thepit.h
@@ -7,6 +7,7 @@
#include "machine/74259.h"
#include "emupal.h"
+#include "tilemap.h"
class thepit_state : public driver_device
{
diff --git a/src/mame/includes/thoop2.h b/src/mame/includes/thoop2.h
index c311ba62982..e3e98bdc7d8 100644
--- a/src/mame/includes/thoop2.h
+++ b/src/mame/includes/thoop2.h
@@ -7,6 +7,7 @@
#include "machine/74259.h"
#include "emupal.h"
+#include "tilemap.h"
class thoop2_state : public driver_device
{
diff --git a/src/mame/includes/thunderj.h b/src/mame/includes/thunderj.h
index 4825b4dfaa0..dea00caf7b6 100644
--- a/src/mame/includes/thunderj.h
+++ b/src/mame/includes/thunderj.h
@@ -14,6 +14,7 @@
#include "video/atarimo.h"
#include "video/atarivad.h"
#include "screen.h"
+#include "tilemap.h"
class thunderj_state : public driver_device
{
diff --git a/src/mame/includes/tiamc1.h b/src/mame/includes/tiamc1.h
index 8c7c09c3358..d0e7fa9a006 100644
--- a/src/mame/includes/tiamc1.h
+++ b/src/mame/includes/tiamc1.h
@@ -8,6 +8,7 @@
#include "machine/pit8253.h"
#include "sound/spkrdev.h"
#include "emupal.h"
+#include "tilemap.h"
class tiamc1_state : public driver_device
{
diff --git a/src/mame/includes/tigeroad.h b/src/mame/includes/tigeroad.h
index cec75405f12..26fd3646a43 100644
--- a/src/mame/includes/tigeroad.h
+++ b/src/mame/includes/tigeroad.h
@@ -16,6 +16,7 @@
#include "video/bufsprite.h"
#include "emupal.h"
+#include "tilemap.h"
class tigeroad_state : public driver_device
diff --git a/src/mame/includes/timelimt.h b/src/mame/includes/timelimt.h
index 175d6e3ea22..b7b4f6552eb 100644
--- a/src/mame/includes/timelimt.h
+++ b/src/mame/includes/timelimt.h
@@ -6,6 +6,7 @@
#pragma once
#include "emupal.h"
+#include "tilemap.h"
class timelimt_state : public driver_device
{
diff --git a/src/mame/includes/timeplt.h b/src/mame/includes/timeplt.h
index 628e6097176..97e64a6a347 100644
--- a/src/mame/includes/timeplt.h
+++ b/src/mame/includes/timeplt.h
@@ -14,6 +14,7 @@
#include "sound/tc8830f.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class timeplt_state : public driver_device
{
diff --git a/src/mame/includes/tmnt.h b/src/mame/includes/tmnt.h
index 4714b66055e..cf532358d85 100644
--- a/src/mame/includes/tmnt.h
+++ b/src/mame/includes/tmnt.h
@@ -18,6 +18,7 @@
#include "video/k054000.h"
#include "video/konami_helper.h"
#include "emupal.h"
+#include "tilemap.h"
class tmnt_state : public driver_device
{
diff --git a/src/mame/includes/toaplan1.h b/src/mame/includes/toaplan1.h
index 83d8d7f666e..497c115e384 100644
--- a/src/mame/includes/toaplan1.h
+++ b/src/mame/includes/toaplan1.h
@@ -15,6 +15,7 @@
#include "video/toaplan_scu.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class toaplan1_state : public driver_device
{
diff --git a/src/mame/includes/toaplan2.h b/src/mame/includes/toaplan2.h
index 4722e840e37..604b759c489 100644
--- a/src/mame/includes/toaplan2.h
+++ b/src/mame/includes/toaplan2.h
@@ -15,6 +15,7 @@
#include "sound/okim6295.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
/**************** Machine stuff ******************/
diff --git a/src/mame/includes/toki.h b/src/mame/includes/toki.h
index 70d31eca3a0..db207df1546 100644
--- a/src/mame/includes/toki.h
+++ b/src/mame/includes/toki.h
@@ -11,6 +11,7 @@
#include "video/bufsprite.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class toki_state : public driver_device
{
diff --git a/src/mame/includes/toobin.h b/src/mame/includes/toobin.h
index c461c6f4c7f..8422a2f15dc 100644
--- a/src/mame/includes/toobin.h
+++ b/src/mame/includes/toobin.h
@@ -14,6 +14,7 @@
#include "audio/atarijsa.h"
#include "video/atarimo.h"
#include "emupal.h"
+#include "tilemap.h"
class toobin_state : public atarigen_state
{
diff --git a/src/mame/includes/tp84.h b/src/mame/includes/tp84.h
index 71b0f0239b7..8fc1bdfa6e8 100644
--- a/src/mame/includes/tp84.h
+++ b/src/mame/includes/tp84.h
@@ -8,6 +8,7 @@
#include "sound/flt_rc.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class tp84_state : public driver_device
{
diff --git a/src/mame/includes/trackfld.h b/src/mame/includes/trackfld.h
index af09148d340..00a9396ffc2 100644
--- a/src/mame/includes/trackfld.h
+++ b/src/mame/includes/trackfld.h
@@ -18,6 +18,7 @@
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class trackfld_state : public driver_device
{
diff --git a/src/mame/includes/travrusa.h b/src/mame/includes/travrusa.h
index da97b371b90..a4016f324f4 100644
--- a/src/mame/includes/travrusa.h
+++ b/src/mame/includes/travrusa.h
@@ -7,6 +7,7 @@
#pragma once
#include "emupal.h"
+#include "tilemap.h"
class travrusa_state : public driver_device
{
diff --git a/src/mame/includes/triplhnt.h b/src/mame/includes/triplhnt.h
index 7e2674c1fda..d0d6011e20a 100644
--- a/src/mame/includes/triplhnt.h
+++ b/src/mame/includes/triplhnt.h
@@ -16,6 +16,7 @@
#include "sound/samples.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
/* Discrete Sound Input Nodes */
diff --git a/src/mame/includes/trucocl.h b/src/mame/includes/trucocl.h
index 16492a9b8e5..e59c14931a6 100644
--- a/src/mame/includes/trucocl.h
+++ b/src/mame/includes/trucocl.h
@@ -7,6 +7,7 @@
#include "sound/dac.h"
#include "emupal.h"
+#include "tilemap.h"
class trucocl_state : public driver_device
{
diff --git a/src/mame/includes/tryout.h b/src/mame/includes/tryout.h
index 1d88c06a29d..fa1d39b39f4 100644
--- a/src/mame/includes/tryout.h
+++ b/src/mame/includes/tryout.h
@@ -7,6 +7,7 @@
#include "machine/gen_latch.h"
#include "emupal.h"
+#include "tilemap.h"
class tryout_state : public driver_device
{
diff --git a/src/mame/includes/tsamurai.h b/src/mame/includes/tsamurai.h
index fc7a10dcae9..6dee7b81c5c 100644
--- a/src/mame/includes/tsamurai.h
+++ b/src/mame/includes/tsamurai.h
@@ -7,6 +7,7 @@
#include "machine/gen_latch.h"
#include "emupal.h"
+#include "tilemap.h"
class tsamurai_state : public driver_device
{
diff --git a/src/mame/includes/tumbleb.h b/src/mame/includes/tumbleb.h
index cc4f15aee52..f01bdd54471 100644
--- a/src/mame/includes/tumbleb.h
+++ b/src/mame/includes/tumbleb.h
@@ -10,6 +10,7 @@
#include "video/decospr.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class tumbleb_state : public driver_device
{
diff --git a/src/mame/includes/tunhunt.h b/src/mame/includes/tunhunt.h
index 078534d2d28..1b6c948028c 100644
--- a/src/mame/includes/tunhunt.h
+++ b/src/mame/includes/tunhunt.h
@@ -7,6 +7,7 @@
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class tunhunt_state : public driver_device
{
diff --git a/src/mame/includes/turbo.h b/src/mame/includes/turbo.h
index 077e1ec3e62..49c8714db09 100644
--- a/src/mame/includes/turbo.h
+++ b/src/mame/includes/turbo.h
@@ -16,6 +16,7 @@
#include "sound/samples.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
/* sprites are scaled in the analog domain; to give a better */
/* rendition of this, we scale in the X direction by this factor */
diff --git a/src/mame/includes/twin16.h b/src/mame/includes/twin16.h
index 0d85b6d89ba..2ebc77ae155 100644
--- a/src/mame/includes/twin16.h
+++ b/src/mame/includes/twin16.h
@@ -10,6 +10,7 @@
#include "sound/k007232.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class twin16_state : public driver_device
{
diff --git a/src/mame/includes/twincobr.h b/src/mame/includes/twincobr.h
index 8d2354db661..63a4ee7d6c5 100644
--- a/src/mame/includes/twincobr.h
+++ b/src/mame/includes/twincobr.h
@@ -16,6 +16,7 @@
#include "video/toaplan_scu.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class twincobr_state : public driver_device
{
diff --git a/src/mame/includes/ultratnk.h b/src/mame/includes/ultratnk.h
index e1464eff0e8..8c2943e1f58 100644
--- a/src/mame/includes/ultratnk.h
+++ b/src/mame/includes/ultratnk.h
@@ -14,6 +14,7 @@
#include "sound/discrete.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class ultratnk_state : public driver_device
{
diff --git a/src/mame/includes/unico.h b/src/mame/includes/unico.h
index 8cf16f5bccd..d81341eae1e 100644
--- a/src/mame/includes/unico.h
+++ b/src/mame/includes/unico.h
@@ -9,6 +9,7 @@
#include "machine/eepromser.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class unico_state : public driver_device
{
diff --git a/src/mame/includes/vastar.h b/src/mame/includes/vastar.h
index 05a0eeaf24d..c02a3941b0d 100644
--- a/src/mame/includes/vastar.h
+++ b/src/mame/includes/vastar.h
@@ -6,6 +6,7 @@
#pragma once
#include "emupal.h"
+#include "tilemap.h"
class vastar_common_state : public driver_device
{
diff --git a/src/mame/includes/vball.h b/src/mame/includes/vball.h
index 4d576b8670d..3bc2a5a62ca 100644
--- a/src/mame/includes/vball.h
+++ b/src/mame/includes/vball.h
@@ -5,6 +5,7 @@
#include "machine/timer.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class vball_state : public driver_device
{
diff --git a/src/mame/includes/videopin.h b/src/mame/includes/videopin.h
index 17002b6f535..151badea154 100644
--- a/src/mame/includes/videopin.h
+++ b/src/mame/includes/videopin.h
@@ -13,6 +13,7 @@
#include "sound/discrete.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
/* Discrete Sound Input Nodes */
#define VIDEOPIN_OCTAVE_DATA NODE_01
diff --git a/src/mame/includes/vindictr.h b/src/mame/includes/vindictr.h
index 1e18879ed2a..a92a6a6b632 100644
--- a/src/mame/includes/vindictr.h
+++ b/src/mame/includes/vindictr.h
@@ -14,6 +14,7 @@
#include "audio/atarijsa.h"
#include "video/atarimo.h"
#include "emupal.h"
+#include "tilemap.h"
class vindictr_state : public atarigen_state
{
diff --git a/src/mame/includes/vulgus.h b/src/mame/includes/vulgus.h
index 6b15716b687..f12d0b09c38 100644
--- a/src/mame/includes/vulgus.h
+++ b/src/mame/includes/vulgus.h
@@ -11,6 +11,7 @@
#pragma once
#include "emupal.h"
+#include "tilemap.h"
class vulgus_state : public driver_device
{
diff --git a/src/mame/includes/warpwarp.h b/src/mame/includes/warpwarp.h
index 371712b84e6..523a0797cc8 100644
--- a/src/mame/includes/warpwarp.h
+++ b/src/mame/includes/warpwarp.h
@@ -10,6 +10,7 @@
#include "audio/geebee.h"
#include "audio/warpwarp.h"
#include "emupal.h"
+#include "tilemap.h"
class warpwarp_state : public driver_device
{
diff --git a/src/mame/includes/wc90.h b/src/mame/includes/wc90.h
index 854d877977e..7417271b442 100644
--- a/src/mame/includes/wc90.h
+++ b/src/mame/includes/wc90.h
@@ -8,6 +8,7 @@
#include "machine/gen_latch.h"
#include "video/tecmo_spr.h"
#include "emupal.h"
+#include "tilemap.h"
class wc90_state : public driver_device
{
diff --git a/src/mame/includes/wc90b.h b/src/mame/includes/wc90b.h
index 12a4c0505a8..3466f647871 100644
--- a/src/mame/includes/wc90b.h
+++ b/src/mame/includes/wc90b.h
@@ -8,6 +8,7 @@
#include "machine/gen_latch.h"
#include "sound/msm5205.h"
#include "emupal.h"
+#include "tilemap.h"
class wc90b_state : public driver_device
{
diff --git a/src/mame/includes/wecleman.h b/src/mame/includes/wecleman.h
index b2f07de2a10..a6625413b96 100644
--- a/src/mame/includes/wecleman.h
+++ b/src/mame/includes/wecleman.h
@@ -10,6 +10,7 @@
#include "video/k051316.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class wecleman_state : public driver_device
{
diff --git a/src/mame/includes/welltris.h b/src/mame/includes/welltris.h
index 21951770449..1d6ea72da81 100644
--- a/src/mame/includes/welltris.h
+++ b/src/mame/includes/welltris.h
@@ -8,6 +8,7 @@
#include "machine/gen_latch.h"
#include "video/vsystem_spr2.h"
#include "screen.h"
+#include "tilemap.h"
class welltris_state : public driver_device
{
diff --git a/src/mame/includes/wgp.h b/src/mame/includes/wgp.h
index f7872c96077..a6b16d9ec51 100644
--- a/src/mame/includes/wgp.h
+++ b/src/mame/includes/wgp.h
@@ -14,6 +14,7 @@
#include "machine/taitoio.h"
#include "video/tc0100scn.h"
#include "emupal.h"
+#include "tilemap.h"
class wgp_state : public driver_device
diff --git a/src/mame/includes/williams.h b/src/mame/includes/williams.h
index 9ddc4f82823..f574732ea73 100644
--- a/src/mame/includes/williams.h
+++ b/src/mame/includes/williams.h
@@ -22,6 +22,7 @@
#include "sound/hc55516.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class williams_state : public driver_device
{
diff --git a/src/mame/includes/witch.h b/src/mame/includes/witch.h
index f63f953b063..6167c05f594 100644
--- a/src/mame/includes/witch.h
+++ b/src/mame/includes/witch.h
@@ -21,6 +21,7 @@ Witch / Pinball Champ '95 / Keirin Ou
#include "emupal.h"
#include "screen.h"
#include "speaker.h"
+#include "tilemap.h"
#define MAIN_CLOCK XTAL(12'000'000)
#define CPU_CLOCK MAIN_CLOCK / 4
diff --git a/src/mame/includes/wrally.h b/src/mame/includes/wrally.h
index d9e04714e8c..7449bcc51d4 100644
--- a/src/mame/includes/wrally.h
+++ b/src/mame/includes/wrally.h
@@ -6,8 +6,9 @@
#pragma once
#include "machine/74259.h"
-#include "emupal.h"
#include "video/gaelco_wrally_sprites.h"
+#include "emupal.h"
+#include "tilemap.h"
class wrally_state : public driver_device
{
diff --git a/src/mame/includes/wwfsstar.h b/src/mame/includes/wwfsstar.h
index 8fef284f708..7372e9385af 100644
--- a/src/mame/includes/wwfsstar.h
+++ b/src/mame/includes/wwfsstar.h
@@ -9,6 +9,7 @@
#include "machine/timer.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class wwfsstar_state : public driver_device
{
diff --git a/src/mame/includes/x68k.h b/src/mame/includes/x68k.h
index 357b606f840..6e5f38e31ce 100644
--- a/src/mame/includes/x68k.h
+++ b/src/mame/includes/x68k.h
@@ -31,6 +31,7 @@
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
#define GFX16 0
#define GFX256 1
diff --git a/src/mame/includes/xain.h b/src/mame/includes/xain.h
index 60837bd9752..55b91e03d9c 100644
--- a/src/mame/includes/xain.h
+++ b/src/mame/includes/xain.h
@@ -11,6 +11,7 @@
#include "machine/timer.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class xain_state : public driver_device
{
diff --git a/src/mame/includes/xevious.h b/src/mame/includes/xevious.h
index 94bd28dd61e..34d8e820fa5 100644
--- a/src/mame/includes/xevious.h
+++ b/src/mame/includes/xevious.h
@@ -7,6 +7,7 @@
#pragma once
#include "machine/timer.h"
+#include "tilemap.h"
class xevious_state : public galaga_state
{
diff --git a/src/mame/includes/xorworld.h b/src/mame/includes/xorworld.h
index cce8e69d69d..1a041515346 100644
--- a/src/mame/includes/xorworld.h
+++ b/src/mame/includes/xorworld.h
@@ -7,6 +7,7 @@
#include "machine/eepromser.h"
#include "emupal.h"
+#include "tilemap.h"
class xorworld_state : public driver_device
{
diff --git a/src/mame/includes/xxmissio.h b/src/mame/includes/xxmissio.h
index 9a027094fa3..5dcbbc64c65 100644
--- a/src/mame/includes/xxmissio.h
+++ b/src/mame/includes/xxmissio.h
@@ -6,6 +6,7 @@
#pragma once
#include "emupal.h"
+#include "tilemap.h"
class xxmissio_state : public driver_device
{
diff --git a/src/mame/includes/xybots.h b/src/mame/includes/xybots.h
index 90d7c6477e4..0153b3c62b1 100644
--- a/src/mame/includes/xybots.h
+++ b/src/mame/includes/xybots.h
@@ -13,6 +13,7 @@
#include "machine/atarigen.h"
#include "audio/atarijsa.h"
#include "video/atarimo.h"
+#include "tilemap.h"
class xybots_state : public atarigen_state
{
diff --git a/src/mame/includes/xyonix.h b/src/mame/includes/xyonix.h
index 85d3a9362e7..c2b8d8f241a 100644
--- a/src/mame/includes/xyonix.h
+++ b/src/mame/includes/xyonix.h
@@ -6,6 +6,7 @@
#pragma once
#include "emupal.h"
+#include "tilemap.h"
class xyonix_state : public driver_device
{
diff --git a/src/mame/includes/yiear.h b/src/mame/includes/yiear.h
index 7b1c7ea08b5..7ebda885169 100644
--- a/src/mame/includes/yiear.h
+++ b/src/mame/includes/yiear.h
@@ -12,6 +12,7 @@
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class yiear_state : public driver_device
{
diff --git a/src/mame/includes/yunsun16.h b/src/mame/includes/yunsun16.h
index 6da9e985cd6..06269a05e4d 100644
--- a/src/mame/includes/yunsun16.h
+++ b/src/mame/includes/yunsun16.h
@@ -14,6 +14,7 @@
#include "machine/gen_latch.h"
#include "screen.h"
#include "emupal.h"
+#include "tilemap.h"
class yunsun16_state : public driver_device
{
diff --git a/src/mame/includes/yunsung8.h b/src/mame/includes/yunsung8.h
index 836b64d2683..4d435e3d1cb 100644
--- a/src/mame/includes/yunsung8.h
+++ b/src/mame/includes/yunsung8.h
@@ -9,6 +9,7 @@
#include "machine/74157.h"
#include "sound/msm5205.h"
#include "emupal.h"
+#include "tilemap.h"
class yunsung8_state : public driver_device
{
diff --git a/src/mame/includes/zac2650.h b/src/mame/includes/zac2650.h
index 4e8a3c2ba23..798192778d8 100644
--- a/src/mame/includes/zac2650.h
+++ b/src/mame/includes/zac2650.h
@@ -8,6 +8,7 @@
#include "machine/s2636.h"
#include "emupal.h"
#include "screen.h"
+#include "tilemap.h"
class zac2650_state : public driver_device
{
diff --git a/src/mame/includes/zaccaria.h b/src/mame/includes/zaccaria.h
index 52b6e25a529..1ebbc50452a 100644
--- a/src/mame/includes/zaccaria.h
+++ b/src/mame/includes/zaccaria.h
@@ -7,6 +7,7 @@
#include "audio/zaccaria.h"
#include "emupal.h"
+#include "tilemap.h"
class zaccaria_state : public driver_device
{
diff --git a/src/mame/includes/zaxxon.h b/src/mame/includes/zaxxon.h
index 3c2cd1f5d98..5a0e113ff8d 100644
--- a/src/mame/includes/zaxxon.h
+++ b/src/mame/includes/zaxxon.h
@@ -14,6 +14,7 @@
#include "machine/i8255.h"
#include "sound/samples.h"
#include "emupal.h"
+#include "tilemap.h"
class zaxxon_state : public driver_device
{
diff --git a/src/mame/includes/zerozone.h b/src/mame/includes/zerozone.h
index 48c864fff85..5fec4635730 100644
--- a/src/mame/includes/zerozone.h
+++ b/src/mame/includes/zerozone.h
@@ -12,6 +12,7 @@
#include "machine/gen_latch.h"
#include "cpu/z80/z80.h"
+#include "tilemap.h"
class zerozone_state : public driver_device
{