Commit Graph

488 Commits (ad77c662aaffab0db65712187ae80dba556611ce)

Author SHA1 Message Date
Thomas cbfa282f8d Changed implementations of aifollow/pursue/activate slightly, added ability for NPCs to go through unlocked doors (They even try locked ones), and step back from opening doors (Although it still needs some work)
Notes - When the door hits them while it's about to finish closing they will try to walk through the door.
      - Considerably more works is needed in making the NPC work out troublesome areas where they get stuck
11 years ago
scrawl c98bea2a88 Moved local map update to LocalMap::updatePlayer to fix a brief desync on cell transitions due to sFogOfWarSkip 11 years ago
scrawl dd9117809d Say an attack phrase when combat starts
Move combat start to a helper method

Added some todo comments
11 years ago
scrawl 6381b1e938 Fixes #1309: Do not allow saving while dialogs are opened, just like vanilla
This limitation could be removed post-1.0 by serializing the state of open windows.
11 years ago
scrawl 17bb8d7f9a Fixes #1252: Add item/magic keybindings to savegame 11 years ago
Marc Zinnschlag f6a876bc3d added actor ID 11 years ago
Marc Zinnschlag 8fea2cfa2a Merge remote-tracking branch 'mrcheko/master' 11 years ago
scrawl 7a0aeeaa38 Allow to delete savegames (shift + click) 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
mrcheko 6a3dddfb9a merge master 11 years ago
scrawl e8210c92c6 Fixes #1240: Don't hardcode drowning time 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
Marc Zinnschlag c63d6437c0 Merge remote-tracking branch 'jeffreyhaines/master'
Conflicts:
	apps/openmw/mwbase/mechanicsmanager.hpp
11 years ago
Thomas f3272c941f Fix for bug #1080, can't read/repair/make potions/use soul gems/rest/sleep while in combat.
The radius for being in combat with the player is fAlarmDistance, which looked like the only pertinent thing.
11 years ago
Jeffrey Haines 42b879a9a5 Reworked the accusation of actors 11 years ago
Jeffrey Haines c3e08916da Sneak: Added support for state checking
I need advice one what I should do in order to pass mActors over to the
player. Particularly line 139 in player.cpp
11 years ago
Thomas 5b681e2199 Moved quickload to statemanager for consistency's sake, as well as make autosave only occur on sleep, not wait. 11 years ago
Thomas 05b21c92af Moved quick save into statemanager class. Kept loader as is as it's rather specalized. 11 years ago
mrcheko f811abb752 pathgrid shortcutting extended 11 years ago
Jeffrey Haines 58b135a2be Crime is now checked every frame call 11 years ago
Jeffrey Haines 50dac98a2b Feature 1154 & 73: Crime and NPC reactions 11 years ago
Jeffrey Haines 8ce938c6f1 Revert 6b28c06..98fd381
This rolls back to commit 6b28c06b2c.
11 years ago
Jeffrey Haines 6c866deb1b Feature #1154 Not all NPCs get aggressive when one is attacked
Partially implemented
11 years ago
scrawl f2cd37edd0 Play company logo movie 11 years ago
scrawl 5906d795c0 Refactored video player (now a MyGUI widget) 11 years ago
scrawl 793649c854 ToggleAI: Report current status on toggle 11 years ago
Marc Zinnschlag 7bc97fb8b8 reworked code for player positioning on startup and new game 11 years ago
scrawl 6eaa7553f8 Fixes #1181: Enable controls when loading a savegame 11 years ago
scrawl 12de0afb03 Feature #50: Spawn projectiles
Fix a bug in copyObjectToCell.
Make actor rotations more consistent.
11 years ago
Bret Curtis ab224f93c9 remove our stdint.h version that uses boost and force usage of system stdint.h 11 years ago
Marc Zinnschlag 367919200f moved CellRefList into a separate file 11 years ago
Marc Zinnschlag 9f721fd144 store list of known topics in saved game files 11 years ago
Emanuel Guevel 8824af30b4 Allow to display message box outside of dialogue window 11 years ago
scrawl 1deb0a7cdf Savegame dialog: Set key focus to editbox 11 years ago
scrawl f89b3cac02 Feature #764: Store the actor that gave the dialog response 11 years ago
Marc Zinnschlag 1b5301eec0 Merge branch 'savedgame'
Conflicts:
	apps/openmw/mwbase/mechanicsmanager.hpp
	apps/openmw/mwbase/soundmanager.hpp
	apps/openmw/mwgui/mapwindow.hpp
	apps/openmw/mwmechanics/actors.cpp
	apps/openmw/mwmechanics/mechanicsmanagerimp.hpp
	apps/openmw/mwsound/soundmanagerimp.hpp
	components/esm/loadcell.cpp
