Commit graph

39 commits

Author SHA1 Message Date
Eduardo Dantas
ee7297a037 Merge branch 'main' into add-flatbuffer-map-support 2022-08-19 14:43:29 -03:00
Eduardo Dantas
047113ade3 Merge branch 'master' 2022-08-19 02:43:27 -03:00
Eduardo Dantas
f39294734d Fix 2022-08-18 16:46:55 -03:00
Eduardo Dantas
2e2a39a586 Remove space 2022-08-18 15:50:52 -03:00
Eduardo Dantas
d44ee00de3 Some fix and adjustments 2022-08-18 15:50:09 -03:00
Eduardo Dantas
f9979ccb19 Add new changes 2022-08-18 12:48:29 -03:00
Eduardo Dantas
aec63e926e Fix map saving 2022-08-18 09:33:51 -03:00
Eduardo Dantas
96dfb1cce3 Add kmap saving 2022-08-18 09:05:08 -03:00
Fridza
80d8925ec8
Add offset_z as an option when importing map (#387) 2022-04-02 22:10:34 -03:00
Sarah Wesker
ccef8fdd90
Fix spawntime overflowing when drawing (#362) 2021-10-02 22:42:57 -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
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
Nailson
e2f9c60719 Fix #168 2016-12-02 22:01:48 -03:00
Nailson
1afdd10d49 Code improvements. 2016-11-12 10:30:06 -03:00
Elime1
610aeeaeaa Remove use of wxT macro. Closes #141 2016-11-05 15:28:14 +01: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
23a8fb15a1 Trim trailing whitespaces. 2016-09-29 19:24:45 -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
dalkon
b2328a0f67 Bugfix & cleanup.
Fixes issue #37.
2014-03-02 22:08:22 +01: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
dalkon
4a729176c4 Fixes and changes.
Rewrote RME Live to use boost asio instead of wxSocket, this seemed to
fix random stops when using the function, some other things were fixed
aswell when using this.
Added 10.10 & 10.21+ (I have not added the otbs and such yet.)
Bug fix and some small cleanups.
2014-02-21 13:55:09 +01:00
Henrique Santiago
566e5e95e3 Fix warnings, fix archieve compilation error 2014-01-23 21:06:52 -02:00
dalkon
886cbc23a7 Lots of changes
Removed libxml2 to use pugixml.
Fixed a bug with the progress bar.
Changed some things in most xml files that pugixml did not like.
Updated the Visual Studio project.
Any NULL symbol has been changed to nullptr.
This most probably broke the CMake that was recently added.
And probably some other things.
2014-01-22 20:16:17 +01:00
Eduardo Bart
732dcf14a9 Add CMake to compile for linux
* Fixes to compile with wxWidgets 3.0
* Fixes to compile in linux 64 bits
* Update linux instructions in README
* Remove source/Makefile
2014-01-21 16:13:59 -02:00
Mark Samman
6d4ac981dd Fix loading status in 2 progress bars
Increment tiles_done in clearInvalidHouseTiles and
clearModifiedTileState.
2014-01-20 03:04:59 +01:00
Hampus Joakim Nilsson
7efd2a6d2e After conversion, asks for creature import.
When you swap map versions, if there are creatures on the map that were
not on the lats version, the user will be queried to import them from the
old version.
2012-07-05 17:32:36 +02:00
Hampus Joakim Nilsson
8624d606c3 Made otgz a settings options (default off). 2012-07-04 23:18:15 +02:00
Hampus Joakim Nilsson
763cb22da3 Now backup recovery works with otgz. 2012-07-04 21:51:12 +02:00
Hampus Joakim Nilsson
f165b680a2 Now supports saving .otgz as well. 2012-07-04 21:36:50 +02:00
Hampus Joakim Nilsson
6b5a67de13 Use exception to indicate load error. 2012-07-04 17:05:30 +02:00
Hampus Joakim Nilsson
9c4e1f1c46 Now loads gzipped maps. 2012-07-04 17:01:08 +02:00
Hampus Joakim Nilsson
a3b54e2c72 Can now load .tar archives containing map files. 2012-07-04 16:47:29 +02:00
Hampus Joakim Nilsson
05cc22e4c3 Fixed the editor not opening maps. 2012-07-01 19:06:30 +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
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