Commit Graph

1601 Commits (actorid)

Author SHA1 Message Date
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
Marc Zinnschlag 35bf98a940 modified esm reader/writer to use UTF8 when no encoder is given 11 years ago
Marc Zinnschlag 903e867c24 change to TES3 record (moved format field to the top) 11 years ago
Marc Zinnschlag dc75627d53 added secondary saved game header record 11 years ago
Marc Zinnschlag 11e254aac8 Merge remote-tracking branch 'gus/AICombat'
Conflicts:
	apps/openmw/CMakeLists.txt
	apps/openmw/mwbase/mechanicsmanager.hpp
	apps/openmw/mwmechanics/mechanicsmanagerimp.cpp
	apps/openmw/mwmechanics/mechanicsmanagerimp.hpp
11 years ago
gus dff3cf162d ToggleAI script instruction 11 years ago
scrawl 7fd5f1df83 Change setKeepParticlesInLocalSpace to false. Not correct for all particles, but the opposite isn't either. Plus it breaks pretty much all magic VFX. 11 years ago
scrawl aa84ce3f0d Copy paste mistake (oops) 11 years ago
scrawl c5f1bbcc5f Add functions to get the effect affecting resistance and weakness for another effect 11 years ago
scrawl 956d8adb99 Merge branch 'master' of https://github.com/zinnschlag/openmw into magic
Conflicts:
	apps/openmw/mwgui/inventoryitemmodel.cpp
11 years ago
Marc Zinnschlag d49b8e7443 Merge branch 'dialogue' 11 years ago
scrawl a6e2f43b75 Stop continuous VFX when the effect is no longer active. 11 years ago
scrawl ffdb91bb21 Add particles for Cast + Hit. Not looking quite right yet. 11 years ago
Marc Zinnschlag 2fff7fc843 save info records 11 years ago
scrawl afafaf73e8 Fix a build error 11 years ago
Marc Zinnschlag 8c4303399f Merge branch 'master' into dialogue
Conflicts:
	apps/opencs/model/world/columns.cpp
	apps/opencs/model/world/columns.hpp
	apps/opencs/model/world/data.cpp
	components/esm/loadinfo.hpp
11 years ago
Marc Zinnschlag 418ccf705d Merge branch 'openmw-27'
Conflicts:
	apps/launcher/graphicspage.hpp
	components/CMakeLists.txt
11 years ago
Marc Zinnschlag 2d4a6c0edf cleaned up ID handling in INFO record (including a ESMTool bug fix) 11 years ago
Marc Zinnschlag 9d7695ea88 added missing columns to topic info table 11 years ago
graffy76 ed913936f8 Eliminated game & addon keys from profile configuration 11 years ago
graffy76 1d4b5a2425 Fix broken launcher content file display / selection scheme
Disable selection of content files with missing dependencies (grayed
out)
11 years ago
graffy76 12c06a5615 Fixed broken dependency check 11 years ago
graffy76 973803eb2f Fixed pathing issues in launcher 11 years ago
graffy76 8d12e2b99d fixed merge conflicts
Merge branch 'saving' of https://github.com/zinnschlag/openmw into esxSelector

Conflicts:
	apps/launcher/datafilespage.cpp
	apps/launcher/settings/gamesettings.hpp
	components/contentselector/model/contentmodel.cpp
11 years ago
graffy76 cddece4f9e Another stab at fixing the pathing problem... 11 years ago
Marc Zinnschlag 767cb54e7c added missing columns to journal info table 11 years ago
gus d587f3c946 Merge branch 'master' of https://github.com/zinnschlag/openmw.git into AICombat
Conflicts:
	apps/openmw/mwmechanics/actors.cpp
	apps/openmw/mwscript/docs/vmformat.txt
11 years ago
scrawl 636d399c7f Refactored Ogre initialisation into a component 11 years ago
Marc Zinnschlag ba88c94d58 first attempt at an info record collection 11 years ago
graffy76 b51bef0d98 fixed missing adjuster widget in file dialog open view 11 years ago
Lukasz Gromanowski d51c9b64dd Issue #913: Merge --master and --plugin switches
Launcher part of master/plugin switches merge.

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
11 years ago
graffy76 9ce4a04a2d merge from saving
Merge branch 'saving' of https://github.com/zinnschlag/openmw into esxSelector

Conflicts:
	apps/launcher/datafilespage.cpp
	apps/opencs/editor.cpp
	apps/opencs/view/doc/filedialog.cpp
	apps/opencs/view/doc/filedialog.hpp