11 years ago
Marc Zinnschlag fd5486864a Merge remote-tracking branch 'gus/AIFix2'
Conflicts:
	apps/openmw/mwbase/mechanicsmanager.hpp
	apps/openmw/mwmechanics/actors.cpp
	apps/openmw/mwmechanics/actors.hpp
	apps/openmw/mwmechanics/mechanicsmanagerimp.cpp
	apps/openmw/mwmechanics/mechanicsmanagerimp.hpp
11 years ago
Marc Zinnschlag 29c3a288e3 load and save of reference in cells (without CustomData state) 11 years ago
scrawl e0de76a6f7 Save/load global map 11 years ago
scrawl f09328ca84 Clear global map overlay when starting/loading a game 11 years ago
gus 707e579dfe Merge branch 'master' of https://github.com/zinnschlag/openmw.git into AIFix2
Conflicts:
	apps/openmw/mwmechanics/aifollow.cpp
11 years ago
scrawl 03cf383be7 Merge branch 'master' of https://github.com/zinnschlag/openmw into savedgame
Conflicts:
	apps/openmw/mwgui/referenceinterface.cpp
	apps/openmw/mwmechanics/actors.cpp
	apps/openmw/mwmechanics/mechanicsmanagerimp.cpp
	apps/openmw/mwmechanics/mechanicsmanagerimp.hpp
	apps/openmw/mwscript/cellextensions.cpp
	apps/openmw/mwworld/cells.cpp
	apps/openmw/mwworld/cells.hpp
	apps/openmw/mwworld/cellstore.cpp
	apps/openmw/mwworld/store.cpp
	apps/openmw/mwworld/worldimp.cpp
11 years ago
scrawl 295aed3533 Implement savegame screenshots 11 years ago
Marc Zinnschlag 0f60898517 adding missing cleanup for SoundManager 11 years ago
scrawl 851a7d5014 Feature #957: Handle area effects for "on touch" range 11 years ago
scrawl 205e8aa4e9 Feature #957: Implement area magic 11 years ago
scrawl ba5300b071 Update the Ptr in SoundManager for references moved to a different cell. Fixes looping sounds not stopping after a moved object was already deleted. 11 years ago
scrawl 1a00f26390 Bug #1126: Golden saints and many other creatures only have "Bip01 Head" 11 years ago
scrawl 805843d7ff Closes #1086: Implement blood effects 11 years ago
Marc Zinnschlag c300cd9375 loading/saving of some player state (cell/coordinates and some other bits) 11 years ago
scrawl 52b9ebff9d Closes #1092: Implement sleep interruption. Fix levelled list flags for creatures. Change World::copyObjectToCell to search for the correct cell. 11 years ago
scrawl 95651857f3 Fix code duplication 11 years ago
scrawl 0d0005c433 Fix fatigue not restoring when waiting 11 years ago
gus dd870e35db get all actors following a given actor 11 years ago
scrawl a2ba0dde31 Implemented GoToJail 11 years ago
scrawl 9127839cc1 Add a searchPtr method as required for getting an owner, which may already be dead and disposed of. 11 years ago
scrawl bf6d302fba Confiscate stolen items when caught 11 years ago
scrawl d01f89b153 Rewrite some awful code 11 years ago
scrawl 3bf36515d5 Implement Trespassing crime 11 years ago
scrawl 6f9113fe88 Add preliminary implementation of PayFine, PayFineThief and GoToJail instructions 11 years ago
scrawl 9bf7bf529c Implement crime-related dialogue globals as they are described in MSFD 11 years ago
scrawl 098f9712f1 Add getPlayerPtr() utility method. Reduces dependencies a lot. 11 years ago
scrawl 7b33f6f2ac Detect crime of sleeping in other NPC's beds. ShowRestMenu needs to support an explicit/implicit reference for this. 11 years ago
scrawl c85c2cff4e Fix disposition changes from trades not applying properly 11 years ago
scrawl 728365b48d Remove an unused hook 11 years ago
scrawl 3c0080d2c1 Implement theft detection 11 years ago
scrawl 29c823b9d4 Implement awareness check function. Use this for combat AI and GetDetected instruction. 11 years ago
scrawl 62774fcc4a Merge branch 'master' into HEAD
Conflicts:
	apps/openmw/mwbase/world.hpp
	apps/openmw/mwinput/inputmanagerimp.cpp
	apps/openmw/mwmechanics/actors.cpp
	apps/openmw/mwworld/worldimp.cpp
	apps/openmw/mwworld/worldimp.hpp
	components/esm/loadtes3.cpp
