Commit graph

60 commits

Author SHA1 Message Date
Luan Santos
aa76a7d9b4
fix: macos build (#55) 2023-10-13 17:21:32 -03:00
Luan Santos
2ee365e836
ci: add clang-format linter (#54) 2023-10-09 19:12:16 -07:00
Beats
6b55201a64
feat: synchronizing commits with the official rme repository (#36)
* Show indicators for pickupable and moveable items

* Fix: drawing always refreshing ui

* Fix crash on invalid friend for wallbrush

* Option to remove empty spawns

* Draws position indicator, some code cleanup

* Teleport copy/paste improvements

* Fix flood fill

* Add function to get minimap/8bit color

* Small code cleanup

* Cleanup Position

* Code cleanup and small optimizations

* Code cleanup

* Code cleanup and small optimizations (#406)

* Cleanup and cast functions.

* Avoid adding a new Unique ID if it already exists

* Code cleanup and small optimizations

* More changes and cleanup

* Changes and cleanup

* Some changes

* Fix copy position.

* Only show uid/aid alert if it really changed

* Add actions history panel

* Does not draw tooltips on minimap mode

* Use constexpr

* Replace items fix (#408)

* Draw grid small optimization

* Small change in selection box and Fix #409

* Fix some xpm

* Ingame box improvements, add lights support.

* Fix go to previous position (#410)

* Fix depot crash (#411)

* Fix XPMs

* Export minimap as .otmm (otclient format) or .png (#413)

* Fix glitch after drawing secondary map

* fix

* Update about_window.cpp

* sonar

* fix Minimap and progress bar

* fix erro load items.xml

* fix

* fix doodad brush

* fix: slightly more accurate house size estimation

* feat: update items.otb and items.xml

* fix: bad merge

* Revert "feat: update items.otb and items.xml"

This reverts commit 40f1edc70f.

---------

Co-authored-by: Nailson <Mignari@users.noreply.github.com>
Co-authored-by: wtver <51377408+maattch@users.noreply.github.com>
Co-authored-by: Majesty <32709570+majestyotbr@users.noreply.github.com>
Co-authored-by: Luan Santos <github@luan.sh>
2023-10-09 19:02:37 -07:00
Eduardo Dantas
047113ade3 Merge branch 'master' 2022-08-19 02:43:27 -03:00
Eduardo Dantas
48fd839a24
Convert sprites ids from "nothing special" and "stairs" to client id (#11) 2022-02-27 11:46:54 -03:00
yamaken93
6022bf797e
feat: draw creature addons and mounts (#357)
support creature outfit mounts with the lookmount xml attribute
2021-06-06 20:05:01 -03:00
gustavomb
785cbbc57b
Ignoring control characters when rendering tooltips. (#356) 2021-06-06 19:36:56 -03:00
Eduardo Dantas
e09f3e94c8
Decouple npcs from the creature class (it's create npc.xml file in the map folder) (#3)
Created the complete organization of npcs, that way, it is possible to create own files for npcs, no longer depending on being together with the monsters
this pull request was made to be worked together with the canary project: https://github.com/opentibiabr/canary

The spawns npcs is "yellow" and spawns monsters is "red" (the old)

With this change, the map will automatically create an "npc.xml" the first time it is saved.
It is possible to edit only the xml, it is not necessary to add or modify the npc by opening the editor map

Thus, there is a script for npcs, similar to how it works with old spawns
2021-05-25 00:29:12 -03:00
gustavomb
b308ff8fe0
Building in Windows with libarchive and freeglut from vcpkg (#323)
Co-authored-by: Gustavo B <gustavomb@users.noreply.github.com>
2020-09-14 17:55:04 -03:00
Matheus Matias
362d2f324b
Formatting (#325)
*A few formatting changes to better fit the project.
2020-08-13 22:08:03 -03:00
Matheus Matias
b4c26bd644
Performance Optimization & Teleport 'Open Door' fix (#316)
*Adds a minor performance update by removing 'tooltip' allocations every time 'DrawTile' was called, this should increase the performance when moving around the map(e.g. using arrow keys when zoomed out), slow computers should benefit the most from this.
The performance increase can be seen in the comparison bellow, where I used the same map, distance from the ground and movement from a specific point to benchmark.

*Teleports should no longer have the option to 'Open Door' when right-clicking them.
2020-08-08 11:38:49 -03:00
Evil Puncker
cfe36ce5b3
license headers (#315) 2020-07-30 11:42:28 -03:00
Sascha Striegel
0962708fb5 Rearrange AID/UID order in tooltips for consistency (#269)
The item property window displays the AID first
2019-06-24 13:24:51 -03:00
zygzagZ
e444e98e19 Changed TileVector to TileSet, using unordered set under hood is much faster, removing elements expected complexity O(1) instead of O(n) 2018-11-06 15:56:01 +01:00
Mignari
c8dba24a9f Show as minimap.
Show only the tile minimap colors.
Shortcut Shift+E
2018-04-22 10:54:06 -03:00
Nailson
d1f65b1a9b Do not draw hook indicators in far zoom. (#229) 2018-03-22 19:59:05 -04:00
Gabriel Pedro
d5f2c0c9fd
resolves #228 2018-03-22 01:48:32 -04:00
Mignari
b5de55cc2f Show hook indicators for walls. 2017-11-10 13:15:08 -03:00
Nailson
86470892b4 Hangable items are displayed wrongly. Fix #201 2017-06-26 07:34:32 -03:00
Nailson
d792de9bed Add text ellipsis for tooltips. Closes #196 2017-06-06 23:51:00 -03:00
Nailson
63aebafe54 New Find/Jump to Item Dialog, some code cleanup. 2017-05-19 15:19:10 -03:00
Elime1
bedd780976 Fix GLUT dependency Linux #170 2016-12-09 21:51:52 +01:00
Nailson
e0d319fd07 New tooltip brush cursor. 2016-12-05 18:22:57 -03:00
Nailson
87f618c1bf Update vcxproj. 2016-12-05 09:22:01 -03:00
Nailson
86708f58c3 Fix tooltip background draw. 2016-12-05 08:31:33 -03:00
Nailson
a312bd1973 Text wrapping, Adjust zoom. 2016-12-04 20:19:00 -03:00
Elime1
f08ce8744c Merge branch 'tooltips' of https://github.com/hjnilsson/rme into tooltips 2016-12-03 20:43:26 +01:00
Elime1
f30c2a44f0 Add GLUT dependency macOS #101 2016-12-03 20:33:02 +01:00
Nailson
90293e4d1a Draw waypoint as tooltip. 2016-12-03 11:03:29 -03:00
Nailson
2ac2acbf7c Fix text disappearing, some changes. 2016-12-03 10:12:01 -03:00
Nailson
56e06f5489 Merge remote-tracking branch 'refs/remotes/origin/master' into tooltips 2016-12-02 22:33:22 -03:00
Nailson
1afdd10d49 Code improvements. 2016-11-12 10:30:06 -03:00
Nailson
f65ecc00b5 Merge remote-tracking branch 'refs/remotes/origin/master' into tooltips 2016-11-09 13:29:41 -03:00
Nailson
cbd3ae3de9 Add animations preview. Closes #143
Keyboard shortcut L
2016-11-09 12:17:17 -03:00
Nailson
c03898bc7f Fix tooltips option in settings. Some changes. 2016-11-05 23:36:26 -03:00
Nailson
46ea584bb9 Make tooltips just for current floor. 2016-11-05 19:44:33 -03:00
Nailson
e340efcc0f Code changes for Tooltips. 2016-10-25 11:16:31 -03:00
Nailson
f6c84ed67b Rename global variable 'item_db' to 'g_items'. 2016-10-25 09:47:00 -03:00
Nailson
d6d7643176 Rename global variable 'settings' to 'g_settings'. 2016-09-29 20:37:43 -03:00
Nailson
6ab0f851a4 Rename global variable 'gui' to 'g_gui'. 2016-09-29 20:30:54 -03:00
Nailson
23a8fb15a1 Trim trailing whitespaces. 2016-09-29 19:24:45 -03:00
Nailson
138a771ed2 Draw player position in the in-game box. 2016-02-29 21:01:02 -03:00
Nailson
27b8fb60a1 Code cleanup. 2016-02-29 20:45:23 -03:00
Nailson
7e28ada52c Fix in-game box height. 2016-02-29 20:25:29 -03:00
Nailson
f224b4c61f Draw in-game box after grid. 2016-02-29 19:45:12 -03:00
Nailson
f7057201f8 Import map window improvements. 2016-02-27 20:19:33 -03:00
Nailson
8db5619448 In-game box improvements. 2016-02-25 22:28:14 -03:00
Nailson
1278233904 Code improvements. 2016-02-25 15:03:00 -03:00
Nailson
491724ca7b Define some constants for the map. 2016-02-25 14:21:27 -03:00
Nailson
d7a4254604 Code style and some cleanup. 2015-12-06 11:42:37 -03:00