Commit Graph

1502 Commits

Author SHA1 Message Date
Henrique Santiago 90d2032e9e More changes to painter 2013-02-22 03:31:13 -03:00
Henrique Santiago 3eeb5ae890 Painter became PainterOGL, new Painter generic class 2013-02-22 02:55:35 -03:00
Eduardo Bart 9a54bfcc90 Minimap, hotkeys and lot of other changes
* Begin working on a new layout system for UIMinimap and later UIMap,
this new layout system allows to add widgets to the minimap
* Add option to disable motd
* Rework hotkey binding
* Lots of fixes in hotkeys manager
* Add fullmap view using Ctrl+Shift+M
* Prevent some crashs in ThingType draw
* Add function to load minimap from PNG files
* Fixes in minimap saving
* Fixes in Tile::isClickable
* Add UIMapAnchorLayout, new layout for maps
* Fix freezes in win32 when pressing alt key
2013-02-21 17:03:05 -03:00
Henrique Santiago f8b078ea91 Little fixes 2013-02-20 21:50:45 -03:00
Henrique 33ce0aa704 A few more changes to dx9 2013-02-20 19:12:52 -03:00
Henrique bb304f9f4e Fixes to npc trade, begin native directx support 2013-02-20 15:41:28 -03:00
Eduardo Bart 67fc77d507 Add sell all button to NPC trade 2013-02-15 16:38:57 -02:00
Henrique Santiago ffcb65f365 Draw minimap background without map 2013-02-13 18:40:15 -02:00
BeniS adc01ab9e3 Proper fix for autowalk lag issue 2013-02-13 18:05:08 +13:00
BeniS 725a16e38e Fix a lag issue with auto walking
* Auto walking on unwalkable objects was still being processed
  by the findPath algorithm. Ed, if this algorithm shouldn't be causing
  lag spikes for the client, perhaps I should find the cause in findPath.
  For now this will fix the issue however.
