Commit graph

48 commits

Author SHA1 Message Date
Humberto Gontijo
c136a75263
fix: make macOS build with modern sol2 and wxGL (#201)
Bug Fixes:
- Improved Lua scripting: Lua-visible nil is now consistent for missing/empty values across storage, JSON parsing, item/map/tile APIs, dialogs, app properties, and overlay hover.
- Improved macOS graphics reliability (OpenGL context/linking) and safer background/thread handling for streaming and SQLite bootstrap.
- Fixed client asset loading paths and improved SQLite migration input paths.

UI Improvements:
- Replaced “Missing …” modal dialogs with inline text boxes.
- Made “Client directory” editable; added macOS app-picker browse flow.

CI:
- Added compile-scoped macOS builds via reusable workflow and a new build-macos job.
2026-07-29 19:44:25 -03:00
Victor
8c561a02e8
fix: replace wxDirPickerCtrl with wxDirDialog to resolve GTK crash (#181)
Improvements:
- Reorganized Preferences dialog with a new "Directories" tab replacing the previous "Client Folder" tab.
- Enhanced directory selection interface: Client path, Monsters Lua directory, and NPCs Lua directory controls now use dedicated "Browse..." buttons paired with read-only text fields for improved usability and clarity.
2026-05-19 10:38:15 -03:00
Victor
557d91123e
feat: add support for loading monsters and NPCs from Canary Lua files (#162)
New Features:
- Load monsters and NPCs from configurable Lua folders; shows warnings/errors for empty or problematic files and prompts to set folders when missing. Missing-creature dialogs and progress labels updated (“Loading monsters ...”, “Loading NPCs ...”, “Missing Monsters”, “Missing NPCs”).
- Preferences page adds directory pickers for Monsters/NPCs Lua folders; values are saved and applied.
- Brush list and palettes display creature sprites for loaded monsters/NPCs.

Chores:
- Added lightweight Lua parsing helpers to support importing outfits and surface warnings for malformed files.
2026-03-28 21:20:43 -03:00
Victor
c823cc9b2b
feat: add real-time performance monitor (FPS, CPU, RAM) (#156)
This commit adds a real-time performance monitoring system to the Remere's Map Editor that displays FPS, CPU usage, and RAM consumption. The monitor is fully configurable through the preferences window and works cross-platform on both Windows and Linux.
2026-02-27 13:52:55 -03:00
Eduardo Dantas
6d501a5ad2
feat: support reading assets from client 11 or higher (#70)
feat: migrate Remeres to 12.x assets system and modernized item handling

• Migrated old Remeres .dat/.spr system to new 12.x client /assets/ appearance & sprite format
• Removed OTB dependency and outdated client version structures
• Integrated Protobuf-based sprite reader (credit: @nekiro)
• Major refactor on graphics.cpp structure and brush icon handling
• Updated brushes and tags system
• Fixed top order drawing bugs and missing brushes icons
• Fixed outfit color paint and correct offset handling for non-32x32 sprites
• Re-enabled map saving and loading
• Improved creature sprite rendering and brush previews
• Added new item properties window with toggle for legacy/new layout

Co-authored-by: Marcos <66353315+marcosvf132@users.noreply.github.com>
Co-authored-by: Pedro Henrique Alves Cruz <phac@cin.ufpe.br>
2025-05-10 16:38:45 -03:00
Pedro Cruz
aa6ea40d3f
feat: palette brushes pagination (Small/Large Icons) (#119)
This features replaces the scroll for small and large icons with a paginated section. 
Also enables a config to edit the number of rows and columns that the items will be displayed.
2024-10-02 15:30:46 -03:00
Bruno Luís Lucarelo Lamonato
b69d44562e
improve: delete backups after X days (#113)
This add the function to delete old backups, with an option to configure the age of the backups to be deleted.
2024-08-22 23:29:56 -03:00
Pedro Cruz
3958ef0a2e
feat: erase flags and zones (#90)
Add the ability to erase zones, map flags (PZ, PVP, NO PVP and NO LOGOUT) and configuration to enable and disable this ability.
2024-08-09 18:22:50 -03:00
Majesty
7ab4f119f0
feat: tilesets manager (#68)
---------

Co-authored-by: Pedro Henrique Alves Cruz <phac@cin.ufpe.br>
2024-06-07 15:03:37 -03:00
Luan Santos
284cb96fd2
feat: zones brush/editor (#56) 2023-11-08 22:04:13 -03:00
Luan Santos
2ee365e836
ci: add clang-format linter (#54) 2023-10-09 19:12:16 -07:00
Beats
17e42a5056
feat: improve cmake build and add pugixml integration (#40) 2023-09-08 03:04:02 -03:00
Eduardo Dantas
047113ade3 Merge branch 'master' 2022-08-19 02:43:27 -03:00
Nailson
05b791ee07 Use standard min,mas,abs functions, fix compile warning. 2022-06-16 22:39:12 -03:00
diath
8bf57e35a6
Fix build errors (#380)
- Updated the minimum required CMake version.
- Updated the minimum required C++ standard version to match the
  functions used in the code base.
- Added missing `public` visibility specifier for classes deriving from
  wxEvtHandler (DatDebugView and MainMenuBar) that is required to
  access the event table from the derived classes.
- Fixed a typo in the MainMenuBar code (`REPLACE_ITEM` =>
  `REPLACE_ITEMS`).
- Added missing ZLIB search to the CMake project (previously it was
  implicitly linked by older wxWidgets versions?).
- Fixed GLUT compatibility with newer CMake version.
- Added a new `FROM_DIP` macro that fixes wxSize scaling compatibility
  with wxWidgets <3.1.0.
- Fixed catching std::bad_cast exceptions by value instead of const
  ref.

Closes #329.
Closes #345.
Closes #371.
Closes #373.
Closes #375.
2022-02-02 18:55:27 -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
91336937c1 Add dpi awareness 2020-06-26 14:25:49 +02:00
Elime1
39023fcc30 Make welcome dialog optional 2020-06-18 19:08:13 +02:00
Elime1
6b11485da0 Move welcome dialog to gui 2019-06-28 15:24:25 +02:00
Elime1
e084fe9610 Increase space for client version path 2019-06-28 11:30:02 +02:00
Elime1
0df9d9be4d Preferences and welcome window tweak 2019-06-26 21:07:26 +02:00
Elime1
40a6879542 Expand perferences version path input field and tweak welcome dialog text size 2019-06-26 20:29:30 +02:00
Elime1
ae6a10c840 Add preferences to welcome dialog 2019-06-26 11:01:37 +02:00
Elime1
c4551731fd Add welcome window 2019-06-25 18:07:36 +02:00
Nailson
a38da16379 Clarify label for copy position on settings. 2017-06-07 00:03:34 -03:00
Nailson
8358e7e601 Configurable copy position format. Closes #190 2017-05-26 00:27:36 -03:00
Nailson
ea330ca737 Fix Win compilation. 2016-11-05 19:10:21 -03:00
Elime1
610aeeaeaa Remove use of wxT macro. Closes #141 2016-11-05 15:28:14 +01: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
9a82a02001 Centralize dialogues on the screen. 2016-02-29 21:47:54 -03:00
Nailson
d7a4254604 Code style and some cleanup. 2015-12-06 11:42:37 -03:00
Bruno Carvalho
a1427667d0 Fixes and tool tip 2015-03-16 21:42:27 -03:00
Bruno Carvalho
4afe9dc665 Change limit to 100000 2015-03-16 18:58:07 -03:00
Bruno Carvalho
e16c965109 Replace max to configure 2015-03-14 19:18:44 -03:00
Nailson
4108f39a12 Implements OTFI.
OTFI is an OTML file with information about the features enabled in the
dat/spr.
This commit removes the extended and transparency options in
preferences. Please use an otfi file along with the dat / spr to inform
the required features.
It's not necessary to regular files.
2015-02-17 10:41:13 -03:00
Nailson
303560c8ec Layout fixes and code cleanup. 2015-01-23 13:28:19 -03:00
Nailson
eff7b6f8e4 Support for extended and transparent spr. 2015-01-23 10:30:09 -03:00
Bruno Carvalho
61e69c4942 scrollbar to ClientVersions by Mignari
6fcb8984dd
2014-12-26 15:03:21 -02:00
BenDol
f15f85bd2f Added support for auto create spawn when placing creature. 2014-12-17 02:05:09 +13: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
Hampus Joakim Nilsson
c84c47f2d1 Default protocol version is saved again. 2012-07-01 17:54:32 +02:00
Hampus Joakim Nilsson
ec6b96bcb7 Removed advanced graphics from preferences, clients in scroll view.
Thi scroll view does still not work properly (ie. it doesn't scroll...)
2012-07-01 14:21:49 +02:00
Hampus Joakim Nilsson
5d496a685d Clients are now entirely data-based.
In the future, there will be no need for source updates to support new
versions, yay!
2012-07-01 13:41:59 +02:00
Hampus Joakim Nilsson
070bd0bd9b Layout fixes for some windows. 2012-06-30 11:43:02 +02:00
Hampus Joakim Nilsson
8dbc487ef2 Initial commit of RME 3.0.
Clean git repository since the old svn / git mess was pretty much
unrecoverable unfortunetly. I would have liked to keep the history
for posterity, but that proved to be a futile quest.
2012-06-29 16:45:30 +02:00