summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-12-05 21:41:22 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-12-05 21:41:22 -0300
commit3a5f8cbaa0127f6524d5f8d764b3c5e842417b58 (patch)
tree308d2c9846c880620d0d65f3647c8004d69899fe
parent1e0b3afcb1074f7ca6a52ec1c3aefb76b8d2c08d (diff)
Fix GPU scripts
-rw-r--r--src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/gpu/mali400.lua14
-rw-r--r--src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/gpu/ppu_rp2c02.lua11
-rw-r--r--src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/gpu/s-ppux_5c7x-0x.lua67
3 files changed, 35 insertions, 57 deletions
diff --git a/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/gpu/mali400.lua b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/gpu/mali400.lua
index 5570d82..a65449b 100644
--- a/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/gpu/mali400.lua
+++ b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/gpu/mali400.lua
@@ -3,7 +3,7 @@ return {
default = {
width = 1920,
height = 1080,
- fps = 30
+ fps = 30,
origin = {
x = 0,
y = 0,
@@ -12,14 +12,22 @@ return {
big = {
width = 3840,
height = 2160,
- fps = 30
+ fps = 30,
origin = {
x = 0,
y = 0,
},
},
+ colors = {
+ 32bpp,
+ transparent = alpha,
+ mode = {
+ zero = 16bpp,
+ one = 32bpp,
+ },
},
- api = 'opengl_es_2_0'
+ mesh = true,
+ api = 'opengl_es_2_0',
shader = {
true,
fragment = true,
diff --git a/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/gpu/ppu_rp2c02.lua b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/gpu/ppu_rp2c02.lua
index d60214d..9e49cd2 100644
--- a/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/gpu/ppu_rp2c02.lua
+++ b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/gpu/ppu_rp2c02.lua
@@ -3,7 +3,7 @@ return {
default = {
width = 256,
height = 224,
- fps = 29.97
+ fps = 29.97,
origin = {
x = 0,
y = -8,
@@ -12,13 +12,20 @@ return {
pal = {
width = 256,
height = 240,
- fps = 25
+ fps = 25,
origin = {
x = 0,
y = 0,
},
},
+ colors = {
+ 6bpp,
+ transparent = colorKey,
+ mode = {
+ zero = 2bpp,
+ },
},
+ mesh = false,
api = false,
shader = {
false,
diff --git a/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/gpu/s-ppux_5c7x-0x.lua b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/gpu/s-ppux_5c7x-0x.lua
index 928ee80..306e988 100644
--- a/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/gpu/s-ppux_5c7x-0x.lua
+++ b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/gpu/s-ppux_5c7x-0x.lua
@@ -3,7 +3,7 @@ return {
default = {
width = 256,
height = 224,
- fps = 29.97
+ fps = 29.97,
origin = {
x = 0,
y = 0,
@@ -12,7 +12,7 @@ return {
pal = {
width = 256,
height = 240,
- fps = 25
+ fps = 25,
origin = {
x = 0,
y = 0,
@@ -21,7 +21,7 @@ return {
bigNTSC = {
width = 512,
height = 448,
- fps = 29.97
+ fps = 29.97,
origin = {
x = 0,
y = 0,
@@ -30,13 +30,24 @@ return {
bigPAL = {
width = 512,
height = 480,
- fps = 25
+ fps = 25,
origin = {
x = 0,
y = 0,
},
},
},
+ colors = {
+ 15bpp,
+ transparent = averaging,
+ mode = {
+ zero = 2bpp,
+ one = 3bpp,
+ two = 4bpp,
+ three = 8bpp,
+ },
+ },
+ mesh = true,
api = false,
shader = {
false,
@@ -60,72 +71,24 @@ return {
width = 16,
height = 16,
},
- defaultW = {
- width = 16,
- height = 8,
- },
- defaultH = {
- width = 8,
- height = 16,
- },
big = {
width = 32,
height = 32,
},
- bigW = {
- width = 32,
- height = 16,
- },
- bigH = {
- width = 16,
- height = 32,
- },
huge = {
width = 64,
height = 64,
},
- hugeW = {
- width = 64,
- height = 32,
- },
- hugeH = {
- width = 32,
- height = 64,
- },
},
},
tile = {
true,
layers = 4,
size = {
- tiny = {
- width = 8,
- height = 8,
- },
- small = {
- width = 16,
- height = 16,
- },
- smallW = {
- width = 16,
- height = 8,
- },
- smallH = {
- width = 8,
- height = 16,
- },
default = {
width = 32,
height = 32,
},
- defaultW = {
- width = 32,
- height = 16,
- },
- defaultH = {
- width = 16,
- height = 32,
- },
big = {
width = 64,
height = 64,