2013-02-13 15:06:22 +13:00
Henrique Santiago b1bab32618 Fixes to lua 2013-02-10 02:05:02 -02:00
Henrique Santiago dfb0150a7d Fix signalCall, healthinfo tooltips 2013-02-10 01:17:20 -02:00
Henrique Santiago 11cb287a21 Changes to UIProgressBar, simplified healthinfo module 2013-02-09 19:57:37 -02:00
Henrique Santiago 25841e9c77 Merge pull request #267 from ricardoianelli/master
Rework on init/exit log messages.
2013-02-08 21:03:08 -08:00
Ricardo Ianelli cbeab6f9b0 Moving start messages to lua
Moved start log messages to lua, to make easier to enable/disable those
messages.
2013-02-10 02:28:47 -02:00
Eduardo Bart ea0d5f3d81 Fix compile error for OpenGL ES 2013-02-07 03:56:21 -02:00
Henrique Santiago 4f3be92208 Refix last commit 2013-02-07 03:37:57 -02:00
Henrique Santiago 3c3ba9ef4c Fix crash when clientid is invalid 2013-02-07 03:13:08 -02:00
Henrique Santiago 2f7a06e93e Full ground option in otml 2013-02-07 02:19:19 -02:00
Henrique Santiago 7f918a12a2 Old light method restored, it can be changed in lua now 2013-02-06 20:47:17 -02:00
Eduardo Bart 7f6a4bbbe5 Lightning is not additive anymore
Now otclient lightning may look like more tibia lights,
before this too many lights together would increase
brightness a lot, this won't happen anymore in cards
with OpenGL 1.4 or newer
2013-02-06 19:49:40 -02:00
Eduardo Bart 86c462eb4d Fix win32 compile errors 2013-02-06 18:48:23 -02:00
Eduardo Bart 7ece0ed8c7 Buttons for client options 2013-02-06 17:35:59 -02:00
Eduardo Bart cf77df05ca Fix possible leaks in stdext::format 2013-02-05 20:00:28 -02:00
Eduardo Bart dcd6249e8f Link ICU in Mac OS 2013-02-05 19:21:15 -02:00
Eduardo Bart f0ac63eb5c Disable crash handler in Mac OS 2013-02-05 19:10:22 -02:00
Eduardo Bart 637b6ceca2 Trying to get it compiling on Mac OS X 2013-02-05 19:03:18 -02:00
Eduardo Bart 86d06057ca Fixes to compile with libc++ 2013-02-05 18:30:16 -02:00
Eduardo Bart 717832b791 Other minor fixes 2013-02-04 19:40:12 -02:00
Eduardo Bart 0fc56c73cc Fix health colors 2013-02-04 15:50:15 -02:00
BeniS 6cd71ea02e Closes #236 2013-02-02 03:38:17 +13:00
BeniS e7012031eb Fix auto walking bug 2013-02-01 12:46:44 +13:00
Eduardo Bart 36a60419ec Fix some issues when reloading entergame 2013-01-31 14:19:41 -02:00
Henrique Santiago 546007f1df UIImageView, fixes to minimap 2013-01-31 14:20:04 -02:00
Eduardo Bart cb7f855fd8 Fix minimap crash 2013-01-31 13:39:56 -02:00
Eduardo Bart a0b2504f11 More fixes in minimap 2013-01-31 04:15:10 -02:00
Eduardo Bart 89c012e81f Improvements in minimap drawing 2013-01-31 03:38:06 -02:00
Eduardo Bart 654f71e75f Fix autowalk sometimes not being canceled 2013-01-31 00:50:20 -02:00
Eduardo Bart 1bf77c35c6 Fix some minor bugs in widgets events 2013-01-31 00:21:39 -02:00
Henrique Santiago 17d09f41be Rework UIMinimap 2013-01-30 23:44:57 -02:00
Eduardo Bart 5bf03c50d6 Rework hotkeys manager, fix many issues on it 2013-01-30 18:28:54 -02:00
Henrique Santiago 60986eb80f Minimap fix and remove option 2013-01-29 18:36:27 -02:00
Eduardo Bart ff9f82d0c8 Fix other compile errors 2013-01-29 16:56:50 -02:00
Eduardo Bart 80a7ecb3a4 Speed up compilation time for luafunctions
* Other compile fixes for gcc
2013-01-29 15:27:59 -02:00
Eduardo Bart 8d6ccb8d83 Fixes to compile with clang 2013-01-29 14:35:20 -02:00
Eduardo Bart 4751941e4f Improve encrypt/decrypt algorithms 2013-01-29 11:51:15 -02:00
Eduardo Bart 26c6217bc3 Fix change of RSA keys 2013-01-29 10:37:15 -02:00
Eduardo Bart b7eef97239 Add flexibility in login packets
* It's now possible to add custom data in the login packet
* Add utility funciton to generate RSA keys
* Make the protocol able to use RSA keys with 2048 bits or more
2013-01-28 20:52:03 -02:00
Eduardo Bart d6e8e92a45 Some fixes in hotkeys and other improvements
* Save last logged character and world instead of character name
* Make focused label always visible in character list and hotkeys
* Other fixes in hotkeys
2013-01-28 16:33:35 -02:00
Eduardo Bart 773837da98 Minor changes in file type handling 2013-01-27 23:23:53 -02:00
Eduardo Bart 4536c68f00 Fix #249 2013-01-27 18:26:48 -02:00
Eduardo Bart 6966221e39 Fixes and improvements in find path 2013-01-27 16:58:44 -02:00
Henrique Santiago 2bd86d0695 Fix minimap zoom, blue name 2013-01-27 14:53:16 -02:00
Eduardo Bart bcb3db4cdc Fix #250 2013-01-27 14:25:44 -02:00
Eduardo Bart e81dd31ae3 New lightweight minimap format, finish #15 2013-01-27 14:06:47 -02:00
Eduardo Bart 9aca1644e6 Implement rule violations, closes #218 2013-01-27 07:54:50 -02:00
Eduardo Bart 4351f3c63f More improvements in walk 2013-01-26 20:12:00 -02:00
Eduardo Bart 4b1db2bcd6 Fix #235 and other changes 2013-01-26 18:40:03 -02:00
Eduardo Bart 4f8f02acad Rework auto focus behavior, closes #222 2013-01-26 17:06:25 -02:00
Eduardo Bart 835adfb4ce Fix a compile error 2013-01-26 15:17:32 -02:00
Eduardo Bart 6594b2d090 Fix #7 2013-01-26 14:54:19 -02:00
Eduardo Bart 07959ddc04 Fix a vulnerability in password encryption
* There was an error in the encryption used to save passwords,
  now it's really harder to decrypt the password from the config file
