Ranieri Althoff
551f30d32f
Replace deprecated c++11 test with cmake script
2016-07-09 22:51:32 -03:00
Ranieri Althoff
2f1f62a916
Update copyright year for 2016
2016-07-09 22:11:34 -03:00
Sam
1ec3b65a3a
10.94, 10.95 support
2016-07-03 00:50:08 +02:00
Sam
1c09c3770b
Protocol 10.93
2016-05-23 02:48:32 +02:00
Nailson
d1b26781d3
Fix 'getTopMultiUseThing' returning border items.
2016-04-11 09:42:37 -03:00
Sam
7a8e605704
Minimal 10.91 support
2016-03-03 08:44:26 +01:00
Sam
2b7e2a45ea
Fix 7.4 walking over items with elevation
2016-01-25 22:19:39 +01:00
Sam
408b3c5125
Fix npc message mode
2016-01-20 02:44:13 +01:00
TheSumm
90deb067a6
Added missing message types
2015-12-22 13:06:36 +01:00
TheSumm
37f563d3d5
Replaced some tabs with spaces
2015-12-11 01:51:55 +01:00
TheSumm
80184a1249
Initial 10.90 support
...
Basic support, I did not check for further protocol changes yet.
2015-12-08 18:25:18 +01:00
Konrad Kuśnierz
ec9dafcfdf
Fix #696
2015-12-05 16:23:09 +01:00
Nailson
2f3540c996
Small optimization.
2015-11-30 19:49:21 -03:00
TheSumm
0d8791e1a7
Protocol updates up to 10.82
2015-10-24 17:46:53 +02:00
Nailson
d41fe195f4
Add 'GameKeepUnawareTiles' feature.
...
Remove tiles that we are not aware anymore by default.
2015-10-06 00:37:50 -03:00
Nailson
f1fdbd56e9
Add a flag for idle animation game feature.
2015-08-26 19:49:43 -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
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
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
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
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
Dominique Verellen
682694cc07
Update graphicalapplication.cpp
2014-09-29 11:28:13 -05:00
osmarjunior
3557879361
Fix bug when drawing mounts while walking
2014-08-22 08:36:55 -03:00
BenDol
d3d3294277
Added missing premium trigger opcode.
2014-08-07 07:17:16 +12:00
BenDol
ef7f94ac76
Some minor changes/additions.
2014-08-07 06:40:56 +12:00
BenDol
3343919c92
Added GameEnhancedAnimations to lua
2014-08-04 00:13:23 +12:00
BenDol
4eb7668922
Can now login to official tibia servers.
2014-08-03 23:46:07 +12:00
BenDol
1f272b7aba
Added preview state packet.
2014-08-03 23:22:06 +12:00
BenDol
09d830d02e
Fix build error
2014-08-03 10:10:33 +12:00
BenDol
d7429c201c
Started 1050 implementation and fix ups:
...
* Dat now loads (new animations aren't yet functional).
* Fixed the way we reference client versions.
TODO: Write new animation functionality & find out protocol changes.
2014-08-03 10:02:28 +12:00
Sam
fe585d27d8
Cleanup dat loading, fix version 8.6+
2014-07-30 17:06:40 +02:00
Sam
153cf3e859
Container fix
2014-07-29 21:11:56 +02:00
Sam
6b46370d1a
7.4 .dat support, playing an actual server might not work yet
2014-07-29 21:11:17 +02:00
Sam
2a57a5f7d0
Browse field, locked & paginated container support
2014-07-15 23:27:44 +02:00
BenDol
9e0ddb08e3
More debug prints and avoid null pointer.
2014-07-14 01:56:17 +12:00
BenDol
0f362f80e3
Added easy menu hooking, fixed terminal default size/pos & more:
...
* Added autowalk style option to Minimap style.
* Added onCreate for setting up variables before styling is applied etc.
2014-07-13 22:27:09 +12:00
BenDol
07ac5c27ca
Added some missing lua functions.
2014-07-12 01:03:21 +12:00
BenDol
9f7aafac0b
Fix a crash issue when attempting to draw invalid item.
...
This can happen when using UIItem as interfaces etc.
2014-07-11 16:19:30 +12:00
djayk1
8fccc1eb63
Little fix
2014-06-29 11:25:01 -03:00
djayk1
10438c21ff
Update game.cpp
2014-06-23 12:20:12 -03:00
djayk1
ec99d35cee
Update game.cpp
2014-06-23 12:19:12 -03:00
djayk1
85fe5867f3
Update protocolgameparse.cpp
2014-06-23 12:07:38 -03:00
djayk1
1a77473e13
Update const.h
2014-06-23 12:05:35 -03:00
djayk1
cc483fba5a
Update game.cpp
2014-06-23 12:04:30 -03:00
djayk1
94686d3fe8
Update protocolgameparse.cpp
2014-06-23 11:39:43 -03:00
djayk1
468ac9cbd2
Update game.cpp
2014-06-23 11:38:15 -03:00
BenDol
2df51622ba
Some improvements to some things.
2014-06-02 10:04:56 +12:00
BenDol
0ad45d6826
Added 2 global functions for Position & g_map.getTiles().
2014-05-31 15:47:18 +12:00
Henrique Santiago
72b3403728
Fix filestream read
2014-05-09 18:56:15 -03:00
Nail
25fb3113fa
Fix calculate patterns.
2014-04-20 23:58:26 -03:00
BenDol
24acf8855f
Now possible to create effects and missiles via lua.
2014-04-20 13:26:05 +12:00
BenDol
65d556ef4e
Fixed issue with isAttacking and isFollowing on older protocols.
...
Some protocols don't send a cancel attack/follow packet to the client when a creature dies.
2014-04-20 04:36:52 +12:00
BenDol
45b41b88bd
Merge branch 'master' of https://github.com/edubart/otclient
2014-04-06 15:29:23 +12:00
BenDol
1baad726ae
Just use g_configs.unload(config) to unload config files.
...
Avoids concurrent modification errors.
2014-04-06 15:29:02 +12:00
Nail
8dec9cd835
Fix alpha at color key.
2014-04-04 16:28:56 -03:00
Nail
41b2f9b911
Per-pixel transparency.
2014-04-04 12:58:12 -03:00
BenDol
a02c091376
Fix stop crashing with UIWidget::moveChildToIndex.
2014-04-04 11:33:17 +13:00
BenDol
01e6169cfb
Fix to setText method.
2014-04-04 04:49:44 +13:00
BenDol
1074b6b787
Provide the option to suppress lua call in setText
2014-04-03 05:20:35 +13:00
BenDol
3ce37dacbd
Removed onUnload from corelib and added more lua bindings for resources.
2014-04-02 05:20:18 +13:00
BenDol
166eb7614f
Fix accidental cmake changes.
2014-04-02 03:04:10 +13:00
BenDol
8b3f3b11f0
Can now unload a Config by config:unload()
2014-04-02 02:34:12 +13:00
BenDol
2d84fae2c8
Can now create new configs on the fly using: local config = g_configs.create(file)
2014-04-02 01:54:13 +13:00
BenDol
5204e3ac03
Proper termination and initialization of the ConfigManager.
2014-04-02 00:30:17 +13:00
BenDol
547b18db9a
Update copyright for 2014
2014-04-01 18:36:42 +13:00
BenDol
37f9d3e200
Fix building issues.
2014-04-01 18:09:25 +13:00
BenDol
b295053662
Finished stable implementation (as far as tested), still requires more testing.
2014-04-01 16:27:33 +13:00
BenDol
61059e66ec
Started implementing ability to load custom config files (currently unstable).
...
Feel free to help out with this if you like :)
2014-04-01 05:43:31 +13:00