11 years ago
graffy76 16d87ea1d1 Merge branch 'master' into esxSelector 11 years ago
graffy76 2ca7f24731 Fixed filedialog new / edit content path issue 11 years ago
graffy76 b48f066f33 Reimplemented content selector for filedialog and datafilespage classes 11 years ago
graffy76 ba3589bc76 Revert "Implemented ContentSelector as a singleton "charm" modifier for"
This reverts commit 24b167b755.

Conflicts:
	apps/launcher/datafilespage.cpp
	apps/opencs/editor.cpp
	apps/opencs/view/doc/filedialog.cpp
	apps/opencs/view/doc/filedialog.hpp
	components/contentselector/view/contentselector.cpp
	components/contentselector/view/contentselector.hpp
11 years ago
graffy76 f9591ddda6 Reimplemented constentselector view class 11 years ago
Marc Zinnschlag c995533e07 Merge branch 'dialogue' into saving
Conflicts:
	apps/opencs/model/world/columnimp.hpp
	apps/opencs/model/world/columns.cpp
	apps/opencs/model/world/columns.hpp
	apps/opencs/model/world/data.cpp
	components/esm/loaddial.hpp
11 years ago
Marc Zinnschlag adf3a41a83 added topic and journal tables 11 years ago
Nikolay Kasyanov 3993c34739 Merge remote-tracking branch 'upstream/master' into osx-ogre-19 11 years ago
Marc Zinnschlag 3c580fbc59 Merge remote-tracking branch 'jordan-ayers/topic/MagicEffectDisplayFormat' 11 years ago
Jordan Ayers 296b2ab870 Magic Effect: Recognize other display types.
Fill out the list of effects which use percentage formatting.
Add in types which use Feet and level labels.
11 years ago
Jordan Ayers 6ab7002908 MagicEffect: Put magnitude type into ESM::MagicEffect helper. 11 years ago
graffy76 4c72a9ffdf Fixed non-loading files 11 years ago
graffy76 217a4d75b4 Implemented profile function in launcher datafiles page
Implemented dependency sorting to ensure dependent files appear latest
in the list.
11 years ago
Emanuel Guevel 496f786c2a Implement Disable/EnableLevitation script functions
Totally copied on Disable/EnableTeleporting implementation.
Thanks KittyCat!
11 years ago
graffy76 a5a0f61533 Fixed missing profiles combobox 11 years ago
graffy76 00c78a4aa1 Implementing ContentSelector class in DataFilesPage
Moved AdjusterWidget / FileWidget to ContentSelectorView
11 years ago
graffy76 24b167b755 Implemented ContentSelector as a singleton "charm" modifier for
FileDialog...
11 years ago
Marc Zinnschlag baae548106 added project scope filter saving 11 years ago
Marc Zinnschlag 4ea5191d7d fixed write function for ESM variant type 11 years ago
Marc Zinnschlag 5779f799ab create project file when saving content file 11 years ago
Marc Zinnschlag c42e74dadf make 4 byte record type accessable from record struct 11 years ago
graffy76 3b40192e90 Merge branch 'master' into esxSelector 11 years ago
graffy76 9d358dd44c Further implemented auto-checking / unchecking of dependencies 11 years ago
graffy76 d7cff6361e Fixed filter issue (all addons for a gamefile are enabled for checking).
Note:  Other dependencies are not yet automatically selected when an
addon is checked.
11 years ago
Marc Zinnschlag d4b2a6b9f1 Merge remote-tracking branch 'graffy76/esxSelector' into saving 11 years ago
graffy76 513f0c4b3e Implemented file/adjuster widgets into new addon creation dialog 11 years ago
Xethik 9f533dbbe4 Fixed "most vexing parse" issue. 11 years ago
graffy76 cfdc19c427 Renamed esxSelector to contentSelector
Fixed datafilespage model implementation in launcher
Filtered addons in table view by selected game file
11 years ago
graffy76 7b7dfa122d Merge branch 'master' into esxSelector 11 years ago
graffy76 244e581952 Finished implementing drag / drop
refactored datafilesmodel (now contentmodel)
refactored esmfil
11 years ago
graffy76 0eb06ada39 Implemneting drag and drop 11 years ago
Marc Zinnschlag bf0fba68af added save stage for globals 11 years ago
Marc Zinnschlag 874ce26bef added missing consts to record save functions 11 years ago
Nikolay Kasyanov 25cd9ebf45 Plugins are frameworks in Ogre 1.9. Version hack removed. 11 years ago
Marc Zinnschlag 1ee228a566 fix for the ESMWriter fix 11 years ago
Marc Zinnschlag bcd36bd378 various ESMWriter fixes 11 years ago
Marc Zinnschlag bf8a25c2c6 Merge remote-tracking branch 'mckibbenta/tgm' 11 years ago
gus f9bfbc8764 Merge branch 'master' of https://github.com/zinnschlag/openmw.git into AICombat 11 years ago
gus 46a734852b adding script instruction getLOS + some test about AI 11 years ago
Marc Zinnschlag 25b7cd33ea added FileWidget; fixed OpenCS configuration 11 years ago
graffy76 a6e7cf9a8c Implementing drag and drop 11 years ago
Marc Zinnschlag 9332684335 allow the use of value types in string filters 11 years ago
scrawl 188df341c3 Replaced log2 to make VC happy 12 years ago
scrawl 839d251cc5 Renamed Terrain::Terrain to Terrain::World to make VC happy 12 years ago
scrawl d3d6dfbde8 Refactored loading screen
- Add loading progress for data files, global map, terrain
 - Refactored and improved cell loading progress
