Commit Graph

109 Commits (move)

Author SHA1 Message Date
scrawl 05498ad592 Refactor: InputManager no longer depends on Engine 9 years ago
scrawl 4f6e5345cc Include cleanup 10 years ago
scrawl 7900631d51 Print the missing player cell to error output 10 years ago
scrawl a1432b0255 Move attackingOrSpell flag to the CharacterController 10 years ago
scrawl 519fb9482a Minor cleanup 10 years ago
scrawl a5670b5133 Merge branch 'master' of https://github.com/OpenMW/openmw into osg
Conflicts:
	apps/opencs/CMakeLists.txt
	apps/opencs/main.cpp
	apps/openmw/mwworld/player.hpp
10 years ago
scrawl 2ce269c0fc Werewolf stats compatibility with old save files 10 years ago
scrawl d6a7255391 Loading/saving for player's original skills/attributes (prior to becoming a werewolf) 10 years ago
scrawl 44582fe3b3 Don't use separate werewolf skills/attributes for non-player werewolves
Still need to deal with save files.
10 years ago
scrawl 7bacb9418d Various math code ported to osg 10 years ago
scrawl f4ee805e3b Object animation fix 10 years ago
Rohit Nirmal 396fba7fa9 Silence -Wreorder warnings, and remove -Wno-reorder. 10 years ago
dteviot e197f5318b fixing MSVC 2013 warning C4244: & C4305
conversion from 'const float' to 'int', possible loss of data
conversion from 'double' to 'int', possible loss of data
conversion from 'float' to 'int', possible loss of data
10 years ago
scrawl 01b4177872 Make sure birthsign spells are added when loading savegame 10 years ago
scrawl c883a73d30 Several warning fixes 10 years ago
scrawl c3f3f8b3d0 Use only Cell records for saving progress bar (Fixes #2259) 10 years ago
scrawl 1fc424ce30 Make sure player doesn't get any AI packages (Bug #1749) 11 years ago
scrawl 18b3e71be5 Reset player position when spawning in fallback cell 11 years ago
scrawl 2d17d8f61a Savegame: start in (0,0) cell if player's cell no longer exists
This happens frequently when saves are loaded that were created in a different MW language.
11 years ago
scrawl 395f98e476 Fix triggering changed flag for all references when cell is visited
The InsertFunctor for cells was calling localRotateObject() for all references which set the mChanged flag in RefData to true.

Also clean up RefData interface slightly.
11 years ago
scrawl 039398c8ae Basic RefData and CellRef change tracking
Wrapped item charge handling in getItemHealth function
11 years ago
Emanuel Guevel 1e4a854433 Remove static method MWWorld::Class::get(&Ptr)
It was just adding a level of indirection to Ptr.getClass().
All the call were replaced by that instead. The number of lines changed
is important, but the change itself is trivial, so everything should be
fine. :)
11 years ago
Jeffrey Haines 7d5dab214c #58 - Sneak Skill: functional sneaking
Removed sneak checking from individual actor update.
Added sneak checking to Actors::update()
11 years ago
Jeffrey Haines a65e8393bb Merged files 11 years ago
Jeffrey Haines e1e23447f2 Removed initial check form setSneak
It wasn’t needed.
11 years ago
Jeffrey Haines 05e326bdc3 Added update sneak to actors
Intends to check the state of a players sneak by asking the question if
each npc can see the player.
11 years ago
scrawl 7bddfc0025 Fix some spelling mistakes. 11 years ago
Jeffrey Haines 5c9c467b26 Improved sneak. 11 years ago
Marc Zinnschlag 421679b319 Merge remote-tracking branch 'scrawl/master' 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
Thoronador 1b8c975d5b minor performance improvements in apps/openmw
Checking for emptiness using size() might be inefficient, because
it can take linear time, while empty() is guaranteed to take only
constant time.

For non-primitive types, postfix ++ operators are inefficient
compared to prefix ++ operators, because post-increment usually
involves keeping a copy of the previous value around.
11 years ago
Marc Zinnschlag c63d6437c0 Merge remote-tracking branch 'jeffreyhaines/master'
Conflicts:
	apps/openmw/mwbase/mechanicsmanager.hpp
11 years ago
Jeffrey Haines 4a4c08946c Checks the state of the passed sneak variable 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
Jeffrey Haines e2fab228f9 Save state is handled correctly now. 11 years ago
Jeffrey Haines a274b48f2f States are saved. Crime is reacted to.
Issues where some crime is ignored. Needs a lot more work
11 years ago
Jeffrey Haines 940c88d2ec Cleaned up code, implemented crime ids
There is a problem with my game freezing. ToggleAi stops my character
11 years ago
Jeffrey Haines 70919ba60a Removed witnesses and minor changes 11 years ago
Jeffrey Haines 0c957a3cde Added witnesses to the mix 11 years ago
Jeffrey Haines 58b135a2be Crime is now checked every frame call 11 years ago
Jeffrey Haines 6f1211dd8d Moved mWitnesses into Player. resetCrime for paying fine. 11 years ago
Marc Zinnschlag 367919200f moved CellRefList into a separate file 11 years ago
Marc Zinnschlag 7693f712bc started making CellStore into a proper class; encapsulated mCell member 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
Marc Zinnschlag 1b7697a4b2 handle missing player specific state during load/save 11 years ago
Marc Zinnschlag c300cd9375 loading/saving of some player state (cell/coordinates and some other bits) 11 years ago
scrawl da3295d69c Closes #1106: Move stance to CreatureStats, since creatures also have separate run/walk animations. 11 years ago
Marc Zinnschlag 5ea25dc269 player state cleanup 11 years ago