11 years ago
scrawl 32ff3b530c Change all instances of skill/attribute values to use an appropriate typedef. 11 years ago
scrawl 5729672262 Show marked position on map. Implement Detect X magic effects. 11 years ago
scrawl ea3b88951a Implement divine/almsivi intervention magic effects 11 years ago
scrawl 3604b9d171 Closes #566: In interior cells, update global map position marker using the first exterior teleport door 11 years ago
scrawl 79a440e94a Many additions to 900bc06d2c236b:
- Fix indentation
 - Consider any kind of light, not just torch_infinite_time
 - Hostile NPCs should also wear lights, if they have nothing else that could use the slot (or a twohanded weapon)
 - Remove redundant code and don't add additional lights to the inventory
 - World::isDark returns false for interiors which are unaffected by weather
11 years ago
Marc Zinnschlag 6de39a7329 Merge remote-tracking branch 'lgro/issue845_NPCs_hold_torches_whole_day'
Conflicts:
	apps/openmw/mwmechanics/character.cpp
11 years ago
scrawl a3017e16d4 Don't allow changing the spell that is being cast mid-animation 11 years ago
scrawl 5054d8e6c1 Bug #1055: Check power use and mana before starting cast animation 11 years ago
scrawl 6d27ebabb6 Integrate AddGlow with material controllers 11 years ago
Marc Zinnschlag 18e7e83585 Merge remote-tracking branch 'mrcheko/savedgame' into savedgame 11 years ago
mrcheko 3816a09c6f bug 428 ask to load recent saved game 11 years ago
Marc Zinnschlag 09fadd446b Merge remote-tracking branch 'mrcheko/savedgame' into savedgame 11 years ago
scrawl eb5e4ecec2 Remove more unused code 11 years ago
mrcheko f50ff0b1c4 reworked http://bugs.openmw.org/issues/428 11 years ago
mrcheko fd9f8c34f6 bug fix http://bugs.openmw.org/issues/428 11 years ago
Marc Zinnschlag 74793c1c2f globals script cleanup; fixed potential case folding bug 11 years ago
Lukasz Gromanowski 91a4d9a2eb Fixes #845: NPCs hold torches during the day
Added method in WeatherManger and World which returns true if it is night.
This method is used later in character controller to show torches
(or other sources of light) at night and hide them at day.

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
11 years ago
Marc Zinnschlag b38bfe1f21 removed a redundant function for listing global variables 11 years ago
scrawl 0bc3a13c0f Break invisibility on Use or Activate 11 years ago
Marc Zinnschlag 1c13a9037a save and load dynamic records 11 years ago
Marc Zinnschlag 030c733e2d Merge branch 'master' into savedgame
Conflicts:
	apps/openmw/mwmechanics/actors.cpp
	apps/openmw/mwworld/worldimp.cpp
	files/settings-default.cfg
