Today, I uploaded newsimpletalk.h, an update to simpletalk.h, my includable-extension version of ICJ's phototalk port.
The new version cuts down on several for loops and general ugliness by switching to property arrays from regular arrays. I think I finally figured out why Adam had some bitmasking code in the original; I've added some functionality for distinguishing between unavailable-quips-that-have-already-been-spoken and unavailable-quips-that-have-not-been-spoken. I figure there are scenarios where that might be important.
Overall, I think I'll still prefer my other conversation system, as that one doesn't kick you out of the conversation menu every time you make a choice and is just generally more configurable. Still, I imagine lots of authors might want to avoid the headache of learning that extension, so the simplicity of this one might be appealing.
Here is the link to the Hugo By Example page for it: http://hugo.gerynarsabode.org/index.php ... mpletalk.h
I've actually update simpletalk.h to do the new was-the-quip-spoken? thing. That has the benefit of (hopefully) still working with old phototalk code.
"NewSimpletalk" release
Moderators: Ice Cream Jonsey, joltcountry
-
- Posts: 2256
- Joined: Mon Apr 29, 2002 6:23 pm
- Location: Milwaukee
-
- Posts: 2256
- Joined: Mon Apr 29, 2002 6:23 pm
- Location: Milwaukee