summaryrefslogtreecommitdiff
path: root/ZAPD/ZRoom/Commands/SetLightingSettings.cpp
diff options
context:
space:
mode:
authorAnghelo Carvajal <angheloalf95@gmail.com>2021-04-01 23:32:31 -0300
committerGitHub <noreply@github.com>2021-04-01 22:32:31 -0400
commit65146cf747468a336401dcf7552322aba4d7c038 (patch)
treefa5a532663f84dd34e137f15b63acdf3ae444433 /ZAPD/ZRoom/Commands/SetLightingSettings.cpp
parent7a35712e998448324da955bac203040d6361991e (diff)
Add prerenders extraction (#106)
* extracting prerenders Signed-off-by: angie <angheloalf95@gmail.com> * not tested Signed-off-by: angie <angheloalf95@gmail.com> * recompiling into c code Signed-off-by: Angie <angheloalf95@gmail.com> * Extract prerenders automatically Signed-off-by: Angie <angheloalf95@gmail.com> * Extract PolygonDlist Signed-off-by: Angie <angheloalf95@gmail.com> * trying to extract dlists contained by PolygonDlist Signed-off-by: Angie <angheloalf95@gmail.com> * Rename ZBackground to ZPrerender Signed-off-by: angie <angheloalf95@gmail.com> * forgot to rename this too Signed-off-by: angie <angheloalf95@gmail.com> * format Signed-off-by: angie <angheloalf95@gmail.com> * Change jfif to jpg Signed-off-by: angie <angheloalf95@gmail.com>
Diffstat (limited to 'ZAPD/ZRoom/Commands/SetLightingSettings.cpp')
-rw-r--r--ZAPD/ZRoom/Commands/SetLightingSettings.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ZAPD/ZRoom/Commands/SetLightingSettings.cpp b/ZAPD/ZRoom/Commands/SetLightingSettings.cpp
index 8436fee..500f745 100644
--- a/ZAPD/ZRoom/Commands/SetLightingSettings.cpp
+++ b/ZAPD/ZRoom/Commands/SetLightingSettings.cpp
@@ -24,8 +24,8 @@ SetLightingSettings::SetLightingSettings(ZRoom* nZRoom, std::vector<uint8_t> raw
{
declaration += StringHelper::Sprintf(
"\t{ 0x%02X, 0x%02X, 0x%02X, 0x%02X, 0x%02X, 0x%02X, 0x%02X, 0x%02X, 0x%02X, "
- "0x%02X, 0x%02X, 0x%02X, 0x%02X, 0x%02X, 0x%02X, 0x%02X, 0x%02X, 0x%02X, 0x%04X, "
- "0x%04X }, // 0x%06X \n",
+ "0x%02X, 0x%02X, 0x%02X, 0x%02X, 0x%02X, 0x%02X, 0x%02X, 0x%02X, 0x%02X, 0x%04X, "
+ "0x%04X }, // 0x%06X \n",
settings[i]->ambientClrR, settings[i]->ambientClrG, settings[i]->ambientClrB,
settings[i]->diffuseClrA_R, settings[i]->diffuseClrA_G, settings[i]->diffuseClrA_B,
settings[i]->diffuseDirA_X, settings[i]->diffuseDirA_Y, settings[i]->diffuseDirA_Z,