Commit Graph

2647 Commits

Author SHA1 Message Date
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
codetriage-readme-bot 2b1feb1586 Add CodeTriage badge to edubart/otclient
Adds a badge showing the number of people helping this repo on CodeTriage.

[![Open Source Helpers](https://www.codetriage.com/edubart/otclient/badges/users.svg)](https://www.codetriage.com/edubart/otclient)

## What is CodeTriage?

CodeTriage is an Open Source app that is designed to make contributing to Open Source projects easier. It works by sending subscribers a few open issues in their inbox. If subscribers get busy, there is an algorithm that backs off issue load so they do not get overwhelmed

[Read more about the CodeTriage project](https://www.codetriage.com/what).

## Why am I getting this PR?

Your project was picked by the human, @schneems. They selected it from the projects submitted to https://www.codetriage.com and hand edited the PR. How did your project get added to [CodeTriage](https://www.codetriage.com/what)? Roughly about 1 year ago, [Tarjei400](https://github.com/Tarjei400) added this project to CodeTriage in order to start contributing. Since then, 5 people have subscribed to help this repo.

## What does adding a badge accomplish?

Adding a badge invites people to help contribute to your project. It also lets developers know that others are invested in the longterm success and maintainability of the project.

You can see an example of a CodeTriage badge on these popular OSS READMEs:

- [![Email clients like GMAIL do not render SVG images](https://www.codetriage.com/rails/rails/badges/users.svg)](https://www.codetriage.com/rails/rails) https://github.com/rails/rails
- [![Email clients like GMAIL do not render SVG images](https://www.codetriage.com/crystal-lang/crystal/badges/users.svg)](https://www.codetriage.com/crystal-lang/crystal) https://github.com/crystal-lang/crystal

## Have a question or comment?

While I am a bot, this PR was manually reviewed and monitored by a human - @schneems. My job is writing commit messages and handling PR logistics.

If you have any questions, you can reply back to this PR and they will be answered by @schneems. If you do not want a badge right now, no worries, close the PR, you will not hear from me again.

Thanks for making your project Open Source! Any feedback is greatly appreciated.
2018-02-27 14:13:10 -06:00
Victor Oliveira e1e0ee5cb5 Updating neededtranslations and some pt translations 2018-01-03 20:42:00 -02:00
Victor Oliveira a725de55f2 Updating translation string. 'in' and 'out' were outside translation. 2018-01-03 20:40:56 -02:00
Victor Oliveira edd54cc5f6 Updating translation strings. Don't use ':' as last char. 2018-01-03 20:38:53 -02: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
EgzoT 1eda9b441f
Update OTClient outdated version in VS project
Change OTClient version from 0.6.3 to 0.6.6 in Visual Studio project.
2017-11-28 22:17:06 +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