Justin Ivany
33c7e4e948
Don't remove whitespace...
2019-01-17 20:17:18 -04:00
Justin Ivany
8d036a79eb
Fixes #4703 Disable preview for item levelled list
2019-01-17 19:11:38 -04:00
Bret Curtis
fe69e5507d
Merge branch 'fix_crashcatcher' into 'master'
...
Fix crashcatcher
Closes #4788
See merge request OpenMW/openmw!53
2019-01-17 10:38:34 +00:00
Frederic Chardon
a78d98df27
Fix crashcatcher
2019-01-17 10:38:34 +00:00
Bret Curtis
c94531de28
Merge branch 'master' into 'master'
...
Use case-insensitive compare when searching for game data by the wizard.
See merge request OpenMW/openmw!55
2019-01-17 10:34:52 +00:00
Adam.Fandrejewski
777a50cb64
Replaced C++ 14 make_unique with C++ 11 compliant code
2019-01-17 09:56:11 +01:00
Azdul
0c3a3ea241
Strange issue with Linux compilation (<memory> header)
2019-01-17 09:11:19 +01:00
Azdul
4c499983ca
Fixed warnings reported by GCC
2019-01-17 08:58:25 +01:00
Azdul
d55cc4d3ea
Linux requires <memory> header
2019-01-17 08:52:30 +01:00
Azdul
caa0487c6a
Replace raw pointer in BsaArchive with unique_ptr
2019-01-17 08:42:43 +01:00
Azdul
e502819246
Proper conversion from shared_ptr<bsa::MemoryinputStream> to shared_ptr<std::istream>
2019-01-17 08:08:03 +01:00
Azdul
b9a7514278
Memory leak fixed. Proper file names in headers.
2019-01-17 07:08:25 +01:00
Azdul
c6fd979c42
Spaces instead of tabs in CMakeLists.txt
2019-01-17 05:42:26 +01:00
Nikolay Kasyanov
9cce6ecfe3
[macOS] Update deploy script to use ssh/scp
2019-01-16 23:04:26 +01:00
Azdul
96d19e07ca
Fix Linux build
2019-01-16 20:59:07 +01:00
Azdul
33470cb5a2
Win32 specific library
2019-01-16 20:53:02 +01:00
Azdul
b30d2bab57
Zlib only for Win32
2019-01-16 20:47:59 +01:00
Azdul
d73165a80c
Missing boost library
2019-01-16 20:37:00 +01:00
Azdul
4e27fdefdb
Missing boost Linux library
2019-01-16 20:30:11 +01:00
Azdul
25650e65bf
Read any BSA file - detection based on version in BSA header
2019-01-16 20:19:15 +01:00
Andrei Kortunov
39c4a7833c
Fix out of range exception when try to load a particle node with empty sizes array (bug #4804 )
2019-01-16 22:00:50 +04:00
Bret Curtis
ed5df29b42
Merge pull request #2131 from Capostrophic/begin
...
Allow stray special characters before Begin statement (bug #4803 )
2019-01-16 11:54:53 +01:00
Capostrophic
166d757a19
Allow stray special characters before a begin statement
2019-01-16 01:12:16 +03:00
Artur Rojek
f6e1aaae1a
Use case-insensitive compare when searching for game data by the wizard.
...
Until now, the wizard was only comparing against an exact file name
match while searching for game data, eg. "data*.cab".
This patch makes it possible to locate game data regardless of case
sensitivity, eg. "Data*.cab".
2019-01-15 13:36:24 +01:00
David Cernat
fd40e8c971
[Client] Prevent ObjectState spam by not resending an already sent state
2019-01-15 14:26:00 +02:00
Capostrophic
05d5d7d57b
Account for stances when the player is in air (bug #4797 )
...
Make GetPCRunning and GetPCSneaking return 1 if the player is in air while the stance is toggled
Make sneaking skill usage possible if sneaking stance is toggled while in air
2019-01-15 00:25:26 +03:00
Bret Curtis
c01672a364
Merge pull request #2129 from Capostrophic/pipefall
...
Update moved object collisions even if the new cell is the same (bug #4800 )
2019-01-14 12:12:42 +01:00
Capostrophic
8bb270c2bb
Update moved object collisions even if the cell is the same (bug #4800 )
2019-01-14 00:56:43 +03:00
Bret Curtis
b78cc4c7d8
Update .gitlab-ci.yml
2019-01-13 20:54:21 +00:00
David Cernat
6e47b65205
[Client] Set attribute increases & level progress after correct packets
...
Originally, the PlayerSkill packet contained skills, attribute increases and level progress. In 78441c769a
, the attribute increases were moved to the PlayerAttribute packet and the level progress was moved to the PlayerLevel packet, but – due to an oversight – attribute increases and level progress were still being applied to the local player only when a PlayerSkill packet was received, based on whatever values were stored from the last PlayerAttribute and PlayerLevel packets.
2019-01-11 14:26:13 +02:00
David Cernat
f481c85e07
[Client] Use ADD before REMOVE for PlayerInventory in repair/recharge
...
Previously, when recharging or repairing an item, the client sent a PlayerInventory packet to the server with the old version of the item that was supposed to be removed and then it sent a PlayerInventory packet with the new version of the item that was supposed to be added.
Unfortunately, the current CoreScripts make it so custom items using generated IDs have their records deleted when they are completely removed from the world, however briefly, even if they are added back immediately afterwards. In practice, this meant that – before this commit – recharging or repairing a custom item led to its removal from the player inventory stored on the server, followed by the deletion of its record, followed by its readdition to the inventory (but with the record staying deleted). Logging out and logging back in immediately prevented the player from receiving the item anymore because of its now non-existent record.
2019-01-11 13:08:26 +02:00
David Cernat
8a99f215f6
[Client] Add LocalPlayer::sendItemChange() variant with mwmp::Item arg
2019-01-11 12:54:47 +02:00
David Cernat
db9c1b9882
[Client] Add MechanicsHelper::getItem() for getting mwmp::Item from Ptr
2019-01-11 12:53:26 +02:00
David Cernat
799241e8c6
[Client] Use informative error message for RefData::setCount() issue
2019-01-11 08:16:29 +02:00
Bret Curtis
8834ee95be
Merge pull request #2120 from Capostrophic/macros
...
Get rid of some remaining instances of C numeric limits
2019-01-10 18:59:34 +01:00
Bret Curtis
590b393c8e
Merge pull request #2123 from akortunov/skinning
...
Optimize skinning, part 2
2019-01-10 18:56:52 +01:00
Bret Curtis
db74eb4466
Merge pull request #2094 from Capostrophic/editor
...
Cherry-pick cc9cii's minor editor improvements
2019-01-10 17:55:59 +01:00
Bret Curtis
9c795195d0
Merge pull request #2109 from Capostrophic/loops
...
Simplify some world loops
2019-01-10 11:44:41 +01:00
Bret Curtis
4617dea154
Merge pull request #2119 from akortunov/stringstream
...
Get rid of unnecessary string streams
2019-01-10 11:42:27 +01:00
Bret Curtis
519a6b3682
Merge pull request #2039 from akortunov/coverity
...
Handle last Coverity Scan issues left
2019-01-10 11:16:54 +01:00
Andrei Kortunov
8e6fd348d1
RigGeometry optimization: optimize geometry optimization
2019-01-09 21:01:33 +04:00
Capostrophic
a71cfca580
Get rid of some remaining instances of C limit macros
2019-01-09 16:06:18 +03:00
Andrei Kortunov
254f01b89d
RigGeometry optimization: vector iteration is more cheap than map iteration
2019-01-09 11:52:11 +04:00
Andrei Kortunov
71227ffc04
Handle possible invalid iterator issue during settings parsing
2019-01-08 12:37:46 +04:00
Andrei Kortunov
3e20f36953
Handle invalid string length for hinting
2019-01-08 12:37:41 +04:00
Capostrophic
776c6c2fe6
Fix MSVC warning
2019-01-07 20:38:33 +03:00
Andrei Kortunov
0937f02598
Get rid of unnecessary string streams
2019-01-07 21:08:16 +04:00
Bret Curtis
88edc1a120
Merge pull request #2100 from akortunov/birthfix
...
Do not restore birthsign abilities upon game load
2019-01-07 17:21:07 +01:00
Andrei Kortunov
b17702bf1f
Do not restore birthsign abilities upon game load (bug #4329 )
2019-01-07 20:18:21 +04:00
Bret Curtis
65a6b10995
Merge pull request #2066 from akortunov/guifixes
...
Do not read font size just for every single widget
2019-01-07 17:17:57 +01:00