elsid
cc8c7002ea
Cleanup components includes
2 years ago
elsid
f99ed6f1db
Split components/misc/stringops.hpp into multiple headers
...
Replace all ciEqual overloads with one having std::string_view as argument.
2 years ago
psi29a
42db39e281
Merge branch 'esscamera' into 'master'
...
essimporter: Recover player's pitch from PCDT (bug #6818 )
Closes #6818
See merge request OpenMW/openmw!2210
2 years ago
Alexei Kotov
0b1e6a2b59
Fix pipeline errors
2 years ago
psi29a
7236135631
Merge branch 'esscellrefs' into 'master'
...
essimporter: fix doubled actors
See merge request OpenMW/openmw!2213
2 years ago
Alexei Kotov
9f49682d01
essimporter: refactor ESSImport::CellRef and fix doubled actors
2 years ago
Alexei Kotov
c7676a9de6
essimporter: fix doubled stats
2 years ago
Alexei Kotov
8f9b2becde
essimporter: Recover player pitch from PCDT (bug #6818 )
2 years ago
Andrei Kortunov
38042fd7a2
Init missing variables
3 years ago
elsid
bef15edf0b
Remove redundant ostream, istream, iostream and sstream includes
...
* Replace by std::to_string and operator+ where possible.
* Move the code requiring to include <sstream> from .hpp to .cpp files.
3 years ago
Andrei Kortunov
14b5674d32
Init missing data members
3 years ago
Andrei Kortunov
03cdffb555
Init some missing variables
3 years ago
elsid
7e6c13630a
Use target_precompile_headers for the most expensive headers
3 years ago
Evil Eye
c231c3e360
Replace new with make_unique in essimporter
3 years ago
jvoisin
4e4debb1cb
Remove even more of boost::filesystem
3 years ago
jvoisin
8a63bc0def
Remove boost::filesystem from essimporter
3 years ago
elsid
db44f91fd5
Remove redundant include from esm3/esmreader.hpp
3 years ago
elsid
6b464a9330
Check ESMReader value size in compile time
3 years ago
elsid
ec3674b40a
Use unique_ptr instead of shared_ptr
...
for MWWorld::Action, ProjectileManager and ESSImport::Converter.
shared_ptr has additional cost of reference counter and requires additional
allocation when constructed as shared_ptr<T>(new T).
3 years ago
duncanspumpkin
3a117cac22
Switch to a constexpr for FourCC constant
...
Add static asssert on wrong size
3 years ago
Petr Mikheev
5ca56a4f8a
New option "config" for specifying additional config directories.
3 years ago
elsid
45db56b382
Rework fixed string
...
* Avoid inheritance.
* Define equality operators out of the class definition.
* Replace toString with toStringView where it doesn't make sense to create a string.
3 years ago
Bret Curtis
74e7cfc023
remove unused includes: part1
...
remove unused imports: part2
revert one tidy we will keep for c++20
3 years ago
Bret Curtis
d1fb854521
move most of the files from esm to esm3, keep common code in esm; this is make space for a future with esm4
...
esm typo
esm typo
3 years ago
Evil Eye
c1f59b1221
Automatically drop workaround when the format is next updated
3 years ago
elsid
18d3102148
Do not use union to access FIXED_STRING<4> as int
...
https://en.cppreference.com/w/cpp/language/union :
> It's undefined behavior to read from the member of the union that wasn't most recently written.
3 years ago
Evil Eye
dc1fe62dde
Overhaul magic effects to work with onApply and onEnd events
3 years ago
cc9cii
47a841d3b7
Fix/workaround for Issue #3246
...
OpenMW save file assumes the presence of NPC/Creature data but the vanilla save file provides only the delta changes in most situations. The base data are not available without loading all the relevant dependency content files. Duplicating that code in the ESSImporter is not desirable.
Ideally a flag should be set but that will mean a change in the save file format. For a minor change such as this doing so seems like an overkill. So a temporary workaround is introduced where the gold carried by the NPC/Creature is used as an indicator as the lack of ACDT data.
3 years ago
psi29a
b92c6985cd
Merge branch 'auto_in_most_apps' into 'master'
...
Using auto keyword in most apps
See merge request OpenMW/openmw!885
3 years ago
Thunderforge
efcdb2dfdd
Using override keyword in most apps
...
Detected by clang-tidy's modernize-use-override
Future MRs can be created to run this on OpenMW and OpenMW CS
4 years ago
Thunderforge
ded7bd92e6
Using auto keyword in most apps
...
Detected by clang-tidy's modernize-use-auto
4 years ago
jvoisin
38316cdaf8
Fix various warnings found by clang
...
- unused alias
- inefficient use of push_back
- exceptions not inheriting from std::exception
- weird use of a comma
- value compared against itself
4 years ago
Andrei Kortunov
388573cf60
Fix uninitialized fields in the essimporter
4 years ago
Andrei Kortunov
0d66369efb
Use overrides, when needed
5 years ago
Andrei Kortunov
aacb569acb
Use more C++11 in tools code
5 years ago
Capostrophic
1873da4c91
Don't save to or read automove state from saved games ( #5452 )
5 years ago
Andrei Kortunov
3704acf857
Unify streams usage to support non-ASCII paths (bug #5239 )
5 years ago
Capostrophic
0bc13b47fa
Fix essimporter script header and inventory item conversion
5 years ago
Andrei Kortunov
2fc819cdae
Encode ID's in all places to UTF-8 (bug #3977 )
5 years ago
Andrei Kortunov
229bd8505e
Init missing variables
6 years ago
Andrei Kortunov
70ed8fd1a9
Use constants instead of widely used magic numbers (task #4645 )
6 years ago
Andrei Kortunov
d5bcc49079
Initialize missing struct fields
6 years ago
Andrei Kortunov
12144de8ed
Initialize missing variables
7 years ago
Alf Henrik Sauge
feeee50a88
Dropping a separate NPDTstruct12 object and instead use NPDTstruct52
...
NPDTstruct12 is now only used when loading and saving. Turning auto calc
on and off now no longer switches between to different set of values
7 years ago
MiroslavR
f15de6d3ca
ESS-Importer: Convert magic projectiles ( Closes #2320 )
7 years ago
MiroslavR
a66d310a1d
ESS-Importer: Fix uninitialized paid crime ID
7 years ago
MiroslavR
6e869c3123
ESS-Importer: Convert ballistic projectiles (Feature #2320 )
7 years ago
AnyOldName3
8c74f16247
Restore trailing new lines to shrink PR
7 years ago
AnyOldName3
5ce34f1cbf
Move new behaviour into macro to reduce code duplication
7 years ago
AnyOldName3
3c0ec0d6d0
If CMake supports it, sets the debugger working directory for Visual Studio
7 years ago
Bret Curtis
c781d1f8ed
purge unnecessary imports
...
add fstream back
add fstream back
add fstream back
add fstream back
add fstream back
add fstream back
add fstream back
8 years ago
Bret Curtis
d799954ca0
replace and purge boost::math::gcd and other non-used headers
8 years ago
Bret Curtis
39185e6f8c
purge the rest of boost::shared and any other boost related things that no longer are required
...
put boost system back in, clean others up
revert Qt
add back boost fstream
8 years ago
scrawl
29556a1802
More consistent wording of errors/warnings
...
A Warning indicates a potential problem in the content file(s) that the user told OpenMW to load. E.g. this might cause an object to not display at all or as intended, however the rest of the game will run fine.
An Error, however, is more likely to be a bug with the engine itself - it means that basic assumptions have been violated and the engine might not run correctly anymore.
The above mostly applies to errors/warnings during game-play; startup issues are handled differently: when a file is completely invalid/corrupted to the point that the engine can not start, that might cause messages that are worded as Error due to the severity of the issue but are not necessarily the engine's fault.
Hopefully, being a little more consistent here will alleviate confusion among users as to when a log message should be reported and to whom.
8 years ago
MAtahualpa
347fb1ff4b
Update converter.hpp
...
Code cosmetics: Change member variable "mSkillID" to "mSkillId" for Book records.
8 years ago
MiroslavR
c64351b3e8
ESS-import: player is no longer disabled (Bug #3246 )
8 years ago
MiroslavR
c2b491cd70
ESSImporter: Convert last known exterior cell ( Fixes #3693 )
...
+ some research
8 years ago
MiroslavR
cd13570230
ESSImporter: Import mark location
8 years ago
Leon Krieg
c7b4b2cdd7
Fixed multiple spelling mistakes
8 years ago
Phillip Andrews
c18fc113e5
Changed missing library dependencies to simple fix
8 years ago
Phillip Andrews
aeaedbc57a
Moved install commands to target-specific cmakelists so that all configurations work.
8 years ago
Phillip Andrews
59eba1dede
Changed tabs to spaces, oops
8 years ago
Phillip Andrews
1861302dbd
Include various libraries for Visual Studio environment
8 years ago
Allofich
c7313606f5
Fix dereference of null pointer warning
8 years ago
MiroslavR
cd9de94c0c
Import teleporting and levitation disabled state from vanilla savegames ( Fixes #3420 )
8 years ago
MiroslavR
f3ce0840be
Import controls state from vanilla savegames
8 years ago
MiroslavR
b65f379b7f
Save scripted animation state ( Fixes #1931 , #2150 , #3393 )
9 years ago
MiroslavR
54f52f7bae
Implement effect removal for abilities ( Fixes #3455 )
9 years ago
MiroslavR
0db3af1b89
ESSImporter: load specialization increases
9 years ago
scrawl
2ce1da688f
ESS-Import: fix handling of first person camera state (Bug #3416 )
9 years ago
Roman Proskuryakov
d5dfa89060
Rewrite NAME_T into FIXED_STRING.
9 years ago
scrawl
8cf91e32fa
ESSImport: Correctly handle item stacks (XIDX tag). ( Fixes #3340 )
9 years ago
Bret Curtis
2c90b0b78d
fix a few spelling mistakes
9 years ago
Tobias Kortkamp
0659687bfb
Some fixes for building on FreeBSD
9 years ago
scrawl
daa94cc50e
Fix cppcheck warnings
9 years ago
scrawl
07b064f616
Rename to lowerCaseInPlace
9 years ago
scrawl
e3d3380c8c
Remove return value for in-place toLowerStr
9 years ago
scrawl
b8e11cf197
Merge commit 'pull/upstream/678' into HEAD
...
Conflicts:
apps/esmtool/record.cpp
apps/opencs/model/doc/savingstages.cpp
apps/opencs/model/world/land.cpp
apps/opencs/model/world/land.hpp
apps/opencs/model/world/landtexture.cpp
apps/openmw/mwworld/store.cpp
components/esm/loadland.cpp
components/esm/loadland.hpp
9 years ago
scrawl
b98a076055
Add documentation for ACTN ess-record (activation flags)
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
af3b0cd883
Improve some error messages
10 years ago
Stanislav Bas
0c6ab6cc94
Load methods (for ESM records) accept a deleted flag in ESSImporter
10 years ago
Stanislav Bas
6b21da7f8e
Rework ESS importer code. Remove explicit NAME handling for ESM records
10 years ago
scrawl
0ed3e3e489
Fix cout/cerr mixup
10 years ago
scrawl
24ae1d5ace
Fix some issues found by coverity
10 years ago
Alexander "Ace" Olofsson
3655ef16af
Explicitly instantiate ESM::StatState
10 years ago
scrawl
2065e0fa2d
Use the correct format specifier for ess-imported savegames
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
3f54f77647
essimporter build fix
10 years ago
scrawl
f70250a296
Merge branch 'master' of https://github.com/OpenMW/openmw into osg
...
Conflicts:
apps/launcher/CMakeLists.txt
apps/opencs/CMakeLists.txt
apps/opencs/view/render/worldspacewidget.cpp
apps/openmw/CMakeLists.txt
components/CMakeLists.txt
extern/osg-ffmpeg-videoplayer/CMakeLists.txt
10 years ago
scrawl
cf95d3fc35
Refactor cmake scripts, reducing the amount of find_package(Boost)
10 years ago
scrawl
4bb3cbf0fb
Remove last remains of Ogre
10 years ago
scrawl
364b785e8f
ESSImporter image conversions port to osg::Image
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
dteviot
45b6538820
fixed MSVC 2013 warning C4800
...
forcing value to bool 'true' or 'false'
10 years ago
scrawl
0e88fb3dca
ESSImport: read AiPackages
10 years ago
scrawl
a1ee26922e
ESSImport: note location of corpse clear countdown
10 years ago
scrawl
55cd9b526c
Skill progress bar changed to match MW
10 years ago
scrawl
f0b1d889c0
ESSImport: import player skill progress
10 years ago
scrawl
356d1c7657
ESSImport: convert stolen item tracker
10 years ago