Commit graph

61 commits

Author SHA1 Message Date
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
Nailson
ad65fd3e27 Paste position from clipboard.
It accepts the syntax: { x = 0, y = 0, z= 0}
2015-01-20 17:08:40 -03:00
Nailson
d0c43aa633 Select town position
This enables the 'Select' button in the Towns window.
2015-01-20 16:43:23 -03:00
dominique120
51c0b7074b Added -Wno-sign-compare to avoid seeing the ~15 warning messages related
to signed/unsigned comparison.
2014-08-02 18:29:37 -05:00
dominique120
97df12771e Few more fixes and support for Mac OSX. 2014-08-02 13:09:03 -05:00
dominique120
92f14647b4 Fixed several warnings and errors when compiling on Linux. 2014-08-01 15:04:40 -05:00
dalkon
c74b6dbeae Bug fix and misc
GUI::SetLoadDone was taking way too long to update and made any map load
very slowly.
Changed any "uint" to "uint32_t"
Fixed a bunch of warnings.
2014-02-28 22:34:25 +01:00