diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-12-09 04:05:10 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-12-09 04:05:10 -0300 |
commit | b5fd43f59b65028f0c18d1bf56598e73c01c34ea (patch) | |
tree | c04f33bda18c9577b04cac9983be11689d40bdee /src/hardware_data/scripts/load/graphics/tms9918a_mode20.lua | |
parent | 56a7fbeeefbc388e09da689ae0cc6742a264a98c (diff) |
Update graphics modes
Diffstat (limited to 'src/hardware_data/scripts/load/graphics/tms9918a_mode20.lua')
-rw-r--r-- | src/hardware_data/scripts/load/graphics/tms9918a_mode20.lua | 153 |
1 files changed, 67 insertions, 86 deletions
diff --git a/src/hardware_data/scripts/load/graphics/tms9918a_mode20.lua b/src/hardware_data/scripts/load/graphics/tms9918a_mode20.lua index 2ffd722..70bbbe6 100644 --- a/src/hardware_data/scripts/load/graphics/tms9918a_mode20.lua +++ b/src/hardware_data/scripts/load/graphics/tms9918a_mode20.lua @@ -1,6 +1,6 @@ return { - screen = { - default = { + screen = { + ntsc = { width = 240, height = 192, fps = 29.97, @@ -9,104 +9,85 @@ return { y = 0, }, }, - pal = { - width = 240, - height = 192, - fps = 25, - origin = { - x = 0, - y = 0, - }, - }, }, - colors = { - '5bpp', - limit = '4bpp', - transparent = 'colorKey', + colours = { + total = '15+1', + limit = '15+1', + background = false, + transparent = 'transparentColour', }, - mesh = false, - api = false, - shader = { - false, - fragment = false, + meshes = false, + shaders = { + api = false, + version = false, + fragment = false, + vectex = false, + geometry = false, + tessellation = false, }, - physic = false, - sprite = { - true, - colors = '0bpp', - limits = { - true, - screen = 32, - line = 4, + physic = false, + sprites = { + onScreen = 32, + onLine = 4, + palettes = { + specify = true, + free = { + colours = 1, + keys = 1, + }, + }, + transform = { + move = true, + rotate = false, + scale = false, + shear = false, + affine = false, }, - rotate = false, - scale = false, - shear = false, - affine = false, - size = { - default = { + sizes = { + { width = 8, height = 8, }, - big = { + { width = 16, height = 16, }, }, }, - tile = { - layers = 1, - a = { - tilesSet = 'width', - colors = '1bpp', - specifyColors = false, - moveIndividual = false, - independent = 'bc', - mirror = false, - rotate = false, - scale = false, - shear = false, - affine = false, - size = { - default = { - width = 6, - height = 8, + tiles = { + layers = { + { + independent = false, + palettes = { + specify = true, + free = { + colours = 2, + keys = false, + }, }, - }, - }, - b = { - tilesSet = 'width', - colors = '1bpp', - specifyColors = false, - moveIndividual = false, - independent = 'ac', - mirror = false, - rotate = false, - scale = false, - shear = false, - affine = false, - size = { - default = { - width = 6, - height = 8, + mirror = false, + transform = { + individual = false, + move = false, + rotate = false, + scale = false, + shear = false, + affine = false, }, - }, - }, - c = { - tilesSet = 'width', - colors = '1bpp', - specifyColors = false, - moveIndividual = false, - independent = 'ab', - mirror = false, - rotate = false, - scale = false, - shear = false, - affine = false, - size = { - default = { - width = 6, - height = 8, + sizes = { + { + width = 6, + height = 8, + }, + }, + map = { + width = 240, + height = 64, + tiles = false, + pixels = { + width = false, + height = 1, + }, }, }, }, |