* Other minor changes
2013-01-26 14:38:48 -02:00
Eduardo Bart 90f1244ab4 Fix #194 2013-01-25 18:28:44 -02:00
Eduardo Bart 32c5f4285b Closes #210
* And minor adjustments
2013-01-25 17:26:51 -02:00
Eduardo Bart a144174c41 Use push/pop mechanism for cursors 2013-01-25 11:47:51 -02:00
Eduardo Bart 3a47c4f2e1 Remake cursors, closes #219 and #237 2013-01-25 11:19:40 -02:00
Eduardo Bart 0a91fff82a Textedit improvements 2013-01-25 11:17:59 -02:00
Eduardo Bart d5b4e0929f Improvements in textedit and hotkey manager
* Set textedit's cursor position to the end of text in some situations
* Send hotkey messages to the current channel instead of default channel
* Allow to overwrite sprites using otml and pngs
2013-01-24 18:36:04 -02:00
Eduardo Bart a8fbd6cdfc Improve game map view modes 2013-01-24 17:15:07 -02:00
Eduardo Bart 5b65088426 Improve tab navigation and scrolling
* Fix with use with over creatures when you are over force use objects
* Fix textedit wrapping
2013-01-24 15:46:02 -02:00
Eduardo Bart 50c2db100e Use boost::chrono instead of std::chrono 2013-01-23 19:31:14 -02:00
Eduardo Bart 311bc220a8 Fix a warning 2013-01-23 16:55:10 -02:00
Eduardo Bart 992acd8873 Fix translations, there were all broken 2013-01-23 15:35:43 -02:00
Eduardo Bart 1674575dc0 Minor fix 2013-01-23 13:47:26 -02:00
Eduardo Bart 3f882d9e6c Disable path find debugging 2013-01-23 13:15:02 -02:00
BeniS a2ddb472f5 Fixed up movement controls again and fixed a typo.
* You can change direction while already moving
(There could be a better way for walking control, but this works fine for now)
2013-01-23 20:31:28 +13:00
BeniS caf86a9fc6 Fixes! Closes #235 and more:
* Hotkeys now save by server & player rather than just player
* Added double clicking to module dialog options
* Fixed a bug in the modal dialog for > pv970 (protocol changed)
* Fixed a login bug for pv970.
WARNING: Will remove all your current hotkeys.
2013-01-23 13:15:46 +13:00
Eduardo Bart 27d5506262 Some fixes in entergame and widget clipping 2013-01-22 19:48:25 -02:00
Eduardo Bart ca4caf7991 Fix text highlighting again 2013-01-22 18:29:18 -02:00
Eduardo Bart fa8971498f Fix old bug #149 2013-01-22 17:28:44 -02:00
Eduardo Bart e900a7679a Improve autowalk 2013-01-22 16:04:36 -02:00
BeniS 01e48fbcc8 More work towards autowalking (needs more work).
* Added tile minimap color override.
* Changed zoom in and out of minimap from inverted control.
2013-01-23 01:02:25 +13:00
Henrique Santiago f470cba09e Fix compile on non window applications 2013-01-21 23:17:40 +00:00
BeniS 5a278ef4ec Few minor fixes.
* Fixed count window.
* Other small things.
2013-01-22 13:40:46 +13:00
Eduardo Bart 71cccac3da Many changes
* IMPORTANT: dat/spr should now be placed in /data/things/
* Rename game_tibiafiles to game_things
* Make battle list algorithm much faster
* Split UITabBar into UITabBar and UIMoveableTabBar
* Fix other minor issues
2013-01-21 19:41:03 -02:00
Eduardo Bart 0729e35b50 Minor fixes 2013-01-21 14:15:36 -02:00
Henrique Santiago 2a2214991c Small changes 2013-01-21 00:40:47 +00:00
Eduardo Bart ae731ddefc Rework minimap rendering 2013-01-20 21:17:56 -02:00
Eduardo Bart 18a37393c5 Limit path finding max complexity 2013-01-20 14:30:53 -02:00
BeniS 8c6d5a0f5c Finalizing auto walk enhancements, closes #63, also other fixes:
* Can now auto walk up to 1000 steps!
* Re-added sexy topmenu buttons :)
* Tooltip for logout/edit will now change
* Changed xxStackpos to xxStackPos
2013-01-21 05:09:14 +13:00
Eduardo Bart c28596292f Text selection in chat
* Remove fancy stuff from background
* Improve text windows
* More improvements to textedit
2013-01-20 13:40:40 -02:00
Eduardo Bart 84dfd4f7f3 UITextEdit selection, closes #55 2013-01-20 11:38:02 -02:00
Eduardo Bart 9907e9e5c7 Fix particles and some fun in the background LOL 2013-01-19 18:24:59 -02:00
Eduardo Bart f389c3b3fe Widgets can now rotate :O 2013-01-19 14:44:07 -02:00
Eduardo Bart 2fcaf2cc40 Fix rotate,translate,rotate in ogl painters 2013-01-19 13:44:27 -02:00
Eduardo Bart 0f9cacdde5 Implement missing matrix operations 2013-01-19 12:21:00 -02:00
Henrique Santiago 8e9d137608 Rotate, translate and scale added to ogl2 2013-01-19 02:18:29 +00:00
Eduardo Bart 28b5fc1d5a Refactor modules, closes #223
* All modules are sandboxed now
* All images,sounds,fonts,translations and styles were moved to "data" folder
* Reorganize image files folders
* Remove unmaintained modules: client_particles, client_shaders
* Implement new automatic way to load styles and fonts
* Add hide/show offline option in VipList
* Add invite/exclude to/from private channel in players menus
* Many other minor changes
2013-01-18 20:46:36 -02:00
BeniS 1500c1d2f2 Few minor fixes here and there:
* Fixed miniwindow cancelling (sorry Summ! :D)
* Fixed pathFind to check floor change tiles
* Fixed buying/selling stackable items in pv < 860
* Added force walk to the first step of auto walking for open tibia
2013-01-18 18:27:29 +13:00
Eduardo Bart 7e52c4e449 Make otclient login into cipsoft servers again 2013-01-17 18:24:41 -02:00