11 years ago
Marc Zinnschlag e818d43bc3 removed an outdated typedef and some dead code 11 years ago
Marc Zinnschlag 537b2efe8e first round of cleaning up world cleanup 11 years ago
Marc Zinnschlag 2293b92efe storing and loading the journal 11 years ago
scrawl 076cc9230b First try at handling target magic 11 years ago
Marc Zinnschlag 35e8e23037 keep track of total play time per character 11 years ago
Marc Zinnschlag 7e2819c62e store year in saved game profile 11 years ago
Marc Zinnschlag 71436b1160 changed interface for global variable access 11 years ago
Marc Zinnschlag 99ea63dc4a factored out code for generating month names 11 years ago
Marc Zinnschlag bc6fe682c9 replaced getCurrentCellName function with a more general getCellName function 11 years ago
Marc Zinnschlag 616e3aa32f store content file list in saved games and reject saved games not matching the current game 11 years ago
Marc Zinnschlag e3670cff8a improved character selection logic 11 years ago
Marc Zinnschlag 67cd0887e6 added description field to saved game record; make use of description in GUI 11 years ago
Marc Zinnschlag 7efac4c9a5 fixed handling of characters without a valid slot 11 years ago
scrawl 2e87cbc231 Add basic functionality to SaveGameDialog 11 years ago
scrawl 800a2845b0 Add Bound & Summon effects (will need some adjustments later) 11 years ago
Marc Zinnschlag b5f99522c7 added a few comments 11 years ago
Marc Zinnschlag c165894869 load saved game record 11 years ago
Marc Zinnschlag cbbdf390ad added function for inspection of saved characters and character slots 11 years ago
Marc Zinnschlag e938c5a0ee changed character creation logic (create on save instead of on new game) 11 years ago
scrawl 7f735c2c4c Release and show the cursor when focus lost 11 years ago
Marc Zinnschlag 8190fdb16c Merge remote-tracking branch 'scrawl/master' 11 years ago
scrawl e8dcd74741 Recharge enchanted items in player's inventory over time 11 years ago
Marc Zinnschlag 5e64888227 added basic save slot management and connected main menu save to save function (bypassing the save GUI for now) 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
scrawl cab535dd69 Implement magic item recharging via soulgem use 11 years ago
gus dff3cf162d ToggleAI script instruction 11 years ago
Marc Zinnschlag f45cff8aff flag game as ended when player dies 11 years ago
Marc Zinnschlag 82c8495338 removed boolean running flag with state enum 11 years ago
scrawl 0dc2e829dd Lots of cleanup. Implemented Absorb and Resist. Implemented several instant effects. Added hand VFX. 11 years ago
Marc Zinnschlag ec5b2e9a7e added running flag; moved new game code to MWState 11 years ago
Marc Zinnschlag f19973450f moved exit game flag from Environment to StateManager 11 years ago
Marc Zinnschlag 79b7fa258b added new mwstate subsystem 11 years ago
scrawl f7befa3e54 Remove a no longer required method 11 years ago
scrawl 9b0e82a37f Projectile models are now spawned (no movement or impact yet). Refactored trap activation to apply range types properly. Handle ContinuousVFX for magic effects (note they aren't stopped yet when the effect ends) 11 years ago
Emanuel Guevel 467bd91651 Update actor model on inventory change 11 years ago
Emanuel Guevel 10abb9d297 Call ContainerStore::remove() to remove items from inventory
Make placeObject() and dropObjectOnGround() in MWWorld to copy objects
(and indicate it clearly).

Enchanting an item now unequips it.
11 years ago
scrawl cbe96a2170 Refactor ActiveSpells to track range type. Added basic self range magic. 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 4f35fd8184 Removed a workaround from Renderer, some cleanup 11 years ago
Marc Zinnschlag 87cd5d4267 Merge remote-tracking branch 'potatoesmaster/DisableLevitation' 11 years ago
Emanuel Guevel 4265dddc40 Add MWWorld::isSlowFalling(Ptr) 11 years ago
Emanuel Guevel 496f786c2a Implement Disable/EnableLevitation script functions
Totally copied on Disable/EnableTeleporting implementation.
Thanks KittyCat!
11 years ago
mckibbenta 89b7d6121d Initial toggleGodMod/tgm instruction. Currently only affects player health. 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
mckibbenta f65172bdca Merge branch 'master' of https://github.com/zinnschlag/openmw into tgm 12 years ago
Chris Robinson 16331bf1ed Avoid a hack to play the underwater sound properly 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 60fa69139e minor changes 12 years ago
mckibbenta 06701467ab Merge branch 'master' into tgm 12 years ago
mckibbenta 8998b90e8b initial do-nothing implementation; registered opcode 12 years ago
Chris Robinson f5d03a16c1 Rename getFacedObject and getFacedHandle for melee hits 12 years ago
Chris Robinson a993af53e7 Merge remote-tracking branch 'zini/master' into physics 12 years ago
scrawl ebf9debb80 Enabled terrain self shadows, implemented getHeightAt, some optimizations 12 years ago
Chris Robinson 9d56e2d86d Apply movement by queueing it to do later 12 years ago
Chris Robinson 2353ac1739 Properly implement SetWerewolfAcrobatics 12 years ago
Chris Robinson 5968165de0 Merge remote-tracking branch 'zini/master' into werewolf
Conflicts:
	apps/openmw/mwgui/windowmanagerimp.cpp
12 years ago
PLkolek 86020ad94d Added underwater and drowning sounds. 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
PLkolek 8f4506f5b6 Implemented drowning.
Currently no visual effects on losing health, the breathing sound doesn't change (we don't have one),
the breath bar doesn't turn red when no breath left and it doesn't pulse from black to red.
12 years ago
Emanuel Guevel 20d40c4368 Implement MWWorld::World::setWerewolf() 12 years ago