Andrei Kortunov
359e748c28
Initialize some missing fields in constructors
7 years ago
Kyle Cooley
11eae16645
Get rid of duplicate function, fix flag checking
7 years ago
Kyle Cooley
25d4a0370f
Changes to land data access in tables, also update Land once per frame in scene view.
7 years ago
Kyle Cooley
ab607f3028
Tweaks to land loading, land cloning, terrain signals, placeholder land update handling
7 years ago
Kyle Cooley
d3014cf394
Temporary fix for adding new lands, cloned lands will still reference old data though
7 years ago
Kyle Cooley
7cc95a11a4
Add more land table columns
7 years ago
scrawl
0fc465da59
Store the min/max height in LandData
8 years ago
scrawl
80a0398f9d
Load LandData into the LandObject to avoid threading conflicts when the same data is being loaded by two threads
8 years ago
scrawl
20d30bb8d7
Move mDataLoaded into LandData
8 years ago
scrawl
ddd6605608
Move WNAM out of LandData to avoid redundant (de)allocations on startup
8 years ago
scrawl
e00b420f68
Move saving of LandData into Land::save
8 years ago
scrawl
325bf66653
Return const Land in ESMStore
8 years ago
scrawl
27577ce765
Add ESM::Land::DEFAULT_HEIGHT
9 years ago
scrawl
596fe56bfd
Make Land::loadData thread safe
9 years ago
scrawl
b8e11cf197
Merge commit 'pull/upstream/678' into HEAD
...
Conflicts:
apps/esmtool/record.cpp
apps/opencs/model/doc/savingstages.cpp
apps/opencs/model/world/land.cpp
apps/opencs/model/world/land.hpp
apps/opencs/model/world/landtexture.cpp
apps/openmw/mwworld/store.cpp
components/esm/loadland.cpp
components/esm/loadland.hpp
9 years ago
scrawl
5252dbcf1f
Add some comments to ESM::Land
9 years ago
Marc Zinnschlag
a8dc1c1198
merge land tables
9 years ago
Marc Zinnschlag
69b9eadb52
refactored loading of land data
9 years ago
Marc Zinnschlag
b0641934d4
added copy constructor and assignment operator for Land record struct
9 years ago
Stanislav Bas
4a16eba716
Make deleted flag a parameter of load/save methods (instead of a record member) in ESM records
10 years ago
Stanislav Bas
e65ff723ce
More ESM records have DELE handling.
...
Changed records: Race, Land, Pathgrid, StartScript, DebugProfile, Filter
10 years ago
scrawl
cad18969e3
Merge branch 'master' of https://github.com/OpenMW/openmw into osg
...
Conflicts:
apps/openmw/mwmechanics/aicombat.cpp
apps/openmw/mwmechanics/aitravel.cpp
10 years ago
scrawl
28caeadef4
Improve error message for not found records
10 years ago
scrawl
cdd0623009
Terrain rendering
10 years ago
scrawl
e712b0353b
Terrain refactoring, reduce game startup time and memory usage
10 years ago
scrawl
62a32220ff
Use low-LOD heightmap for world map rendering
...
Add vanilla-accurate colour palette (thanks Hrnchamd)
10 years ago
scrawl
fc1a897fbf
Add comment to WNAM in ESM::Land
10 years ago
scrawl
8786fb639f
Implement terrain rendering in OpenCS ( Fixes #1597 )
10 years ago
Bret Curtis
ab224f93c9
remove our stdint.h version that uses boost and force usage of system stdint.h
11 years ago
Lukasz Gromanowski
bfd79bfbe6
Various fixes for CppCheck warnings.
...
Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
11 years ago
Marc Zinnschlag
c42e74dadf
make 4 byte record type accessable from record struct
11 years ago
Marc Zinnschlag
874ce26bef
added missing consts to record save functions
11 years ago
scrawl
e27437f8ed
New terrain renderer - improvements:
...
- Consistent triangle alignment, fixes a noticable crack near the census and excise office. Note that alignment is still not the same as vanilla. Vanilla uses a weird diagonal pattern. I hope there aren't more trouble spots that will force us to replicate vanilla, but at least we can do that now.
- Fixes several blending issues and cell border seams
- Fix map render to use the terrain bounding box instead of an arbitrary height
- Different LODs are now properly connected instead of using skirts
- Support self shadowing
- Normals and colors are stored in the vertices instead of a texture, this enables per-vertex lighting which should improve performance, fix compatibility issues due to the PS getting too large and mimic vanilla better
- Support a fixed function fallback (though the splatting shader usually performs better)
- Designed for distant land support - test: https://www.youtube.com/watch?v=2wnd9EuPJIY - we can't really enable this yet due to depth precision issues when using a large view distance
12 years ago
Mark Siewert
713d324eeb
- Minor code cleanup
12 years ago
Mark Siewert
1f961d575e
Merge remote-tracking branch 'upstream/master' into multiple_esm_esp
...
Conflicts:
apps/openmw/mwrender/terrain.cpp
components/esm/loadland.hpp
components/esm_store/reclists.hpp
12 years ago
Mark Siewert
28d4d7ea3f
Manually convert last changes in branch to upstream/master. Regular merge attempt resulted in everything being overwritten by fast-forward merging.
...
- Remove check for 255 master/plugin files.
12 years ago
greye
3494e17b7c
wipe record superclass
12 years ago
greye
721324c1db
rm record inheritance, rework esmtool accordingly
12 years ago
greye
1339787863
remove underscores from filenames in esm
12 years ago
greye
c54750977f
remove underscores in guards
12 years ago
greye
2d5ddd104b
Land::loadData rework
12 years ago
greye
bd94f257bf
a bit formatting
12 years ago
greye
e69880f77e
almost perfect byte copies, has redundant data
12 years ago
scrawl
e8bba2b833
disabled loading of land normals again, didn't need them after all
12 years ago
scrawl
86cfc91ef3
global map rendering
12 years ago
greye
7606ebafd6
resolving conflicts, minor update
12 years ago
Alexander "Ace" Olofsson
76c4aa41bb
More land and cell work
13 years ago
Alexander "Ace" Olofsson
0fd48c4229
Extended the esmtool a bit and prepared all records for saving.
13 years ago
Alexander "Ace" Olofsson
ba602929ef
Adding basic save functions to all record types.
13 years ago
Lukasz Gromanowski
ea8e5cb6f8
Issue #225 : Land struct is not copyable.
...
Disabled copy constructor and assignment operator in Land structure.
13 years ago