[Bug 53971] New: Better events-type system for sounds
matthew vilcsak <[email protected]>
| Newsgroups | gmane.comp.kde.devel.atlantik |
|---|---|
| Message-ID | <[email protected]> |
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=53971
Summary: Better events-type system for sounds
Product: atlantik
Version: unspecified
Platform: Gentoo Packages
OS/Version: Linux
Status: UNCONFIRMED
Severity: wishlist
Priority: NOR
Component: general
AssignedTo: [email protected]
ReportedBy: [email protected]
Version: (using KDE KDE 3.0.5)
Installed from: Gentoo Packages
Well, as I'm implementing a system for sounds right now, I have to use some kludgy hacks to single out events for playing them
a couple examples:
using sscanf() to find the roll display message to play a dice-rolling sound, as using canroll doesn't seem to work if the player isn't you
a player is paying money or receiving money (like for rent), checking to see if the player has the turn, and checking the previous value of money against the new value (which doesn't allow me to have specific events for mortgaging, or buying or selling houses, as the sounds will overlap)
I'd just like to see a really simple event system, like these:
<event type="buyhouse"/>
<event type="mortgage"/>
<event type="rent"/>
<event type="paymoney"/> (like for the Poor tax card)
<event type="roll"/>
I can check whether or not a person has gone to jail fairly easily, and I realize that this wouldn't be the best system (or easiest to implement)
anyways, thanks for reading this anyhow