Commit Graph

864 Commits

Author SHA1 Message Date
BeniS 617e6b302b Fix for creature lights.
* Will now load the dat values for creature lights (ed if you know a more conventional way for this please let me know).
* No need to draw light for the outfit the creature draw will handle it.
Note: not sure if the from8bit method should limit at 256 or not, but tibia dat contains colors 216+.
2012-12-03 13:17:41 +13:00
Eduardo Bart f851bb7777 Minor fixes in lights 2012-11-30 09:03:42 -02:00
Eduardo Bart 6e154f6b2c Lights now are looking really good
* Draw lights beneath holes
* Improve light particle
* Light intensityvaries inversely with the square of the distance
* Local player always have a minimum light in complete darkness
* Creature names are behind lights now
2012-11-29 19:38:39 -02:00
Eduardo Bart 81068f820d Implement lights, thanks @Tarjei400
Now otclient have lights! This code was originally made
by @Tarjei400, I have improved it and merged into otclient
master. Many thanks for tarjei for the contribution.

Warning, this still experimental, fixes may come in the next days.
2012-11-28 23:47:36 -02:00
Eduardo Bart 8bb115d6d4 Fix issue #134 2012-10-24 18:03:15 -02:00
Eduardo Bart a6424f3022 Fix issue #118 2012-10-23 17:32:04 -02:00
Eduardo Bart 6acdb0fd64 Fix issue #132 2012-10-23 16:00:12 -02:00
Samuel 6c2539bbd4 Added support for curly braces in NPC chat
-Added overlay to the default consoleBuffer for highlighting
-Char 127 now is used as spacer (Width 1)
-Supports default font "verdana-11px-antialised"

http://i.imgur.com/8drWH.png
2012-10-05 17:50:54 +02:00
otfallen 9650179ae8 More Mac OS X progress.
Tested-by: Christopher Eklund <eklundchristopher@gmail.com>
Signed-off-by: otfallen <f.fallen45@gmail.com>
Signed-off-by: Christopher Eklund <eklundchristopher@gmail.com>
2012-09-29 23:08:10 +00:00
otfallen f0e85e21b3 Mac OS X port progress
Tested-by: Christopher Eklund <eklundchristopher@gmail.com>
Signed-off-by: otfallen <f.fallen45@gmail.com>
Signed-off-by: Christopher Eklund <eklundchristopher@gmail.com>
2012-09-29 22:57:14 +00:00
otfallen 3b7ad41740 Spare a call yeye 2012-09-29 16:48:01 +00:00
otfallen e1900bdf9a binarytree: type fix 2012-09-28 07:24:49 +00:00
otfallen eb7a11158a XML saving and minor fixes + code refactoring.
Signed-off-by: otfallen <f.fallen45@gmail.com>
2012-09-14 21:39:10 +00:00
Henrique Santiago 18a0d7ab94 Fixes to horizontal scrollarea, improve charlist flexibility 2012-08-31 01:56:10 -03:00
Henrique Santiago c517f7b745 Add/get table functions implemented on ext charlist 2012-08-30 02:59:27 -03:00
Eduardo Bart 97e1c9d5a9 Support for protocol 963 2012-08-29 12:09:16 -03:00
BeniS 0763b266d5 Some more UI updates and fixes.
* Added UICreatureButton class for handling/replacing "battle buttons" (can now be used in other modules).
* Added the ability to use items on creatures via the battle window.
* Some minor cosmetics.
2012-08-26 04:05:33 +12:00
Eduardo Bart 143121b77d Fix getDisplayHeight 2012-08-25 00:07:43 -03:00
Eduardo Bart e25bd7fe54 Fix OpenGL ES compilation 2012-08-23 12:37:26 -03:00
Henrique Santiago a306027cec Fixed skins path 2012-08-23 04:17:38 -03:00
Eduardo Bart bdbce01c97 Add uid param to stats module 2012-08-22 22:50:42 -03:00
Henrique Santiago 05fcf740b4 Stats module 2012-08-22 05:51:31 -03:00
Eduardo Bart ea4dd2f8e6 Support for compressed textures 2012-08-21 08:09:48 -03:00
Henrique Santiago 2142ee765d Fix issue #21, but miniwindows can be a lot smarter 2012-08-21 02:35:20 -03:00
Eduardo Bart c185e709b3 Fix regressions 2012-08-21 00:36:14 -03:00
Eduardo Bart ddd3f84ad7 Many fixes in win32 platform 2012-08-20 18:53:38 -03:00
Eduardo Bart f4cc942c85 Fix some graphics issues with old drivers 2012-08-19 22:38:43 -03:00
Eduardo Bart b349ff2620 Implement reverse otb items table 2012-08-19 18:49:24 -03:00
niczkx 0af783b5cf Fix OTBM saving 2012-08-19 22:30:49 +00:00
Eduardo Bart 1c69379b8d Fix compilation with OpenGL ES 2.0 2012-08-19 11:48:09 -03:00
niczkx 1ed95b6120 More work on OTBM/OTB/XML 2012-08-19 15:41:03 +00:00
Eduardo Bart 73acc68e50 Fix compilation for ubuntu 2012-08-18 15:53:04 -03:00
Eduardo Bart 31da6dc611 Force usage of boost 1.50.0 2012-08-18 14:53:40 -03:00
Eduardo Bart 5e3882f87a Add libgit2 library, new mingw32 libraries will be uploaded soon 2012-08-18 14:08:05 -03:00
Henrique Santiago ab7400c51d Progress on issues #60, #24, #21 2012-08-18 02:04:15 -03:00
Eduardo Bart 403ed3c10f Implement C++ connect() 2012-08-17 23:08:00 -03:00
Eduardo Bart fdea7f3d66 Basic changes to support multiple charsets in the future 2012-08-17 19:45:56 -03:00
Eduardo Bart affe641a1f Add remove function to stdext storages 2012-08-17 18:19:51 -03:00
Henrique Santiago 4d2bd54f6b Fixed #12 #28 #51 issues 2012-08-17 18:37:11 -03:00
Henrique Santiago 4e8afab335 Fix rsa change, messagebox and remove lua variable from c++ 2012-08-14 17:37:28 -03:00
Eduardo Bart 150059a561 Improve image clip rects calculation 2012-08-14 03:41:12 -03:00
Henrique Santiago 7fb2f6deb5 Add getIp function, remove unused sql function 2012-08-12 01:54:45 -03:00
Henrique Santiago 8753f82fd0 Change cursor on textedit, remove possibility to close EnterGame window 2012-08-10 16:32:21 -03:00
Eduardo Bart 608b8f8b44 Fix a warning in clang 2012-08-10 00:48:34 -03:00
Eduardo Bart 10c564f90e Fix regression in walk paralyze 2012-08-09 00:51:13 -03:00
niczkx 85b52fbdfd More work on OTBM saving (now it can save binary map w/o spawns and houses) w00t, the 1000th commit 2012-08-08 08:00:16 -06:00
Henrique Santiago 93fdd2e326 Fix messagebox width, use boost in stdext net 2012-08-07 23:18:36 -03:00
Henrique Santiago 466d8e8820 Use custom upchar and lochar by default due to accents in font files. 2012-08-07 21:12:36 -03:00
Henrique Santiago 4919bdf1bc Bind net functions 2012-08-07 14:05:55 -03:00
niczkx 6feaeff8cc Fix NPC/Monster rendering for OTBM 2012-08-07 03:12:44 -06:00