Commit Graph

568 Commits (3bcd23022aa45c1aaf55ae65b2c4e0c29fb13ea1)

Author SHA1 Message Date
scrawl d11952c48a Stop rendering when the window is minimized 9 years ago
slothlife 4fd00a75d5 Merge advanceTime and advanceTimeByFrame 9 years ago
slothlife 54fa5273dc Refactor weather transitions to act more like MW
Fixed several issues:
* Waiting/jail time/training all now properly skip remaining transitions
* ChangeWeather no longer permanently sets the region's weather
* ChangeWeather being called during a transition now correctly queues up
another transition
* Corrected transition delta and factor calculations
* ModRegion settings are now saved
9 years ago
scrawl 67bd6cd708 Remove empty line at the beginning of files
git ls-files -z | xargs -0 sed -i '1{/^$/d}'
10 years ago
scrawl b583a2ec33 Make SetDelete a no-op for items in containers (Fixes #2864) 10 years ago
Arthur Moore 5e6fcc2aef Alert the user if attempting to play an animation fails
This is mostly propogating the error up the stack so the game can do something about it.
Working on avoiding log spam from calling an animation that doesn't exist every frame.
10 years ago
scrawl 278a078e9d Unify magic effect tick functions
- Removes duplicated code
- Handle some zero-duration instant effects that were not handled before (disintegrate, sun damage, elemental damage)
10 years ago
Jiří Kuneš 4a6d806127 fixed comment, save settings to member variable, removed usless include, changed variable to const 10 years ago
Jiří Kuneš e68b388d16 removed setCrosshairOwned from windowmanager 10 years ago
Jiří Kuneš c019f8e23d use correct mechanics manager 10 years ago
Jiří Kuneš 66edae9b93 change collor of crosshair 10 years ago
scrawl 882e359008 Move attackStrength to the CharacterController, where it should have been to begin with
Only relevant for actors in active cells, so doesn't belong in CreatureStats. This change should slightly reduce the game's memory usage.
10 years ago
scrawl 7bacb9418d Various math code ported to osg 10 years ago
scrawl 2a85a22dba Write savegame screenshot 10 years ago
scrawl de8e5f0db1 Restore projectiles 10 years ago
scrawl a066b24303 Restore WeaponAnimation 10 years ago
scrawl c811ac6afe Port fog of war
Not optimized yet, need to work on fog texture's DataVariance.
10 years ago
scrawl 3dcb167066 Map rendering 10 years ago
scrawl 22f01b1232 Merge branch 'master' of https://github.com/OpenMW/openmw into osg
Conflicts:
	apps/launcher/graphicspage.cpp
	apps/opencs/editor.cpp
	apps/opencs/model/doc/document.cpp
	apps/opencs/view/render/cell.cpp
	apps/opencs/view/render/mousestate.cpp
	apps/opencs/view/render/textoverlay.cpp
	apps/opencs/view/render/worldspacewidget.cpp
	apps/openmw/mwclass/creature.cpp
	apps/openmw/mwclass/npc.cpp
	apps/openmw/mwgui/inventorywindow.cpp
	apps/openmw/mwgui/loadingscreen.cpp
	apps/openmw/mwgui/mapwindow.cpp
	apps/openmw/mwgui/pickpocketitemmodel.cpp
	apps/openmw/mwgui/waitdialog.cpp
	apps/openmw/mwmechanics/combat.cpp
	apps/openmw/mwmechanics/mechanicsmanagerimp.cpp
	apps/openmw/mwrender/globalmap.cpp
	apps/openmw/mwworld/physicssystem.cpp
	apps/openmw/mwworld/refdata.cpp
	apps/openmw/mwworld/scene.cpp
	apps/openmw/mwworld/worldimp.cpp
	components/sdlutil/sdlinputwrapper.cpp
	extern/shiny/Main/Factory.cpp
	extern/shiny/Main/MaterialInstance.cpp
	extern/shiny/Main/Platform.cpp
	extern/shiny/Main/ShaderSet.cpp
10 years ago
Rohit Nirmal 396fba7fa9 Silence -Wreorder warnings, and remove -Wno-reorder. 10 years ago
scrawl 85345e663a Restore getHitContact 10 years ago
scrawl 8bcfac1ea3 Fix adjustPosition not always working correctly (Fixes #2563)
moveObject was returning an incorrect Ptr for cell movements.
10 years ago
scrawl 7a3bc69df7 Readded sound listener 10 years ago
scrawl 19988d5e45 Remove RefData::getHandle 10 years ago
scrawl 47758c11cd Readded collision objects and movement physics 10 years ago
scrawl 9cf9c2876e Pathgrid rendering 10 years ago
scrawl 8817f44d63 Remove advanced FPS counter (obsoleted by the OSG stats viewer) 10 years ago
scrawl 82c4d01b37 Add back resource handling workarounds to the gui code 10 years ago
scrawl 223e3a53f5 Move OEngine::Gui::Layout to MWGui 10 years ago
scrawl 7809caf9dc Dead code removal 10 years ago
scrawl 68f93294da Port EffectManager 10 years ago
scrawl d00c75d428 Remove more outdated TODO comments. 10 years ago
scrawl 48ea6286fd Book/scroll window refactoring 10 years ago
scrawl 37a6d7da76 WindowManager refactoring 10 years ago
dteviot 407cd50890 fixed warning C4099:
type name first seen using 'class' now seen using 'struct'
10 years ago
scrawl 2b7287cbd2 Merge branch 'master' of https://github.com/OpenMW/openmw into joystick
Conflicts:
	CMakeLists.txt
10 years ago
scrawl 97cc2522c0 Merge remote-tracking branch 'upstream/master'
Conflicts:
	apps/openmw/mwgui/settingswindow.cpp
	extern/oics/ICSInputControlSystem_joystick.cpp
	files/mygui/openmw_settings_window.layout
10 years ago
Digmaster 1e4a845b6f Minor code cleanup 10 years ago
Marc Zinnschlag 4c5bba2947 Merge remote-tracking branch 'dteviot/SpellCastingFixes' 10 years ago
dteviot 8d7de7d1ec Telekinesis allows safe opening of traps (Fixes #1916)
When trap activated at beyond normal activation distance, assume telekinesis used and detonate trap at trapped object's location.
Also some minor code refactoring of spellcasting.
1. Corrected parameter passed to explodeSpell().
2. For loop now correctly does an early exit.
3. Removed duplicated tests.
10 years ago
scrawl 3ccf4642b4 Implement ToggleScripts 10 years ago
Marc Zinnschlag e9d6e4f6df Merge remote-tracking branch 'ace/include-cleanup' 10 years ago
Alexander "Ace" Olofsson f2c5060cc0 Fix cstdint issue on travis GCC build 10 years ago
Alexander "Ace" Olofsson d3128a12b6 Remove a large include form mwbase/windowmanager.hpp 10 years ago
MiroslavR 1d9e973573 Add training progress bar, implement jail screen, tweak wait dialog (Fixes #1714) 10 years ago
scrawl bea88c3643 Stolen item tracking overhaul part 2 (Fixes #2338) 10 years ago
scrawl aa6ebcd75c Change stolen items handling to match MW (Fixes #1443, Fixes #2290) 10 years ago
scrawl 27dc49a135 Rewrite game settings manager
Removes the abhorrent dependency on Ogre for this code and improves the error handling.
10 years ago
scrawl 0c6e2170db Include cleanup 10 years ago
scrawl 7542fb5cd9 Show map notes on door marker leading to the cell with the note (Fixes #2284) 10 years ago
scrawl f4c8064d39 Fix camera not being attached properly when player becomes vampire (Fixes #2319) 10 years ago
scrawl c883a73d30 Several warning fixes 10 years ago
scrawl 5104a5a023 Add missing setFactionReaction instruction, use absolute storage instead of difference
Seems to be closer to how MW is storing it (it has the complete FACT record in the savegame, actually).

This (somewhat) breaks OMW savegame compatibility in that old changes are discarded, but I don't think the faction reactions are quest relevant anywhere.
10 years ago
scrawl c3f3f8b3d0 Use only Cell records for saving progress bar (Fixes #2259) 10 years ago
scrawl 579f5d232f Move interactive messageBox to separate function 10 years ago
dteviot 7fe2f86d06 Slaughter fish attacks when player only knee deep in water (Fixes #2076) 10 years ago
scrawl 4e92f6ab48 Add commandline option to load a save game on startup 10 years ago
scrawl de9d347018 Fix on touch area effect spells (Fixes #2233) 10 years ago
scrawl 9e5dfb6e98 Update crime system according to research wiki for more accurate attack responses 10 years ago
scrawl f3738e9a98 Say an "intruder" voice dialogue for trespassing crimes (Fixes #1082)
Seems to be broken in the original engine, but according to the TES-CS help this is how the intruder voices should be used. There are legitimate entries for "intruder" in the game's files, so we might as well use them.
10 years ago
scrawl 866fdfe8bd Crime system improvements
- If someone saw the crime, they will notify everyone else in range, even if the Alarm rating of the witness is 0.
- Pickpocket and selling stolen items now works properly, i.e. honors the victim's Alarm rating instead of always being reported.
10 years ago
scrawl 31d28e727f Implement leveled list script functions (Fixes #1546) 10 years ago
scrawl 935cccf974 Implement weapon/spell cycling hotkeys (Fixes #1024) 10 years ago
scrawl d034a079e6 Allow equipping twohanded weapon and shield at the same time (Fixes #1785)
The shield can be equipped, meaning armor rating and item enchantments apply, but can not be blocked with.
10 years ago
scrawl 2601b26217 Merge branch 'master' of https://github.com/OpenMW/openmw 10 years ago
scrawl be16f1d0a5 Implement PcForce1stPerson, PcForce3rdPerson, PcGet3rdPerson (Bug #2078) 10 years ago
scrawl 7e8ca3fff1 Fix object movement between cells producing a stale Ptr within the script execution (Bug #1942) 10 years ago
scrawl 109a3f78a1 Adjust AiFollow distance for groups of multiple followers (Fixes #1637) 10 years ago
Digmaster c37881ead1 Joystick Support 10 years ago
scrawl 855fe33c59 Add vanilla-compatible range limiting for playloopsound (Fixes #244, Fixes #1342) 10 years ago
scrawl f49fde3d5d Add support for undeleting references (Fixes #2193)
Deleted references should be accessible via an explicit reference, and can be undeleted using "setdelete 0". Also the Resurrect function implicitely undeletes the given reference.
10 years ago
MiroslavR 6e1a11f322 Queue screen fade operations invoked by scripts 10 years ago
scrawl 45f14f0704 Fix stolen faction-owned items not being confiscated 10 years ago
MiroslavR ed3a3f717f Handle getdistance on objects inside a container (Fixes #2046) 10 years ago
MiroslavR 8456741eaa Fix blindness and create a separate fader for it 10 years ago
MiroslavR 0ae604990e Implement continuous damage indication (Fixes #1970) 10 years ago
MiroslavR ff74d54e98 Merge branch 'master' of github.com:OpenMW/openmw 10 years ago
scrawl 064f1964ba More efficient water walking 10 years ago
MiroslavR de2cb8926a Feature #1697: Queue fade operations, implement hit fader & werewolf overlay 10 years ago
scrawl 7d36a202a8 Implement cell loading threshold (Fixes #1874)
The cell loading threshold (default: 1024 units) prevents exterior cell loading until the player has travelled part-way into the next cell. This gets rid of excessive cell loadings when walking along an exterior cell border.

Lower the maximum allowed view distance in options menu to accomodate. Change setting name so that old settings files are upgraded.
10 years ago
scrawl c010c28337 Implement ToggleWorld instruction 10 years ago
scrawl ff0b4e0583 Add debug window (F10), displays Bullet's profiler output 10 years ago
scrawl e868a48a63 Don't trigger OnPcHitMe for friendly hits (Fixes #1950)
Don't consider actors as followers if they are also in combat with the follow target
10 years ago
scrawl 7252cb63a6 Fix cppcheck issues 10 years ago
scrawl 2b5adb325b Remove a useless method 10 years ago
scrawl f3d4b63aaf Fix AI moving load doors and throw an exception when trying to do this (Fixes #1907) 10 years ago
scrawl 282c93ccc5 Handle death in actor update rather than instantly (Fixes #1866) 10 years ago
scrawl 267cf4e140 Implement ResetActors script instruction (Fixes #1859) 10 years ago
scrawl 4f92044d71 Allow user-created markers on local map (Fixes #1571) 11 years ago
scrawl c62d53ae84 Remove no longer needed comments about coordinate system 11 years ago
scrawl 639ae7e06c Implement friendly hits on followers (Fixes #1139) 11 years ago
scrawl a18cec7c8e Use a MyGUI widget to render the screen fader (Fixes #1741, Fixes #1719) 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 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 598c0c4ae7 Implement mouth animation for NPCs based on say sound (Fixes #642) 11 years ago
Marc Zinnschlag c9cd7fb6b7 Merge branch 'scripts' 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 ca45a63cf7 Close doors instantly when using Lock instruction 11 years ago