1783 Commits

Author SHA1 Message Date
Túlio Henrique
0deeabbfda Removed SDL2 and created JNI interface (Android Only) 2015-08-16 13:39:27 -03:00
Túlio Henrique
01992aae7e Merge branch 'master' of https://github.com/edubart/otclient into mobile_port 2015-08-13 10:05:00 -03:00
Túlio Henrique
0e87c8355b Improved input handler 2015-07-28 07:55:27 -03:00
Ranieri Althoff
058b926a94 Replace deprecated function 2015-07-24 20:52:31 -03:00
Konrad Kuśnierz
4591a37844 My bad, wrong function name. 2015-07-19 10:33:55 +02:00
Konrad Kuśnierz
8abefb1505 Fix #601, fix #599 2015-07-19 10:27:06 +02:00
BenDol
07a2995285 Fix NPC static text and missing SpeakType. 2015-07-19 06:03:19 +12:00
kenfal
47272519b5 Fix missing loop counter 2015-07-10 21:41:53 -03:00
Túlio Henrique
2d65a0a3ed Merge with 'master' 2015-07-07 10:43:18 -03:00
Nailson
5ef55307f5 Fix #664 2015-07-05 13:05:12 -03:00
Konrad Kuśnierz
b9848f360c Check for Otc::GameAttackSeq feature 2015-06-21 12:44:19 +02:00
Eduardo Bart
0c1540e531 Improve multiline text selection, closes #507 2015-06-03 10:51:39 -03:00
Konrad Kuśnierz
6893a5e98a Optimize UITextEdit rendering 2015-06-03 14:56:43 +02:00
Konrad Kuśnierz
f35c939fc3 Start working on multi-line selection for console
Unfortunately UITextEdit is really bad in terms of performance. It
cannot be used as overlying widget (just like in terminal). On the other
hand we could optimize it by rewriting (unfortunately) the whole widget.

There still is a lot of things to do, but for now it is possible to
select several lines of text and copy it using CTRL + C. In order to
make text copyable in context menu it will be required to override
onMousePress (return true).
2015-06-02 19:16:41 +02:00
Ranieri Althoff
944b220c90 Use native optimizations instead of hardcoded defaults 2015-05-25 00:59:39 -03:00
Konrad Kuśnierz
c3c2ac80e7 Fix drawing creatures in UICreature
I will leave this ugly hack for the time being, but I do encourage to change it later on. The whole "resize" boolean makes no sense since the outfit is resized by the destination rectangle anyway. I believe we should give it a try with a real size of the object defined in dat by the user for creatures bigger than 32x32.

Please keep in mind that we did cut bigger creatures to 48x48 (2*Otc::TILE_PIXELS*0.75f) before as well, so nothing really changed besides ability to properly draw bigger creatures than 64x64 on battlelist.
2015-05-12 23:44:10 +02:00
Konrad Kuśnierz
6bd0e37670 Correctly draw creatures bigger than 64x64
Battlelist icon
2015-05-12 10:16:14 +02:00
Konrad Kuśnierz
11990815a6 Correctly load corrupted otmm file, should fix #606 2015-05-10 22:31:10 +02:00
Konrad Kuśnierz
53dbbd2ba3 Decrease RAM usage by at least 200MB
This was quite ridiculous.

TILESTATE_LAST = 1 << 24

Basically we were creating 2^24 Color structures within the array, each
of them has 4 floats (16 bytes) resulting in about 256 MB of extra
wasted memory.
2015-05-09 20:27:04 +02:00
Tulioh
44ddbc34e8 Fix on android finger 2015-04-23 14:40:24 -03:00
Tulioh
4605c72546 Fix on android finger 2015-04-23 14:40:18 -03:00
Tulioh
2b96ae7f09 Merge https://github.com/edubart/otclient 2015-04-19 12:22:16 -03:00
TheSumm
ab5bed456b Fix warning 2015-04-19 13:54:55 +02:00
TheSumm
fcd481ee15 Added missing message mode 2015-03-09 23:26:39 +01:00
TheSumm
83dc129f03 Protocol 10.76, fixed death window & death packet 2015-03-07 06:10:10 +01:00
Gabriel Pedro
04b516a1a0 Update copyright for 2015 2015-03-04 10:36:51 -04:00
TheSumm
f51a160bde Remove unintentionally added files 2015-02-15 03:27:32 +01:00
TheSumm
cbf70c1d63 Enable protocol 10.75 2015-02-15 03:25:43 +01:00
Nailson
74af47f4d6 Added support for enhanced animations for items.
Thanks to @conde2, @BenDol
2015-02-13 08:19:45 -03:00
TheSumm
4c4e0b9d07 Fix error showing after relogging with containers being open 2015-02-12 14:48:56 +01:00
TheSumm
71931b961a Full protocol 10.74 support (session key), entergame style fixes 2015-01-27 23:44:37 +01:00
BenDol
900ebbd985 Fixes #181 and fixes #551 2015-01-27 22:11:52 +13:00
TheSumm
8542f8bfd4 Protocol 10.73 support 2015-01-20 11:07:38 +01:00
TheSumm
fc76ca4523 Updated advernturer blessing inventory style to be more robust 2015-01-19 01:52:49 +01:00
TheSumm
63f95317a2 Fixed baseSpeed not being parsed (10.59+) 2015-01-19 01:08:18 +01:00
TheSumm
26fb35fd4d Fixed major bug 2015-01-18 23:57:19 +01:00
TheSumm
ddec9627b8 Protocol 10.72 (Authenticator) Support, Unjustified Points diplay
- Unjustified Points (Better topbar icon would be nice)
![Unjustified Points](http://i.gyazo.com/81286f46d9b4d56b3fe864140173cf34.png)
- Authenticator token support
- adjusted 'can change pvp frame' to 1054
- ...
2015-01-18 15:14:07 +01:00
Tulioh
fd97ccd402 Implemented some event handlers in SDL 2015-01-11 13:24:54 -02:00
Tulioh
15b3d439d6 Compiling and running on android, but the window is black when run (bug) 2014-12-30 23:36:42 -02:00
TheSumm
4b7770361d Fix parseLogin packet 2014-12-30 19:25:20 +01:00
BenDol
16f6a0019c Fix dat loading issue with 10.00 & minor outfit window fix. 2014-12-30 17:27:53 +13:00
TheSumm
7f3f18f991 Support for Protocols up to 10.71, Adventurer Blessing 2014-12-29 18:08:33 +01:00
Tulioh
389c7f2a60 Compiling for android but have some bugs 2014-12-25 14:22:37 -02:00
Tulioh
7e34c452a1 Added some files to this commit 2014-12-22 00:37:07 -02:00
Tulioh
b3b314f01b Android compilation added. 2014-12-19 00:56:55 -02:00
Tulioh
997daa2d49 Starting to create CMakeLists to android 2014-12-18 00:31:28 -02:00
Eduardo Bart
f6fb785cea Use -O2 in release build 2014-11-05 10:45:28 -02:00
BenDol
bdfb77166e Reuse code by merging dash functionality with walk method. 2014-11-03 15:12:14 +13:00
BenDol
9f3ebb0036 Fix #577 dash will now fire onWalk (with isDash parameter).
Also added missing client versions.
2014-11-03 12:23:00 +13:00
BenDol
ddb5e58057 Fix #569 finally had some free time. 2014-11-03 08:51:01 +13:00