Commit Graph

8378 Commits (6d12374ace045ea20ee1dded0fa7f02d78d8c2ca)

Author SHA1 Message Date
scrawl 399fa90ef1 Add missing include guard 11 years ago
MiroslavR 4873c4bd31 Generalize function for texture path correction (Fixes #1779) 11 years ago
scrawl 4a26dcb2ad Avoid calling RenderTarget::update from within loadResource 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 accab47724 Don't knock down from fall damage in onHit (CharacterController is doing that already) 11 years ago
scrawl a731ec3587 Remove summoned creature and its effect when it is killed (Fixes #1341) 11 years ago
scrawl 8a4e0a2ce8 Don't fade out screen if teleport target cell is not found 11 years ago
scrawl 143609be59 Set glyph width/height separately from texture coordinates (Bug #1096)
Requires MyGUI SVN
11 years ago
scrawl 22d7d8a466 Implement Command creature/humanoid magic effects (Fixes #1120) 11 years ago
scrawl 0f8a10f468 Savegame: Set equipment slot for lights (Fixes #1761) 11 years ago
scrawl 2bfcec53bf Don't show sMagicInvalidTarget for soultrap on NPCs (Fixes #1762)
Note the message was accurate, since NPCs can't be soultrapped. Maybe vanilla doesn't show it to not spam the screen with message boxes when attacking with a "soultrap on strike" weapon...
11 years ago
scrawl a9a7a7ec73 Use Modified attribute values to derive magicka and fatigue (Fixes #1760) 11 years ago
scrawl 44b517f66d Implement hiding inventory windows by double click on caption (Fixes #1690) 11 years ago
scrawl c6bf9dfbfb Add ManualResourceLoader for character previews (Fixes #1752) 11 years ago
scrawl 0b1e997bdd Make sure dialogue is ended properly when closing it by using a service (Fixes #1755) 11 years ago
scrawl 1fc424ce30 Make sure player doesn't get any AI packages (Bug #1749) 11 years ago
MiroslavR 42dceb641e Readd Azura's Star after recharging (Fixes #1765) 11 years ago
MiroslavR 8707f7b116 Fix spell creation magicka cost (Fixes #1763) 11 years ago
Marc Zinnschlag f4ddf2a7b9 Merge remote-tracking branch 'sandstranger/android' 11 years ago
root c15902487d fix indent in cmake 11 years ago
root 32ebc90ba4 fix v9 11 years ago
root 713787d92f fix v7 11 years ago
root 3cd98e5259 fix code v5 10 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 57a8b9cdb5 abdroid-build 11 years ago
root 16aafc26bc fixed cmake for build on all plaforms include android 11 years ago
Marc Zinnschlag 33c36bf0df Merge remote-tracking branch 'scrawl/master' 11 years ago
scrawl 45f0f0e4c3 Use sky_night_02.nif if available (Fixes #1744) 11 years ago
scrawl 639ae7e06c Implement friendly hits on followers (Fixes #1139) 11 years ago
scrawl 2d74388a76 Don't report crime if we are in combat with the victim 11 years ago
scrawl 216ebac2e9 Implement weapon condition damage for ranged weapons (Fixes #1746) 11 years ago
Marc Zinnschlag dbf5613d8c cleanup 11 years ago
Digmaster a32ab842ae Added ForceJump/ForceMoveJump commands 11 years ago
scrawl eb1888a540 Fix GetPcRank and PcExpelled not accepting Faction IDs properly (Fixes #1709) 11 years ago
scrawl ef78ae22f6 Loosen mode restrictions on opening Journal window (Fixes #1570) 11 years ago
scrawl cd8287da16 Make sure fog texture is loaded before trying to convertToImage 11 years ago
scrawl 6cb9382bf0 Adjust screen-sized widgets automatically using Stretch align 11 years ago
scrawl 715d357f24 Use a controller to move Drag&Drop widget with the mouse cursor 11 years ago
scrawl a18cec7c8e Use a MyGUI widget to render the screen fader (Fixes #1741, Fixes #1719) 11 years ago
Marc Zinnschlag 3f6a7e36d0 removed the (partial broken) return/enter shortcut for custom push buttons, since there is already a space shortcut) 11 years ago
Marc Zinnschlag 1e6d557089 Merge branch 'visibility' 11 years ago
Marc Zinnschlag f381451ae0 added control element selector toolbar button 11 years ago
Marc Zinnschlag 612202a7a5 fixed several bugs in the layout algorithm of the toggle scene tool 11 years ago
Marc Zinnschlag 507e5c4f6e explicitly flag scene as modified when changing visibility mask 11 years ago
Marc Zinnschlag 439ba57d46 added visual element selector toolbar button 11 years ago
Marc Zinnschlag a25758c3b1 fixed visibility flags setting 11 years ago
Marc Zinnschlag b0a9d17dc3 use name as a tooltip if no tooltip is given for scene tool bar toggle buttons 11 years ago
Marc Zinnschlag 92d322cbd1 added visibility flags 11 years ago
Marc Zinnschlag 71ce78f949 added scene toolbar toggle widget 11 years ago
scrawl b58b8c6f8f Adjust player position to ground when using a door marker, even if the player is levitating (Fixes #1737) 11 years ago
scrawl 89af49f669 Make sure fog of war texture is loaded before accessing its buffer 11 years ago
scrawl 175cc98e64 Make magic effects with no corresponding resistance attribute unresistable (Fixes #1727) 11 years ago
scrawl 0f1451babd Add epsilon to armor class calculation 11 years ago
Marc Zinnschlag 7a5f73de9e added navigation mode icons to buttons 11 years ago
scrawl 261e755e73 Font hacking again (Fixes #1506) 11 years ago
scrawl d1feb9ef02 Fix # in book text being interpreted as MyGUI color code 11 years ago
scrawl 78bd516ab4 Show sMagicInvalidTarget for an invalid soultrap target (Fixes #1728) 11 years ago
Michał Ściubidło f754e06be9 Fix for bug 1685 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 9e48d56244 Reset RefNum when copying an object (Fixes #1723) 11 years ago
scrawl 1a6db097ed Fix dangling MWWorld::Ptrs in enchanting dialog after loading save game (Fixes #1722) 11 years ago
scrawl a59620f643 Cache loudness vector in the buffer cache 11 years ago
scrawl 0943ff0886 Fix normalizing sample values 11 years ago
scrawl 625f9a35e6 Implement NPC eye blinking (Fixes #1721) 11 years ago
scrawl 598c0c4ae7 Implement mouth animation for NPCs based on say sound (Fixes #642) 11 years ago
Michał Ściubidło bd3729a6cb Add grace periods for player greeting.
Add delay for NPC greating. NPC ignores greeted player after some time.
Fixes bug 1503.
11 years ago
Michał Ściubidło d47bfbe69c Implement AI greeting states.
Greeting consist of 3 phases:
- none - default one, greeting state can only change to "in progress"
  when near enough and some time passes
- in progress - NPC says his greating and rotates toward player,
  state can only change to "done" after some time
- done - rotation is stoped, after idling can go away from player,
  state can only change to "none" when player and NPC are faraway
11 years ago
Michał Ściubidło 20efeea5d9 AI tell their greatings even when player is moving (like morrowind).
Greating reset distance was greatly inflated comparing with morrowind.
11 years ago
scrawl 8455ed6279 Cancel upper body animations when knocked down 11 years ago
scrawl 5349699172 Only show "target resists magic" message for spells cast by player 11 years ago
bogglez b56cb7e5ee Remove defunct option for building without FFmpeg
- Added REQUIRED to find_package(FFmpeg)
- Removed USE_FFMPEG option from CMakeLists.txt
- Always use FFmpeg for sound input
- Removed SOUND_DEFINE from CMakeLists.txt
- Removed #else branch from videoplayer.cpp with dummy VideoState code
  (FFmpeg is now guaranteed to exist and the code was incomplete)
- Remove #ifdef OPENMW_USE_FFMPEG in ffmpeg_decoder.cpp, it is guaranteed to be used
- Remove #ifdef OPENMW_USE_FFMPEG from soundmanagerimp.cpp, it is guaranteed to be used
11 years ago
scrawl f67b7dae91 Sheath weapon in all Ai packages except for AiCombat 11 years ago
scrawl d956df83e4 Don't make guards fight non-aggressive creatures that are in combat
Ex. summoned creature that is helping in a fight.
11 years ago
scrawl d9a6515fe3 Adjust AiFollow running threshold to more closely match vanilla MW 11 years ago
scrawl 18b3e71be5 Reset player position when spawning in fallback cell 11 years ago
scrawl 4773d754c6 Remove redundant isHostile flag (Fixes #1652) 11 years ago
scrawl 0077296c91 Take actor's speed into account in stuck check
The Winged Twilight's walking animation was so slow that it incorrectly detects being stuck.
11 years ago
scrawl d69ed78ccd Don't add combat AI to player 11 years ago
scrawl 3067082534 Make base_anim.nif take priority for biped creatures
Fixes the skeletal minion's WalkForward1h animation.
11 years ago
Marc Zinnschlag 4791098e11 Merge remote-tracking branch 'miroslavr/master' 11 years ago
Marc Zinnschlag 7991dfb907 Merge remote-tracking branch 'scrawl/master' 11 years ago
Marc Zinnschlag c9cd7fb6b7 Merge branch 'scripts' 11 years ago
scrawl c6d3b0b70b Moved merchant restock from trade start to dialogue start, since other services also interact with it. 11 years ago
scrawl 315b022d2d Add transfer gold from all services to NPC trade gold pool 11 years ago
scrawl 45206bc3f6 Savegame: write and read dynamic Store before Cells 11 years ago
MiroslavR b4ba18afe7 Include revision number in the "version" command line option (Closes #1711) 11 years ago
scrawl 6262d6c964 Don't leave stale player CharacterController in Actors when loading game (Fixes #1713) 11 years ago
scrawl d81e9cfefd Implement actors fighting for the actor they are following (Fixes #1141) 11 years ago
scrawl 47e42d4fda Destroy Engine after exception is logged
In cases where OpenMW throws an exception, then crashes in the Engine destructor (ideally should not happen, but keeps happening), we will at least see what the exception was about.
11 years ago
scrawl 8c81e22f3e Determine target for On Touch effects for non-player actors 11 years ago
scrawl 31d058b98c Add workaround for ScrollView messing up canvas size (Fixes #1700)
TODO: Create fixed ScrollView widget?
11 years ago
scrawl 16b089cdc8 Fix invisible enchanting price when self-enchanting was previously used. 11 years ago
scrawl 9c60e4d826 Change button caption from "Buy" to "Create" when self-enchanting 11 years ago
scrawl 09607f992e Enchanting: fix inverted self-enchant success chance (Fixes #1701) 11 years ago
scrawl b370c0f7b5 Enchanting: Don't check price on self-enchanting (Bug #1701) 11 years ago
scrawl 4a1e561015 Properly assign effect attribute/skill in potion creation (Fixes #1704) 11 years ago
scrawl 90b2709d6c Allow absorption of non-harmful spells (Fixes #1693)
Also fix absorption being calculated for each effect rather than the whole spell.
11 years ago
scrawl 60499eff83 Hotfix for message boxes locking up the game 11 years ago
Marc Zinnschlag af54bb9623 removed some redundancies; some more general cleanup 11 years ago
Marc Zinnschlag d0654f3ade move starting of startup scripts from engine startup to new game start; also restart all startup scripts on saved game load 11 years ago
Marc Zinnschlag 4421e7a5cc added lighting mode toolbar icons 11 years ago
Marc Zinnschlag 1ca0cc4988 rewrote MWScript::Locals::configure to be independent of precompiled script data 11 years ago
Marc Zinnschlag a3c4000198 moved call to Globalscripts::addStartup out of the constructor because at the time of construction the environment may not be set up yet to perform this operation 11 years ago
Marc Zinnschlag 87c54adb24 some cleanup 11 years ago
Marc Zinnschlag f6b502b195 rewrote dialgoue filter access to local variables 11 years ago
Marc Zinnschlag 9f69db0d69 added missing const to ScriptManager::getLocals 11 years ago
Marc Zinnschlag 2e355df8b3 removed function ScriptManager::getLocalIndex (was redundant and was also depending on precompiled scripts) 11 years ago
scrawl 4ec51b386a Add ManualResourceLoader for fog of war textures (Fixes #1675) 11 years ago
scrawl 4b3e12bfb4 Fix pinned widgets receiving mouse clicks in gamemode (Fixes #1686) 11 years ago
scrawl 469d2afffa Merge branch 'master' of https://github.com/OpenMW/openmw
Conflicts:
	apps/openmw/mwgui/levelupdialog.cpp
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 7ae9bbb1a5 Implement iCrimeThresholdMultiplier 11 years ago
scrawl fc618cb3ea Use separate function for fatigue restoration during resting/waiting 11 years ago
scrawl 103325bfb8 Change HUD enemy health bar to use actorId 11 years ago
scrawl 75366b2e37 Implement CellRef's faction rank (rank requirement to use item) 11 years ago
scrawl ca45a63cf7 Close doors instantly when using Lock instruction 11 years ago
scrawl 2b57c7fa67 Use CellRef's global variable to disable owner (Fixes #1677) 11 years ago
Marc Zinnschlag 91afc2ebe7 Merge remote-tracking branch 'mikesc/bug1482' 11 years ago
Marc Zinnschlag 6b5f79a9ca Merge remote-tracking branch 'miroslavr/master' 11 years ago
Marc Zinnschlag ccf672630f Merge remote-tracking branch 'lgro/aicombat' 11 years ago
Michał Ściubidło e24173f94a Fix bug 1482:
- put powers on cooldown only when they are used succedsfully
11 years ago
Lukasz Gromanowski 171c61022d Added initialization of weapRange in AiCombat::execute().
Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
11 years ago
MiroslavR 3b67e9b329 Rework level up dialog to behave more like vanilla 11 years ago
scrawl c0645d4978 Increase death count immediately on death (Bug #1588)
This is required for scripts using getDeadCount as reaction to onDeath that rely on the increased value.
11 years ago
scrawl d43c21a9fc Make NPCs react to being attacked by other actors (Fixes #1588) 11 years ago
scrawl 127add7623 Don't allow dialogue with werewolf NPCs 11 years ago
Marc Zinnschlag a9f9dec923 consider script blacklist in OpenCS verifier 11 years ago
Marc Zinnschlag d87630b41a blacklisting for scripts in OpenMW 11 years ago
scrawl 10d4da7994 Fix date time in journal entries being off by one day (Fixes #1668) 11 years ago
scrawl 5629803a08 Implement correct armor mitigation mechanics 11 years ago
scrawl 804f1a5e59 Adjust combat mechanics
- Projectiles can not trigger critical hits
 - Critical hits are only possible if the target is not in combat (Fixes #1669)
 - Hand-to-hand deals damage to health during entire duration of knockdown animation (including standing up)
11 years ago
scrawl 90a96cd7d8 Fix bug where actors in combat with multiple other actors where not regarded as in combat with a specific actor 11 years ago
scrawl 1636fd66db Don't add creature base damage to weapon damage (UESP was wrong) 11 years ago
scrawl 6d794dac69 Add missing messagebox for spell lock and unlock success 11 years ago
scrawl 9897f14c3c Don't block when actor is paralyzed 11 years ago
scrawl 28a0899d2b Implement difficulty scaling (Fixes #1505) 11 years ago
scrawl 5bbf07976f Consider Shield spell effect for creature armor rating 11 years ago
scrawl 691ba02115 Reduce wepaon condition even if attack misses 11 years ago
MiroslavR 0f2305ae43 Clear selected spell when window manager is cleared 11 years ago
scrawl 63fd04882a Make sure crime gold discounts don't reduce price to zero 11 years ago
MiroslavR d5381e1bc4 Dynamically resize skill widgets to fit their contents (Fixes #1610) 11 years ago
Marc Zinnschlag 6a3ff211b1 automatically get target ID at InterpreterContext construction, if a reference is available 11 years ago
Marc Zinnschlag 4fb897f2f8 added missing getId functions to classes derived from MWWorld::Class 11 years ago
scrawl d4ffd30f98 Implement Rank filter with no faction given (Fixes #1660) 11 years ago
scrawl f9a39138cc Add missing endline 11 years ago
scrawl 08ce6ed7fb Attempt to restack item after repair or recharge (Fixes #1656) 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 dba6a9ebff run targeted scripts with an implicit reference based on the ID given 11 years ago
scrawl 20a0040bdb Apply elemental shield magnitude to element resistance (Closes #1121) 11 years ago
scrawl 123157b216 Implement elemental shield damage to attacker (Feature #1121) 11 years ago
scrawl f43a10b7b9 Adjust disease contraction according to Hrnchamd's research 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 8241ee59c3 modified GlobalScripts data structures to accommodate targeted script data 11 years ago
Marc Zinnschlag 1a1f5dfc4a added tooltips to dialgoue subview buttons 11 years ago
scrawl 5839691530 Check for container organic flag before checking weight (Fixes #1654) 11 years ago
scrawl 6cd739678a Fix dangling model pointer after reference cleanup (Fixes #1653) 11 years ago
Marc Zinnschlag 517b27e29a Merge branch 'toolbar' 11 years ago
Marc Zinnschlag 0430558c3c fixed focussed button in mode tool panel when panel is opened 11 years ago
Marc Zinnschlag 17fc570e38 new keyboard shortcut (T): move focus from toolbar to scene widget 11 years ago
Marc Zinnschlag 92af093856 new keyboard shortcut (T): move focus from scene widget to toolbar 11 years ago
Marc Zinnschlag 688d413b8c when scene toolbar gains focus, focus first button 11 years ago
scrawl 7c7c71428a Don't crash if certain class doesn't exist 11 years ago
Marc Zinnschlag c2ea8f3f0a added self-adjusting tooltips to the top-level toolbar buttons 11 years ago
Marc Zinnschlag 26f87f5d23 added navigation mode button tooltips 11 years ago
Marc Zinnschlag e855e55318 added tooltip to user settings button on startup window 11 years ago
scrawl c9150c9680 Initialize character skeleton to a suitable pose (Fixes #1473) 11 years ago
slothlife d0e1210dd7 Fix for Bullet debug assert
After changing the vector comparison to squaredDistance, the threshold
for rejecting similar vectors needed to be readjusted.
11 years ago
scrawl 8b404ee255 Fix not being able to exit dialogue using Escape when a Goodbye link appears 11 years ago
Marc Zinnschlag cae0c4a044 Merge remote-tracking branch 'scrawl/master' 11 years ago
scrawl f2799ea1d9 Reset item model when reference is reset (Fixes #1628)
This caused crashes when the window was resized after the reference no longer exists (e.g. when a savegame is loaded)
11 years ago
scrawl 40c3fa0dc1 Fix travis 11 years ago
scrawl d63dd88113 Apply autocalc corrections to player starting spells 11 years ago
scrawl fd3f109362 Fix underflow for NPCs with level 0 11 years ago
scrawl a1639371d3 Fix rounding for skill/attribute autocalc 11 years ago
scrawl 83819b2894 Traverse spells in record order from content files. bronrod_the_roarer is perfect now. Other NPCs have some differences. 11 years ago
scrawl 479f248c1d Use spell effect range type, not base effect (applied to spellcasting code) 11 years ago
scrawl b4f8edc186 Use spell effect range type, not base effect 11 years ago
scrawl 1c41ce9b9d Implement Hrnchamd's player and NPC autocalc spells (Some unclarities remaining, XXX) 11 years ago
scrawl d91d599269 Disable quickload when in modal dialog (Fixes #1641) 11 years ago
scrawl 048d07b299 Show owner of doors in tooltip 11 years ago
scrawl 5fbce67b9d Don't redraw ItemView if the size did not change 11 years ago
scrawl 53c70dbdaa Exit dialogue when going to jail (Fixes #1635) 11 years ago
Marc Zinnschlag 490442cf62 added lighting mode tooltips 11 years ago
Marc Zinnschlag 61a02d8a40 replaced custom toolbutton push flag with type enum 11 years ago
Marc Zinnschlag 32e48edb83 toolbar tooltip system 11 years ago
Marc Zinnschlag 67ad7d5b0e fixed scene subview focus problem 11 years ago
Marc Zinnschlag 57b9b8d884 set focus when opening a toolbar panel 11 years ago
Marc Zinnschlag d6c0b8d0ac use custom button on toolbar (top level) 11 years ago
Marc Zinnschlag 44b95bbd7b added push mode and icon-less push button constructor 11 years ago
Marc Zinnschlag 8b239df1b1 removed text argument from button constructor, because toolbar buttons will always be icon only 11 years ago
Marc Zinnschlag 365b721878 return/enter activate the selected button 11 years ago
Marc Zinnschlag 50ee815dd8 make buttons in mode panel act like radiobuttons 11 years ago
Marc Zinnschlag dd0aa20390 custom push button 11 years ago
Marc Zinnschlag 930f782bc5 SceneWidget::setLighting was missing an update call 11 years ago