summaryrefslogtreecommitdiffstats
path: root/src/FileLoader.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2019-06-30 21:36:53 +0200
committereray orçunus <erayorcunus@gmail.com>2019-06-30 21:36:53 +0200
commit99295827f79ccffa9d3976af2b9a19920d7d8bde (patch)
treee61ef805296e034766fca5e852224c6e522f8854 /src/FileLoader.cpp
parentMerge branch 'master' of git://github.com/GTAmodding/re3 into erorcun (diff)
parentMerge pull request #80 from ShFil119/special (diff)
downloadre3-99295827f79ccffa9d3976af2b9a19920d7d8bde.tar
re3-99295827f79ccffa9d3976af2b9a19920d7d8bde.tar.gz
re3-99295827f79ccffa9d3976af2b9a19920d7d8bde.tar.bz2
re3-99295827f79ccffa9d3976af2b9a19920d7d8bde.tar.lz
re3-99295827f79ccffa9d3976af2b9a19920d7d8bde.tar.xz
re3-99295827f79ccffa9d3976af2b9a19920d7d8bde.tar.zst
re3-99295827f79ccffa9d3976af2b9a19920d7d8bde.zip
Diffstat (limited to 'src/FileLoader.cpp')
-rw-r--r--src/FileLoader.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/FileLoader.cpp b/src/FileLoader.cpp
index 8bc6ad11..d87964ac 100644
--- a/src/FileLoader.cpp
+++ b/src/FileLoader.cpp
@@ -855,7 +855,7 @@ CFileLoader::Load2dEffect(const char *line)
int id, r, g, b, a, type;
float x, y, z;
char corona[32], shadow[32];
- int shadowIntens, flash, roadReflection, flare, flags, probability;
+ int shadowIntens, lightType, roadReflection, flare, flags, probability;
CBaseModelInfo *mi;
C2dEffect *effect;
char *p;
@@ -888,14 +888,14 @@ CFileLoader::Load2dEffect(const char *line)
sscanf(line, "%f %f %f %f %d %d %d %d %d",
&effect->light.dist,
- &effect->light.outerRange,
+ &effect->light.range,
&effect->light.size,
- &effect->light.innerRange,
- &shadowIntens, &flash, &roadReflection, &flare, &flags);
+ &effect->light.shadowRange,
+ &shadowIntens, &lightType, &roadReflection, &flare, &flags);
effect->light.corona = RwTextureRead(corona, nil);
effect->light.shadow = RwTextureRead(shadow, nil);
effect->light.shadowIntensity = shadowIntens;
- effect->light.flash = flash;
+ effect->light.lightType = lightType;
effect->light.roadReflection = roadReflection;
effect->light.flareType = flare;
// TODO: check out the flags