Commit Graph

33 Commits

Author SHA1 Message Date
Sam 6f9436dd60 UISprite widget added
Display single sprites
2013-10-30 21:35:29 +01:00
Joao Pasqualini Costa 7290ec3334 Some work on container pagination
Bind lua functions for containers
Update onAddItem now it have the pagination slot
Note: getSize as i see is equal to getItemsCount, but not sure thats why
I've added !
2013-10-20 20:21:20 -02:00
Sam 1b27a095a9 Hotkeys for Fluid Containers
Hotkeys now save subType for fluid containers instead of always trying
to use item with subType 0.
2013-10-05 18:08:49 +02:00
Sam 5843b78e87 Support for client version 7.6
Tell me if there are parts which I should change.

- Not everything is tested yet, feel free to report bugs in 7.6
- the data send in between login opcode and account data might not be
correct, but I could not find any documents showing the right protocol
yet
- Hotkeys working
2013-10-04 04:09:54 +02:00
Ahmed Samy e741a62ce9 g_map.findItemsByid 2013-08-31 01:18:17 +00:00
Ahmed Samy 56d6ef6642 Introduce 4 new functions:
- g_map.beginGhostMode(float opacity)
- g_map.endGhostMode()
- UIMap::movePixels(int x, int y)
- MapView::move(int x, int y)
2013-08-30 01:54:36 +00:00
Ahmed Samy 3db8f54aa9 Introduce 2 new functions to g_things
- g_things.findItemTypesByName
- g_things.findItemTypesByString
2013-08-29 17:53:21 +00:00
Ahmed Samy 32647f11bf Introduce 2 new functions to Map
- g_map.colorizeThing
- g_map.removeThingColor
2013-08-24 00:09:56 +02:00
Ahmed Samy 5df3ec8cf2 More cleanups
Also, bind map descriptions auxiliar functions
2013-08-23 01:55:15 +02:00
Allan Ference 05f7f6a4cf Introduce Item::getName() 2013-08-18 18:29:20 +02:00
Allan Ference 5eabf6f518 Optional and configurable zone colors 2013-08-17 23:06:58 +02:00
Allan Ference 9aa667da26 MapEditor: more changes for ease of use 2013-08-04 14:21:12 +02:00
Eduardo Bart e9e4dcd71b Improve walk when lagging 2013-03-13 20:55:20 -03:00
Eduardo Bart d0576da69d Implement dash walking and zoom out again 2013-02-26 16:37:02 -03:00
Eduardo Bart 04f52d77d2 Walk ping is not supported anymore 2013-02-24 22:39:25 -03:00
Eduardo Bart 06e2b6eca2 Platform fixes and rework ping 2013-02-24 22:16:45 -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
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 7f918a12a2 Old light method restored, it can be changed in lua now 2013-02-06 20:47:17 -02:00
BeniS 6cd71ea02e Closes #236 2013-02-02 03:38:17 +13:00
Eduardo Bart 89c012e81f Improvements in minimap drawing 2013-01-31 03:38:06 -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 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 a8fbd6cdfc Improve game map view modes 2013-01-24 17:15:07 -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
Eduardo Bart 27d5506262 Some fixes in entergame and widget clipping 2013-01-22 19:48:25 -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
Eduardo Bart ae731ddefc Rework minimap rendering 2013-01-20 21:17:56 -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 d2712fa218 Try to fix travis build 2013-01-16 12:42:06 -02:00
Eduardo Bart cce2976156 Many enhancements in client API
* Fix issues in item use
* Stack animated texts values
* Add utility functions for changing creature color and jumping
* Add some new extended functionality
* Improve map shader API
2013-01-09 17:29:58 -02:00
Eduardo Bart 122577a916 Just rename some files
* Fix a server ping issue
2013-01-08 16:32:05 -02:00