Commit Graph

1899 Commits (deque)

Author SHA1 Message Date
scrawl 1c178768f5 Allow Script records with missing SCDT (precompiled code, not used anyway)
Not sure on the exact conditions, but this was missing in a plugin that I made in the TES-CS, while vanilla MW would load it just fine.
10 years ago
Marco Melletti bc7e154643 done with header files, unsure about mSkills and mReputation in
loadnpc.hpp
10 years ago
Marco Melletti 8bce460f34 loadnpc is still unfinished, bodypartcheck.cpp mFlags check fix 10 years ago
scrawl 819234cdfe Use rbegin() instead of --end() 10 years ago
scrawl 9809748eba Store NIF keys mapped by time and use lower_bound for searches 10 years ago
scrawl 0da4757ee6 Merge branch 'master' of github.com:scrawl/openmw 10 years ago
scrawl 267cf4e140 Implement ResetActors script instruction (Fixes #1859) 10 years ago
Marc Zinnschlag 2eadff54d4 Merge remote-tracking branch 'rohitnirmal/scan-build-fixes' 10 years ago
Rohit Nirmal b5eb16b663 Silence some scan-build warnings. 10 years ago
cc9cii df87859d7c Move the workaround to loadscpt.cpp as per feedback comments. 10 years ago
Marc Zinnschlag ce3d75bba2 Merge remote-tracking branch 'scrawl/master' 10 years ago
cc9cii 7ff1136d81 For compiling in Windows with MSVC. 10 years ago
scrawl 4f92044d71 Allow user-created markers on local map (Fixes #1571) 10 years ago
scrawl c2a91148f3 Implement multiple emitter nodes for NiBSPArrayController
The particles for the flame, frost and storm atronachs work correctly now.
10 years ago
scrawl 44642ae21b Fix incorrect Speed value in ESM::MagicEffect (thanks Hrnchamd) 10 years ago
Marc Zinnschlag f1f38fc786 Merge remote-tracking branch 'miroslavr/master' 10 years ago
MiroslavR 46e9ee408f Do not allow mods to change fixed effect properties in the legacy format, but allow it entirely in the new format. 10 years ago
MiroslavR 3823e36f05 Merge branch 'master' of github.com:OpenMW/openmw 10 years ago
MiroslavR d16e0c063c Enchanting, spellmaking dialog: check for flags when listing known effects 11 years ago
Arthur Moore b7852b8215 Convert niffile.cpp to use std::map instead of a custom search function.
I haven't profiled this, but it should speed things up a decent bit.
11 years ago
Arthur Moore 8be6aefd95 Moved functions from niffile.cpp to where they belong.
Also cleaned up some #includes

Removed a few asserts.  Vector already throws an out_of_range error.
11 years ago
Marc Zinnschlag 45c0be8f62 Merge remote-tracking branch 'emperorarthur/niftest' 11 years ago
Arthur Moore cdfa24e15d (Re) Wrote a tool to test NIF files in BSAs and on the filesystem.
Just give it a set of files, one file per argument, and it will make sure openmw can read them.

On linux/mac you can use "xargs --arg-file=nifs.txt ./niftest" to give it a list of files to check.
11 years ago
Marc Zinnschlag 111b55f48e Merge remote-tracking branch 'scrawl/script' 11 years ago
scrawl 174153b2da Revert "Fix member variable case problem"
This reverts commit f0354ea04c.

Fixes #759 (again)

Conflicts:
	components/compiler/lineparser.cpp
11 years ago
Marc Zinnschlag 52f6a2ec7b remote local variable access was always using variable with index 1 instead of the index specified by the access request (Fixes #1739) 11 years ago
Marc Zinnschlag 736ab76f68 limit argument error workaround to PositionCell instruction (Fixes #1732) 11 years ago
Marc Zinnschlag d024c1a93f Merge remote-tracking branch 'scrawl/master' 11 years ago
scrawl 1a8acac40a Share keyframe data in NIF resource (Fixes #908) 11 years ago
scrawl 2b407a9995 Refactor NIF cache
- Remove broken cache locking mechanism

This was supposed to unload NIFFiles after a cell transition completes, but it was never working due to a mistake on the line if (--sLockLevel), should have been if (--sLockLevel == 0). Repairing this would increase load times (NIF files would have to be reloaded more frequently), so just removed it for now.

 - Decouple cache from NIFFile (now a new nifcache component)

 - Add API for future background loading

 - Provide a reliable way (SharedPtr) to hold on to loaded NIFFiles. This will be useful to avoid deep copies of keyframe and text key data, which is currently a performance bottleneck.
11 years ago
Marc Zinnschlag 7c1b32ae62 Merge remote-tracking branch 'miroslavr/corprus' 11 years ago
Marc Zinnschlag f468c53281 renamed the script field in DebugProfile to improve consistency 11 years ago
Marc Zinnschlag 232c6c9ad3 Merge branch 'scriptedit' into run 11 years ago
MiroslavR 85aa237baf Implement removal of corprus spells 11 years ago
MiroslavR 96e7ff666d Implement saving/loading of corprus stats, remove redundant code 11 years ago
Bret Curtis feb0ef8390 fixes building on systems with kFreeBSD kernel 11 years ago
scrawl 83037a1a91 Move fast-forward of particle systems outside of OgreNifLoader (Fixes #1830)
Particle systems were being fast-forwarded before the skeleton base was attached, so particles without the LocalSpace flag would spawn at an incorrect position.
11 years ago
scrawl 360c7f863c Store magic effect Base values in savegame (Fixes #1489) 11 years ago
scrawl 2db50da8dd Implement magic effect script instructions (Feature #1489) 11 years ago
scrawl 6c6b3bd890 Remove extra setVisibilityFlags on SkelBase
SkelBase is already contained in mEntities.
11 years ago
Marc Zinnschlag 3486da0fb0 consolidated the debug profile flags into a single and added a global flag 11 years ago
scrawl 77a4e38c49 Remove -Wno-ignored-qualifiers and fix caused warnings 11 years ago
scrawl 28e61c9834 Add default values for fDifficultyMult and sDifficulty (Fixes #1742)
Also added values for some other GMSTs added in a Morrowind patch or Tribunal/BM
11 years ago
scrawl e2ee3b2497 Merge branch 'master' of https://github.com/OpenMW/openmw
Conflicts:
	apps/openmw/mwrender/terrainstorage.cpp
11 years ago
Marc Zinnschlag 40a33eb9f0 Merge remote-tracking branch 'miroslavr/master' 11 years ago
MiroslavR baa14511cf Use ResourceHelpers to replace DDS hacks scattered throughout the code, fix prefix comparision 11 years ago
scrawl 28fe81df90 Make Lights with OffDefault flag not emit light nor particles when placed in a cell (Fixes #1796) 11 years ago
MiroslavR 4d403ed747 Rename and move functions for texture path correction 11 years ago
scrawl 4138c3e966 Reuse health of previous level rather than recalculating initial health (Fixes #1787) 11 years ago
Marc Zinnschlag ee3acc31a8 minor correction to previous commit 11 years ago
cc9cii c43bd3c345 Continue loading esm after detecting string table overflow condition. Should resolve bug #1774. 11 years ago
MiroslavR 4873c4bd31 Generalize function for texture path correction (Fixes #1779) 11 years ago
scrawl 8c26f802e6 Move terrain grid implementation to a component so the editor can use it (Feature #1597) 11 years ago
scrawl 982453d4f6 Move ESM terrain data handler to esmterrain component so it can be used by the editor (Feature #1597) 11 years ago
scrawl 22d7d8a466 Implement Command creature/humanoid magic effects (Fixes #1120) 11 years ago
scrawl 2e7b5fde7c Fix uninitialized QuestStatus in DialInfo (Fixes #1694) 11 years ago
Marc Zinnschlag f4ddf2a7b9 Merge remote-tracking branch 'sandstranger/android' 11 years ago
root 32ebc90ba4 fix v9 11 years ago
root 713787d92f fix v7 11 years ago
root 8978f9bcc6 fix v6 11 years ago
root 3cd98e5259 fix code v5 10 years ago
root e27ca878a1 fixed v 4 11 years ago
root 174b528082 fixe v 3 11 years ago
root d8772156a7 fixe all code v 2 11 years ago
root 8a8b91dfe1 fixed all code for building on all platforms inlcudng ANDROID 10 years ago
root 7cd2d4809c android-build 11 years ago
Marc Zinnschlag 33c36bf0df Merge remote-tracking branch 'scrawl/master' 11 years ago
Marc Zinnschlag 30f114873d added debug profile record 11 years ago
Digmaster a32ab842ae Added ForceJump/ForceMoveJump commands 11 years ago
Marc Zinnschlag 1e6d557089 Merge branch 'visibility' 11 years ago
Marc Zinnschlag a25758c3b1 fixed visibility flags setting 11 years ago
scrawl 0c1c468f70 Accept a useless extra integer argument for addItem (Fixes #1726) 11 years ago
scrawl 45af34d189 Merge branch 'master' of https://github.com/OpenMW/openmw 11 years ago
scrawl 543bb22e8f Implement collision script instructions (Fixes #1111) 11 years ago
scrawl ccde462308 Fix typo (RefId -> RefNum) 11 years ago
scrawl 7dfb624ee2 Support loading text keys for objects without a skeleton
This means we can no longer map them to bone IDs, but they are unused anyway.

Required to load text keys from the default head models (such as Talk: Start/Stop and Blink: Start/Stop)
11 years ago
bogglez c006393178 Fix http://bugs.openmw.org/issues/768
Changes application_name in configuration manager to OpenMW instead of
openmw, if on windows. This shouldn't break anything since Windows uses
case-insensitive filesystems. Strictly speaking the installation
directory must be OpenMW now though (not sure whether this is the case)
11 years ago
scrawl 4773d754c6 Remove redundant isHostile flag (Fixes #1652) 11 years ago
Marc Zinnschlag 7991dfb907 Merge remote-tracking branch 'scrawl/master' 11 years ago
Marc Zinnschlag c9cd7fb6b7 Merge branch 'scripts' 11 years ago
Marc Zinnschlag ad50b926f5 reducing some stray arguments again 11 years ago
Marc Zinnschlag 17bd094afd allow a few more stray arguments 11 years ago
Marc Zinnschlag 2abc4e42c8 end parsing of line after parsing a declaration 11 years ago
scrawl 1a04501951 Handle faction save/load properly when player has faction reputation in a faction he is not a member of (Fixes #1573) 11 years ago
Marc Zinnschlag 6a745c014f workaround for incorrect argument order for PositionCell instruction 11 years ago
Marc Zinnschlag acb728195f improved documentation of ESM::Script member variables 11 years ago
Marc Zinnschlag 2e355df8b3 removed function ScriptManager::getLocalIndex (was redundant and was also depending on precompiled scripts) 11 years ago
scrawl 75abe8db31 Ignore FLTV from old savegames 11 years ago
scrawl d4ff17f1c5 Remove unused FLTV and NAM0 from CellRef 11 years ago
scrawl 4e0c133fb3 Add comment to Cell NAM0 (it's a RefId counter) 11 years ago
scrawl 75366b2e37 Implement CellRef's faction rank (rank requirement to use item) 11 years ago
Marc Zinnschlag 19f4c46fe4 alllow (and ignore) explicit references for StopScript and ScriptRunning 11 years ago
Marc Zinnschlag aa8c0bccb4 added new argument type: z (optional, any) 11 years ago
scrawl 2b57c7fa67 Use CellRef's global variable to disable owner (Fixes #1677) 11 years ago
Marc Zinnschlag 11a2c767cc some argument parsing cleanup 11 years ago
scrawl 1320ac6983 Ensure non-negative particle life time, add size assertion 11 years ago
Marc Zinnschlag e33ee52b91 make stray names in the begin line a warning instead of an error 11 years ago
scrawl 192d5ca08f Allow overriding OGRE_PLUGIN_DIR in cmake command line 11 years ago
scrawl 4d39d77eaa Fix incompatible encoding names in ContentModel (bug uncovered by 41c17bccb6) 11 years ago
scrawl 2a510573b8 Remove unused implementation file 11 years ago