#include </home/clem/local/src/opie/noncore/games/oyatzee/oyatzee.h>
Collaboration diagram for Player:

Public Member Functions | |
| Player (QString name) | |
| void | setResults (const int, const int) |
| void | updateTotalPoints (QMap< int, int >) |
| Player (int w, int h) | |
| ~Player () | |
| void | init () |
| void | draw (SDL_Surface *screen) |
| void | drawTrails (SDL_Surface *screen) |
| void | move (bool up) |
| void | moveTrails () |
| Rect | getPos () |
| int | getX () |
| int | getY () |
| int | getHeight () |
| bool | updateCrashing () |
| void | setMovementInfo (double up, double grav, double maxUp, double maxDown) |
| void | incValue (int valType) |
| void | decValue (int valType) |
| double | getValue (int valueType) |
| string | getValueString (int valueType) |
| string | getValueTypeString (int valueType) |
| void | setValue (int valueType, double val) |
Public Attributes | |
| QString | playerName |
| int | totalPoints |
| int | turn |
Private Member Functions | |
| void | setupResultList () |
Private Attributes | |
| QValueListInt | pResults |
| AnimatedImage * | explosion |
| int | sWidth |
| int | sHeight |
| bool | expNextFrame |
| bool | allFaded |
| bool | crashing |
| bool | crashed |
| int | crashLineLength |
| Rect | pos |
| double | currentThrust |
| double | thrust |
| double | gravity |
| double | maxUpSpeed |
| double | maxDownSpeed |
| Rect | trail [TRAILSIZE] |
|
|
Definition at line 549 of file oyatzee.cpp. References playerName, setupResultList(), and turn. |
|
||||||||||||
|
Definition at line 9 of file player.cpp. References explosion, gravity, IMAGES_PATH, init(), maxDownSpeed, maxUpSpeed, sHeight, sWidth, and thrust. |
|
|
Definition at line 23 of file player.cpp. References explosion. |
|
|
Definition at line 180 of file player.cpp. References gravity, maxDownSpeed, maxUpSpeed, PLAYER_GRAVITY, PLAYER_MAX_SPEED_DOWN, PLAYER_MAX_SPEED_UP, PLAYER_THRUST, and thrust. |
|
|
Definition at line 54 of file player.cpp. References crashed, crashing, AnimatedImage::draw(), drawTrails(), explosion, Rect::h(), pos, Rect::w(), Rect::x(), and Rect::y(). Referenced by SFCaveGame::draw(), GatesGame::draw(), and FlyGame::draw(). |
|
|
Definition at line 74 of file player.cpp. References allFaded, crashing, i, pos, trail, TRAILSIZE, Rect::x(), Opie::MM::x, and Opie::MM::y. Referenced by draw(). |
|
|
Definition at line 23 of file player.h. References Rect::h(), and pos. Referenced by SFCaveGame::checkCollisions(), GatesGame::checkCollisions(), and FlyGame::checkCollisions(). |
|
|
Definition at line 20 of file player.h. References pos. Referenced by SFCaveGame::checkCollisions(), and GatesGame::checkCollisions(). |
|
|
Definition at line 218 of file player.cpp. References gravity, maxDownSpeed, maxUpSpeed, PLAYER_GRAVITY, PLAYER_MAX_SPEED_DOWN, PLAYER_MAX_SPEED_UP, PLAYER_THRUST, thrust, and val. |
|
|
Definition at line 262 of file player.cpp. References gravity, maxDownSpeed, maxUpSpeed, PLAYER_GRAVITY, PLAYER_MAX_SPEED_DOWN, PLAYER_MAX_SPEED_UP, PLAYER_THRUST, Opie::Internal::string(), thrust, and val. |
|
|
Definition at line 240 of file player.cpp. References PLAYER_GRAVITY, PLAYER_MAX_SPEED_DOWN, PLAYER_MAX_SPEED_UP, PLAYER_THRUST, Opie::Internal::string(), and val. |
|
|
Definition at line 21 of file player.h. References pos, and Rect::x(). Referenced by SFCaveGame::checkCollisions(), GatesGame::checkCollisions(), and FlyGame::checkCollisions(). |
|
|
Definition at line 22 of file player.h. References pos, and Rect::y(). Referenced by SFCaveGame::checkCollisions(), GatesGame::checkCollisions(), FlyGame::checkCollisions(), and FlyGame::update(). |
|
|
Definition at line 161 of file player.cpp. References gravity, maxDownSpeed, maxUpSpeed, PLAYER_GRAVITY, PLAYER_MAX_SPEED_DOWN, PLAYER_MAX_SPEED_UP, PLAYER_THRUST, and thrust. |
|
|
Definition at line 29 of file player.cpp. References allFaded, crashed, crashing, crashLineLength, currentThrust, explosion, expNextFrame, Rect::h(), i, pos, AnimatedImage::reset(), sWidth, trail, TRAILSIZE, Rect::w(), Rect::x(), and Rect::y(). Referenced by Player(). |
|
|
Definition at line 89 of file player.cpp. References currentThrust, gravity, maxDownSpeed, maxUpSpeed, Rect::moveBy(), moveTrails(), pos, and thrust. Referenced by SFCaveGame::update(), GatesGame::update(), and FlyGame::update(). |
|
|
Definition at line 107 of file player.cpp. References allFaded, crashing, i, pos, trail, TRAILSIZE, Rect::x(), Opie::MM::x, and Rect::y(). Referenced by move(), and updateCrashing(). |
|
||||||||||||||||||||
|
Definition at line 152 of file player.cpp. References gravity, maxDownSpeed, maxUpSpeed, and thrust. Referenced by SFCaveGame::init(), GatesGame::init(), and FlyGame::init(). |
|
||||||||||||
|
Definition at line 578 of file oyatzee.cpp. References QValueList< T >::at(), and pResults. |
|
|
Definition at line 556 of file oyatzee.cpp. References QValueList< T >::append(), and pResults. Referenced by Player(). |
|
||||||||||||
|
Definition at line 199 of file player.cpp. References gravity, maxDownSpeed, maxUpSpeed, PLAYER_GRAVITY, PLAYER_MAX_SPEED_DOWN, PLAYER_MAX_SPEED_UP, PLAYER_THRUST, and thrust. |
|
|
Definition at line 136 of file player.cpp. References crashed, crashing, explosion, expNextFrame, moveTrails(), and AnimatedImage::nextFrame(). Referenced by Game::update(). |
|
|
|
|
|
Definition at line 40 of file player.h. Referenced by drawTrails(), init(), and moveTrails(). |
|
|
Definition at line 42 of file player.h. Referenced by draw(), init(), and updateCrashing(). |
|
|
Definition at line 41 of file player.h. Referenced by draw(), drawTrails(), init(), moveTrails(), and updateCrashing(). |
|
|
Definition at line 43 of file player.h. Referenced by init(). |
|
|
|
|
|
Definition at line 34 of file player.h. Referenced by draw(), init(), Player(), updateCrashing(), and ~Player(). |
|
|
Definition at line 39 of file player.h. Referenced by init(), and updateCrashing(). |
|
|
Definition at line 48 of file player.h. Referenced by decValue(), getValue(), getValueString(), incValue(), move(), Player(), setMovementInfo(), and setValue(). |
|
|
Definition at line 50 of file player.h. Referenced by decValue(), getValue(), getValueString(), incValue(), move(), Player(), setMovementInfo(), and setValue(). |
|
|
Definition at line 49 of file player.h. Referenced by decValue(), getValue(), getValueString(), incValue(), move(), Player(), setMovementInfo(), and setValue(). |
|
|
Definition at line 204 of file oyatzee.h. Referenced by Scoreboard::createResultboards(), and Player(). |
|
|
Definition at line 44 of file player.h. Referenced by draw(), drawTrails(), getHeight(), getPos(), getX(), getY(), init(), move(), and moveTrails(). |
|
|
Definition at line 214 of file oyatzee.h. Referenced by setResults(), and setupResultList(). |
|
|
Definition at line 37 of file player.h. Referenced by Player(). |
|
|
|
|
|
Definition at line 47 of file player.h. Referenced by decValue(), getValue(), getValueString(), incValue(), move(), Player(), setMovementInfo(), and setValue(). |
|
|
|
|
|
Definition at line 52 of file player.h. Referenced by drawTrails(), init(), and moveTrails(). |
|
|
Definition at line 209 of file oyatzee.h. Referenced by Player(). |
1.4.2