From 84e94cf9bf3ba364b1268d3040942c8458d823cc Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Sun, 18 Dec 2016 21:37:31 -0300 Subject: Rename some graphics modes --- src/hardware_data/graphics/ppu_cgb.lua | 171 ------------------------- src/hardware_data/graphics/ppu_gb.lua | 106 --------------- src/hardware_data/graphics/ppu_lr35902-cgb.lua | 171 +++++++++++++++++++++++++ src/hardware_data/graphics/ppu_lr35902-dmg.lua | 106 +++++++++++++++ src/hardware_data/graphics/ppu_lr35902-sgb.lua | 106 +++++++++++++++ src/hardware_data/graphics/ppu_sgb.lua | 106 --------------- 6 files changed, 383 insertions(+), 383 deletions(-) delete mode 100644 src/hardware_data/graphics/ppu_cgb.lua delete mode 100644 src/hardware_data/graphics/ppu_gb.lua create mode 100644 src/hardware_data/graphics/ppu_lr35902-cgb.lua create mode 100644 src/hardware_data/graphics/ppu_lr35902-dmg.lua create mode 100644 src/hardware_data/graphics/ppu_lr35902-sgb.lua delete mode 100644 src/hardware_data/graphics/ppu_sgb.lua diff --git a/src/hardware_data/graphics/ppu_cgb.lua b/src/hardware_data/graphics/ppu_cgb.lua deleted file mode 100644 index 6ca179e..0000000 --- a/src/hardware_data/graphics/ppu_cgb.lua +++ /dev/null @@ -1,171 +0,0 @@ -return { - screen = { - ntsc = { - width = 160, - height = 144, - fps = 29.97, - origin = { - x = 0, - y = -8, - }, - }, - pal = { - width = 160, - height = 144, - fps = 25, - origin = { - x = 0, - y = 0, - }, - }, - }, - colours = { - total = '15bpp', - limit = 49, - background = true, - transparent = 'colourKey', - }, - meshes = false, - shaders = { - api = false, - version = false, - fragment = false, - vectex = false, - geometry = false, - tessellation = false, - }, - physic = false, - sprites = { - onScreen = 40, - onLine = 10, - palettes = { - specify = true, - { - total = 4, - limit = 3, - keys = 1, - }, - { - total = 4, - limit = 3, - keys = 1, - }, - { - total = 4, - limit = 3, - keys = 1, - }, - { - total = 4, - limit = 3, - keys = 1, - }, - { - total = 4, - limit = 3, - keys = 1, - }, - { - total = 4, - limit = 3, - keys = 1, - }, - { - total = 4, - limit = 3, - keys = 1, - }, - { - total = 4, - limit = 3, - keys = 1, - }, - }, - transform = { - move = true, - rotate = false, - scale = 'flip', - shear = false, - affine = false, - }, - sizes = { - { - width = 8, - height = 8, - }, - { - width = 8, - height = 16, - }, - }, - }, - tiles = { - layers = { - { - total = 399, - limit = 384, - unique = true, - independent = false, - palettes = { - specify = true, - { - total = 4, - limit = 3, - keys = 1, - }, - { - total = 4, - limit = 3, - keys = 1, - }, - { - total = 4, - limit = 3, - keys = 1, - }, - { - total = 4, - limit = 3, - keys = 1, - }, - { - total = 4, - limit = 3, - keys = 1, - }, - { - total = 4, - limit = 3, - keys = 1, - }, - { - total = 4, - limit = 3, - keys = 1, - }, - { - total = 4, - limit = 3, - keys = 1, - }, - }, - mirror = true, - transform = { - individual = true, - move = true, - rotate = false, - scale = false, - shear = false, - affine = false, - }, - sizes = { - { - width = 8, - height = 8, - }, - }, - map = false, - }, - }, - }, -} diff --git a/src/hardware_data/graphics/ppu_gb.lua b/src/hardware_data/graphics/ppu_gb.lua deleted file mode 100644 index c07da7e..0000000 --- a/src/hardware_data/graphics/ppu_gb.lua +++ /dev/null @@ -1,106 +0,0 @@ -return { - screen = { - ntsc = { - width = 160, - height = 144, - fps = 29.97, - origin = { - x = 0, - y = -8, - }, - }, - pal = { - width = 160, - height = 144, - fps = 25, - origin = { - x = 0, - y = 0, - }, - }, - }, - colours = { - total = 4, - limit = false, - background = true, - transparent = 'colourKey', - }, - meshes = false, - shaders = { - api = false, - version = false, - fragment = false, - vectex = false, - geometry = false, - tessellation = false, - }, - physic = false, - sprites = { - onScreen = 40, - onLine = 10, - palettes = { - specify = true, - { - total = 4, - limit = 3, - keys = 1, - }, - { - total = 4, - limit = 3, - keys = 1, - }, - }, - transform = { - move = true, - rotate = false, - scale = 'flip', - shear = false, - affine = false, - }, - sizes = { - { - width = 8, - height = 8, - }, - { - width = 8, - height = 16, - }, - }, - }, - tiles = { - layers = { - { - total = 399, - limit = 192, - unique = true, - independent = false, - palettes = { - specify = true, - { - total = 4, - limit = 3, - keys = 1, - }, - }, - mirror = true, - transform = { - individual = true, - move = true, - rotate = false, - scale = false, - shear = false, - affine = false, - }, - sizes = { - { - width = 8, - height = 8, - }, - }, - map = false, - }, - }, - }, -} diff --git a/src/hardware_data/graphics/ppu_lr35902-cgb.lua b/src/hardware_data/graphics/ppu_lr35902-cgb.lua new file mode 100644 index 0000000..6ca179e --- /dev/null +++ b/src/hardware_data/graphics/ppu_lr35902-cgb.lua @@ -0,0 +1,171 @@ +return { + screen = { + ntsc = { + width = 160, + height = 144, + fps = 29.97, + origin = { + x = 0, + y = -8, + }, + }, + pal = { + width = 160, + height = 144, + fps = 25, + origin = { + x = 0, + y = 0, + }, + }, + }, + colours = { + total = '15bpp', + limit = 49, + background = true, + transparent = 'colourKey', + }, + meshes = false, + shaders = { + api = false, + version = false, + fragment = false, + vectex = false, + geometry = false, + tessellation = false, + }, + physic = false, + sprites = { + onScreen = 40, + onLine = 10, + palettes = { + specify = true, + { + total = 4, + limit = 3, + keys = 1, + }, + { + total = 4, + limit = 3, + keys = 1, + }, + { + total = 4, + limit = 3, + keys = 1, + }, + { + total = 4, + limit = 3, + keys = 1, + }, + { + total = 4, + limit = 3, + keys = 1, + }, + { + total = 4, + limit = 3, + keys = 1, + }, + { + total = 4, + limit = 3, + keys = 1, + }, + { + total = 4, + limit = 3, + keys = 1, + }, + }, + transform = { + move = true, + rotate = false, + scale = 'flip', + shear = false, + affine = false, + }, + sizes = { + { + width = 8, + height = 8, + }, + { + width = 8, + height = 16, + }, + }, + }, + tiles = { + layers = { + { + total = 399, + limit = 384, + unique = true, + independent = false, + palettes = { + specify = true, + { + total = 4, + limit = 3, + keys = 1, + }, + { + total = 4, + limit = 3, + keys = 1, + }, + { + total = 4, + limit = 3, + keys = 1, + }, + { + total = 4, + limit = 3, + keys = 1, + }, + { + total = 4, + limit = 3, + keys = 1, + }, + { + total = 4, + limit = 3, + keys = 1, + }, + { + total = 4, + limit = 3, + keys = 1, + }, + { + total = 4, + limit = 3, + keys = 1, + }, + }, + mirror = true, + transform = { + individual = true, + move = true, + rotate = false, + scale = false, + shear = false, + affine = false, + }, + sizes = { + { + width = 8, + height = 8, + }, + }, + map = false, + }, + }, + }, +} diff --git a/src/hardware_data/graphics/ppu_lr35902-dmg.lua b/src/hardware_data/graphics/ppu_lr35902-dmg.lua new file mode 100644 index 0000000..c07da7e --- /dev/null +++ b/src/hardware_data/graphics/ppu_lr35902-dmg.lua @@ -0,0 +1,106 @@ +return { + screen = { + ntsc = { + width = 160, + height = 144, + fps = 29.97, + origin = { + x = 0, + y = -8, + }, + }, + pal = { + width = 160, + height = 144, + fps = 25, + origin = { + x = 0, + y = 0, + }, + }, + }, + colours = { + total = 4, + limit = false, + background = true, + transparent = 'colourKey', + }, + meshes = false, + shaders = { + api = false, + version = false, + fragment = false, + vectex = false, + geometry = false, + tessellation = false, + }, + physic = false, + sprites = { + onScreen = 40, + onLine = 10, + palettes = { + specify = true, + { + total = 4, + limit = 3, + keys = 1, + }, + { + total = 4, + limit = 3, + keys = 1, + }, + }, + transform = { + move = true, + rotate = false, + scale = 'flip', + shear = false, + affine = false, + }, + sizes = { + { + width = 8, + height = 8, + }, + { + width = 8, + height = 16, + }, + }, + }, + tiles = { + layers = { + { + total = 399, + limit = 192, + unique = true, + independent = false, + palettes = { + specify = true, + { + total = 4, + limit = 3, + keys = 1, + }, + }, + mirror = true, + transform = { + individual = true, + move = true, + rotate = false, + scale = false, + shear = false, + affine = false, + }, + sizes = { + { + width = 8, + height = 8, + }, + }, + map = false, + }, + }, + }, +} diff --git a/src/hardware_data/graphics/ppu_lr35902-sgb.lua b/src/hardware_data/graphics/ppu_lr35902-sgb.lua new file mode 100644 index 0000000..3ebb904 --- /dev/null +++ b/src/hardware_data/graphics/ppu_lr35902-sgb.lua @@ -0,0 +1,106 @@ +return { + screen = { + ntsc = { + width = 160, + height = 144, + fps = 29.97, + origin = { + x = 0, + y = -8, + }, + }, + pal = { + width = 160, + height = 144, + fps = 25, + origin = { + x = 0, + y = 0, + }, + }, + }, + colours = { + total = '15bpp', + limit = 10, + background = true, + transparent = 'colourKey', + }, + meshes = false, + shaders = { + api = false, + version = false, + fragment = false, + vectex = false, + geometry = false, + tessellation = false, + }, + physic = false, + sprites = { + onScreen = 40, + onLine = 10, + palettes = { + specify = true, + { + total = 4, + limit = 3, + keys = 1, + }, + { + total = 4, + limit = 3, + keys = 1, + }, + }, + transform = { + move = true, + rotate = false, + scale = 'flip', + shear = false, + affine = false, + }, + sizes = { + { + width = 8, + height = 8, + }, + { + width = 8, + height = 16, + }, + }, + }, + tiles = { + layers = { + { + total = 399, + limit = 192, + unique = true, + independent = false, + palettes = { + specify = true, + { + total = 4, + limit = 3, + keys = 1, + }, + }, + mirror = true, + transform = { + individual = true, + move = true, + rotate = false, + scale = false, + shear = false, + affine = false, + }, + sizes = { + { + width = 8, + height = 8, + }, + }, + map = false, + }, + }, + }, +} diff --git a/src/hardware_data/graphics/ppu_sgb.lua b/src/hardware_data/graphics/ppu_sgb.lua deleted file mode 100644 index 3ebb904..0000000 --- a/src/hardware_data/graphics/ppu_sgb.lua +++ /dev/null @@ -1,106 +0,0 @@ -return { - screen = { - ntsc = { - width = 160, - height = 144, - fps = 29.97, - origin = { - x = 0, - y = -8, - }, - }, - pal = { - width = 160, - height = 144, - fps = 25, - origin = { - x = 0, - y = 0, - }, - }, - }, - colours = { - total = '15bpp', - limit = 10, - background = true, - transparent = 'colourKey', - }, - meshes = false, - shaders = { - api = false, - version = false, - fragment = false, - vectex = false, - geometry = false, - tessellation = false, - }, - physic = false, - sprites = { - onScreen = 40, - onLine = 10, - palettes = { - specify = true, - { - total = 4, - limit = 3, - keys = 1, - }, - { - total = 4, - limit = 3, - keys = 1, - }, - }, - transform = { - move = true, - rotate = false, - scale = 'flip', - shear = false, - affine = false, - }, - sizes = { - { - width = 8, - height = 8, - }, - { - width = 8, - height = 16, - }, - }, - }, - tiles = { - layers = { - { - total = 399, - limit = 192, - unique = true, - independent = false, - palettes = { - specify = true, - { - total = 4, - limit = 3, - keys = 1, - }, - }, - mirror = true, - transform = { - individual = true, - move = true, - rotate = false, - scale = false, - shear = false, - affine = false, - }, - sizes = { - { - width = 8, - height = 8, - }, - }, - map = false, - }, - }, - }, -} -- cgit v1.2.3-54-g00ecf