Suggestions are especially appreciated.
Version 1.5:
- Fixed a bug in SwapMaps_CreateFromTemplate()
- Added SwapMaps_GetSize() to query a map file for size
- Added chunk load/save capability
![]() |
SwapMapsby Lummox JR |
ID:91627
Oct 23 2002, 12:00 am
|
|
This library is now available for download through access to digitalBYOND.
Suggestions are especially appreciated. Version 1.5:
| |
#1 May 13 2011, 11:50 am
|
|
Best library I know of for quickly and effectively managing dynamically generated maps.
| |
#2 Jul 23 2011, 2:16 pm
|
||
One thing I've noticed is that it's faster to save or unload swapmaps if you delete the old swapmap file first:
I'm thinking the reason for this is probably because Swapmaps is performing some operation on the maps it unloads on if they already exist. If you watch the file while it does that, they deflate slowly before being rebuilt. (Of course, even a cooler implementation than just flat out deleting the old swapmaps is to back them up first with fcopy() in case your game needs to revert to an earlier version to recover.) | ||
#3 Aug 12 2011, 4:34 pm
|
|
Comments from a month ago? Awesome. I was just coming here to make sure this library was current/still functional. :)
| |
#4 Aug 12 2011, 5:32 pm
|
|
Well... the code still works. Although I think Lummox JR has moved on to other things.
| |
#5 Aug 13 2011, 9:33 pm
|
|
I'm not looking for updates... if it still works, I don't think it needs more than that.
| |