Anonymous | Login | Signup for a new account | 2024-03-28 15:53 UTC |
My View | View Issues | Change Log | Roadmap | Zandronum Issue Support Ranking | Rules | My Account |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0001604 | Zandronum | [All Projects] Suggestion | public | 2013-12-07 03:41 | 2018-09-30 23:06 | ||||
Reporter | Chronos Ouroboros | ||||||||
Assigned To | Torr Samaho | ||||||||
Priority | normal | Severity | feature | Reproducibility | N/A | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | 2.0 | Fixed in Version | 2.0 | ||||||
Summary | 0001604: Backport frandom | ||||||||
Description | frandom(returns a random floating point value between min and max) is a feature used by a bunch of mods, this could make several wads and Realm667 entries compatible with Zandronum. | ||||||||
Attached Files | |||||||||
Relationships | ||||||
|
Notes | |
(0007668) Chronos Ouroboros (reporter) 2013-12-07 03:42 edited on: 2013-12-07 03:43 |
I tried searching for this but there was no feature suggestion about this, so I added it since this is a very useful feature. It's also my first suggestion, I don't know if I made it right... |
(0008003) Llewellyn (reporter) 2014-01-14 18:49 |
If you really need FRandom right now, you can do what the source does right now for random, which is to multiply a decimal and a random number. An example used in the Decorate is to get the FRandom of 1 and 4.984375, you subtract the lower bound (1), and divide 255. Then in your replacement you do this: 1 + random(0, 255) * 0.015625 |
(0008004) Dusk (developer) 2014-01-14 20:14 |
frandom should be present in Zandronum 2.0 alpha. |
(0008275) Qent (updater) 2014-02-23 17:38 |
Frandom works fine. There's some weird behavior were the result gets truncated to an int before doing some operations, but that is also a bug in ZDoom 2.5.0. |
This issue is already marked as resolved. If you feel that is not the case, please reopen it and explain why. |
|
Supporters: | Chronos Ouroboros Phobos |
Opponents: | No one explicitly opposes this issue yet. |
Issue History | |||
Date Modified | Username | Field | Change |
2013-12-07 03:41 | Chronos Ouroboros | New Issue | |
2013-12-07 03:42 | Chronos Ouroboros | Note Added: 0007668 | |
2013-12-07 03:43 | Chronos Ouroboros | Note Edited: 0007668 | View Revisions |
2014-01-14 18:49 | Llewellyn | Note Added: 0008003 | |
2014-01-14 20:14 | Dusk | Note Added: 0008004 | |
2014-01-14 20:14 | Dusk | Assigned To | => Torr Samaho |
2014-01-14 20:14 | Dusk | Status | new => needs testing |
2014-01-14 20:14 | Dusk | Relationship added | parent of 0001642 |
2014-01-14 20:15 | Dusk | Relationship added | child of 0001490 |
2014-01-14 20:15 | Dusk | Relationship deleted | parent of 0001642 |
2014-01-14 20:15 | Dusk | Target Version | => 2.0 |
2014-02-23 17:38 | Qent | Note Added: 0008275 | |
2014-02-23 17:38 | Qent | Status | needs testing => resolved |
2014-02-23 17:38 | Qent | Fixed in Version | => 2.0-beta |
2014-02-23 17:38 | Qent | Resolution | open => fixed |
2015-01-23 04:56 | Blzut3 | Fixed in Version | 2.0-beta => 2.0 |
2018-09-30 23:06 | Blzut3 | Status | resolved => closed |
Copyright © 2000 - 2024 MantisBT Team |