Commit Graph

24345 Commits (f78a5d795c0395c48d441989ddaeaffb6eae02d4)
 

Author SHA1 Message Date
Nelsson Huotari f78a5d795c Separate keyframes logic to provide basis for osgAnimation integration. 4 years ago
AnyOldName3 37661bffea Merge branch 'shadowdisable-fix' into 'master'
Make disableShadowsForStateSet a no-op when shadows are disabled

See merge request OpenMW/openmw!205
4 years ago
psi29a c69b407f8c Merge branch 'close_the_window_before_you_destroy_the_world' into 'master'
Don't unload the world before closing containers

Closes #5689

See merge request OpenMW/openmw!419
4 years ago
psi29a 642cf8ff8e Merge branch 'debian-gcc-first-time-timeout' into 'master'
Fix Debian GCC timeout on forks

See merge request OpenMW/openmw!416
4 years ago
psi29a 881bc49e0b Merge branch 'no-dynamic' into 'master'
Make Bullet DebugDrawer's default state match the physics system

See merge request OpenMW/openmw!418
4 years ago
Evil Eye c126d8801f Fix #5689 4 years ago
AnyOldName3 06d1e70aac Make Bullet DebugDrawer's default state match the physics system 4 years ago
psi29a 86dc6f7512 Merge branch 'nine-ten-eleven-twelve' into 'master'
Fix extraction with 7z 9.10

See merge request OpenMW/openmw!415
4 years ago
AnyOldName3 48ea9960b9 Fix Debian GCC timeout on forks 4 years ago
AnyOldName3 211894a178 Fix extraction with 7z 9.10
This is still used in the wild as lots of people install 7zip and never update it because it works. We can't check the version and abort if it's too old as the changelog doesn't make it clear which version fixed the behaviour.
4 years ago
psi29a 8f2701c24b Merge branch 'sewer-water-isn't-that-clear' into 'master'
Set dummy state when disabling shadows indoors

Closes #5688

