Commit Graph

2596 Commits

Author SHA1 Message Date
Kamil Chojnowski c4be084516 Fix an issue with key combo desc not working properly with integer keys 2019-01-05 19:31:19 +01:00
Samuel Gros 07b4b785fc
Merge pull request #934 from diath/fix_login_protocol
Fix parsing the premium status in newer login protocol versions
2018-07-13 00:11:40 +02:00
Samuel Gros 1addf3e176
Merge pull request #971 from rmalizia44/patch-1
Fixing a typo
2018-05-09 14:31:32 +02:00
Malizia R b813508eb7
Fixing a typo 2018-05-09 06:56:14 -03:00
EgzoT 4007980c0c Change outdated compiler name for VS (#920)
Change "msvc12" compiler name to "Visual Studio [13-17]" for Visual Studio compiler. 
Name based on "_MSC_VER" parameter.
2018-02-28 21:48:27 +01:00
EgzoT b58c438015 UIMiniWindowContainer small improve (#938)
Change type of checking whether window have on drop possibility.

Reason:
Previously this parameter was checking by class name, so it blocking creating similar objects to miniwindow or inheritance from miniwindow object without changing sources. So it block creating modules with new UI objects working with miniwindowcontainer.
2018-02-28 21:46:27 +01:00
EgzoT e6f273d5e1 Add functionality to minimap flags system (#931)
- Add parameter 'temporary' to method 'UIMinimap:addFlag', who prevents saving flag with this parameter (look 'UIMinimap:save' method), add flag only at game session time. Old parameters list work the same at previous - backward compatibility.
- Add possibility to add icon from outside (for example from module folder) using link to this file. Old system with choose flag name by number work the same at previous, now method check if paramether is number then use old system otherwise get icon from path - backward compatibility. 'Mods' friendly.
2018-02-28 21:45:59 +01:00
diath 7967bd4385 Fix vertical tooltip clamping (#942) 2018-02-28 21:44:49 +01:00
diath cb508c6b9f Fix write dir missing a trailing slash (#947) 2018-02-28 21:44:17 +01:00
Kamil Chojnowski 2bb9fdc82b Fix parsing the premium status in newer login protocol versions
Closes #933
2018-01-01 05:36:51 +01:00
Henrique Santiago a7b910a755
Merge pull request #921 from EgzoT/EgzoT-compiler_info_on_start_screen
Add compiler info to version label in start screen
2017-12-22 02:43:15 -02:00
EgzoT 78ca89d2b4
Add compiler info to version label in start screen
Add compiler name and version to start screen (client_background module).
It would help distinguish OTClient problems on different compilations.
2017-11-29 00:42:15 +01:00
Eduardo Bart 47766685d9
Merge pull request #907 from diath/topbar_visibility_toggle
Add a keyboard shortcut to toggle topmenu visibility
2017-11-20 12:04:11 -02:00
Eduardo Bart 8e639ea338
Merge pull request #913 from andersonfaaria/icons-branch
Fix minimap icons
2017-11-20 12:03:23 -02:00
Eduardo Bart 425b3bfdda
Merge pull request #915 from diath/add_summon_indicator
Add creature type icons for summons
2017-11-20 12:03:09 -02:00
Henrique Santiago 034a152668
Merge pull request #916 from diath/fix_defunct_link
Replace a defunct otclient.info link with a link to this repo
2017-11-20 11:55:08 -02:00
Kamil Chojnowski 0e0f194df6 Replace a defunct otclient.info link with a link to this repo (closes #821) 2017-11-19 20:09:31 +01:00
Kamil Chojnowski 3b23b787f3 Add creature type icons for summons 2017-11-19 20:02:34 +01:00
Kamil Chojnowski 68371c98d4 Add a button to show the top menu when it's hidden 2017-11-19 02:00:02 +01:00
Henrique Santiago 81a705096a
Merge pull request #914 from andersonfaaria/outfit-src
Fix wrong parameter name in source
2017-11-17 15:27:39 -03:00
Anderson Chaves Faria 2e3bf66502 Fix wrong parameter name in source
This will fix missing t in outfit parameter
2017-11-17 14:26:23 -02:00
Anderson Chaves Faria 885cc90fb5 Fix minimap icons
This commit will change the flagid to fit the correct id on the source code of tfs.
2017-11-17 14:22:40 -02:00
Eduardo Bart 0a6e7dd74e
Merge pull request #898 from EgzoT/EgzoT-setPathable
Add setPathable() function
2017-11-16 23:51:15 -02:00
EgzoT c1a5a661e7
Fixed indentation and changed function location 2017-11-17 02:32:31 +01:00
Eduardo Bart a9c59526e0
Merge pull request #904 from ninjalulz/FixModalWindowId
Fix data type for Modal Dialog ID
2017-11-16 22:56:28 -02:00
Eduardo Bart fe1ca3d329
Merge pull request #909 from diath/player_mana_bar
Add player mana bar
2017-11-16 22:47:54 -02:00
Eduardo Bart 38e9e7c1ed
Merge pull request #910 from diath/hotkey_turn_delay
Add turn and hotkey delay
2017-11-16 22:46:37 -02:00
Eduardo Bart ac21f6772d
Merge pull request #908 from diath/fix_market_focus
Fix game interface not gaining focus after exitting the market
2017-11-16 22:44:11 -02:00
Kamil Chojnowski 483988f814 Add a keyboard shortcut to toggle topmenu visibility 2017-11-16 19:06:50 +01:00
Kamil Chojnowski 93f51fe127 Add player mana bar 2017-11-16 19:06:40 +01:00
Kamil Chojnowski d889b5aaf2 Add turn and hotkey delay 2017-11-16 19:06:31 +01:00
Kamil Chojnowski 74caa132c5 Fix game interface not gaining focus after exitting the market (closes #869) 2017-11-16 19:06:15 +01:00
Daniel Björkholm 408e9b4239 Fix data type for Modal Dialog ID 2017-11-16 14:50:12 +01:00
EgzoT 5650db7ba2
Move definition to thingtype.cpp file
Move definition from thingtype.h to thingtype.cpp file
2017-11-15 02:20:33 +01:00
EgzoT c51df93e3e
Add setPathable() function
Adding function who changing item attribute (ThingAttrNotPathable).
Allows to walk on not pathable items (ThingAttrNotPathable -> true) like parcels, fire fields etc. and vice versa.
Modifying item attribute without editing items sources files. Temporary action for the duration of the client session.

Usage:
print(g_things.getThingType(3504):isNotPathable()) -> true

g_things.getThingType(3504):setPathable(true)

print(g_things.getThingType(3504):isNotPathable()) -> false

Helpful for highter levels players to ignoring "avoiding" fire/energy/poison fields etc. when using map click.
2017-11-15 01:02:06 +01:00
Eduardo Bart 2095951e07 Add missing include 2017-11-14 13:59:19 -02:00
Eduardo Bart 8bbc8c09a5
Update README.md 2017-11-04 12:33:51 -02:00
Sportacus a9f6f7662f Log file saves specific to server and character
Changed it so when you save a log file, the log file name includes the
server name and the characters name, in the file name.

This is to improve organization, to separate logs based off the server
you are on, and the character you are logged in.
2017-11-04 11:34:33 -02:00
Marcin Michalski 13789c5612 Properly check tile elevation in older protocols 2017-11-04 11:24:12 -02:00
Eduardo Bart 7046fa1cdb
Merge pull request #874 from EgzoT/EgzoT-useWith_fix
Fixed problem with function "useWith" on creatures
2017-11-04 11:13:11 -02:00
Eduardo Bart aeb98810ed
Merge pull request #878 from EgzoT/EgzoT-map_missile_bug
[Probable bug] Double use function onAppear
2017-11-04 11:08:37 -02:00
Eduardo Bart aa19f45d94 Fixes to compile on mingw32 2017-11-04 11:05:25 -02:00
Eduardo Bart c9bc9e327d
Merge pull request #867 from fluidsonic/clang-9
fixed clang 9 compile errors in shared_object_ptr
2017-11-04 10:53:46 -02:00
Eduardo Bart 8309fee510 Fix build for mingw-w64 2017-11-04 10:43:57 -02:00
Eduardo Bart e6bec115ae Try to fix travis build script 2017-11-04 10:32:23 -02:00
Eduardo Bart 8b161e1a07 Priorize OpenSSL 1.0 in cmake, warning fixes 2017-11-04 09:03:57 -02:00
Eduardo Bart 696610bba7
Merge pull request #880 from diath/fix_missing_include
Fix a missing include in unix crash handler
2017-10-31 12:48:15 -02:00
Kamil Chojnowski f33a44643f Fix a missing include 2017-10-31 13:44:38 +01:00
EgzoT f4f3219d61 [Probable bug] Double use function onAppear
Method Map::addThing uses two times function onAppear for object Missile.
First used in line 119, but then used again the same function in line 165.
Without first function onAppear method Map::addThing work the same.
2017-10-25 23:25:02 +02:00
EgzoT 1950d8ec26 Fixed problem with function "useWith" on creatures 2017-10-23 02:33:51 +02:00