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
gus
2092e5fe22
compile fixes
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
scrawl
41c17bccb6
Exit if an unknown encoding option is specified
11 years ago
scrawl
876af8f529
Fix not saved Attacked flag ( Fixes #1657 )
11 years ago
Marc Zinnschlag
8952154488
inherit target ID when starting a script from another script
11 years ago
Marc Zinnschlag
27c84d6cb7
the reference for a targeted script is now determined when needed instead of at the start of the script execution
11 years ago
Marc Zinnschlag
35b27ea8cb
ignore stray string argument after GetDisabled
11 years ago
Marc Zinnschlag
e8322da663
added support for targeted scripts to script compiler
11 years ago
Marc Zinnschlag
75ab8de3d2
added opcode for running scripts with explicit references (targeted scripts)
11 years ago
Marc Zinnschlag
e9377ad5c4
include targeted script data in saved games
11 years ago
Marc Zinnschlag
563c2e5730
be a bit more relaxed about allowing - in names ( Fixes #1593 )
11 years ago
scrawl
41d73377b0
Use explicit C locale in Misc::StringUtils ( Fixes #1216 )
11 years ago
scrawl
1c41ce9b9d
Implement Hrnchamd's player and NPC autocalc spells (Some unclarities remaining, XXX)
11 years ago
scrawl
ad90d20ad8
Don't silently skip unknown NPC subrecords
11 years ago
Marc Zinnschlag
1ce60fa13b
Merge branch 'tables'
11 years ago
Marc Zinnschlag
d96ed38d49
added body part table
11 years ago
Marc Zinnschlag
e97fd35ae6
added enchantments table
11 years ago
scrawl
2506c16bf5
Add a dummy GetStat function returning 0 ( Fixes #1589 )
11 years ago
scrawl
e25fa6c157
Refactor non-distant land terrain path to a grid based implementation ( Fixes #1562 )
11 years ago
scrawl
4949aa1fbb
Add hack required for unnamed animated collision shapes (in_dagoth_bridge00.nif)
11 years ago
scrawl
1ab02d8072
Fix exception for box shapes ( Fixes #1580 )
11 years ago
scrawl
7b1e1d03d8
Merge branch 'master' of https://github.com/OpenMW/openmw
...
Conflicts:
apps/openmw/mwrender/sky.hpp
11 years ago
scrawl
2bcbc6ab7d
Potential crash fix, either way should have a better error message now
11 years ago
Marc Zinnschlag
85965bfd47
Merge remote-tracking branch 'scrawl/master'
11 years ago
scrawl
ee098de0a6
Don't ignore lighting values of particles not attached to a character
11 years ago
scrawl
b259c5def2
Make GetFactionReaction garbage argument optional
11 years ago
scrawl
8a8ecce1e5
Fix some uninitialized data written to savegames
11 years ago
scrawl
e274314548
Ignore alpha modifier for particle materials
...
This makes the tx_ash_flake.dds particles from ashcloud.nif appear.
11 years ago
scrawl
b52977e44c
Add dummy Face implementation for now (Bug #1541 )
11 years ago
scrawl
30be59c029
Implement auto-adjusting of particle emit rate
...
This makes ashcloud.nif and blightcloud.nif work properly.
11 years ago
scrawl
750d8b5589
Allow garbage integer argument for addSpell ( Fixes #1539 )
11 years ago
scrawl
0b34d8d2fd
Add support for animated collision shapes ( Fixes #1549 )
11 years ago
slothlife
9ea22324f7
Fix some MSVC warnings.
...
Several fixes are warnings about truncations on 64-bit, while others are
complaints about mixed signed / unsigned integer operations.
11 years ago
scrawl
0bed6d9d56
Physics: Recognize BBoxCollision flag, but don't use it for raycasting ( Fixes #1349 )
11 years ago
scrawl
e002acdeae
Physics: Create actor shapes outside of BulletNifLoader
...
This will allow to create a specialised shape instead, such as a capsule, which tends to work better for character controllers.
11 years ago
scrawl
7bf7daa846
Fix exception (getline will trigger failbit on the last line)
11 years ago
scrawl
9a26cf22e6
Implement toggleMenus
11 years ago
scrawl
218f916d6d
Savegame: Don't write stat modifiers that are zero
11 years ago
scrawl
c69a311ad8
Disable lighting for particles
...
Fixes magic cast visuals being too dark depending on the environment.
11 years ago
scrawl
4e71db7081
Savegame: Don't load/save deleted container items. This is currently pointless, and also causes new garbage being added on each load/save cycle: Container stores are first filled from ESM records, then cleared and filled from the savegame. The items from ESM records remain as deleted refs.
11 years ago
scrawl
5645c9185b
Fix location of local data path
11 years ago
scrawl
1dc9e151cb
Count werewolf kills ( Fixes #1525 )
11 years ago
scrawl
2477456f99
Implement Murder crimes and OnMurder instruction ( Fixes #1315 )
11 years ago
scrawl
ec66484472
Fix forceGreeting with explicit references ( Fixes #1518 )
11 years ago
scrawl
d5b97005ab
Make ESM::Faction skills optional ( Fixes #1508 )
...
Also increased size of mSkills array to 7. Some factions with 7 skills can be found in the vanilla CS. The previously "mUnknown" int appears to be the 7th element of the skills array.
11 years ago
scrawl
ee2b81763e
Savegame: Store AiSettings and summoned creatures
...
CreatureStats state is now completely stored (Closes #1174 )
Also play VFX_Summon_Start and VFX_Summon_End visual effects.
11 years ago
scrawl
fd59a4a79e
Fix some doxygen typos
11 years ago
scrawl
77388fe2ce
Implement BetaComment instruction (dumps reference info)
11 years ago
Marc Zinnschlag
c8c45d4923
Merge remote-tracking branch 'lgro/valgrind_fixes'
11 years ago
Lukasz Gromanowski
abeb1d4ab3
Valgrind: Added constructor for KeyListT class, and added initialziation of ver member field in NIFFile class.
...
Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
11 years ago
scrawl
4f742fd468
Allow INFO records with no subrecords following DATA ( Fixes #1486 )
11 years ago
scrawl
e458cf1df2
Savegame: Store death counter ( Fixes #1477 )
11 years ago
scrawl
a54ac579a5
Savegame: Store AiSequence
11 years ago
scrawl
b158919c4b
Fix uninitialized variable use
11 years ago
scrawl
029e438c11
Don't check mInterpolationType each iteration
11 years ago
scrawl
73be457805
Merge ESM::Cell fields by subrecord
...
Fixes an issue with the Morrowind Patched mod where cell ambient values would become black due to the new cell records not including an AMBI subrecord.
Also fixes a bug where mLeasedRefs was incorrectly cleared when overwriting a cell (*oldcell = *cell;)
11 years ago
scrawl
47172fb8a2
ContentModel: Don't confuse file path with file name ( Fixes #1352 )
11 years ago
scrawl
3788fb042e
Implement MenuTest script instruction ( Fixes #1454 )
11 years ago
scrawl
2dd54dbcfc
Implement ClearInfoActor script instruction ( Fixes #1422 )
11 years ago
scrawl
98d7b6672a
Make MODL subrecord optional for potions ( Fixes #1419 )
11 years ago
scrawl
823ccb1b3d
Don't batch statics that have "references persist" set (temporary fix for Arkngthand door - Fixes #1386 )
11 years ago
scrawl
a0bff03560
Fix not handling failbit/badbit in ifstream (Bug #1355 )
11 years ago
Arthur Moore
f9f278f645
Fixed a capitalization error.
...
Changed Interpolations to unsigned.
Also explained what's happening in the comments.
11 years ago
Arthur Moore
b90e4db871
Actually read in XYZ_ROTATION_KEY data instead of discarding it.
11 years ago
dreamer-dead
e772bb88da
Remove RTTI usage in NIF reader.
11 years ago
Marc Zinnschlag
5313862a46
Merge remote-tracking branch 'scrawl/master'
11 years ago
scrawl
7376cb9b61
Fix loading ESX files cleaned with testool ( Fixes #1382 )
11 years ago
scrawl
ce14a6413b
Small optimization to ESM::Variant
11 years ago
scrawl
577ed3943b
Show wallpaper when loading a savegame
11 years ago
Arthur Moore
576c06d791
Fix Bug #1371
...
Not properly reading in the NIF file's QuaternionKeyList.
11 years ago
scrawl
c018319940
Addition to 7c9c0830a96: don't create useless BaseWhite clones
11 years ago
scrawl
7c9c0830a9
Fix errors due to BaseWhite material being removed
11 years ago
scrawl
16ac6e7aac
Merge DialInfo objects by subrecord instead of overwriting the object
...
Fixes #1360
11 years ago
Marc Zinnschlag
ecf3d52b46
Merge remote-tracking branch 'cc9cii/crash-fix-cg-shader'
11 years ago
Marc Zinnschlag
f5e587f566
Merge remote-tracking branch 'puppykevin/master'
11 years ago
cc9cii
11ce093a9e
Fix crashes caused when terrain materials don't get created (e.g. due to cg shader bug on Windows/D3D9). Should resolve Bug #1284 .
11 years ago
Marc Zinnschlag
be7f344eca
Merge branch 'refs'
...
Conflicts:
apps/opencs/model/doc/savingstate.cpp
components/esm/cellref.hpp
11 years ago
Marc Zinnschlag
be88168e91
Merge remote-tracking branch 'scrawl/master'
11 years ago
scrawl
50a72ed710
Fix ghosts in Cavern Of The Incarnate having -1 health
11 years ago
pvdk
38d825b004
Merge remote-tracking branch 'upstream/master' into wizard
...
Conflicts:
CMakeLists.txt
apps/launcher/maindialog.cpp
11 years ago
Kevin Poitra
18314b1707
We use spaces, not tabs.
11 years ago
Kevin Poitra
8e55eb8009
Fix some formatting.
11 years ago
Kevin Poitra
545c3c312c
Remove a superfluous clear.
11 years ago
Marc Zinnschlag
f112c78858
Merge remote-tracking branch 'scrawl/master'
11 years ago
scrawl
e68600eda2
Make Activate instruction work properly even when onActivate was not called in the same frame.
...
There are two major differences to the old implementation:
- Activate can now be called on its own, e.g. in the console. In Vanilla this appears to be a no-op, so it is unlikely to be used and the potential for breakage is low.
- The Action to execute is now determined when Activate is called, not when OnActivate is called. This however makes sense, since there may be a time difference between the two, and the object (or the player) could have changed in the meantime, requiring a different Action.
Fixes #1166 and #1346 .
11 years ago
Marc Zinnschlag
bb011f278e
Merge remote-tracking branch 'cc9cii/master'
11 years ago
cc9cii
bbe77d656a
Minor fixes from static analysis.
11 years ago
Arthur Moore
50a4d175da
Read NIF interpolation type 4 (XYZ_ROTATION_KEY)
...
Don't actually do anything with it yet, but without this the "MW Containers Animated" mod made containers inaccessible.
Partly implements Feature #1067
11 years ago
Marc Zinnschlag
be39395ce7
Merge remote-tracking branch 'scrawl/master'
11 years ago
Marc Zinnschlag
12fc0aaecb
removed an unused parser settings (implicitly fixing a case were this setting was not applied correctly)
11 years ago
scrawl
3e2eed9269
Implement getFactionReaction function
...
Strange bug when using value != 0 for the garbage argument?
11 years ago
scrawl
e266c39c5d
Implement modFactionReaction instruction ( Closes #1347 )
11 years ago
scrawl
0966755a0c
Store death animation index in CreatureStats
11 years ago
scrawl
3cd835e61a
Fix bsa file loading not being case insensitive ( Fixes #1178 )
11 years ago
scrawl
039398c8ae
Basic RefData and CellRef change tracking
...
Wrapped item charge handling in getItemHealth function
11 years ago
scrawl
b47b2b84f3
Merge branch 'master' of https://github.com/OpenMW/openmw
...
Conflicts:
apps/openmw/mwdialogue/filter.cpp
apps/openmw/mwgui/waitdialog.cpp
11 years ago
Marc Zinnschlag
244eb11651
Merge remote-tracking branch 'greye/widechar'
11 years ago
scrawl
e51300989c
Handle NiBSPArrayController as alias for NiParticleSystemController
...
The differences (if any) are unknown.
NiBSPArrayController is used by the Atronach_Fire.nif model. Its particles are now visible, but they don't look right yet. Need to handle NiAutoNormalParticlesData?
11 years ago
greye
663d5c314e
be more verbose on change reasons
11 years ago
greye
4346e3b4d0
try to load plugins from relative paths
11 years ago
Marc Zinnschlag
d8440e1fdc
implemented reference record merging
11 years ago
greye
444a07c01b
workaround OgreLog Unicode path handling
11 years ago
greye
493f8c6050
fix opening BSA on Unicode path
11 years ago
greye
417e07fbce
fix irrelevant error reporting
11 years ago
greye
6cb795ef7d
attempt to fix LowLevelFile, minor code reuse
11 years ago
greye
2c82da8e6e
load Ogre::ConfigFile from DataStream
11 years ago
scrawl
3dceb7ee4f
Fix overwriting DialInfo
11 years ago
scrawl
0aa1042fd7
Optimized dialogue merging with a lookup map
11 years ago
scrawl
1677fcf324
Dialogue merging
11 years ago
scrawl
5b76c0893a
Merge branch 'master' of https://github.com/OpenMW/openmw
...
Conflicts:
components/esm/inventorystate.hpp
11 years ago
greye
e02b04536f
fix most vexing parse issue
11 years ago
greye
424d06a6f8
open fstreams from boost::filesystem::path, vol.2
11 years ago
greye
2236216344
minor simplification
11 years ago
greye
a22ec223d8
open fstreams from boost::filesystem::path, vol.1
11 years ago
greye
b4950509bc
use converted widechars in ini importer
11 years ago
greye
eafdefe999
using WindowsPath implies utf-8 for boost fs::path
11 years ago
greye
584c121f33
fix windows unicode path handling
11 years ago
scrawl
a872c9f83a
Feature #1323 : handle restocking levelled items
11 years ago
cc9cii
b36bb58e8c
Bug #1324 : Artem's solution
11 years ago
Marc Zinnschlag
f7c89015f9
Merge remote-tracking branch 'scrawl/master'
11 years ago
scrawl
ae66d28c87
Feature #32 : Implement respawn for containers, creatures and NPCs
11 years ago
scrawl
e266aff561
Savegame: store projectiles
11 years ago
scrawl
b3735981d6
Remove unused file_finder
11 years ago
Marc Zinnschlag
3b2ba4f6cd
Merge remote-tracking branch 'scrawl/master'
11 years ago
scrawl
a76e391ad0
Savegame: store door movement state ( Closes #747 )
11 years ago
scrawl
471bbd0021
Savegame: store levelled creature state and move to actorIds
...
(Closes #1332 )
11 years ago
Marc Zinnschlag
d08869a25d
Merge remote-tracking branch 'slothlife/msvc_warning_cleanup'
...
Conflicts:
apps/openmw/mwrender/localmap.cpp
11 years ago
slothlife
f33559fead
Fixes for MSVC warnings, less overall changes
...
Kept some fixes from the first round of review. Found out that several
targets weren't being built with the same basic warnings disabled.
Disabled a few warnings for external libraries specifically, rather than
applying them to all targets.
11 years ago
scrawl
9b67fcc4d7
Merge branch 'master' of https://github.com/OpenMW/openmw
11 years ago
scrawl
9052cc4a57
Savegame: store ActiveSpells
11 years ago
scrawl
61187c2fef
Savegame: store actorIds
11 years ago
scrawl
51020fdb5f
Fix a bug for NpcStats::mUsedIds in savegames, and added a compile-time guard to prevent similar errors in the future.
11 years ago
Thomas
cbcf0f6039
Changed AiEScort to use new PathTo function
11 years ago
slothlife
c160a04ede
Revert "Fixes for warnings when building with MSVC"
...
This reverts commit 46eb20b98c
.
11 years ago
Thomas
085fb2c5a2
Simplified documentation a bit
11 years ago
Thomas
a61d804de6
now that I've found the documentation, fixed some stuff for extensions
11 years ago
Thomas
77d365e196
Forced some function arguments to take in a specific array size
11 years ago
Thomas
9dbe53c722
Merge remote-tracking branch 'upstream/master'
11 years ago
Thomas
2c74ea381e
Moved pathfinding code to aiPackage, implemented it's use with aiFollow and aiPursue
11 years ago
scrawl
6cc691115b
Savegame: store most of CreatureStats
11 years ago
Thomas
645d174a96
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
apps/openmw/mwmechanics/aisequence.hpp
11 years ago
scrawl
a4a9794417
Savegame: store fog of war ( Closes #1177 )
11 years ago
scrawl
041319c43e
Fixes #1234 : Store dynamic record counter in savegame to prevent name clashes
11 years ago
slothlife
46eb20b98c
Fixes for warnings when building with MSVC
...
Most warnings are innocuous (wrong type-specifier for forward
declarations, conversion of literals into unsigned integers, warnings
about methods optimized out), but I believe actual bugs were revealed in
vartypedelegate.cpp and combat.cpp.
11 years ago
Thomas
dbf06d8c8b
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
apps/openmw/mwmechanics/aipursue.hpp
apps/openmw/mwmechanics/aisequence.hpp
11 years ago
scrawl
7bddfc0025
Fix some spelling mistakes.
11 years ago
scrawl
122e606e30
Crime: improvement to arrest on sight for large bounties
...
iCrimeThreshold controls the needed bounty to have guards run to the player and force dialogue. In vanilla, the greeting dialogue is scripted to either arrest the player (< 5000 bounty) or present a death sentence and attack (>= 5000 bounty).
11 years ago
scrawl
8560b43464
Move to esm component
11 years ago
scrawl
17bb8d7f9a
Fixes #1252 : Add item/magic keybindings to savegame
11 years ago
scrawl
6f7fbc867f
Fix several leaks
11 years ago
Thomas
8f90dd43ec
Changed things to use typedef ScriptARgs/ScriptReturn, which makes finding out what those weird strings meant much much easier
11 years ago
Thomas
885228ec02
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
apps/openmw/mwmechanics/actors.cpp
11 years ago
scrawl
27a05027f4
Fixes #1172 : Added basic loading/saving progress bar
...
The progress is not particularly accurate. It simply uses the current / total number of records written/read as indication. Cell records are currently the largest by far, but there is a good chance that could be optimized using a change tracking system.
11 years ago
Thomas
c2127845af
Added onKnockdown command
11 years ago
scrawl
30666f2cce
Fixes #1297 : Store global map markers in savegame
11 years ago
scrawl
f921f2e7db
Make PcRaiseRank, PcLowerRank and PcJoinFaction properly accept references instead of using the actor that the player talked to last.
...
This also solves a potential crash when no actor has been talked to yet, e.g. immediately after loading a savegame.
11 years ago
scrawl
45d2a00717
Fixes #1293 : Allow interpolation type 0 in case of 0 keys
11 years ago
Thomas
f6deca7c80
Fixed various issues caused by late-night coding. Also added "unlock" message to unlocked doors
11 years ago
Thomas
61341d4206
Removed mLocked, kept it as "Negative lock level means unlocked"
11 years ago
Thomas
420163d35f
Small changes to lock command (If no valid lockLevel exists, defaults to 100)
11 years ago
scrawl
6929e541dd
Fix texture name issue with Vality's Bitter Coast Mod
11 years ago
scrawl
2cb9f38a45
Changed crime IDs for legacy savegames. Not an issue, but it was inconsistent.
11 years ago
scrawl
262e959699
Remove unused slice_array
11 years ago
pvdk
aa07a33906
Fixed most of the memory leaks and started working on correctly exiting the thread
11 years ago