555 Commits

Author SHA1 Message Date
BeniS
3ebb997c37 Fixed/Changed Minimap and Game Interface Window Issue.
* Changed minimap navigation to hold right click.
* Added MAX_FLOOR_UP and MAX_FLOOR_DOWN for floor changing in the minimap.
* Fixed issues with exit window, logout window and count window to stop multiple instances of the window.
2012-07-13 18:31:05 +12:00
Eduardo Bart
9bfd2617e9 Fix some lua errors 2012-07-12 22:26:08 -03:00
Eduardo Bart
e8abf56b28 Change inventory items order
Update miniwindow buttons image
2012-07-12 22:04:16 -03:00
Eduardo Bart
ebc88b8354 Tweak modules interface
Minimize miniwindows space usage
Implement easier minimap navigation
Redesign inventory, minimap and healthinfo layout
2012-07-12 20:40:55 -03:00
Eduardo Bart
c0c2411854 Improve minimap 2012-07-12 16:16:23 -03:00
BeniS
935ca87d16 Few minor fixes from previous commit. 2012-07-13 05:29:44 +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
Kamil
de873448b5 Updated. 2012-07-11 05:43:33 -03:00
Kamil
4aeb9edfae Reopen last channels on login. 2012-07-11 05:43:33 -03:00
kilouco
104785818b Now Soul Points are shown in the bottom of the HealthBar widget. 2012-07-11 00:47:53 -03:00
Eduardo Bart
d39ca7de10 Restore periodicalEvent function
* and typo fixes
2012-07-10 14:36:18 -03:00
Eduardo Bart
351115d9d9 Fix login error message 2012-07-10 09:32:13 -03:00
BeniS
54e061f2f7 Minor fix in the hotkeys from previous commit. 2012-07-11 00:27:29 +12:00
BeniS
82233dc655 Changes/Fixes to Channels/Hotkeys/Inventory Slots.
- Fixed issue with opening multiple instances of the same message channels (will focus the channel if already exists).
- Added tooltip to the 'Clear message window' button.
- Added keyboard Up/Down press for hotkeys.
- Added inventory slots/images.
- Started on adding soul
2012-07-11 00:15:31 +12:00
Eduardo Bart
e7691b873b Add error code to onError protocol event 2012-07-09 19:45:34 -03:00
Eduardo Bart
59f75d996e Fix crash when logging without specifing a port or host 2012-07-09 15:06:58 -03:00
Eduardo Bart
2c5fdc88d1 restore music at startup 2012-07-09 14:53:05 -03:00
Eduardo Bart
23fee49456 Merge pull request #6 from sn4ke/master
Fixed bug with adding Vip from console or map, who is already on viplist.
2012-07-09 09:19:23 -03:00
BeniS
902ce06e88 Fixed an issue with the battle list filter.
More work on the minimap, interface changes, fixed direction controls, fixed reseting, fixed some draw things (needs some more work to finish).
Fixed a bug in the battle list causing Battle.onFollow(creature) to execute when there was no follow.
2012-07-09 09:19:02 -03:00
Kamil
85786efbd3 Fixed bug with adding Vip from console or map, who is already on viplist. 2012-07-09 08:59:16 +02:00
Eduardo Bart
4ac3ec8344 Minor fixes for releasing otclient 2012-07-08 13:46:09 -03:00
Eduardo Bart
7e96c3bec6 Disable particles module 2012-07-08 10:38:01 -03:00
Eduardo Bart
c05a7f6403 Add clear channel icon 2012-07-08 10:21:12 -03:00
Kamil
f533e739c9 Added clear button to game console (in commit I didn't add icon). 2012-07-08 11:50:24 +02:00
BeniS
69cc53d7f3 Minor fix from last commit. 2012-07-08 02:44:53 +12:00
BeniS
4453242bee Adjusted chase modes to work correctly, added new option for auto chase override. Fixed NPC speak messages to appear in the correct position. 2012-07-08 02:09:50 +12:00
Henrique Santiago
6a85c31a77 Some particle stuff, far from done 2012-07-06 02:01:13 -03:00
Eduardo Bart
6f12261aef Move otclientrc.lua to top dir
* Use markdown for README
2012-07-05 17:03:57 -03:00
Eduardo Bart
8cc14c2d2d Save graphics options 2012-07-05 15:49:10 -03:00
Eduardo Bart
6bce0bd680 Imrove lua engine
* Allow bound C++ functions to return multiples values to lua with tuples
2012-07-05 09:38:48 -03:00
Henrique Santiago
0b98dca50f Changes to autowalk position on different floors, move its functions to game interface 2012-07-05 02:40:31 -03:00
Henrique Santiago
df8dd52c25 Changes to npc trade module 2012-07-04 17:36:58 -03:00
Henrique Santiago
46e3fbe045 Resize background image to 1024, so it'll be loadeable in old hardware 2012-07-03 12:43:13 -03:00
AndreFaramir
0005119afe improving minimap 2012-06-26 02:55:33 -03:00
Eduardo Bart
98a1b611bf Refactor for documentation 2012-06-25 19:19:17 -03:00
Henrique Santiago
39403e612f Fixes to miniwindows 2012-06-24 09:41:50 -03:00
Eduardo Bart
eec6114b2d Optimize lua object push
* Optimize position hash
* Fix minimap reload
2012-06-24 08:20:39 -03:00
Eduardo Bart
fcd6d3cfe9 Minimap fixes
* Fix infinite loop while loading minimap
* Fix errors in FileStream class
* Remake OTCM map format
* Fixes in UIMap
2012-06-23 12:03:28 -03:00
Eduardo Bart
d39cf361ab improve minimap 2012-06-22 02:26:22 -03:00
Eduardo Bart
aed779a2c8 doc and luabinder changes 2012-06-22 00:14:13 -03:00
Eduardo Bart
c5674d10ba some refactoring 2012-06-21 20:58:18 -03:00
Henrique Santiago
a7c17cec2e Save miniwindows states 2012-06-21 16:31:36 -03:00
Eduardo Bart
96c363d997 changes for otb compability 2012-06-21 14:54:20 -03:00
Henrique
857657d8a0 Fix popupmenu style, exitting on game 2012-06-20 04:10:12 -03:00
Henrique
db4ced65eb Fix skin and locale at first run, adding new locale to combobox, exit function double call, enable sound option 2012-06-20 03:31:52 -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
5a048eb7ea Minor graphics fixes 2012-06-18 20:58:56 -03:00
Henrique Santiago
2d04d41f09 skins, not fully working 2012-06-18 04:47:35 -03:00
Eduardo Bart
4813b7eb4b many changes
* Fixes in WIN32 platform
* Remove unused files
* Make StaticText work more like tibia
* Fix WIN32 compilation
* Fix regression in framebuffers that caused battle to disappear
* Shader fixes for DX9
* Add two new shaders: noise and heat
2012-06-15 21:46:36 -03:00