2708 Commits

Author SHA1 Message Date
slavidodo
48c3a8992f
Update gitignore 2020-05-09 08:45:00 +02:00
slavidodo
d95bde1c77
fixing some unused variables and hiding previous/class members warnings 2020-05-07 19:05:16 +02:00
slavidodo
e3caaacc55
Use vcpkg & drop OTClient SDK for windows
additionaly, the project has been updated to Visual Studio 2019!
2020-05-07 19:02:20 +02:00
Ascuas Funkeln
714c6b8fc0
Add comma_value function for pretty formatting big numbers (#1085)
This also applies the function to a number of labels in the skills window.
2020-05-05 18:39:11 +02:00
Konrad Kuśnierz
63f5351016
Merge pull request #1021 from edubart/openssl-gmp
Support for OpenSSL with a fallback to GMP
2020-03-31 17:09:45 +02:00
Konrad Kuśnierz
066df4dd52
Merge pull request #1070 from Ochmar/master
Getting rid of redraw on lying corpse
2020-02-03 10:23:42 +01:00
OchmanM
e1c3fac974
Getting rid of redraw on lying corpse
In https://github.com/edubart/otclient/issues/1040#issuecomment-581173589 we had a discussion if tile:draw() redrawing in case of lying corpse either is needed or not. We came to conclusion that there are way too many downsides of this resolution and therefore we opt against redrawing. Both performance-wise and gameplay-wise it is better without redrawing.
2020-02-03 10:07:19 +01:00
Konrad Kuśnierz
a0abcbb54e
Merge pull request #1065 from Sposito/update-copyright-year-2020
Update Copyright year for 2020
2019-12-31 11:44:26 +01:00
Sposito
fbcf0a3eea Update copyright year for 2020 2019-12-31 10:07:29 +00:00
Zbizu
fe6bbd6c21 fix initial language selection
fix language selection bug

steps to reproduce:
- go to c:/users/username/otclient and remove settings file
- launch otclient
- select english
- restart otclient

expected behaviour: no more startup prompts for language selection when selecting default language
observed behaviour: everytime client gets restarted and you click the default language, it doesn't get saved if it didn't exist in config file previously
2019-12-19 19:20:12 +01:00
Zbizu
be7a7d365f fixing typo in PL translation
punkt -> plural: punkty
2019-12-15 17:53:01 +01:00
Zbizu
45b14060f6 allow using up/down arrows in modalWindow
QoL change, that's how it works in the official client
2019-12-14 04:27:52 +01:00
Zbizu
a7785a3029 removing duplicate 2019-12-13 04:14:47 +01:00
Zbizu
451075516d focus first choice in modalWindow by default (QoL)
selecting first modalwindow choice by default like in cip client
2019-12-13 04:14:47 +01:00
4drik
49e3ded63c Update console.lua
I was wrong, still need it for multireturn unpack
2019-11-21 13:47:15 +01:00
4drik
14a93a13c8 Update battle.lua
Indentation
2019-11-21 13:47:15 +01:00
4drik
3019e88293 Update uiitem.lua
Indentation
2019-11-21 13:47:15 +01:00
4drik
91a80017b4 Fix for moving creatures/items far out of reach
Fix to https://github.com/edubart/otclient/issues/1055
2019-11-21 13:47:15 +01:00
4drik
656dff45f1 Fix for moving creatures/items far out of reach
Fix to https://github.com/edubart/otclient/issues/1055
2019-11-21 13:47:15 +01:00
4drik
11b006c356 Fix for container miniWindow
A fix for container miniWindow that should be able to move.
2019-11-21 13:47:15 +01:00
4drik
62d84d13d0 Delete unused variable. 2019-11-21 13:47:15 +01:00
4drik
521e87ca00 Fix target square
The target square disappeared when using filters in the battle window.
2019-11-21 13:47:15 +01:00
Leonardo Dias
6217d8805b Update dockerfile to use physfs stable 3.0 2019-10-22 22:51:01 +02:00
Konrad Kuśnierz
23bc0ab4b7
Merge pull request #1052 from diath/fix_demangle_name
Fix a possible missing null terminator in the demangle_name output buffer
2019-10-14 08:10:08 +02:00
Konrad Kuśnierz
0b0c8191dd
Merge pull request #1048 from diath/fix_static_linkage
Fix an issue with Connection class linkage
2019-10-14 08:09:54 +02:00
Kamil Chojnowski
7a57acd646 Fix a possible missing null terminator in the demangle_name output buffer 2019-10-14 07:56:06 +02:00
Kamil Chojnowski
80b35b8308 Fix an issue with Connection class linkage 2019-10-14 07:54:39 +02:00
Konrad Kuśnierz
ca868b9b61
Merge pull request #1049 from diath/update_resourcemanager
Move isDirectory logic from an anonymous namespace to ResourceManager::directoryExists
2019-10-11 08:47:49 +02:00
Konrad Kuśnierz
9a0abb1452
Merge pull request #1047 from diath/update_travis
Update Travis build file to use physfs stable 3.0 branch
2019-10-11 08:46:53 +02:00
Kamil Chojnowski
ba12f55fe4 Move isDirectory logic from an anonymous namespace to ResourceManager::directoryExists 2019-10-11 03:23:01 +02:00
Kamil Chojnowski
cd7b09e27e Update Travis build file to use physfs stable 3.0 branch 2019-10-11 03:15:22 +02:00
Konrad Kuśnierz
1ab18788e6
Merge pull request #1039 from slavidodo/master
Correcting text offset
2019-10-10 08:14:47 +02:00
Konrad Kuśnierz
dd0303feee
Merge pull request #1046 from diath/fix_deprecated_physfs_funcs
Fix use of deprecated PhysFS functions
2019-10-10 08:14:08 +02:00
Konrad Kuśnierz
2f76fe1c3c
Merge pull request #1045 from diath/dft_cpy_mov_ctor
Add default copy constructors to Color and Position classes
2019-10-10 08:13:50 +02:00
Konrad Kuśnierz
831a87abc9
Merge pull request #1044 from diath/tidy_up
Tidy up the source code
2019-10-10 08:13:36 +02:00
Konrad Kuśnierz
f048b0e414
Merge pull request #1042 from f0rmiga/improve-docker-support
Improved Docker support
2019-10-10 08:12:52 +02:00
Kamil Chojnowski
6f13914a92 Fix use of deprecated PhysFS functions 2019-10-10 06:30:31 +02:00
Kamil Chojnowski
6a2d12ce27 Add default copy constructors to Color and Position classes 2019-10-10 01:47:34 +02:00
Kamil Chojnowski
869de6886f Tidy up the source code
* Replaced push_back calls with emplace_back where applicable.
* Replaced size() == 0 and size() != 0 with empty() and !empty().
* Replaced C style loops for range for loops where applicable.
* Fixed mismatching arg names between function declarations and definitions.
* Replaced NULL and 0 (in the context of pointers) with nullptr.
* Remove unnecessary calls to string::c_str() where applicable.
* Replaced deprecated C headers with proper C++ headers.
* Removed unnecessary null pointer checks when deleting pointers
(deleting a null pointer has no effect).
* Fixed a potential memory leak in apngloader.cpp file.
* Replaced unsafe strcpy with strncpy in the demangle_name function.
2019-10-10 00:59:24 +02:00
Thulio Ferraz Assis
5bde14d6ba Improved concurrency for building on CI 2019-09-26 20:19:46 -07:00
Thulio Ferraz Assis
9bb251e14a Refactored before_script for TravisCI 2019-09-26 20:19:37 -07:00
Thulio Ferraz Assis
22a23ee977 Used MAKE_BUILD_TYPE=Release instead of strip 2019-09-26 19:59:40 -07:00
Thulio Ferraz Assis
f6358492a5 Removed unnecessary mv for libphysfs.a 2019-09-26 19:59:07 -07:00
Thulio Ferraz Assis
272867e56e Used nproc instead of grepping /proc/cpuinfo 2019-09-26 19:58:19 -07:00
Thulio Ferraz Assis
0f69f11b78 Improved Docker support 2019-09-26 18:23:08 -07:00
Nickolas Coppem
17738dfdea
Correcting text offset 2019-07-06 19:41:39 +02:00
Konrad Kuśnierz
caae18dbce
Merge pull request #1038 from diath/fix_tooltip_move
Fix tooltip position updating
2019-07-02 09:08:01 +02:00
Kamil Chojnowski
09593e3382 Fix tooltip position updating 2019-07-02 01:58:40 +02:00
Konrad Kuśnierz
15d8793a93
Merge pull request #1037 from diath/improve_mouse_move_propagation
Improve mouse move event propagation
2019-07-01 19:16:22 +02:00
Kamil Chojnowski
da564e86cf Improve mouse move event propagation 2019-07-01 17:36:25 +02:00