Commit Graph

44 Commits

Author SHA1 Message Date
BeniS 5520501673 Implemented the mount interface, Fixed some interface stuff, Some cosmetics, and Updated the outfits window
* Added new arrow buttons.
* Fixed the vertical separator.
* Added new game_playermount module to handle player mounting.
* Moved the battle icons to /images.
* Outfit window accommodates for mounts, loads addons more efficiently and keeps addons set on update, added new Outfit.randomize function that allows you to randomize your outfit colors, and set up a new layout.
2012-07-15 23:49:28 +12:00
BeniS 694a69e1bf Changed/Fixed Text Windows, Text Message, Hotkeys Manager, Game Interface and Quest Log
* Renamed game_textbooks to game_textwindow.
* Fixed text window from opening multiple times, and is destroyed correctly.
* Added new game_playerdeath module (moved death message and window here).
* Hotkey window will hide on game end.
* Logout/Exit/Stackable Items/Questlog/Hotkeys windows will now close on game end.
2012-07-14 22:59:32 +12:00
BeniS 8850528091 Updated Top Menu, Health Info, Combat Controls, Console (Channels), Game Toggle Buttons, Minimap Layout, Game Interface Prompts, and Creature Draw Info.
* Added new left and right game button panels.
* Relocated main game toggle buttons to the right side of the screen to make it easier to toggle miniwindows.
* Added table.empty(t) function to table lib.
* Renamed module game_healthbar to game_healthinfo.
* Combat controls now save per character (e.g. Fight mode, chase mode, safe fight mode)
* Last channels open now save per character.
* Fixed typo in containers.lua.
* Added logout prompting window message when you logout via the logout button.
* Added exit promting window message when you attempt to exit the client.
* Repositioned some minimap buttons.
* Fixed so when creatures health percent is < 1 it will not draw the creature information.

Known Issues:
* If you move a container widget into the map rect if you move an item onto itself it will allow this to execute still dropping the item on the ground.
* The server is calling to open channels after onGameStart is executed causing it to focus the last tab opened. Fix: Don't save channels to the settings that are opened by the server.
2012-07-13 04:45:22 +12:00
Eduardo Bart 7e96c3bec6 Disable particles module 2012-07-08 10:38:01 -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
Eduardo Bart 83f86eac64 experimental map shaders 2012-06-14 15:26:55 -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 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
AndreFaramir 9c038e2f39 implement npc trade interface 2012-04-08 17:13:51 -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
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
AndreFaramir 09e831ddc0 restoring use with functionality and hotkeys manager module 2012-03-28 20:19:28 -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 060c1cf8e7 ui changes
* create UIResizeBorder
* restore miniwindow
* scroll fixes
2012-03-26 19:24:01 -03:00
Eduardo Bart 239f58296e restore inventory and healthbar
* make inventory/healthbar work again allowing reload
* changes in top menu toggle buttons
* all modules are now reloadable by default
* fix warning when using fade in
* remove some unused files
2012-03-23 10:48:05 -03:00
Eduardo Bart 33458a3e39 modules changes
* speedup widget destruction checks
* rework outfit module using grid layout and the new design
* fixes in console, terminal, textmessage modules
2012-03-22 18:47:52 -03:00
Eduardo Bart c0611bfe2a restore some game functionallity
* i'm gradually restoring game functionality with the new modules design, though still a lot to do
* you can reload all scripts and modules using Ctrl+R shortcut while playing (finally! this is the reason of all this rework)
* a bunch of fixes, but new regression too :P
* fix performance issue that could lead freezes in the client in older machines
* completely new game module with new design
* fix crashs in map render
* remove uigame.cpp (now every game input is via lua)
* enable DEBUG macro by default, with it you are able to view any possible lua leak while running
2012-03-18 10:35:45 -03:00
Eduardo Bart e03bf33f58 BEAWARE all game functionality is disabled with this commit for a while
* rework client modules
* hide main window when loading
* remake top menu functions
* rework modules autoload
* improve path resolving for otml and lua
* move core_widgets to core_lib
* fix tooltip issues
* split some styles
* add bit32 lua library
* fix assert issues
* fix compilation on linux 32 systems
* rework gcc compile options
* renable and fix some warnings
* remove unused constants
* speedup sprite cache
* move UIGame to lua (not funcional yet)
* fix a lot of issues in x11 window
* fix crash handler
* add some warnings do uiwidget
and much more...
2012-02-20 00:28:13 -02:00
AndreFaramir 8545d15304 implementing battle window, need some improvements but its working 2012-02-09 03:28:38 -02:00
AndreFaramir 7ed81799b4 added hotkey manager 2012-02-07 01:32:15 -02:00
Eduardo Bart 53ead20de5 restore map clicking 2012-02-06 23:35:46 -02:00
Eduardo Bart f97104f12e replace require with dofile, rename Hotkeys to Keyboard 2012-02-06 02:39:52 -02:00
Eduardo Bart d500de9aa0 change in topmenu and some fixes 2012-01-23 11:47:15 -02:00
Eduardo Bart a5b4ee2c19 fix walk up/down with parcels 2012-01-20 13:00:46 -02:00
Eduardo Bart 186e3dc86b add numpad keys in lua const 2012-01-16 03:54:53 -02:00
Eduardo Bart 9ec40f016d implement API to save lists in configs file and terminal history 2012-01-15 13:13:22 -02:00
Eduardo Bart 5e5ddae167 some UI changes 2012-01-14 17:31:20 -02:00
Henrique Santiago ea70f90e92 improve containers 2012-01-12 22:31:50 -02:00
Henrique Santiago e714f9e149 party improvements, still need to fix shared exp 2012-01-10 21:38:44 -02:00
Henrique Santiago 4bfd335c98 remove code from uimap to lua 2012-01-09 16:06:16 -02:00
Eduardo Bart fdc9087870 implement chat colors, rework on UI layout update system 2012-01-08 20:32:55 -02:00
Henrique Santiago 14c517d7a6 skulls, shields and emblems are now rendered, thanks to joao 2012-01-06 21:54:30 -02:00
Eduardo Bart 30ce5e2ba9 reorganize some stuff 2012-01-04 23:28:29 -02:00
Henrique Santiago 01a2e3a636 restore set outfit 2012-01-03 18:41:00 -02:00
Eduardo Bart cf0aab6d4d reorganize modules 2011-12-05 16:39:33 -02:00
Eduardo Bart fc65f99ead improve window moving, minor changes to enable others apps use otclient framework 2011-11-11 18:26:10 -02:00
Eduardo Bart b216b00a32 add chat panel, send text messages, guard forbidden functions with an ifdef 2011-11-03 18:54:53 -02:00
Eduardo Bart b345a6d783 create in game interface panels and renable about and options windows 2011-11-03 07:59:11 -02:00
Eduardo Bart 5ab0e6f2ac reorganize modules 2011-11-02 01:02:56 -02:00
Eduardo Bart a8afbf9b3f UIMap just got in 2011-08-29 00:04:49 -03:00