Commit Graph

86 Commits (move)

Author SHA1 Message Date
scrawl e8662bea31 Change the way that image origin is converted to OpenGL's lower-left convention
Flip the texture coordinates instead of flipping textures.

This simplifies the TextureManager (no need to worry if the caller wants flipping or not), should make it easier to generalize & multithread it.
9 years ago
scrawl 8e5398d85b Add missing initializations 9 years ago
scrawl 7d647088ab Make the local map cell distance configurable 9 years ago
scrawl bd655c20fd Refactor local map updates
We don't need the delay any more because the rendering itself is part of the normal rendering traversal - so it's delayed anyway.

Don't request maps that we're not actually using (i.e. with cell grid sizes higher than the default 3, we were rendering more maps than the map window could show).
9 years ago
scrawl ef20962fc5 Disable fog of war rendering on the HUD map by default 9 years ago
scrawl ca4e859f61 Remove unused argument 9 years ago
scrawl 0f347eccbf Flip the origin of global map texture
Now it's consistent with the overlay texture.
9 years ago
scrawl e8c9d3ea2a Fix cell names on world map not always being translated (Fixes #2832) 10 years ago
scrawl 1156668843 Render certain map markers on top of the player arrow (Fixes #2559) 10 years ago
scrawl 77f1387da8 Include cleanup 10 years ago
scrawl 6e493500c9 Show custom map markers on the tooltip of the world map marker (Fixes #2711) 10 years ago
scrawl 41bed4c7d9 Use multimap to speed up custom map marker code 10 years ago
Alexander "Ace" Olofsson 3655ef16af Explicitly instantiate ESM::StatState 10 years ago
scrawl e23775e338 Fix -Woverloaded-virtual clang warnings 10 years ago
scrawl 4bb3cbf0fb Remove last remains of Ogre 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 72d0a69132 Fix global map markers not being cleared on a new game 10 years ago
scrawl c811ac6afe Port fog of war
Not optimized yet, need to work on fog texture's DataVariance.
10 years ago
scrawl 3dcb167066 Map rendering 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
scrawl bec9abd319 Remove name extension for internal MyGUI textures
Since they're no longer loaded from disk, the extension makes no sense.
10 years ago
scrawl 033719ccd7 Correct the icon used for custom map markers 10 years ago
scrawl ca53457a1c Correct the map icons used for detect spells (Fixes #2519) 10 years ago
scrawl 4e69e7cc0f OpenMW compiles and runs w/o render window 10 years ago
dteviot e6cd8484a2 fixing MSVC 2013 warning C4244: & C4305
fixes for mistakes in last commit.
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 7542fb5cd9 Show map notes on door marker leading to the cell with the note (Fixes #2284) 10 years ago
scrawl c883a73d30 Several warning fixes 10 years ago
scrawl f9cf31fcd5 ESSImport: convert custom map markers, not working for interiors yet 10 years ago
scrawl c3f3f8b3d0 Use only Cell records for saving progress bar (Fixes #2259) 10 years ago
scrawl 728b842e72 Use MyGUI::utility in favor of boost lexical_cast 10 years ago
scrawl eecea4131f Reduce MyGUI includes 10 years ago
scrawl 363d1f9207 Merge remote-tracking branch 'upstream/master' 10 years ago
scrawl 5d7dcafa53 Make local map widget size configurable 10 years ago
Alexander "Ace" Olofsson 462b41a3a8 Missing files, aka; Why you shouldn't stresscommit 10 years ago
scrawl 81a9dc0655 Hotfix for not being able to scroll the world map 10 years ago
scrawl 7d36a202a8 Implement cell loading threshold (Fixes #1874)
The cell loading threshold (default: 1024 units) prevents exterior cell loading until the player has travelled part-way into the next cell. This gets rid of excessive cell loadings when walking along an exterior cell border.

Lower the maximum allowed view distance in options menu to accomodate. Change setting name so that old settings files are upgraded.
10 years ago
scrawl 790e0150b1 Fix global map markers being duplicated when cell is visited again 10 years ago
scrawl 18be152ab1 Allow dragging map even when a marker is hovered 10 years ago
scrawl 97df7c9b22 Get rid of markers.png and use original MW texture, cleanup 10 years ago
scrawl 4f0fc79ea4 Change global map cell size from 24 to 18 and make it configurable 10 years ago
Marc Zinnschlag 9b7f61b4ba Merge remote-tracking branch 'scrawl/myguiplugin' 10 years ago
Marc Zinnschlag 94a7e38194 Merge remote-tracking branch 'ragora/fixglobalcompassorient' 10 years ago
scrawl 2c58a879ec Fix minor exploit when map window is shown with transparency 10 years ago
Ragora 282e7abd16 Map Arrow Correction; now rotate global map arrow to whatever the local map arrow orientation is 10 years ago
Ragora 35571bb108 Global compass arrow rotates regardless of indoor or outdoor presence 10 years ago