Marc Zinnschlag
4a75c7dcc0
allow backticks in names
12 years ago
Marc Zinnschlag
4986b7d65d
Merge branch 'master' into ref
12 years ago
graffy76
a73b97d125
Fixed broken references and other bugs
...
Removed references to CSVSettings::SamplePage class
Removed multiple QDebug references
Fixed custom LineEdits (window size user pref) would not accept data
12 years ago
Marc Zinnschlag
a2aa3aaa0e
workaround for - in names
12 years ago
Marc Zinnschlag
744198fc44
added blank function to CellRef and moved a function that was in the wrong file
12 years ago
scrawl
daab4f55a3
Use Morrowind's fonts
12 years ago
Miroslav Puda
dc17fa1636
Removal of duplicit enumeration and unnecessary conditions.
12 years ago
Miroslav Puda
b40e24c50c
Refactorization
12 years ago
Miroslav Puda
cfbdf3f779
Enum Type renamed to CastingStyle
12 years ago
Miroslav Puda
9e1eb8b3b1
Merge branch 'master' of https://github.com/zinnschlag/openmw into enchanting-mechanics
12 years ago
Miroslav Puda
4788b5e226
Better formula for enchantment cost and code refactorization.
12 years ago
eroen
886bc7e2f6
libc++ fixes: don't rely on tr1
...
libc++ doesn't ship tr1, but ships unordered_map as it is part of c++11.
Since this is the only tr1 header used in openmw, add a check for c++11
unordered_map and fallback to tr1 unordered_map if it's not found.
12 years ago
Miroslav Puda
7149439ace
Replacement of empty() method by assertion.
12 years ago
Miroslav Puda
cd57523601
Merge branch 'master' of https://github.com/zinnschlag/openmw
12 years ago
Marc Zinnschlag
c626e2b257
Merge branch 'ref'
...
Conflicts:
apps/opencs/view/doc/view.hpp
12 years ago
Miroslav Puda
d5689730eb
Removal of unnecessary variable.
...
empty variable duplicates empty() method of std::string. Check for empty value should be replaced by assert since it does not makes much sense to call scanInt with null character.
12 years ago
Chris Robinson
53d1c3939c
Merge remote-tracking branch 'zini/master' into animations
12 years ago
scrawl
ca81335319
Fix bug loading attribute values
12 years ago
scrawl
8a3d3f954b
NPC/creature persistence flag
12 years ago
Chris Robinson
822f130f79
Merge remote-tracking branch 'zini/master' into animations
12 years ago
Marc Zinnschlag
e2620a1edf
Issue #694 : allow float literals starting with .
12 years ago
Chris Robinson
eb4daaf512
Build a skeleton for Nifs that have a matching .kf file
12 years ago
Chris Robinson
bf94ffb839
Only support NiSequenceStreamHelper as a Kf root
...
Newer versions of the Nif foramt may have other record types, but we don't
support those.
12 years ago
Chris Robinson
8e38dc410f
Allow loading multiple animation sources
...
Animation sources are treated differently from base objects. When given
"path\file.nif", base objects will look for "path\xfile.nif" and use that
if it exists (falling back to the original name if not found). Animation
sources will instead use "path\xfile.kf", ignoring it if the file doesn't
exist.
12 years ago
Chris Robinson
6a3ba41170
Don't store camera nodes, we don't need them.
12 years ago
scrawl
757a26794a
Merge branch 'master' of https://github.com/zinnschlag/openmw into journal
12 years ago
Marc Zinnschlag
b21dae8d75
added blank function to all referencable record structs
12 years ago
scrawl
f0354ea04c
Fix member variable case problem
12 years ago
scrawl
78e6dab9d2
Dialogue history rewrite WIP
12 years ago
scrawl
1f58edb9db
Merge branch 'master' of https://github.com/zinnschlag/openmw into journal
12 years ago
Marc Zinnschlag
fe038cef03
turned redeclartion of local variables from an error into a warning
12 years ago
Marc Zinnschlag
63407a662c
allow <== and >== as alternative for <= and >= in scripts
12 years ago
scrawl
3c68c87923
Fix some naming guidelines, fix topic index exception, fix exception in keyword search for some journal entries
12 years ago
scrawl
2a42556aa5
Merge branch 'master' into HEAD
12 years ago
scrawl
20d5ba0eec
Revert "enable move construction/assignment to key ESM data structure to reduce sorting costs"
...
This reverts commit 6dbb53493b
.
12 years ago
scrawl
24f968623f
Revert "reworked Nif::KeyListT into Nif::CurveT"
...
This reverts commit e7665582ad
.
12 years ago
scrawl
de3c76a54b
Revert "reworked NIFStream to use a type-handler"
...
This reverts commit 03ee7663a3
.
12 years ago
Chris Robinson
15a2eeebb8
Merge remote-tracking branch 'zini/master' into animations
...
Conflicts:
apps/openmw/mwworld/worldimp.cpp
12 years ago
Marc Zinnschlag
93868c8bca
Merge remote-tracking branch 'scrawl/master'
12 years ago
scrawl
d5c7a26041
Fix broken loose file resources when using Ogre 1.9
12 years ago
scrawl
78596cad83
Fix enchantment points value
12 years ago
Chris Robinson
4cedf0fbab
Avoid colliding with AvoidNodes
...
These are placed under the RootCollisionNode hierarchy, but the shapes they
hold aren't collided with. Their exact function is unknown, but seems to be
related to lava? Maybe damage avoidance info for the AI.
12 years ago
Glorf
6ea82333d4
Headers cleanup
12 years ago
Glorf
98baf9fac1
Bugfix #718
12 years ago
Marc Zinnschlag
90b38cbfbe
fixed parsing of end statements in scripts with IDs matching keywords
12 years ago
Nathan Jeffords
c7ede9b523
port code to C++03
12 years ago
Nathan Jeffords
6e7c9ebbe6
fix for gcc not handling static constant initialized in class definition
12 years ago
Nathan Jeffords
75757cb675
Created a class to represent a stream of UTF8 characters.
12 years ago
Nathan Jeffords
6dbb53493b
enable move construction/assignment to key ESM data structure to reduce sorting costs
12 years ago
Nathan Jeffords
e7665582ad
reworked Nif::KeyListT into Nif::CurveT
...
Renamed Nif:KeyListT to Nif::CurveT, moved it into its own file and
changed its implementation so that on compatible platforms, the entire
array of key-frames can be read in a single read call. Added a helper
class called Nif::CurveT::interpolator to allow other code to easily
evaluate the curve. Reworked part of the skeletonLoader code to use
the interpolator to simplify its own logic.
12 years ago
Nathan Jeffords
03ee7663a3
reworked NIFStream to use a type-handler
...
Reworked NIFStream to use a type-handler system to decide how to extract
data from the NIF. It also has the capability to perform bulk reads on
compatible platforms, thus improving cell-load performance.
12 years ago
Chris Robinson
68a9a4de5f
Fix setting and getting KeyframeController transforms
12 years ago
Chris Robinson
26cc86ffdc
Use the Nif node's transform for skinned fixups
12 years ago
Chris Robinson
6f0b9a5f2c
Avoid unnecessary multimap copies
12 years ago
Chris Robinson
512ff3687a
Don't create Ogre animations for skeletons
12 years ago
Chris Robinson
634b0fd067
Fix for controller delta time going below start time
12 years ago
Chris Robinson
020bc410bf
Merge remote-tracking branch 'zini/master' into nifogre
12 years ago
scrawl
44ac0a7c18
Use one vertex buffer for all UV coordinates
12 years ago
Chris Robinson
adc6a948c7
Add methods to get the rotation, translation, and scale from a NodeTargetValue
12 years ago
Chris Robinson
59137d93c9
Partially handle NiGeomMorpherController
...
The morphs aren't actually applied yet, but the Ogre controller is set up so
all that has to be done is to implement the setValue method.
12 years ago
Chris Robinson
d936291dbf
Remove an unused ostream operator<<
12 years ago
Chris Robinson
a3511c62cf
Don't store textkeys in user object bindings
...
It's a bit unwieldy to have them stored in the 'skeleton master' instead
of the skeleton instance. And although the text keys are extracted for
each created instance now, this shouldn't be much worse than the
multimap copying going on before.
Plus, proper serialization can help for future optimizations.
12 years ago
Chris Robinson
2345b5e8b3
Avoid storing text keys for each animation
12 years ago
Chris Robinson
7d59340ed6
Don't clip out the group name from the textkeys
12 years ago
Chris Robinson
ace7d647e5
Add a method to apply a NodeTargetValue-based controller to a specified node.
12 years ago
Chris Robinson
f37a71f025
Use a separate method to build node-based controllers
12 years ago
Chris Robinson
1051fa51a7
Recognize NiFlipController
12 years ago
Chris Robinson
6d59325bff
Merge remote-tracking branch 'zini/master' into nifogre
12 years ago
scrawl
c519fc360d
Move away from fixed record names for body parts
12 years ago
Chris Robinson
3def2a0f45
Treat the particle random values as the max differential
12 years ago
Chris Robinson
cac793758b
Merge remote-tracking branch 'zini/master' into nifogre
12 years ago
Chris Robinson
36170c5374
Use flag enums instead of hard-coded hex values
12 years ago
Chris Robinson
1b1f9f7921
Allow multiple ObjectLists to be created for Animations.
...
addObjectList may not currently be called outside of the related constructor.
12 years ago
Chris Robinson
7000a1aa3e
Add a ParticleSystemController
12 years ago
Chris Robinson
bf8bc989fc
Recognize and partly handle NiBSParticleNode
12 years ago
Marc Zinnschlag
f692fc1093
Merge branch 'cell'
12 years ago
Marc Zinnschlag
0c33dd86d5
added basic cell table
12 years ago
Chris Robinson
f4695ec4ac
Cleanup NIFObjectLoader some
12 years ago
Chris Robinson
acb1b5f002
Try to handle NiBSAnimationNode
...
This is still incomplete guess work. Currently it seems as though flag 0x20
specifies whether the controllers auto-play (if on), rather than follow the
object's animation time.
12 years ago
Chris Robinson
0b363ba36e
Handle NiParticleColorModifier with Ogre's ColourInterpolator
...
Note that Ogre's ColourInterpolator has a maximum of six color stages. This
seems to be fine so far, but if we want anything better, we'll need a custom
affector for it.
12 years ago
Chris Robinson
80a4345787
Keep particles in local space
12 years ago
Chris Robinson
dd981077b9
Handle the vertical and horizontal parameters of Nif particles
...
Note that 'horizontal' is mapped to rotate around the Z axis, not Y. The Nif
particle parameters seem to be set up to expect a normal OpenGL (Direct3D?)
orientation, rather than the 90-degree pitch offset of the game.
12 years ago
Chris Robinson
7191f6ed2a
Start a Nif-style particle emitter
...
Not complete yet (doesn't handle the vertical or horizontal direction/angle),
and should probably be renamed.
12 years ago
Chris Robinson
07c24e0382
Don't create entities and particles when only the skeleton base is needed
12 years ago
Chris Robinson
4a42f89e08
Merge remote-tracking branch 'zini/master' into nifogre
12 years ago
Chris Robinson
5b30677e41
Add the start of a custom gravity affector
12 years ago
Marc Zinnschlag
a1ece7de30
Bug #613 : fixed assert in string literal access function
12 years ago
scrawl
23b477a938
Fix normal maps with spaces in filename not getting loaded
12 years ago
Marc Zinnschlag
5bfa691f14
Merge branch 'script'
12 years ago
Marc Zinnschlag
6d3a2cd5a0
added comment token (for use in syntax colouring)
12 years ago
Chris Robinson
d26ffe9de0
Move a method to the Node class
12 years ago
Chris Robinson
62e0abd945
Move the mesh loader to its own source file
12 years ago
Chris Robinson
75489b1e9d
Move NIFMaterialLoader to a separate file
12 years ago
Chris Robinson
3970407772
Use actual classes for properties
12 years ago
Chris Robinson
caff28e20a
Move NIFSkeletonLoader to a separate file
12 years ago
Marc Zinnschlag
74145410f2
basic syntax highlighting in script subview
12 years ago
Chris Robinson
6c6750342c
Specified particle size is actually the radius
12 years ago
Chris Robinson
9d29921913
Merge remote-tracking branch 'zini/master' into nifogre
12 years ago
Marc Zinnschlag
ec6dff38b1
added basic spell table
12 years ago
Chris Robinson
973fdeb2e0
Improve particle system placement when no emitters are specified
12 years ago