12 years ago
mckibbenta 06701467ab Merge branch 'master' into tgm 12 years ago
mckibbenta 8998b90e8b initial do-nothing implementation; registered opcode 12 years ago
Marc Zinnschlag f605dcdd24 Merge branch 'filter' 12 years ago
Nikolay Kasyanov dc6e15f38e Replaced std::pow with shift since clang doesn't like int as a first argument
(reports that call is ambiguous)
12 years ago
Marc Zinnschlag e03e2f0817 Merge remote-tracking branch 'scrawl/master' 12 years ago
scrawl d086346b07 Fix loading of some cells in TR 12 years ago
scrawl 5f7e6f7b10 Fix a material issue, layers per pass wasn't entirely correct 12 years ago
scrawl 43313437dc Fix composite map for cells without land data 12 years ago
scrawl ce5ea6d7d2 Use a proper node hierarchy; disconnect the root when entering interior 12 years ago
Chris Robinson 602be9bbe7 Avoid swimming into the air from underwater 12 years ago
graffy76 e6fdc7e7fd ... 12 years ago
graffy76 6898321676 Reenabling features
Profile functions enabled
New/load file functions partially enabled
Layout reorganized
12 years ago
scrawl fa76d1631b Some terrain fixes 12 years ago
graffy76 b52645bf2a Fixes to accommodate master/plugin loading 12 years ago
scrawl 8c8653160d Crash fix, material fix 12 years ago
scrawl b92da9ae93 Neighbour fix 12 years ago
scrawl ebf9debb80 Enabled terrain self shadows, implemented getHeightAt, some optimizations 12 years ago
scrawl e27437f8ed New terrain renderer - improvements:
- Consistent triangle alignment, fixes a noticable crack near the census and excise office. Note that alignment is still not the same as vanilla. Vanilla uses a weird diagonal pattern. I hope there aren't more trouble spots that will force us to replicate vanilla, but at least we can do that now.
 - Fixes several blending issues and cell border seams
 - Fix map render to use the terrain bounding box instead of an arbitrary height
 - Different LODs are now properly connected instead of using skirts
 - Support self shadowing
 - Normals and colors are stored in the vertices instead of a texture, this enables per-vertex lighting which should improve performance, fix compatibility issues due to the PS getting too large and mimic vanilla better
 - Support a fixed function fallback (though the splatting shader usually performs better)
 - Designed for distant land support - test: https://www.youtube.com/watch?v=2wnd9EuPJIY - we can't really enable this yet due to depth precision issues when using a large view distance
12 years ago
scrawl a41a23c90a Deleted old code 12 years ago
graffy76 e614ec3353 Fixing profile code in progress... 12 years ago
graffy76 f6217f9c6a Moved esx selector classes out of global namespace 12 years ago
graffy76 a14e0b32d8 Restructured esxselector directory
Added ./view
Removed ./utils and ./model/esm
Relocated code accordingly.
12 years ago
graffy76 d0363b037c Renamed components/fileorderlist to components/esxselector 12 years ago
graffy76 45277c0082 Minor changes
Stretched table columns to fit widget width
Reduced width of opencs file dialog
Hid the file size column for launcher
Added alternating row colors in table view
12 years ago
graffy76 66e50343ad Fixed row-selection/check feature 12 years ago
graffy76 a9db983233 Fixing row-click selection 12 years ago
graffy76 2878f51cd3 Reimplemented dependency selection feature
Moved more code to ContentSelector
Added support for omwgame and omwaddon files
12 years ago
graffy76 b24dd5c6ac Continued migration of code to ContentSelector 12 years ago
graffy76 0087b0d67c Removed checkboxes from master list
Moved checkbox code from datafilesmodel to pluginsproxymodel
12 years ago
graffy76 61602789e1 Began migrating code to ContentSelector base 12 years ago
graffy76 4c8c6d6971 Moved init code to master / plugin proxy classes 12 years ago
graffy76 7389507eb5 Created masterproxylist class 12 years ago
graffy76 b850fe0289 Removed vertical headers from plugin view 12 years ago
graffy76 84e5c2610a Implemented combobox for game file selection 12 years ago
graffy76 bfb71f23c9 Changed filter mechanism for game / addons
Filters by number of master references, regardless of extension
12 years ago
Chris Robinson 73437dfdca GetEffect can accept an effect ID string as well 12 years ago
Chris Robinson 30973352e8 Implement ShowVars (SV) console function 12 years ago
Chris Robinson 6fd4cdb5fb Play randomized werewolf sounds 12 years ago
Chris Robinson 5968165de0 Merge remote-tracking branch 'zini/master' into werewolf
Conflicts:
	apps/openmw/mwgui/windowmanagerimp.cpp
