Commit Graph

65 Commits (97bc9954d0922d3ae5f480dcc4ecaffb5216d1ff)

Author SHA1 Message Date
Andrei Kortunov df459199dd Avoid left shift of negative value 7 years ago
scrawl 5f76317807 Wait for completion of CreateMapItem on exit to avoid potential threading issue 8 years ago
scrawl 29556a1802 More consistent wording of errors/warnings
A Warning indicates a potential problem in the content file(s) that the user told OpenMW to load. E.g. this might cause an object to not display at all or as intended, however the rest of the game will run fine.

An Error, however, is more likely to be a bug with the engine itself - it means that basic assumptions have been violated and the engine might not run correctly anymore.

The above mostly applies to errors/warnings during game-play; startup issues are handled differently: when a file is completely invalid/corrupted to the point that the engine can not start, that might cause messages that are worded as Error due to the severity of the issue but are not necessarily the engine's fault.

Hopefully, being a little more consistent here will alleviate confusion among users as to when a log message should be reported and to whom.
8 years ago
scrawl 72c6b11cf8 Move global map render to the worker thread 8 years ago
scrawl ddd6605608 Move WNAM out of LandData to avoid redundant (de)allocations on startup 8 years ago
scrawl 325bf66653 Return const Land in ESMStore 8 years ago
scrawl 80c008906b Fix texture coordinates 8 years ago
scrawl 48a23d61b2 Mask out water in global map overlay 8 years ago
Allofich 1c54f54ab8 Fix shadowing warnings 8 years ago
scrawl 641005b317 Remove Camera's children before removing the Camera
Should work around OSG race condition ( http://forum.openscenegraph.org/viewtopic.php?t=16077 )
9 years ago
scrawl f898bf493f Don't use Geodes 9 years ago
scrawl 90a99991d1 Use empty() instead of !size() 9 years ago
scrawl 0f347eccbf Flip the origin of global map texture
Now it's consistent with the overlay texture.
9 years ago
scrawl 8b7bdcd127 Fix the global map overlay viewport (Bug #3018) 9 years ago
scrawl b840c68f0c Do not create a depth buffer for the global map 2d rendering 9 years ago
scrawl 8e3bc981a2 Fix self-referencing camera 9 years ago
Alexander "Ace" Olofsson 7d4125d97f Fixes for building with unity build 9 years ago
Marc Zinnschlag a445683312 Merge branch 'mergetool'
Conflicts:
	apps/opencs/CMakeLists.txt
	apps/opencs/model/tools/tools.cpp
9 years ago
Marc Zinnschlag 69b9eadb52 refactored loading of land data 9 years ago
scrawl af3b0cd883 Improve some error messages 10 years ago
scrawl b543308e3e Remove an already resolved todo comment 10 years ago
scrawl ce0d93caed Fix for "GlobalMap trying to erase an inactive camera" spam in main menu 10 years ago
scrawl 7e715decd3 Color fix 10 years ago
scrawl 6d3528af70 Port global map exploration 10 years ago
scrawl 7a1408cfed Restore display of global map overlay, no exploration yet 10 years ago
scrawl 22f01b1232 Merge branch 'master' of https://github.com/OpenMW/openmw into osg
Conflicts:
	apps/launcher/graphicspage.cpp
	apps/opencs/editor.cpp
	apps/opencs/model/doc/document.cpp
	apps/opencs/view/render/cell.cpp
	apps/opencs/view/render/mousestate.cpp
	apps/opencs/view/render/textoverlay.cpp
	apps/opencs/view/render/worldspacewidget.cpp
	apps/openmw/mwclass/creature.cpp
	apps/openmw/mwclass/npc.cpp
	apps/openmw/mwgui/inventorywindow.cpp
	apps/openmw/mwgui/loadingscreen.cpp
	apps/openmw/mwgui/mapwindow.cpp
	apps/openmw/mwgui/pickpocketitemmodel.cpp
	apps/openmw/mwgui/waitdialog.cpp
	apps/openmw/mwmechanics/combat.cpp
	apps/openmw/mwmechanics/mechanicsmanagerimp.cpp
	apps/openmw/mwrender/globalmap.cpp
	apps/openmw/mwworld/physicssystem.cpp
	apps/openmw/mwworld/refdata.cpp
	apps/openmw/mwworld/scene.cpp
	apps/openmw/mwworld/worldimp.cpp
	components/sdlutil/sdlinputwrapper.cpp
	extern/shiny/Main/Factory.cpp
	extern/shiny/Main/MaterialInstance.cpp
	extern/shiny/Main/Platform.cpp
	extern/shiny/Main/ShaderSet.cpp
10 years ago
Rohit Nirmal 396fba7fa9 Silence -Wreorder warnings, and remove -Wno-reorder. 10 years ago
scrawl 75ace9f8b5 Global map base layer 10 years ago
dteviot e197f5318b fixing MSVC 2013 warning C4244: & C4305
conversion from 'const float' to 'int', possible loss of data
conversion from 'double' to 'int', possible loss of data
conversion from 'float' to 'int', possible loss of data
10 years ago
scrawl 0c6e2170db Include cleanup 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 de23ad5c8d Change dynamic_cast to static_cast to make coverity happy 10 years ago
scrawl c3f3f8b3d0 Use only Cell records for saving progress bar (Fixes #2259) 10 years ago
scrawl a47de06492 Make local map resolution configurable and use lower default value
This seems to be the resolution the original engine is using. The change also significantly reduces cell loading time.
10 years ago
scrawl 7252cb63a6 Fix cppcheck issues 10 years ago
scrawl 4f0fc79ea4 Change global map cell size from 24 to 18 and make it configurable 10 years ago
scrawl 2066097202 Fix incorrect reading of global map state in some cases when the map size changed (Fixes #1946) 10 years ago
scrawl c065a4b203 Add ManualResourceLoader for global map overlay (Fixes #1736) 11 years ago
scrawl 091f9a8fdc Optimize global map render slightly 11 years ago
scrawl 30666f2cce Fixes #1297: Store global map markers in savegame 11 years ago
scrawl 065b6d3331 Terrain: moved ESM::Land load to earlier in the startup procedure
Required for background loading as we cannot load ESM::Land data from background threads.
11 years ago
scrawl ff11d85a62 Fix wrong assertion 11 years ago
scrawl dea9d21db6 Some additional safety checks for global map loading 11 years ago
scrawl e0de76a6f7 Save/load global map 11 years ago
scrawl f09328ca84 Clear global map overlay when starting/loading a game 11 years ago
scrawl d3d6dfbde8 Refactored loading screen
- Add loading progress for data files, global map, terrain
 - Refactored and improved cell loading progress
12 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
scrawl 7dc30a01cd Some changes suggested by cppcheck 12 years ago
scrawl 284ba58e1e Z-up conversion: global map, shader fix 12 years ago