[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Setting Actions
From: |
John August |
Subject: |
Setting Actions |
Date: |
Sat, 1 May 2004 11:36:29 +1000 |
User-agent: |
Mutt/1.0.1i |
David / Ingo / Others,
I'm now wondering how the click for an action translates to the action
state for a pingu. We know that Pingu::request_set_action (PinguAction*
act) sets a given action. But how is this called ?
Presumably, when the button is clicked on one of the actions on the list to
the left of the screen, the "current action to set" is set to the one you
click on.
We have the question of how this list is set up ?
Then, when you click on a pingu, Pingu::request_set_action is called with
that "current action to set".
But, what are the bits which happen in betweeen ? And how does the program
keep count of the number of actions remaining, which updates to the screen,
and stops you from setting more than the allowed number of bombers, or
whatever ?
Thanks,
--
The enemy advances, we retreat.
The enemy retreats, we advance.
The enemy stops, we harrass.
The enemy tires, we attack.
Mao Tse-Tung, The Principles of Guerilla Warfare
John August.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Setting Actions,
John August <=