Commit graph

38 commits

Author SHA1 Message Date
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