MantisBT - Zandronum |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0001924 | Zandronum | [All Projects] Suggestion | public | 2014-08-17 15:21 | 2018-09-30 22:15 |
|
Reporter | ZzZombo | |
Assigned To | Torr Samaho | |
Priority | normal | Severity | major | Reproducibility | N/A |
Status | closed | Resolution | fixed | |
Platform | | OS | | OS Version | |
Product Version | 2.0-beta | |
Target Version | 3.0 | Fixed in Version | 3.0 | |
|
Summary | 0001924: Backport IsTIDUsed() and UniqueTID() in v2.0 |
Description | These functions are very important in script-heavy mods. The first function basically replaces ThingCount(T_NONE,<TID>), but the main advantage is that it doesn't need to count EVERY actor in the game, it stops once an actor w/ the given TID is found and it also counts dead things; currently you have to use something like if(!SpawnSpotForced("dummy",TID)) if you really have to be sure the TID is free and as you can imagine, that resource and bandwidth costly. The second function is not that important, and can be written in ACS, but those two functions better to come in pair, since one uses another. |
Steps To Reproduce | |
Additional Information | I work on a mod that to be compatible w/ the most other modifications uses only free TIDs, and I imagined how horrible is the fact every call to UnusedTID() (my implementation of UniqueTID()) counts all actors present! |
Tags | No tags attached. |
Relationships | child of | 0002172 | closed | Torr Samaho | Upgrade GZDoom base to 1.8.6 |
|
Attached Files | 1924.wad (10,077) 2015-11-26 21:52 /tracker/file_download.php?file_id=1694&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2014-08-17 15:21 | ZzZombo | New Issue | |
2014-08-17 15:54 | Monsterovich | Note Added: 0010213 | |
2014-08-17 15:54 | Monsterovich | Note Edited: 0010213 | bug_revision_view_page.php?bugnote_id=10213#r5530 |
2014-08-17 15:56 | Monsterovich | Note Edited: 0010213 | bug_revision_view_page.php?bugnote_id=10213#r5531 |
2014-08-17 15:57 | Monsterovich | Note Edited: 0010213 | bug_revision_view_page.php?bugnote_id=10213#r5532 |
2014-08-17 15:59 | Monsterovich | Note Edited: 0010213 | bug_revision_view_page.php?bugnote_id=10213#r5533 |
2014-08-17 15:59 | Monsterovich | Note Edited: 0010213 | bug_revision_view_page.php?bugnote_id=10213#r5534 |
2014-08-31 19:19 | Torr Samaho | Note Added: 0010244 | |
2014-09-01 08:15 | Edward-san | Note Added: 0010246 | |
2014-09-01 08:15 | Edward-san | Note Edited: 0010246 | bug_revision_view_page.php?bugnote_id=10246#r5556 |
2014-09-04 06:28 | ZzZombo | Note Added: 0010247 | |
2014-09-21 15:33 | Torr Samaho | Note Added: 0010283 | |
2014-09-21 19:22 | Dusk | Assigned To | => Torr Samaho |
2014-09-21 19:22 | Dusk | Status | new => needs testing |
2015-05-10 22:15 | WaTaKiD | Target Version | => 3.0 |
2015-05-10 22:15 | WaTaKiD | Relationship added | child of 0002172 |
2015-11-26 21:52 | arkore | File Added: 1924.wad | |
2015-11-26 21:54 | arkore | Note Added: 0013886 | |
2015-11-28 19:53 | Dusk | Status | needs testing => resolved |
2015-11-28 19:53 | Dusk | Fixed in Version | => 3.0 |
2015-11-28 19:53 | Dusk | Resolution | open => fixed |
2018-09-30 22:15 | Blzut3 | Status | resolved => closed |
Notes |
|
(0010213)
|
Monsterovich
|
2014-08-17 15:54
(edited on: 2014-08-17 15:59) |
|
I think, it's possible to backport all acs functions from 2.7.1 to zan 2.0.
For example: GetActorClass is VERY useful for modders and for me too, but it's 2.7.1. D:
|
|
|
|
|
|
|
|
|
|
Played with the new binary given by Mazter, can confirm string manipulation and most of used functions work fine. For the rest I can't say. |
|
|
|
I ported the two patches mentioned in 0001924:0010246 and transplanted everything to our main repository. |
|
|
(0013886)
|
arkore
|
2015-11-26 21:54
|
|
I tested this (1924.wad) with:
- latest zan3 build r151123-1947-980fac1 (offline)
- latest zan3 build r151123-1947-980fac1 (online)
- gzdoom 1.8.6 (offline)
Results were as expected. |
|