2772 Commits

Author SHA1 Message Date
divinity76
dab86e6109
Make OutputMessage::addRawString available in Lua (#1218) 2024-09-14 17:26:54 +02:00
vfjpl
e6861d79c9
Use float literals where applicable (#1210) 2023-08-14 04:47:12 +02:00
diath
52475761cd
Save the minimap on a per server basis
Co-authored-by: Xagul <eixim@hotmail.com>
2022-12-10 10:52:03 +01:00
diath
a3fdf073b9
Use lambdas instead of std::bind (#1200) 2022-11-26 19:15:38 +01:00
Marcin Michalski
77f05b9476
Run CI on ubuntu 20.04 (#1199) 2022-11-26 01:50:42 +01:00
Marcin Michalski
0e5de3383e
Prevent luaL_newlib macro redefinition (#1198) 2022-11-26 01:28:21 +01:00
Marcin Michalski
4a39d49fc1
Update workflow actions (#1197)
* Update workflow actions

* Update actions/checkout to v3
2022-11-26 01:06:57 +01:00
Marcin Michalski
725c200c9f
Update vcpkg (#1196) 2022-11-26 00:12:00 +01:00
diath
da4bb92c33
Fix UIWidget::propagateOnMouseMove repeatedly adding the mouse receiver to the list (#1195) 2022-11-25 18:03:51 +01:00
diath
77c844d006
Fix building with newest Boost.Asio (#1194) 2022-11-25 18:00:45 +01:00
Marcin Michalski
fc39ee4adb
Correctly include vcpkg LuaJIT in Visual Studio (#1174) 2022-05-26 13:45:13 +02:00
Kacper
b098210c6a move big functions from .h to .cpp 2022-05-26 13:40:01 +02:00
Marcin Michalski
f0d7963883 Fix compilation with GMP 2022-04-28 14:09:08 +02:00
Marcin Michalski
836ea2bdc6 Update vcpkg 2022-04-28 14:09:08 +02:00
Marcin Michalski
45afb65b90
Remove client stats module (#1170) 2022-01-26 20:13:18 +01:00
diath
d3e12b5d44
Make UIWidget::resizeToText() respect widget padding and text offset like text-auto-resize does (#1167) 2021-11-24 20:10:13 +01:00
Marcin Michalski
3092b5b2d5
Update physfs repo in Dockerfile (#1165) 2021-11-15 23:13:41 +01:00
diath
e73f6df221
Fix process hang on fatal errors (#1163) 2021-09-29 21:03:12 +02:00
diath
9eb13494f9
Fix ghost item border when dropping non-item objects (#1164) 2021-09-29 21:03:01 +02:00
vfjpl
1d614e294c
Fix std::istream::streampos deprecation warning (#1154) 2021-08-25 19:24:08 +02:00
Marcin Michalski
e0d5b7d7fd
Update vcpkg & switch back to ubuntu 18.04 in workflow (#1161) 2021-08-22 01:21:17 +02:00
Marcin Michalski
10100342b9
Fix opening "https://"-prefixed links on Windows (#1160) 2021-08-22 00:51:18 +02:00
Marcin Michalski
302748b2f3
Fix opening URLs on macOS (#1159) 2021-08-22 00:48:34 +02:00
Marcin Michalski
f173b03dbd
Map option to alt and command to meta keys on macOS (#1158) 2021-08-22 00:38:58 +02:00
vfjpl
89dc0f87eb
Fix stamina minutes check in the skills window (#1155) 2021-07-22 00:02:27 +02:00
vfjpl
9ce2cab9ae
Fix uninitialized oldMaxMana variable in Player::setMana (#1152) 2021-06-16 23:25:43 +02:00
TheSumm
1e29b5cb01 Remove unused source file 2021-06-12 19:40:21 +02:00
Samuel
8eb01df240
Fix vcpkg compiling (#1153) 2021-06-12 18:07:18 +02:00
diath
6cd5eb3e22
Add clickable NPC keywords (#1148) 2021-04-29 18:06:48 +02:00
Ranieri Althoff
5cc9319a94
Optimize XTEA encryption (#1143)
https://dev.to/rsa/making-an-algorithm-15x-faster-without-parallelism-38k5
2021-04-02 21:48:58 +02:00
vfjpl
3600a9b40b
Fix Lua errors when the client is built without the sound framework (#1142) 2021-04-02 21:35:34 +02:00
diath
b37623cd86
Fix the use of deprecated C++ functions (#1138) 2021-04-01 00:38:36 +02:00
vfjpl
67b7dbfcfe
Keep log messages in a deque instead of a list and remove unnecessary copy
Co-authored-by: Kacper Piwiński <kacper.piwinski@arex.pl>
2021-04-01 00:38:02 +02:00
vfjpl
7752add8aa
Use float literals where applicable (#1140)
Use float literals to perform more calculation in float instead of performing implicit conversion to double and back to float.

Co-authored-by: Kacper Piwiński <kacper.piwinski@arex.pl>
2021-04-01 00:06:50 +02:00
diath
7c528be73e
Cleanup CMake project (#1137)
* Updated the minimum required standard from C++11 to C++14 (https://en.wikipedia.org/wiki/C%2B%2B14).
* Fixed -g0 and -Os flags being passed to luafunctions.cpp when building with MSVC.
* Fixed case mismatch in FIND_PACKAGE_HANDLE_STANDARD_ARGS argument in a number of CMake files.
2021-03-31 07:30:09 +02:00
vfjpl
4d055913dc
Clean up BitmapFont code (#1129) 2021-03-30 17:03:02 +02:00
Marcin Michalski
4edb1eb3ad
Fix adding executable icon on windows with non-msvc compiler (#1136) 2021-03-30 08:58:32 +02:00
Marcin Michalski
69e44a3722
Fix & enable by default static linking on macOS (#1133) 2021-03-29 17:22:04 +02:00
Marcin Michalski
ba706fc5c3
Remove travis (#1135)
Replaced by GitHub workflows.
2021-03-29 16:58:38 +02:00
Marcin Michalski
975d138a57
Run windows workflow with luajit only (#1134) 2021-03-29 16:54:02 +02:00
Marcin Michalski
c4530a6d17
Bump minimum required CMake version to 3.1 (#1131)
* Removed Ubuntu Clang workflow
* Removed FindCXX.cmake (in favor of native feature)
* Added support for building Windows binaries with CMake when using MSVC
* Cleaned up a number of Find*.cmake modules
2021-03-27 01:04:59 +01:00
Marcin Michalski
b6399a8ad9
Update workflow (#1130) 2021-03-26 14:37:02 +01:00
Kamil Chojnowski
9c9b85ac5e Fix UITextEdit::setTextHidden ignoring the hidden param and always setting the member variable to true 2021-03-14 21:12:59 +01:00
Martin Nylind
872abf05f4
Add Missile:setPath to Lua interface (#1125)
Add Missile:setPath(fromPos, toPos) method to Lua interface.
2021-02-10 05:40:39 +01:00
peonso
d07e7fcce7
Correct messageModsMap for version 10.41 (#1119) 2021-01-04 17:33:04 +01:00
vfjpl
f521737b26
Return Tile walking creatures and things by const ref instead of copy (#1117) 2020-11-23 17:26:15 +01:00
reyhammer
18dd9c2d2d
Fix TPoint::distanceFrom() calling TPoint::getLength() instead of TPoint::length() (#1116) 2020-11-23 15:59:50 +01:00
vfjpl
72cc4b2fb0
Fix out-of-bounds access in Platform::getCPUName (#1115) 2020-11-22 22:08:37 +01:00
vfjpl
c6d0fc0f71
Fix laggy diagonal movement (#1108) 2020-10-07 03:14:00 +02:00
vfjpl
b3d947d4c3
Use std::deque for queues (#1112) 2020-10-07 03:12:04 +02:00