scrawl
c64dc2c831
Terrain specular mapping: use a "_diffusespec" postfix to indicate specular information is present in the alpha channel. Use alpha directly instead of 1-alpha.
11 years ago
scrawl
bfdca3b738
Fix needTangents not being set for cached/shared materials
11 years ago
scrawl
aa855e9524
Include some required Ogre headers explicitely
11 years ago
scrawl
6f9113fe88
Add preliminary implementation of PayFine, PayFineThief and GoToJail instructions
11 years ago
scrawl
7b33f6f2ac
Detect crime of sleeping in other NPC's beds. ShowRestMenu needs to support an explicit/implicit reference for this.
11 years ago
scrawl
0285d18fc2
Respect items belonging to a faction
11 years ago
Sergey Shambir
d5a0ff17fd
MWScript: updated vmformat.txt, changed opcodes to fix sequence.
...
Opcodes for StartCombat, StopCombat, GetTarget now follow the last
previous opcode.
11 years ago
Sergey Shambir
5c7e39a92f
Implemented script commands StartCombat, StopCombat, GetTarget.
...
Also renamed one field of AIWander class because it's not longer
unknown.
11 years ago
Marc Zinnschlag
fefaec5804
Merge remote-tracking branch 'scrawl/savedgame' into savedgame
11 years ago
scrawl
4ad43fdf92
Closes #1088 : Quick&dirty fix for NIF filters not working properly with some mods
11 years ago
Marc Zinnschlag
43dd3b8ef2
removed redundant deletion flag from CellRef
11 years ago
scrawl
62774fcc4a
Merge branch 'master' into HEAD
...
Conflicts:
apps/openmw/mwbase/world.hpp
apps/openmw/mwinput/inputmanagerimp.cpp
apps/openmw/mwmechanics/actors.cpp
apps/openmw/mwworld/worldimp.cpp
apps/openmw/mwworld/worldimp.hpp
components/esm/loadtes3.cpp
11 years ago
scrawl
b3764c504a
Implement GetPcJumping instruction
11 years ago
scrawl
c004fb778f
Get rid of underscore defines. They are reserved by the standard.
11 years ago
scrawl
b8e9343764
Extend NifOverrides to allow material overrides, useful for texture modding e.g. adding normal maps without having to edit the affected meshes
11 years ago
scrawl
14b70a3ce6
Implement AI related magic effects (calm, frenzy, rally, demoralize, turn undead)
11 years ago
scrawl
2a7d610f87
Implement GetSpellReadied instruction
11 years ago
scrawl
55c5d7cee4
Implement Resurrect instruction
11 years ago
scrawl
b4230f716e
Implement RemoveEffects instruction
11 years ago
scrawl
7d8ca91286
Implement RemoveSpellEffects instruction
11 years ago
scrawl
366801f3d5
Implement explodeSpell instruction (like Cast, with caster = target)
11 years ago
scrawl
93e1a2df73
Implement Cast script instruction (shrines work now)
11 years ago
scrawl
29acc3f722
Fix particles being too small. Looks like this should actually be size*2.
11 years ago
Marc Zinnschlag
a6e6411686
Merge remote-tracking branch 'scrawl/master'
11 years ago
scrawl
783c501d70
Some checks to prevent bound item abuse
11 years ago
Marc Zinnschlag
e1355be47c
Merge remote-tracking branch 'lgro/valgrind_warnings'
11 years ago
Lukasz Gromanowski
1ce4663065
Updated compiler opcodes for COE, and setHello.
...
Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
11 years ago
scrawl
86b2211932
Don't warn about NiFlipController (already implemented)
11 years ago
scrawl
764ec9bc5f
Closes #716 : Use the particle controller's size instead of NiAutoNormalParticlesData particle radius. Same as NifSkope now.
11 years ago
scrawl
07a9b7623a
Enable skeleton-based bounding boxes added in Ogre 1.10
11 years ago
scrawl
254eba350e
Not handling interpolation type should be an error, since it will fail reading the next record if it hasn't read the previous one completely.
11 years ago
Lukasz Gromanowski
50b6e828cc
Added asserts in Interpreter::installSegmentX methods.
...
Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
11 years ago
scrawl
f3a7321a43
Closes #856 : More aggressive supression of skeleton base: only create for keyframe controllers, not any controllers
11 years ago
Lukasz Gromanowski
60fb75b03a
Fixed valgrind warning about uninitialized variable:
...
==16814== Conditional jump or move depends on uninitialised value(s)
==16814== at 0xA945B8: Terrain::QuadTreeNode::update(Ogre::Vector3 const&, Loading::Listener*) (quadtreenode.cpp:269)
==16814== by 0xA94A77: Terrain::QuadTreeNode::update(Ogre::Vector3 const&, Loading::Listener*) (quadtreenode.cpp:354)
==16814== by 0xA77541: Terrain::World::update(Ogre::Vector3 const&) (world.cpp:159)
==16814== by 0x6EBA17: MWRender::RenderingManager::requestMap(MWWorld::CellStore*) (renderingmanager.cpp:649)
==16814== by 0x8A25C4: MWWorld::Scene::loadCell(MWWorld::CellStore*, Loading::Listener*) (scene.cpp:157)
==16814== by 0x8A2CEA: MWWorld::Scene::changeCell(int, int, ESM::Position const&, bool) (scene.cpp:296)
==16814== by 0x8A2DE0: MWWorld::Scene::changeToExteriorCell(ESM::Position const&) (scene.cpp:440)
==16814== by 0x85AC17: MWWorld::World::changeToExteriorCell(ESM::Position const&) (worldimp.cpp:761)
==16814== by 0x927E38: OMW::Engine::prepareEngine(Settings::Manager&) (engine.cpp:436)
==16814== by 0x92843D: OMW::Engine::go() (engine.cpp:483)
==16814== by 0x6C6B3F: main (main.cpp:279)
==16814== Uninitialised value was created by a heap allocation
==16814== at 0x4C27CC2: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16814== by 0xA93E60: Terrain::QuadTreeNode::createChild(Terrain::ChildDirection, float, Ogre::Vector2 const&) (quadtreenode.cpp:178)
==16814== by 0xA7733E: Terrain::World::buildQuadTree(Terrain::QuadTreeNode*) (world.cpp:139)
==16814== by 0xA76B18: Terrain::World::World(Loading::Listener*, Ogre::SceneManager*, Terrain::Storage*, int, bool, bool) (world.cpp:94)
==16814== by 0x6EC6EB: MWRender::RenderingManager::enableTerrain(bool) (renderingmanager.cpp:1013)
==16814== by 0x8A2A00: MWWorld::Scene::changeCell(int, int, ESM::Position const&, bool) (scene.cpp:206)
==16814== by 0x8A2DE0: MWWorld::Scene::changeToExteriorCell(ESM::Position const&) (scene.cpp:440)
==16814== by 0x85AC17: MWWorld::World::changeToExteriorCell(ESM::Position const&) (worldimp.cpp:761)
==16814== by 0x927E38: OMW::Engine::prepareEngine(Settings::Manager&) (engine.cpp:436)
==16814== by 0x92843D: OMW::Engine::go() (engine.cpp:483)
==16814== by 0x6C6B3F: main (main.cpp:279)
Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
11 years ago
Marc Zinnschlag
56a80da70c
Merge remote-tracking branch 'ace/win-fix'
11 years ago
Marc Zinnschlag
456b41f05b
Merge remote-tracking branch 'scrawl/master'
11 years ago
scrawl
c0dba2834b
Closes #855 : Don't try to look up bone if there's no skeleton
11 years ago
Alexander "Ace" Olofsson
b50151cb38
Quick build fix for windows
11 years ago
Marc Zinnschlag
f1be4656ec
Merge remote-tracking branch 'lgro/issue1042_TES3_header_data_wrong_encoding'
11 years ago
Marc Zinnschlag
60a8a9e684
Merge remote-tracking branch 'scrawl/master'
11 years ago
Lukasz Gromanowski
9b73d23139
Fix warning about uninitialized variable inside stream.peak():
...
openmw/mwgui/bookpage.cpp:394:13: warning: ‘*((void*)& stream +24)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
11 years ago
scrawl
6d47d710a0
Reimplement NiGeomMorpherController using Ogre's pose animation system
11 years ago
Marek Kochanowicz
03235bf0a2
NPC. Still WIP.
11 years ago
scrawl
a9526622b1
Particle improvements: particle systems now move with the particle bone, not the scene node. This difference is not noticable if the particle bone is static, but it makes the code *much* nicer and mirrors more closely what NifSkope does.
11 years ago
scrawl
9877db413c
Connect particle systems to the particle node, not the emitter node
11 years ago
scrawl
eab2c89346
Issue #983 : Fix controllers to affect objects attached to the base node
11 years ago
scrawl
5931fdcbde
Implement NiBillboardNode. Flags not handled yet.
11 years ago
scrawl
33389b9b63
XDG compliant paths
11 years ago
scrawl
aef0fd1460
Rename some path methods
11 years ago
scrawl
e68e2f82a2
Implement DarkTexture slot. Fix an issue with incorrect transparency override when base texture is empty.
11 years ago
scrawl
0050e6e67b
Support materials with no base (diffuse) texture (should be white). Support alternate UV set for diffuse texture.
11 years ago
scrawl
c5c3248376
Compile fixes for Ogre 1.10
11 years ago
scrawl
6d27ebabb6
Integrate AddGlow with material controllers
11 years ago
Marek Kochanowicz
e4e7d50623
Added creatureCheck. I don't know meaning of all data fields here.
11 years ago
Lukasz Gromanowski
18a9878bdd
Fixes #1042 : TES3 header data wrong encoding
...
Changed loading of HEDR structure from all-in-once to field-by-field
so author and descryption could be converted to UTF-8.
Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
11 years ago
scrawl
5fd98d7c3a
Add an assertion
11 years ago
scrawl
18c002a21d
Fix an awful typo.
11 years ago
Marc Zinnschlag
c22e38f825
removing 255 content file limitation
11 years ago
scrawl
19e5978a01
Merge branch 'master' of https://github.com/zinnschlag/openmw
...
Conflicts:
apps/openmw/main.cpp
11 years ago
Marc Zinnschlag
1cf1d49bc4
fix to content file reading error reporting in case of missing dependency
11 years ago
Marc Zinnschlag
bf4ffe94dc
fixed a memory leak in the script record
11 years ago
Marc Zinnschlag
3590fa40bd
store global script state in saved game files
11 years ago
scrawl
530d06ab54
Remove unused code
11 years ago
scrawl
0c3c3ed8e9
Fix wind gravity affector
11 years ago
Marc Zinnschlag
77a2179d1e
Merge remote-tracking branch 'scrawl/master'
11 years ago
scrawl
57a33c957e
Add possibly missing include
11 years ago
scrawl
37a7ee8fcd
Set alpha value of character animations according to Invisibility / Chameleon effects.
11 years ago
Lukasz Gromanowski
594cc693b2
Fixes #1006 : Many NPCs have 0 skill
...
Added calculation of skill values for NPC with mNpdtType
set to NPC_WITH_AUTOCALCULATED_STATS (their NPDT is 12).
Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
11 years ago
scrawl
9fcb4fad5c
Implement NiFlipController
11 years ago
scrawl
51a9f0111c
Implement NiAlphaController and NiMaterialColorController
11 years ago
scrawl
1624e0fd8a
Rename ObjectList to ObjectScene. Wrap it in a SharedPtr so we can automate the destruction routine.
11 years ago
Marc Zinnschlag
ef8c0fab73
Merge remote-tracking branch 'scrawl/master'
11 years ago
scrawl
c5e543b91b
Implement NiGeomMorpherController
11 years ago
Marc Zinnschlag
030c733e2d
Merge branch 'master' into savedgame
...
Conflicts:
apps/openmw/mwmechanics/actors.cpp
apps/openmw/mwworld/worldimp.cpp
files/settings-default.cfg
11 years ago
Marc Zinnschlag
674931a851
remove terminating 0 from strings read from ESM records
11 years ago
Lukasz Gromanowski
bfd79bfbe6
Various fixes for CppCheck warnings.
...
Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
11 years ago
Marc Zinnschlag
07f692bdd2
Merge remote-tracking branch 'scrawl/master'
11 years ago
scrawl
062ea627b3
Add parallax mapping for objects
11 years ago
scrawl
69c0bb1723
Add normal, specular & parallax mapping for terrain
11 years ago
Alexander "Ace" Olofsson
47c60a7037
Fix C4716 (Must return a value) error on Windows MSVC
11 years ago
scrawl
3a82f8c193
Fix incorrect log file name for launcherOgre.log
11 years ago
Marc Zinnschlag
e269c9e689
changed a few sub record names to make them more unique
11 years ago
Marc Zinnschlag
7d8e3ac651
fixed QuestState::load/save
11 years ago
Marc Zinnschlag
16e2d67b1f
added overloaded start/endRecord functions to ESMWriter
11 years ago
Marc Zinnschlag
eec9821cd8
added records for storing journals in saved game files
11 years ago
pvdk
1512ac11ad
Fixed the content selector checkboxes appearing as partially checked
11 years ago
Marc Zinnschlag
750133c0dd
one more fix to SavedGame record saving
11 years ago
scrawl
e7ad503e30
Merge branch 'particles' into projectiles
11 years ago
Marc Zinnschlag
e432ab5e8a
fixed static problem in Land recrod save function
11 years ago
Marc Zinnschlag
b40c0f2a07
one more fix to SavedGame record saving
11 years ago
scrawl
9f5ff033d7
Handle the "GetLOS" alias for GetLineOfSight
11 years ago
scrawl
58dce88c7d
Handle the "tai" alias for ToggleAI
11 years ago
scrawl
6b81fd78f1
Particle improvements: Handle LocalSpace flag. Attach particle systems to the base node, since they need to be relative to that when LocalSpace is enabled. Get the bone in emitters/affectors so that resulting particle positions are the same. TODO: Fix Controllers to affect particle systems.
11 years ago
Marc Zinnschlag
1ecadccb28
fixed save function of SavedGame record
11 years ago
Marc Zinnschlag
67cd0887e6
added description field to saved game record; make use of description in GUI
11 years ago
Marc Zinnschlag
fc1501a510
store character profile information in saved game file
11 years ago
Marc Zinnschlag
d6e2701dd6
changed played time data type from float to double
11 years ago
scrawl
3452bd2e0b
Add glow effect for enchanted items
11 years ago
Marc Zinnschlag
9487bd33c3
removed broken save function from ESMWriter
11 years ago
Marc Zinnschlag
4c61deca8d
fixed save code for SavedGame record
11 years ago