Commit Graph

2615 Commits (openmw-37)

Author SHA1 Message Date
scrawl 0cc9b1bb40 Remove dependency on OgrePlatform.h 10 years ago
scrawl dd23981eab Font workaround for older MyGUI versions, works with 3.2.2 now 10 years ago
scrawl bd0233ce68 Error handling improvement 10 years ago
scrawl e642f20a65 Restore screenshot key functionality 10 years ago
scrawl 974fda5bde Merge branch 'master' of https://github.com/OpenMW/openmw into osg
Conflicts:
	extern/sdl4ogre/sdlwindowhelper.cpp
10 years ago
scrawl cd47dff196 Minor cleanup 10 years ago
scrawl b978153edb Enable VBO sharing for terrain geometry 10 years ago
scrawl 5666e02546 Fix for dark terrain in some cases 10 years ago
scrawl cdd0623009 Terrain rendering 10 years ago
scrawl 10f938ff87 Add comment 10 years ago
scrawl 5a7f2a4f1f Restore light attenuation settings 10 years ago
scrawl 01944c33f5 Basic water rendering 10 years ago
Marc Zinnschlag 67f04e0ba1 Merge remote-tracking branch 'origin/master' 10 years ago
Marc Zinnschlag ee2763f2d4 Allow 5th parameter for PlaceAtMe (numeric value, ignored) (Fixes #2591) 10 years ago
Stanislav Bas 6cb221f8d0 Some minor changes to MWList 10 years ago
Stanislav Bas 959fe3eb87 Reset the scrollbar position in the topic list when DialogueWindow is closed 10 years ago
Stanislav Bas 5350ce59ef MWList doesn't scroll to the very bottom when it's shown for first time 10 years ago
scrawl de8e5f0db1 Restore projectiles 10 years ago
scrawl c85764b654 Wireframe mode 10 years ago
scrawl 7f9f9a32d2 InitWorldSpaceParticles fix 10 years ago
scrawl b0b55e2037 Delete niftest as it's currently broken 10 years ago
Stanislav Bas 5dc6cdeb99 Scroll to the top of the topic list when dialog is started 10 years ago
scrawl a066b24303 Restore WeaponAnimation 10 years ago
Marc Zinnschlag d7cd4203ad Merge remote-tracking branch 'k1ll/mingw' 10 years ago
scrawl 0f8f19958a NifLoader: Fix empty StateSets being created in some cases 10 years ago
scrawl fd50be0fb8 Restore various gameplay 10 years ago
scrawl 6231cd8557 RigGeometry clone fix 10 years ago
scrawl a56d0e9cc3 ControllerVisitor fix 10 years ago
scrawl 668d365ef9 MorphGeometry copy fix 10 years ago
scrawl 261ed1f4e5 Revert "Enable culling for particle emitters & programs"
This reverts commit 8b206e0aed.
10 years ago
scrawl 1cdb440b77 glReadPixels *is* available on OpenGL ES 10 years ago
scrawl 9ee63dc3f4 Change stats viewer key to f3 10 years ago
scrawl 025a1a7866 Restore savegame screenshot display 10 years ago
scrawl fe439e53ff Bullet include cleanup 10 years ago
cc9cii 5fd107a95c Fix crash with array out of bounds when refNum index is incorrect. 10 years ago
scrawl 723beb1cac Move IncrementalCompileOperation to SceneManager 10 years ago
scrawl 5de24552a8 Leak fix 10 years ago
scrawl 3dcb167066 Map rendering 10 years ago
scrawl da24e298ee Fix -Wreorder warnings 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 7882c3d7f0 Fix incorrect rotation for meshes with BoneOffset 10 years ago
scrawl 8d033f0558 Fix UpdateRigBounds not being copied properly 10 years ago
scrawl 8b768f4377 Minor fix for behaviour with non-existing LightManager 10 years ago
scrawl 314c1161ae Minor addition to reading display 10 years ago
scrawl 99eb78fc19 Fix $DISPLAY not being accounted for in cursor decompression context 10 years ago
scrawl 737c2114dc Change viewer stats keybinding to F9 10 years ago
scrawl 49df07ea7f Implement UI scaling factor 10 years ago
scrawl 24bb2e152c Apply texture filter setting changes 10 years ago
scrawl 5442bf23a6 Apply video mode & gamma setting changes 10 years ago
scrawl b6cb73e6e8 Fix deep copying of controllers
This fixes the cell loading crash.
10 years ago
scrawl a18663c8b3 Improve MyGUI texture updates 10 years ago
scrawl 5dd1b2ae86 Readded HW cursor rotation 10 years ago
scrawl c775cbbbaa Silence an annoying message 10 years ago
scrawl 9ea416b852 Readded HW cursor manager (no image rotation yet) 10 years ago
scrawl 39fb46601a Readded input & event handling 10 years ago
scrawl 298b3ed2ef Create the GraphicsWindowSDL2 directly 10 years ago
scrawl 0498e6e5f0 Readded window icon 10 years ago
cc9cii 7f12fc4770 Fix for Bug #2544. Add a default mNpdtType to ESM::Npc::blank(). 10 years ago
scrawl 375b736e74 Use SDL to create the window
No input nor event loop handling yet, so the window will "stop responding" after a few seconds.

Thanks to KittyCat for the GraphicsWindowSDL2 code.
10 years ago
scrawl 82316105de BulletShapeManager kf loading fix 10 years ago
scrawl 65f0195c71 Readded animated collision shape support 10 years ago
scrawl 47758c11cd Readded collision objects and movement physics 10 years ago
Marc Zinnschlag 107bf818e7 Revert "Use btScaledBvhTriangleMeshShape, bump required bullet version to 2.83"
This reverts commit 27751db99a.

Conflicts:

	libs/openengine/bullet/physic.cpp
10 years ago
scrawl c31b416ba1 Move physicssystem to a new mwphysics module 10 years ago
scrawl fe15f31f3e Remove strings.h wrapper 10 years ago
scrawl c843cfc8e2 Physics stub in preparation for rewrite 10 years ago
scrawl 48ffeab191 Remove old BulletShapeManager 10 years ago
scrawl 0da1e0e905 Add comment 10 years ago
scrawl d432a3ed08 Fix MyGUI rendering not taking DataVariance of textures into account 10 years ago
scrawl af7cbb2e3b Leak fix 10 years ago
scrawl 483dc9de45 Stop viewer threading before changing MyGUI textures 10 years ago
scrawl 604580d75d Move toMatrix to Nif::Node 10 years ago
scrawl f760aebc92 Disable MyGUI VBOs due to crashes (will look into proper fix) 10 years ago
Marc Zinnschlag 0c27869089 Merge remote-tracking branch 'scrawl/bullet283' 10 years ago
scrawl 100d6e5fff Render MyGUI in background thread, i.e. refactor to get rid of DYNAMIC DataVariance 10 years ago
scrawl ee60df1e27 Split MyGUI rendering into Update, Cull and Draw stages 10 years ago
scrawl 27751db99a Use btScaledBvhTriangleMeshShape, bump required bullet version to 2.83 10 years ago
dteviot b0c4be2316 Multi-select + context menu. (Fixes #2480)
Content selector, added multi-select + context menu to allow check/uncheck the multi-selected items.
10 years ago
scrawl e1f4a7f647 Merge branch 'master' of https://github.com/OpenMW/openmw into osg
Conflicts:
	apps/openmw/engine.cpp
	apps/openmw/mwgui/mainmenu.cpp
	apps/openmw/mwgui/windowmanagerimp.cpp
	apps/openmw/mwinput/inputmanagerimp.cpp
	apps/openmw/mwrender/animation.cpp
	apps/openmw/mwrender/debugging.cpp
	apps/openmw/mwrender/npcanimation.cpp
	apps/openmw/mwrender/renderingmanager.cpp
	apps/openmw/mwrender/sky.cpp
	components/nif/nifkey.hpp
	components/nif/nifstream.hpp
	components/nifbullet/bulletnifloader.cpp
	components/nifogre/ogrenifloader.hpp
	libs/openengine/bullet/physic.cpp
	libs/openengine/gui/manager.cpp
10 years ago
scrawl a37a83eaea Use interleaved vertex data in MyGUI render manager, avoiding redundant copies 10 years ago
scrawl 5a759f8b0d GUI cleanup fix 10 years ago
scrawl 140e67036c Flip non-dds textures vertically
Fixes the up-side down loading screens.
10 years ago
Marc Zinnschlag 83a7eea2a9 Merge remote-tracking branch 'scrawl/master' 10 years ago
scrawl 1a5407af98 Reduce texture memory usage in OpenMW 10 years ago
scrawl dc9b27acfe Create manual GUI textures 10 years ago
scrawl 1b78acc2c0 Remove manual allocation for images 10 years ago
scrawl cac288d5be Remove OgreInit 10 years ago
scrawl d9d84bd7b2 Remove bullet raycasting shapes, to be replaced with OSG ray casts 10 years ago
scrawl 82c4d01b37 Add back resource handling workarounds to the gui code 10 years ago
scrawl 9f74be8fcb Add back the custom MyGUI log facility for utf8 paths on windows 10 years ago
scrawl 6afb0e43ef Port FontLoader - requires MyGUI patch from https://github.com/MyGUI/mygui/pull/69 10 years ago
scrawl a59940a2c7 Move MyGUI platform to components 10 years ago
scrawl 15bdb7db01 transformBoundingSphere optimization 10 years ago
scrawl a98dc78cc5 Bounds fix 10 years ago
scrawl 83c6ba97c0 Disable skinning updates for actors beyond the AI processing distance 10 years ago
k1ll 8e094d6fa5 Add static bullet to components 10 years ago
k1ll b194af4ab2 Add static qt to components 10 years ago
k1ll a230050ec8 Boost tr1 unordered map does not work with mingw 10 years ago
k1ll 00b7712a59 Fix shlwapi include case and add the lib for linking when building for windows 10 years ago
Marc Zinnschlag ba57a648db Merge remote-tracking branch 'rohit-n/reorder' 10 years ago
Marc Zinnschlag 607a16eb01 removed leftover ignoreRefNum argument 10 years ago
Rohit Nirmal 997347b01e Silence -Wreorder warnings. 10 years ago
Marc Zinnschlag f1c0847897 Merge remote-tracking branch 'cc9cii/moveref' 10 years ago
Marc Zinnschlag e69687b0f2 silenced a warning (potentially unintialised variable) 10 years ago
scrawl 63b69db617 Port skeleton based bounding boxes to the new skinning system
Not sure if going to keep this, there's a noticable performance impact.
10 years ago
cc9cii 7673be6d0f Loading of moved refs complete. 10 years ago
scrawl b4a06bd78d Improve skinning performance 10 years ago
cc9cii e668b35b02 Fix typo. 10 years ago
cc9cii dcce59f76c Pass MovedCellRef info to RefCollection. Still has debugging code. 10 years ago
cc9cii acb800b8f9 Resolve merge issues and fix typos. 10 years ago
scrawl 372a54bbc7 Dead code removal 10 years ago
cc9cii f1a58994c6 Merge branch 'master' into moveref
Conflicts:
	apps/opencs/model/world/columns.hpp
	apps/opencs/model/world/commands.cpp
	apps/opencs/model/world/commands.hpp
	apps/opencs/model/world/ref.cpp
	apps/opencs/view/world/dialoguesubview.cpp
	apps/opencs/view/world/dialoguesubview.hpp
	apps/opencs/view/world/util.cpp
	components/esm/cellref.hpp
10 years ago
scrawl 09742d5b95 Animation playback works, no movement accumulation yet 10 years ago
scrawl 6fada6acf8 Remove tests for no longer existing code 10 years ago
scrawl 12f3198f68 Node name lookups should be case insensitive
Concerns "AttachLight", "BoneOffset" and equipment part attachment points, that are all case insensitive in vanilla MW.
10 years ago
scrawl cd7808fc11 Cleanup in preparation for animation port
Scrapped previous idea for multiple animation sources, better approach incoming.
10 years ago
scrawl 148c041a43 Nif loader cleanup - forcing a skeleton is no longer needed 10 years ago
scrawl 1a19cd3607 Some cleanup 10 years ago
scrawl 8c810e3620 Move rng to components 10 years ago
scrawl 04accb7652 Add LightController 10 years ago
scrawl 5fbcf8a859 Mesh filtering fix 10 years ago
scrawl a254877abe Clone fix 10 years ago
scrawl 28643660d3 Change triangle indices to unsigned 10 years ago
scrawl 102eadf91c Add some comments 10 years ago
scrawl 10644544ab Dead code removal 10 years ago
scrawl eaa4316ff8 Move skinning code to SceneUtil 10 years ago
scrawl 9246a668b9 Skeleton update fix 10 years ago
scrawl bd88758962 Use the new skinning system in OpenMW 10 years ago
scrawl 111e3eb6db Slightly improve bounding box for skinned meshes 10 years ago
scrawl 4ea6d4aa01 Rewrite of skinning code
Goals:
- get rid of the mesh pre-transform (this requires supporting different bind matrices for each mesh)
- bounding box should be relative to the bone the mesh is attached to, ideally we can then get rid of the expensive skeleton-based bounding boxes
- update bone matrices in CullCallback instead of UpdateCallback

Works OK, though the bounding boxes are not correct yet.
10 years ago
scrawl 167ae600c5 Implement gravity decay (previously unknown float) 10 years ago
scrawl 68f93294da Port EffectManager 10 years ago
scrawl f7d2a28930 Port BoneOffset 10 years ago
scrawl 1699759d12 Merge branch 'master' of https://github.com/OpenMW/openmw into osg
Conflicts:
	apps/opencs/view/render/cell.cpp
10 years ago
scrawl edc5cad79e Port Animation::addEffect 10 years ago
dteviot 4607c4b581 Add Modified DateTime to plug-in tooltip. (Fixes #2479) 10 years ago
scrawl 20af2b67a8 Change the triangle pattern used for terrain (Fixes #2459) 10 years ago
scrawl 083c41c950 Environment map for enchanted objects 10 years ago
scrawl 8f6d4fb3e0 Fix filtering bug 10 years ago
scrawl 57fd18b161 Fix frontface bug 10 years ago
scrawl c334a76a6f Fix skinning bug 10 years ago
scrawl f7da979669 Add FrameSwitch (geometry "double buffering") for efficient updates of RigGeometry & MorphGeometry 10 years ago
scrawl c516e897ee Move Controller base classes to SceneUtil, add visitor to assign ControllerSources 10 years ago
scrawl de2c85e0f8 Port nifloader to the more efficient StateSetController 10 years ago
scrawl 5dd1ab24fe More efficient StateSetController, beginnings of sky rendering 10 years ago
scrawl 987e923790 LightManager optimization 10 years ago
scrawl 61aaf0cf70 Attach light lists to the object base nodes instead of each renderable
Apparently that is how Ogre worked (on the SceneNode) so let's roll with it for now. Have not tested yet what MW does.
10 years ago
scrawl c92592493e OpenMW: create a window and render the starting cell(s) 10 years ago
scrawl a0b43f426e Avoid setting DYNAMIC DataVariance on StateSets 10 years ago
scrawl b0ea51a5c8 Colour conversion utility 10 years ago
scrawl 591a35b8d7 *very* early version of the LightManager 10 years ago
scrawl 433e29f297 MorphGeometry optimizations: static bounding box and vertices updated during cull traversal 10 years ago
scrawl 8b206e0aed Enable culling for particle emitters & programs
Big speedup, though might cause timing inconsistencies that we should fix at some point.
10 years ago
scrawl 0b77ae43a4 Minor optimization for particle emitters 10 years ago
scrawl 74c56556cc More fixes for scaled particle systems 10 years ago
scrawl c4738b11b1 Identify unknown float in NiGravity 10 years ago
scrawl 1eafecd30c Add magic factor as in vanilla MW to gravity affector (Bug #2147) 10 years ago
scrawl 304d7e544f Optimize RigGeometry to update skinning in CullCallback 10 years ago
scrawl e5e1013c51 TextKeys attached to root node as user data, add .kf loading to scenemanager 10 years ago
scrawl 25f1c1ae76 Remove persistent flag which will be unused 10 years ago
scrawl 31adaf2495 Use simulationTime instead of referenceTime 10 years ago
scrawl af67de73a5 Delete shiny 10 years ago
scrawl 4e69e7cc0f OpenMW compiles and runs w/o render window 10 years ago
scrawl 12f27123f2 Billboard scaling fix and culling bug fix 10 years ago
scrawl a474c72026 Archive priority fix 10 years ago
scrawl 9975ec1678 Missing clone function 10 years ago
scrawl 5162e9c09e Add comment 10 years ago
scrawl a7272b73d0 Add utility for assembling body parts / equipment 10 years ago
scrawl 6183926732 Particle fix 10 years ago
scrawl 173887c2d9 AlphaController copy fix 10 years ago
scrawl 232e34bddd OpenCS: port lighting toolbar, fix multiple context GL objects issue 10 years ago
scrawl c5fd92fde1 Show a default warning texture for not found textures 10 years ago
scrawl bb32c761df *very* early texture manager, need a lot more thought to design this properly 10 years ago
scrawl 322fcdc2d3 Transform world space particles when attaching to a node 10 years ago
scrawl 961aba5e2b Revert part of e91d9d0903 10 years ago
scrawl ac2612926e Disable unRefImageDataAfterApply 10 years ago
scrawl 236d628884 Merge branch 'master' of https://github.com/OpenMW/openmw into osg
Conflicts:
	apps/opencs/model/doc/document.cpp
	apps/opencs/model/doc/documentmanager.cpp
	components/CMakeLists.txt
	components/bsa/resources.cpp
	components/nif/data.hpp
	components/nif/node.cpp
	components/nifogre/mesh.hpp
	components/nifogre/ogrenifloader.cpp
	components/nifogre/particles.cpp
10 years ago
scrawl e91d9d0903 Fix for behaviour of scaled particle nodes
Not sure if used in vanilla assets so may be low priority, but couldn't help looking into this.
10 years ago
scrawl c10c146ad1 Skeleton based bounding box callback for RigGeometry (Bug #455) 10 years ago
scrawl 99e1720980 Add SceneManager and clone utility 10 years ago
scrawl 60f288195f Fix for copy construction of particle system templates 10 years ago
scrawl 99c9907ff3 Fix emitter/particlesystem scene graph order problems 10 years ago
scrawl caa93f767b Skip creating meshes for hidden nodes with no VisControllers
There's quite a bit of garbage in base_anim.nif, so this change should result in a much leaner scene graph.
10 years ago
scrawl e938fa4a9d Implement extrapolation mode in ControllerFunction (Bug #1871) 10 years ago
scrawl 96d51f0bb7 NiParticleRotation seems to be unused 10 years ago
scrawl 46cbec9a4a Add skinning auto-detection in nifosg loader 10 years ago
scrawl b7867d6f0a Stop warning about unused nif properties 10 years ago
scrawl 60ede8dede Stop warning about NiFogProperty (unused in MW) 10 years ago
scrawl 6d9deaa386 Implement planar collider for particles (Fixes #2149) 10 years ago
scrawl c179977f20 Fix quaternion rotation order 10 years ago
scrawl 20866b44f7 FlipController fix, DetailTexture & DarkTexture tested 10 years ago
scrawl b072e803ce Use correct ambient/diffuse default values when no NiMaterialProperty exists 10 years ago
scrawl 9ee99a751c Stop warning about NiDitherProperty, ignore NiShadeProperty (unused) 10 years ago
scrawl 9141a8d801 Fully implement NiStencilProperty (Feature #1057) 10 years ago
scrawl baa152328a Crash fix 10 years ago
scrawl 1affa497d5 Delete the old nifogre loader 10 years ago
scrawl 376f0f3ac1 Small cleanup 10 years ago
scrawl 018115601a Move particle emitter/affector handling to separate functions 10 years ago
scrawl 36ad40827b Move parent node attachment out of nifloader 10 years ago
scrawl ff9e2b03a0 Hide NIF loader details in the implementation file 10 years ago
scrawl 5a582e7eb7 Reintroduce showMarkers flag 10 years ago
scrawl 6d85444d26 Add text key loading 10 years ago
scrawl 6219a7bbfc Add .kf loader 10 years ago
scrawl 9242e6d256 Avoid copying keyframes in controller instances 10 years ago
scrawl 2db5df77f0 Change rotation/scale workaround in preparation for loading .kf controllers 10 years ago
scrawl 15f9c1ddcf NiBSPArrayController works 10 years ago
Marc Zinnschlag 9ab25dbf6b Merge remote-tracking branch 'dteviot/Rng' 10 years ago
dteviot 2cfc4c0286 script Random() command now returns correct range. 10 years ago
scrawl 71782462b7 Subclass ParticleSystem to support limit on the number of particles 10 years ago
scrawl 2e11642273 Fix BillboardNode overriding scale 10 years ago
scrawl a9aee389c0 Emitters attached to correct node, a bit ugly 10 years ago
scrawl 32bb202290 Implement BillboardNode 10 years ago
scrawl d486cde330 Fix broken VisControllers 10 years ago
scrawl 4957ceeb1d Refactor controllers, now part of the scene graph as UpdateCallbacks
Practical benefits:
- The controller update is now run automatically
- Creating an instance of a scene graph should now work properly using the defined copy constructors
10 years ago
scrawl af27a10b0c OpenCS: preliminary port of PreviewWidget to OSG 10 years ago
scrawl 40fc097722 OpenCS: use the new VFS, restored resource tables 10 years ago
Marc Zinnschlag 5198a173fa Merge remote-tracking branch 'corristo/osx-user-data-path' 10 years ago
scrawl 49c2da27b3 OpenCS compiles and runs again (no rendering) 10 years ago
scrawl ab3c28eb96 Use template function for interpolation 10 years ago
scrawl 00ab474188 More work on copy constructors 10 years ago
scrawl 7bc0d41bb0 Marker collision fix (Fixes #2461) 10 years ago
scrawl f8422c3ed4 Particles mostly completed, still need to attach emitters to the correct node and handle NiBSPArrayController 10 years ago
scrawl 79c2138e53 Port ResourceHelpers to new VFS 10 years ago
Nikolay Kasyanov af2b08214b #2460: use Application Support as user data path on OS X 10 years ago
Nikolay Kasyanov 3e45e9a48a Remove no longer required strnlen wrapper
It was used for MinGW & OS X < 10.7. Minimal OS X version was bumped to
10.7 and MinGW support was recently dropped (see
1eaa64c49c).
10 years ago
Marc Zinnschlag 47bac13749 Merge remote-tracking branch 'scrawl/master' 10 years ago
scrawl f843e12538 Add world space particle systems, will need more changes when emitters are added 10 years ago
scrawl 510375aa63 Add virtual file system (VFS) replacing the low level parts of the old resource system 10 years ago
Marc Zinnschlag c032113247 Merge remote-tracking branch 'sandstranger/release-jni-memory' 10 years ago
scrawl f7ecda68c9 Fix for unicode filenames in ContentModel (Fixes #2451) 10 years ago
sylar db10c87b89 release jni memory 10 years ago
Nathan Aclander 48e2ec2840 Fix comparison of integers of different signs
Clang reported comparison of unsigned long with long. This cast should fix it.
10 years ago
Marc Zinnschlag 86d39cede9 Merge remote-tracking branch 'dteviot/Rng' 10 years ago
dteviot 3f28634d1f consolidate random number logic
Note, I suspect Rng::rollClosedProbability() is not needed.  The only difference between it and rollProbability() is that one time in 37k (on Windows), it will give an output of 1.0.
On some versions of Linux, the value of 1.0 will occur about 1 time in 4 billion.
10 years ago
dteviot 1d7f3474fa Fixed more MSVC 2013 warnings. 10 years ago
dteviot 2ef7fc4e2c Installer work for Windows (Fixes #1621)
1. Correctly reads Windows registry for vanilla MW install location.
2. Populates existing installation page with location of vanilla, when found.
3. On Windows, installer wizard now gets to Import page.
10 years ago
cc9cii 488bc76da5 Fix saving land data. 10 years ago
Marc Zinnschlag 056bc66c6c Merge remote-tracking branch 'scrawl/master' 10 years ago
scrawl 5f051b5bf2 Remove comment about GMST cleaning which was removed. 10 years ago
scrawl 16ddfbca14 Remove some outdated todo comments 10 years ago
scrawl 304277429f Rename variable to not show up in search for "TODO" comments. 10 years ago
Scott Howard e2ef8c4022 fix -Wnewline-eof warnings 10 years ago
scrawl e30f240ba2 Add travel service support for creatures (Fixes #2432) 10 years ago
dteviot 36141b0c53 Merge remote-tracking branch 'OpenMW/master' into FixWarnings
Conflicts:
	apps/openmw/mwinput/inputmanagerimp.cpp
	apps/openmw/mwmechanics/actors.cpp
	extern/sdl4ogre/sdlcursormanager.cpp
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
Marc Zinnschlag ba482fa41f Merge remote-tracking branch 'dteviot/FixWarnings' 10 years ago
dteviot f2ac939e61 reverted mShouldRepeat back to unsigned char.
As recommended by Scrawl.
10 years ago
Marc Zinnschlag 907ac5ef7f Merge remote-tracking branch 'scrawl/master' 10 years ago
dteviot 45b6538820 fixed MSVC 2013 warning C4800
forcing value to bool 'true' or 'false'
10 years ago