Commit Graph

153 Commits

Author SHA1 Message Date
Eduardo Bart 96c363d997 changes for otb compability 2012-06-21 14:54:20 -03:00
Eduardo Bart 8761220deb Refactoring and flexibility changes
* Split game module into game and game_interface
* Move core_lib to corelib
* Move miniwindow to corelib
* Introduce init.lua script for initializing the client, giving much more flexibility
* OTClient is no longer Application derived and is much simpler
2012-06-19 21:16:52 -03:00
Henrique Santiago 4bdcae2f8b improvements to skins 2012-06-19 05:46:49 -03:00
Eduardo Bart 83f86eac64 experimental map shaders 2012-06-14 15:26:55 -03:00
Eduardo Bart 8cef6463b3 improve miniwindow moving 2012-06-11 11:10:03 -03:00
Henrique Santiago e7334566a2 improve miniwindow moving 2012-06-11 02:38:08 -03:00
Eduardo Bart 29dadb849e add EGL to win32 2012-06-10 15:52:08 -03:00
Eduardo Bart 1a2e97bb5e show private message on screen
* disable GL blending in some situations to speedup on older hardware
* fix wrap size in CachedText
2012-06-09 10:00:08 -03:00
Eduardo Bart 95cf7eb788 graphics optimizations/fixes/features
* cache text vertex for StaticText, AnimatedText and Creature names
* improved outfit rendering
* fully compatible with OpenGL 1.1
* enable mipmaping for game sprites again
* Ctrl+W hotkey clean game texts
2012-06-08 21:40:41 -03:00
Eduardo Bart 1a7f2a44fc graphics fixes and improvements 2012-06-08 21:40:41 -03:00
Henrique Santiago 587db0d89f changes to uiitem 2012-06-08 00:02:06 -03:00
Eduardo Bart 066ffead08 more fixes
* add default key combos to Hotkeys
* impement moving countable items holding Ctrl or Shift
* fix messagebox incorrent size
* implement API in Keyboard to get modifiers key states
* minor UI layout fixes
* add Ctrl+L logout hotkey
2012-06-07 12:11:52 -03:00
Henrique Santiago 3cb5216858 protocol login working 2012-06-05 18:27:37 -03:00
Henrique Santiago 4f90783789 extended opcode disabled by default. current locale is sent to server on login, bot protection exception 2012-05-16 17:09:37 -03:00
Henrique Santiago 6162d51958 gamelib_extended 2012-05-15 17:37:09 -03:00
Eduardo Bart 9abac474dd style adjustment and fixes
* style adjustments, now window and button style
* fix bug when logging on a tile with too many creatures
* remove deprecated onLogin and onLogout events
2012-05-11 06:17:46 -03:00
Eduardo Bart 788a831f24 bug report module
* change modules authors and website
* avoid anchors recursivity crash
* update README
2012-05-01 10:06:38 -03:00
AndreFaramir 69614da8cb New module and changes
* Implementing rule violation interface
* New popup menu on console text messages
* Terminal and Console will no longer history double command/messages
2012-05-01 03:49:48 -03:00
Eduardo Bart 00740b56f3 begin playertrade, questlog and textbooks modules 2012-04-30 21:20:27 -03:00
Eduardo Bart beaba25af1 UI tweaks 2012-04-30 16:30:37 -03:00
Henrique Santiago 8d0f07255d npctrade reworked, still need skin changes, and grey shader for items 2012-04-29 06:08:55 -03:00
Eduardo Bart 34091bc48e implement all needed tr() for localization
* implement some pt-BR translations
* remove legacy about module
2012-04-26 16:54:16 -03:00
Henrique Santiago 60495174a4 bot traceback, moveup function, chat setting default ongamestart 2012-04-25 21:15:48 -03:00
Henrique Santiago 9afe4e012b request trade 2012-04-24 19:09:48 -03:00
Henrique Santiago 49fbbf6506 move up menu, still need a higher level function 2012-04-24 18:15:58 -03:00
Eduardo Bart 7526315d12 new shortcuts
* Ctrl+Q logout from game
* Ctrl+Shift+R reload scripts, instead of Ctrl+R that is now reserved for rule report
* Ctrl+A clean the chat text box
* Ctrl+F toggles fullscreen mode
2012-04-24 09:21:48 -03:00
AndreFaramir 50145ec6b8 implementing private chat channel basics 2012-04-24 08:20:14 -03:00
Henrique Santiago dcefeb134c remove print, fix creature name position 2012-04-21 21:45:05 -03:00
AndreFaramir 9c038e2f39 implement npc trade interface 2012-04-08 17:13:51 -03:00
Eduardo Bart 2e43a77d64 change mouse press behaviour 2012-04-07 00:37:29 -03:00
Eduardo Bart 2835a66bab experimental minimap
* a lot of rework in MapView
* new APIs for UIMap
2012-04-06 20:15:52 -03:00
Henrique Santiago fba5f188d7 items movement fixed, spinbox style changed 2012-04-06 19:31:45 -03:00
Eduardo Bart 6b020b94a4 left+right look for UIItem 2012-04-04 20:04:42 -03:00
Eduardo Bart 4b7e0e8e58 hide miniwindow scrollbar 2012-04-02 20:19:27 -03:00
Eduardo Bart 90d3acce2a restore containers
* implemente Container class
* restore module containers
* add lua bindings for std::map
* improve grid layout
* fixes in UIItem rendering
* changes in miniwindow design
2012-04-02 20:09:47 -03:00
Eduardo Bart 595cdc1bb4 fix some win32 hotkeys and change zoom hotkeys 2012-03-30 07:21:24 -03:00
Eduardo Bart a475384b73 ui fixes
* fix viplist
* fix skills update
* fix mouse grabber
* minimize send interval
* add api to get world name
2012-03-29 16:25:04 -03:00
Eduardo Bart 47e7eef716 implement more functionality
* update TODO
* rework UISpinBox
* restore move of stackable items and with horizontal scrollbar
* implement classic control look
2012-03-29 10:45:40 -03:00
AndreFaramir 09e831ddc0 restoring use with functionality and hotkeys manager module 2012-03-28 20:19:28 -03:00
Eduardo Bart a4cef0d390 fix possible mapview crash 2012-03-28 16:09:45 -03:00
Eduardo Bart 8d14d9bc99 restore old modules
* partially restore vip, battle, healthbar, skills and inventory modules
* more fixes on UIWidgets
* implement UIMiniWindow close/minimize functionality
* allow drag and drop miniwindows beteween game panels
2012-03-28 11:10:21 -03:00
Eduardo Bart e2ea267703 rework mouse events propagation 2012-03-28 08:46:15 -03:00
Eduardo Bart 92d535f981 improve scrolling 2012-03-27 21:33:35 -03:00
Eduardo Bart 668c4d98d9 win32 fixes 2012-03-27 18:33:58 -03:00
Eduardo Bart 8ea154016b fix and changes
* win32 compilation fix
* add buttons to miniwindow
* dispatcher events fixes
* ui fixes
2012-03-27 15:14:40 -03:00
Eduardo Bart 060c1cf8e7 ui changes
* create UIResizeBorder
* restore miniwindow
* scroll fixes
2012-03-26 19:24:01 -03:00
Eduardo Bart ee869bb279 side panel splitter 2012-03-26 15:33:00 -03:00
Eduardo Bart ccf55132a1 OMG the chat is finally scrolling!
* implement UIScrollArea
* rework console to allow scrolling
* many core ui changes in the way.. so maybe we will have new bugs
* fix in UIScrollBar
2012-03-25 14:10:19 -03:00
Eduardo Bart 179e53bb77 scrollbar, options and widgets changes
* complete scrollbar skin
* implement scrollbar functionality (scrolling with mouse)
* fix onMouseClick issues
* add tabs in options (graphics and general tab)
* add new option for limiting frame rate using scrollbar
* add new widget property "clipping" that will be used on scrollable areas
2012-03-25 11:10:15 -03:00
Eduardo Bart d10a68613b bind zoom hotkeys 2012-03-23 19:19:53 -03:00