Search results

  1. D

    System Solid Action Bars (not completed)

    So, what does this library bring to the table, other than a new interface for things that are already possible within existing systems, which, by the way, are more efficient and rather feature-complete? Why does this library have to exist?
  2. D

    System LightningRecycle

    images are being recycled. They dont, however, use reference counting. Ubersplats are just glorified images.
  3. D

    System TexttagUtils

    Im not sure i should even bother with this. How about you try and not leak texttag instances when a user makes multiple calls to VTexttag.display() (in order to, for example, change the text of the texttag)? Why do you even bother making the alpha channel available to the user? Have you even...
  4. D

    Spell [vJASS]Rupture [v1.2f] by baassee

    As you can see, the original code also sucked and is in no way comparable to the version posted here. I hope you dont seriously expect me to dissect code riddled with gamecache and locations? If you dont want to change your code, this should go straight to the graveyard, since you wont...
  5. D

    System Timed Buffs System

    T32 doesnt support timeouts other than what specified in its constants section. T32 also has a maximum error of PERIOD/2 in the best implementations (which are slightly more complex) and a maximum error of PERIOD in less complex implementations. Timers used directly dont have any error. Btw...
  6. D

    System Timed Buffs System

    So intead of fixing your problems on your end, youre going to force the user to fix YOUR problem on HIS end. Way to go. Go and implement support for real-value durations. The create method in your struct is unneeded. Try an array of Tables and store the fricken struct instance, not the...
  7. D

    System Advanced Indexing & Data Storage

    you could also use Table. That would be more efficient if you need random access, and not only linear access.
  8. D

    Thanks for the feedback, I'm glad you like Gravity Hook.

    Thanks for the feedback, I'm glad you like Gravity Hook.
  9. D

    Snippet Handle

    Actually, AutoIndex and AIDS are rather recent. Because thats the way both libraries work. They (ab)use units with "Defend" based ability being issued "undefend" before they get removed (and on death, IIRC). And instead of requiring you to create a specific object yourself, they create the...
  10. D

    System Unit Indexer

    So show me code where locking actually saves the day, and could not be replaced by AutoDestroy and/or good code. Someone mentioned KT2. Im not too familiar with KT2s API, but i think you cant stop scheduled execution of code from outside (ie. you have to execute the next iteration and stop it...
  11. D

    System Unit Indexer

    Do you really think that a shortened implementation of AutoIndex is going to be as robust as its original? Why do you even debate its usefulness? It doesnt contribute anything that wasnt there before, or is useful. After some debate between me and someone else, we came to the conclusion that...
  12. D

    System Bars

    Destructables cant be picked up, AFAIK. Attaching to items could be externalized, as items cant move and can only be moved by a unit (and code). If the item you want to follow is in a units inventory, attach the bar to the unit. Changing an items position could be captured using hooks (same...
  13. D

    Snippet String Colors

    call IncreaseRed(0xFF000000) function IncreaseRed takes ARGB color returns ARGB set color.red=color.red+16 return color endfunction Note how this does NOT change the color passed to it. Doing that with strings is a bit cumbersome and involves a lot of SubStrings and StringHash...
  14. D

    System Bars

    As i said a few sentences later, when all else (talking the coder of the current "best" into adding a feature) fails and the current "best" library does not have an important feature, you should probably write your own. Exactly. You dont need to mix code for those things. They can be implemented...
  15. D

    System Bars

    1.) Perhaps, yes. Im sorry, you lost me there. What do you want me to describe? Which is an irrelevant feature of a bar. Make a separate library for that, which deals specifically with the problem of associating a bar to a construction process.
  16. D

    Snippet String Colors

    because working with strings is messy. And using an integer is a bit more secure than letting the user input the correct data himself.
  17. D

    Snippet String Colors

    I prefer ARGB(0xFFFFCC00) over ARGB.create(255, 255, 0xCC, 0) any time. Not to mention that passing a single integer is a few times more convenient (no need for cleanup, you can have color constants). You can use colors for things other than text. Maybe alpha doesnt work on text, but it sure...
  18. D

    System Bars

    1.) Do you want to write a library other people are going to use and build upon, or do you not? If you want to allow others to build upon your work, it would make sense to include the option of different basic chars. Not every bar has to look the same. 2.) No. 3.) No. Why im making this...
  19. D

    System Bars

    1.) different chars for different bars. 2.) I want everyone to use what is best (ideally there should only be one library). I dont want to discourge people from thinking of better ways to do something. I dont want people NOT thinking about improving it. If you can improve it, go ahead, maybe...
  20. D

    System Bars

    Not exactly adjusting at run-time (ie. some time after creating the bar), but when creating the bar (other people might want to use other characters for a bar like "|"). No. If you go into more detail as to what made you think that, i may be able to give an explanation. Confusion over which...
Top