See merge request OpenMW/openmw!412
4 years ago
AnyOldName3 06ae2a0536 Add changelog entry 4 years ago
AnyOldName3 7768556ce6 Set dummy state when disabling shadows indoors
As we don't reconfigure all shaders without shadows when we disable them
indoors (as it'd probably add a hitch to transitioning in and out) we
need to set up dummy state so the shaders don't do anything illegal.

This hadn't had symptoms for most objects as when indoors, nearly
everything would be drawn first in one of the water RTTs, which had
dummy state to disable shadows already. This wasn't true of the water
plane itself, though, yet somehow it took until just now for anyone to
report that.

This resolves vtastek's issue where the water would be invisible indoors
4 years ago
psi29a 894bcb8bcc Merge branch 'fix_the_fix's_fix' into 'master'
Don't fall while teleporting

See merge request OpenMW/openmw!411
4 years ago
Frederic Chardon bb5213670c Use bigger hammer to set Actor's position after teleporting. Otherwise traceDown() would use old collision object transform and gives incorrect results, making the Actor "fall" in the new position. 4 years ago
psi29a 0a566dbce7 Merge branch 'simplifystanding' into 'master'
Get rid of the StandingActorsMap.

See merge request OpenMW/openmw!409
4 years ago
fredzio d64ed6cf53 Get rid of the StandingActorsMap. Just embed the necessary info into
Actor class.
4 years ago
psi29a 5362146d24 Merge branch 'interleaved_movements' into 'master'
Unbreak lifts & conveyors in Sotha Sil Expanded

See merge request OpenMW/openmw!410
4 years ago
fredzio e5fa457fe7 Properly account for interleaved move of actors.
Before this change, if an actor position was changed while the physics
simulation was running, the simulation result would be discarded. It is
fine in case of one off event such as teleport, but in the case of
scripts making use of this functionality to make lifts or conveyor (such
as Sotha Sil Expanded mod) it broke actor movement.

To alleviate this issue, at the end of the simulation, the position of the Actor
in the world is compared to the position it had at the beginning of the
simulation. A difference indicate a force move occured. In this case,
the Actor mPosition and mPreviousPosition are translated by the difference of position.

Since the Actor position will be really set while the next simulation runs, we
save it in the mNextPosition field.
4 years ago
psi29a 6064d3e741 Merge branch 'boundingvolume' into 'master'
Read NIF bounding volume data correctly

See merge request OpenMW/openmw!407
4 years ago
Alexei Dobrohotov df9667e923 Read NIF bounding volume data correctly 4 years ago
psi29a 37e81f0df8 Merge branch 'redirection-fix' into 'master'
Only reroute stdout etc. to new console if not already redirected

Closes #5650

See merge request OpenMW/openmw!408
4 years ago
AnyOldName3 89d73c5fc7 Only reroute stdout etc. to new console if not already redirected
This should fix the issue where Windows Release builds (compiled as
/SUBSYSTEM:WINDOWS instead of /SUBSYSTEM:CONSOLE) can't have their
output redirected.

Basically, a console application creates a console if not given one, so
you get a console window behind OpenMW while it's running. It was
decided that this was ugly, so we set Release builds to be windows
applications, which don't get an automatic console and don't
automatically connect to a console if given one anyway.

Of course, we still wanted to actually be able to print to a console if
given one, so we manually attach to the parent process' console if it
exists, then reopen the standard streams connected to CON, the Windows
pseudo-file representing the current console.

This is a little like connecting a second wire into a dumb terminal in
that you're pumping characters into the display rather than onto a
pipeline, so output can't be redirected.

It turns out, though, that if a /SUBSYSTEM:WINDOWS application has its
standard streams redirected by the calling process, it still gets its
handles as normal, so everything starts off connected just how we want
it and we were clobbering this good setup with the straight-to-console
fix.

All we need to do to fix that is check if we've got valid standard
handles and that they go somewhere useful, and if so, avoid reopening
them once the console is attached. Simples.
4 years ago
psi29a 18a95377eb Merge branch 'stringpalette' into 'master'
Fix NiStringPalette loading

See merge request OpenMW/openmw!406
4 years ago
Alexei Dobrohotov 117697ea22 Fix NiStringPalette loading 4 years ago
Bret Curtis a038c448f2
Merge pull request #3030 from OpenMW/make_travis_great_again
Update .travis.yml
4 years ago
psi29a e73a0f8a2a Merge branch 'minorfixes' into 'master'
Minor fixes

See merge request OpenMW/openmw!405
4 years ago
Alexei Dobrohotov 8a6d3d1b4f Minor fixes
Fix extra semicolon
Disable collision avoidance if AI is disabled
4 years ago
AnyOldName3 981fffe590 Merge branch 'itsakindoftemplatemagic' into 'master'
Fix MSVC2017 builds

See merge request OpenMW/openmw!404
4 years ago
AnyOldName3 1e0df23d14 Merge branch 'shadows-bin' into 'master'
Use a custom renderbin to avoid pointless OpenGL state switches

See merge request OpenMW/openmw!402
4 years ago
Bret Curtis 68836aa0fd
Update .travis.yml 4 years ago
Bret Curtis 8b0475037d
Update .travis.yml 4 years ago
Evil Eye 94c89e6d5e check ValueTs 4 years ago
Bret Curtis e15716eb0c
Update .travis.yml 4 years ago
Bret Curtis df2ae6e866
Update .travis.yml 4 years ago
Bret Curtis dee91d12c2
Update .travis.yml 4 years ago
AnyOldName3 fcfd340c69 Actually copy alpha blended drawables to the new stategraph 4 years ago
psi29a 399270694f Merge branch 'no-colour-fbo-for-shadows' into 'master'
Don't bind unnecessary colour buffer when drawing shadow maps

See merge request OpenMW/openmw!403
4 years ago
Evil Eye d8897c4509 remove inline and use enable_if_t 4 years ago
Evil Eye d8d4351962 fix MSVC2017 builds 4 years ago
AnyOldName3 55f65752fd Don't bind unnecessary colour buffer when drawing shadow maps 4 years ago
AnyOldName3 cdbf19a508 Tidy up run-on lines 4 years ago
AnyOldName3 296dce470a Spelling fix 4 years ago
AnyOldName3 72f7e6a702 Handle all shadow alpha uniforms in shadowsbin 4 years ago
AnyOldName3 5d046bc95d Mark override 4 years ago
psi29a 9902945c49 Merge branch 'interpolator' into 'master'
Read a few more NIF types

See merge request OpenMW/openmw!401
4 years ago
Alexei Dobrohotov a46699fb1e Handle NiGeomMorpherController interpolator list 4 years ago
Alexei Dobrohotov f3f5dcb016 Read a few more NIF types
NiFloatInterpolator, NiPoint3Interpolator, NiTransformInterpolator, NiBoolInterpolator
Update a few existing controller records
Update NiSkinInstance
4 years ago
psi29a ed8342ebc9 Merge branch 'niffile' into 'master'
Remove NIFFile settings manager dependency

See merge request OpenMW/openmw!398
4 years ago
corristo 73e3ee0f85 Merge branch 'update-macos-deps' into 'master'
[macOS, CI] Update dependencies, don't use lz4 from Homebrew

See merge request OpenMW/openmw!399
4 years ago