Commit graph

67 commits

Author SHA1 Message Date
GitHub Actions
18428a07d5 Code format - (Clang-format) 2023-10-15 21:52:40 +00:00
Beats
766ced3a77 init 2023-10-15 18:51:57 -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
Beats
111f459415 fix: warnings deprecated (#47) 2023-09-08 19:41:54 -03:00
Majesty
db399d710c
Update items and fix import map window size (#27) 2022-09-30 18:57:21 -03:00
Eduardo Dantas
3807946822 Fix conflict errors 2022-08-19 02:50:53 -03:00
Eduardo Dantas
047113ade3 Merge branch 'master' 2022-08-19 02:43:27 -03:00
Fridza
80d8925ec8
Add offset_z as an option when importing map (#387) 2022-04-02 22:10:34 -03:00
Nailson
ad6b3065ae New Replace Items dialog, allows to replace multiple items at once.
Fix: cannot undo after replacing items
2021-10-02 22:41:32 -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
Evil Puncker
cfe36ce5b3
license headers (#315) 2020-07-30 11:42:28 -03:00
Elime1
b76d96cf88
Merge pull request #300 from Frozen-Hell/fallthrough
Explicit fallthrough per C++17 to quiet GCC
2020-06-18 19:45:01 +02:00
Mignari
792396c689 Avoid replacing with the same item. 2020-05-19 00:28:38 -03:00
Mignari
e07784e85f Avoids crash when replacing an item 2020-05-18 23:16:31 -03:00
Mignari
7ecb17438b Fix typo 2020-05-18 21:20:44 -03:00
Mignari
34567ed11d Save minimap export directory in configs 2020-05-18 21:19:23 -03:00
Gabriel Pedro
cb7c45c978
fix: minimap export crash (#304) 2020-04-29 18:41:42 -03:00
Xaekai
4d1f88b1d5 Explicit fallthrough per C++17 to quiet GCC 2020-03-25 14:07:43 -07:00
Elime1
c4551731fd Add welcome window 2019-06-25 18:07:36 +02:00
Nailson
f8005138b0 Fix #192 2017-05-25 23:25:05 -03:00
Nailson
63aebafe54 New Find/Jump to Item Dialog, some code cleanup. 2017-05-19 15:19:10 -03:00
Nailson
8006ed0be3 Merge branch 'master' of https://github.com/hjnilsson/rme 2016-11-12 10:30:20 -03:00
Nailson
1afdd10d49 Code improvements. 2016-11-12 10:30:06 -03:00
Elime1
b7fc02a840 New sorting approach to make it fast on Windows as well 2016-11-11 23:32:10 +01:00
Elime1
9439d9999e Fix indentation 2016-11-09 14:52:04 +01:00
Elime1
8407fad0c1 Add a SortableListBox and use it for house and creature list 2016-11-08 23:29:05 +01:00
Elime1
5e55de8eee Redraw search list items when content changes and fix a bug preventing 'No matches for your search' to appear. 2016-11-06 18:57:58 +01:00
Elime1
610aeeaeaa Remove use of wxT macro. Closes #141 2016-11-05 15:28:14 +01:00
Nailson
d7e863cb86 Rename global variable 'creature_db' to 'g_creatures'. 2016-10-25 10:22:46 -03:00
Nailson
b458163331 Rename global variable 'brushes' to 'g_brushes'. 2016-10-25 10:19:42 -03:00
Nailson
f6c84ed67b Rename global variable 'item_db' to 'g_items'. 2016-10-25 09:47:00 -03:00
Nailson
da44549cee Export minimap by selected area. 2016-10-18 13:54:41 -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
f3b82b8734 Add 'Go To Previous Position' menu item. Hotkey 'P'.
Sometimes when using 'Go To Position', 'Go To Town Position' or 'Go To
Teleport Destination', we want to return to the previous position.

- Renamed 'CenterOnPosition' to 'SetScreenCenterPosition'.

- Added 'GetScreenCenterPosition' and 'GoToPreviousCenterPosition'
methods.

- Remove trailing spaces.
2016-09-29 18:36:27 -03:00
Nailson
46e21c4256 Fix #114 2016-03-17 07:09:40 -03:00
Nailson
9a82a02001 Centralize dialogues on the screen. 2016-02-29 21:47:54 -03:00
Nailson
0936e38ec9 Use map const. 2016-02-28 19:44:08 -03:00
Nailson
530288dbf3 Small layout fix. 2016-02-28 12:18:01 -03:00
Nailson
f7057201f8 Import map window improvements. 2016-02-27 20:19:33 -03:00
Nailson
491724ca7b Define some constants for the map. 2016-02-25 14:21:27 -03:00
Nailson
50ae3c3d1a Code style fixes. 2016-01-17 08:12:13 -03:00
Nailson
d7a4254604 Code style and some cleanup. 2015-12-06 11:42:37 -03:00
Nailson
b0f32fd5c6 Added PositionCtrl component. 2015-07-11 21:20:07 -03:00
Nailson
054dd472a1 Changed some labels. 2015-05-08 12:50:15 -03:00
Nailson
1b954b0f61 Regex/linux not working as expected. 2015-01-23 20:45:25 -03:00
Nailson
1f2d1c7167 Layout fixes. 2015-01-23 18:30:56 -03:00
Nailson
eb1da738d3 Fix conversion type missing. 2015-01-23 14:21:16 -03:00
Nailson
f62210d860 Use NumberTextCtrl instead of wxTextCtrl. 2015-01-21 08:36:32 -03:00