F_Weather

by Fushimi
F_Weather is efficient, simple and relatively easy to use! [More]
To download this library for your Linux/Mac installation, enter this on your command line:

DreamDownload byond://Fushimi.F_Weather##version=10

Emulator users, in the BYOND pager go to File | Open Location and enter this URL:

byond://Fushimi.F_Weather##version=10

292 downloads
Version 2
Date added: Dec 23 2012
Last updated: Mar 1 2013
6 fans
Updated! Released BUILD 2.0.3.9

- Version History -
v 2 (BUILD 2.0.3.9)
* The library now uses F_Handler instead of Deadron's EventLoop library.

v 2 (BUILD 2.0.3.5)
* Re-programmed the entire library.
* Re-organized the project, and its codes.
* This new release features much more efficient ways of handling weathers.
* You can now create your own WeatherTypes, of your desired duration.
* Adjust FDEF_WEATHER_ICON accordingly to match your Weather file icon!

v 1.1
*Fixed the uglyness of semicolons and braces.
*Removed some unsafe statements on the main procs.

If you encounter any bug, issue or missunderstanding, feel free to contact me via pager.

Comments

Fushimi: (Mar 1 2013, 6:25 pm)
Rleased BUILD 2.0.3.9:
I have adapted the library to not work with Deadron EventLoop anymore. Instead it will be using my F_Handler library (which should be automatically downloaded when updating).

Before this upgrade, I would suggest you delete the previous version through your BYOND Pager -> MyHub -> Edit...
Since I have appreaciated some people who downloaded previous versions, still keep the old files in the folder, and they are not meant to be there. Case of implementation.dm, required.dm and a few others.
Fushimi: (Feb 24 2013, 4:36 pm)
I have taken your suggestion into account Stephen.
I have been a bit busy working with Kaizoku's team.
I was somehow free enough today to reprogram the library, I am about to upload the v2 as I finish the documentation.
Am anxious to hear feedback.
Stephen001: (Jan 12 2013, 1:46 pm)
This generally looks like the business!

I have some suggestions, to help improve the library's usability though, and so it's potential for being used in games.

Currently the types and number of weather is fixed, currently. Could you allow for people to provide their own WeatherType datum, that specifies the icon to use, duration of the weather, name etc, and use that in your code that cycles between the different types of weather?

This would allow for two things. 1. overriding the look of weather, and 2. adding more / different weather, like acid rain, ion storms etc etc.
SuperAntx: (Dec 28 2012, 12:24 pm)
It would be nice if you could somehow "include" other libs when publishing your own lib. Maybe link to other hub entries and have them automatically downloaded when downloading your lib?
Fushimi: (Dec 24 2012, 1:50 pm)
It's been mentioned: "external resources from Dantom's EventLoop library.)" although I didn't do it directly, hub modified.