12 years ago
Chris Robinson db1036e5e5 Handle SetWerewolfAcrobatics 12 years ago
Chris Robinson ae183cb3e4 Handle werewolf stats 12 years ago
Marc Zinnschlag a95715b61d added description field to filter record 12 years ago
Marc Zinnschlag bf839d19cf Merge branch 'columns' 12 years ago
Chris Robinson 2bac4566c0 Merge remote-tracking branch 'PotatoesMaster/werewolf' into werewolf
Conflicts:
	apps/openmw/mwmechanics/actors.cpp
	apps/openmw/mwscript/statsextensions.cpp
12 years ago
Alex b9579e085f cleanup 12 years ago
Alex a0931b01fe Merge branch 'master' of https://github.com/zinnschlag/openmw into compiler-reorg 12 years ago
Alex c3ca5b7c32 mild cleanup 12 years ago
Chris Robinson 57fb065a86 Add Ogre::Light objects to the object list
Note that NIFs actually have NiLight-based light records which could be
used to create Ogre::Light objects. However, no Morrowind NIF uses them,
as far as I can tell.
12 years ago
Alex de1f423bd7 initial move of script opcodes and registerExtensions functions to components/compiler 12 years ago
Marc Zinnschlag 501753c01b Merge remote-tracking branch 'scrawl/master' into columns 12 years ago
scrawl 7dc30a01cd Some changes suggested by cppcheck 12 years ago
Marc Zinnschlag adb05737ee Merge branch 'master' into filter
Conflicts:
	apps/opencs/model/world/universalid.cpp
	apps/opencs/view/doc/view.cpp
	apps/opencs/view/world/subviews.cpp
12 years ago
Chris Robinson b7e81dbc5b Ignore controllers on the root NiNode
I wonder if we should ignore the root NiNode completely.
12 years ago
Chris Robinson fb0ee7f2fc Improve constness of the Nif RecordPtr structs 12 years ago
Chris Robinson 8e24cab935 Strip trailing whitespace from textkeys 12 years ago
Marc Zinnschlag 6f90e071f4 added filter record (will not be used in OpenMW prior to 1.1) 12 years ago
Marc Zinnschlag 47f7bbd48a fixed OpenCS crash during cell loading when loading multiple ESX files 12 years ago
Marc Zinnschlag 0fd49f10a9 Merge branch 'minus' 12 years ago
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
Chris Robinson e7c0f2a211 Minor cleanup to loading texture UV coords 12 years ago
Chris Robinson 01a1a0b846 Merge remote-tracking branch 'zini/master' into nifogre
Conflicts:
	components/nifogre/ogrenifloader.cpp
12 years ago
Marc Zinnschlag 85e5bd212b Merge remote-tracking branch 'scrawl/master' 12 years ago
Chris Robinson 23097ac9dc Minor cleanup of NiMorphData 12 years ago
scrawl 343e2027af Support NIF detail maps 12 years ago
scrawl a5c868c9f5 Create a separate vertex buffer for each UV set 12 years ago
Chris Robinson c6c67a1bb4 Read NiGravity fields 12 years ago
Chris Robinson 3768e04a0c Merge remote-tracking branch 'zini/master' into nifogre 12 years ago
Chris Robinson dba7308248 Recognize NiParticleRotation 12 years ago
Chris Robinson 3c633e275e Don't create a controller for empty keyframe data 12 years ago
Chris Robinson 261ea1fe5e Implement a KeyframeController 12 years ago
Chris Robinson f69a8259e1 Update animation source controller targets 12 years ago
Chris Robinson 44a59e1b87 Fix a couple messages 12 years ago
Chris Robinson 2362e920f3 Use an unconnected object list for animation sources
We'll want the controllers, as the plan is to use their keyframe controllers
to animate the actual skeleton used for the meshes.
12 years ago
scrawl f3c8cd2065 Don't buy/sell keys which are set to open a lock 12 years ago
scrawl 2d2196b0d6 Implemented levelled items 12 years ago
Marc Zinnschlag 60cc95305d added basic birthsign table 12 years ago
Chris Robinson 399394ff10 Don't restrict animations to the keyframe time limits 12 years ago
Chris Robinson ab5980ae18 Let the default controller function use absolute input
And convert the VisController to use it.
12 years ago
Chris Robinson fe9a7f12b6 Material fixes 12 years ago
Marc Zinnschlag e25f5c6dfe added basic region table 12 years ago
Chris Robinson 2e067e95a9 Handle NiWireframeProperty 12 years ago
Chris Robinson ebff64a7a4 Fix UVController and add warn about unhandled material controllers 12 years ago
Marc Zinnschlag ff1d908af4 added script table 12 years ago
Chris Robinson be419bc891 Handle NiCamera nodes 12 years ago
Chris Robinson 2db72ae607 Rename EntityList to ObjectList 12 years ago
Chris Robinson 834a6a1f00 Remove old, unused code 12 years ago
Chris Robinson d97b341dc6 Rename NIFMeshLoader to NIFObjectLoader 12 years ago
Marc Zinnschlag ec7a8f1add small fix 12 years ago
Chris Robinson 63cbf7ddeb Specify a default return for failed lookups 12 years ago
Chris Robinson ca289a317c Separate the UVController function out and make it generic
Also fix a timing bug in it.
12 years ago
Marc Zinnschlag 8bf569d58a added basic sound table 12 years ago
Chris Robinson 6b151be3f4 Create particle systems even when MRK was specified 12 years ago
Chris Robinson 41e410347e Merge remote-tracking branch 'zini/master' into nifogre 12 years ago
Chris Robinson c283991126 Remove an unneeded method 12 years ago
Marc Zinnschlag 0f34c79d0a Merge branch 'race' 12 years ago
Chris Robinson ebcb4c66c3 Properly read and use the NIF root record list 12 years ago
Chris Robinson 59f1d4b047 Add support for NiUVController on meshes 12 years ago
Chris Robinson e0da265972 Use accurate bone lookups for attaching objects
NIFs don't requires nodes to have unique names, which means looking up a
bone by name may get the wrong one. Instead, use a NifIndex:BoneHandle
map to make sure we can get the proper bone from a given Nif::Node.
12 years ago
Chris Robinson 95730cc127 Create entities and particle systems for hidden objects
They're set as (in)visible as appropriate.
12 years ago
Chris Robinson f764f243d2 Fix the particle quota 12 years ago
Chris Robinson 41ce5464c9 Recognize NiBSAnimationNode as a record type
And don't warn about animated nodes without textkeys
12 years ago
Chris Robinson 99b915e652 Fix some material warnings 12 years ago
Chris Robinson af756bfa9c Merge remote-tracking branch 'zini/master' into nifogre 12 years ago
Chris Robinson b5017e0543 Implement NiParticleGrowFade 12 years ago
Chris Robinson aa9df818a5 Add support for NiVisController 12 years ago
Chris Robinson 0631b28646 Prepare for supporting controller objects 12 years ago
scrawl 75b462b974 If alpha rejection was forced, we also need to force depth_write and depth_check 12 years ago
Chris Robinson bf0ae3ae72 Read NiVisData info 12 years ago
Chris Robinson 12fada2862 Don't offset the animation time to 0 12 years ago
Chris Robinson dc9f5f93e7 Use a helper function to get node properties 12 years ago
Marc Zinnschlag 73da794d77 added basic race table 12 years ago
Chris Robinson b5719e0ec7 Create particle systems for NiAutoNormalParticles and NiRotatingParticles nodes
Very incomplete, but it's something to work with.
12 years ago
Chris Robinson 77ba0fbe73 Prepare for creating particles
This adds a vector of ParticleSystems to the EntityList, and modifies
corresponding code to handle it. It also loads the ParticleFX plugin so
particles can be created (although they aren't yet).
12 years ago
Chris Robinson ac10c5f05c Even more particle information 12 years ago
Chris Robinson 2f6ae4a915 Read more particle information 12 years ago
Chris Robinson ee0a20f9ce Read some missing particle data from NIFs 12 years ago