Ryandor.com https://ryandor.com/forum/ |
|
UO Library of functions? https://ryandor.com/forum/viewtopic.php?f=4&t=2153 |
Page 1 of 1 |
Author: | Sydius [ Tue Feb 01, 2005 10:28 am ] |
Post subject: | UO Library of functions? |
Would anybody be interested in a library of functions that make loading/manipulating the UO data files super easy? I would leave out classes so that you could link it to any language. They would also take advantage of file-mapping and assembly optimizations. |
Author: | Dian [ Wed Feb 02, 2005 3:06 am ] |
Post subject: | |
That sounds very usefull for sure man, Id be interested at least ![]() |
Author: | Sydius [ Wed Feb 02, 2005 10:50 am ] |
Post subject: | |
What functions do you want to see included? For map-altering purposes, I think I?ll include two versions of every function, one which loads the map initially into RAM, and one that does not. That way, if you need to make a ton of changes, it would be super-fast while in RAM, but if you don?t, then you can save the load time and the RAM requirement by only grabbing the stuff you need. I can write the code if you guys can tell me what you would like. |
Author: | Sydius [ Wed Feb 02, 2005 10:56 am ] |
Post subject: | |
Some ideas: For mapx.mul: A function to get/write a block (8x8) of tiles. A function to get/write a single tile (ID, alt, or both). A function to load/write and convert the entire map into the standard ?X by Y? form (like an image, without the blocks). Functions to load/write the map from RAM, and give you raw access to the data while in RAM. For statics: A function that gives you/writes a list of items within a (8x8) block. A function that gives you/writes a list of items at a particular x/y (and x/y/z) location. A function that gives you/writes the corresponding ?radar? color for an item id. |
Author: | HellRazor [ Sun Feb 06, 2005 9:53 am ] |
Post subject: | |
Very interested in this! How about: Copy functions for both map and statics (provide x/y/offset info and off it goes) A function to generate multimap.rle automatically. Search and replace functions. |
Author: | punt1959 [ Sun Feb 27, 2005 12:13 pm ] |
Post subject: | similar |
There is a similar libarary (valley) over on the worldmaker site. Although it is c++ class based (so not meeting the same objectives as what you describe), it is a library class for manipulation of most of the mul's. This library is only c++, and is used by Worldforge. |
Page 1 of 1 | All times are UTC - 7 hours [ DST ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |