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

Public Member Functions | |
| void | get_border () |
| void | enter () |
| int | move (int mode) |
| void | draw () |
| void | draw_std () |
| void | draw_at () |
| void | draw_stray () |
| void | update () |
| void | update_in () |
| void | update_at () |
| void | update_out () |
| void | update_dying () |
| int | clicked (int locx, int locy) |
| int | clickedstray (int locx, int locy) |
| int | step_size (unsigned int lev) |
| Monster (Board *b, int mid=0) | |
| void | setMaxPixmaps (int maxBody, int maxEyes) |
| void | setArrested (int ticks, int duration) |
| void | setDangerous (int ticks, int IQ) |
| void | setHarmless (int ticks, int hDuration, int wDuration) |
| void | setREM (int ticks) |
| void | setPosition (int pos) |
| void | setPrison (int pos) |
| void | setFreedom (int pos) |
| void | setDirection (int dir) |
| monsterState | state () |
| int | position () |
| int | direction () |
| int | id () |
| bool | move () |
| int | body () |
| int | eyes () |
Public Attributes | |
| int | state |
| int | index |
| Picture * | cels |
| int | x |
| int | y |
| int | target_x |
| int | target_y |
| int | target_c |
| int | cargo |
| int | x_offset |
| int | y_offset |
| int | sx |
| int | sy |
Static Public Attributes | |
| static const int | SLOW = 0 |
| static const int | FAST = 1 |
| static const int | OFF = 0 |
| static const int | IN = 1 |
| static const int | AT = 2 |
| static const int | OUT = 3 |
| static const int | DYING = 4 |
| static const int | STRAY = 5 |
| static const int | GRAVITY = 3 |
| static const int | XOFFSET = 20 |
| static const int | YOFFSET = 3 |
Private Attributes | |
| Board * | board |
| int | ID |
| int | IQ |
| monsterState | actualState |
| int | pauseDuration |
| int | pause |
| int | dangerousPause |
| int | harmlessDuration |
| int | harmlessLeft |
| int | warningDuration |
| int | arrestDuration |
| int | arrestLeft |
| int | arrestPause |
| int | actualDirection |
| int | lastDirection |
| int | actualPosition |
| int | lastPosition |
| int | feetPosition |
| int | maxBodyPixmaps |
| int | maxEyesPixmaps |
| int | prisonPosition |
| int | freedomPosition |
|
||||||||||||
|
Definition at line 3 of file monster.cpp. References actualPosition, board, feetPosition, ID, IQ, lastPosition, maxBodyPixmaps, maxEyesPixmaps, monsterhome, OUT, Board::position(), prisonentry, prisonexit, setArrested(), setFreedom(), setHarmless(), setPrison(), and setREM(). |
|
|
Definition at line 227 of file monster.cpp. References actualPosition, actualState, feetPosition, harmless, harmlessLeft, ID, maxBodyPixmaps, OUT, rem, and warningDuration. Referenced by Referee::introMonster(). |
|
||||||||||||
|
Definition at line 196 of file Monster.cc. References bill, Horde::height, x, and y. Referenced by Game::button_press(). |
|
||||||||||||
|
Definition at line 200 of file Monster.cc. References Library::height, OS, x, and y. Referenced by Game::button_press(). |
|
|
Definition at line 103 of file monster.cpp. References actualDirection. |
|
|
Definition at line 63 of file Monster.cc. References AT, draw_at(), draw_std(), draw_stray(), DYING, IN, OUT, state(), and STRAY. Referenced by Horde::draw(). |
|
|
Definition at line 214 of file Monster.cc. References cargo, cels, Network::computers, UI::draw(), index, net, Library::os, OS, sx, sy, target_c, ui, x, x_offset, y, and y_offset. Referenced by draw(). |
|
|
Definition at line 208 of file Monster.cc. References cargo, cels, UI::draw(), index, Library::os, OS, ui, x, x_offset, y, and y_offset. Referenced by draw(). |
|
|
Definition at line 223 of file Monster.cc. References bill, cargo, UI::draw(), game, Game::grabbed, Horde::list, Library::os, OS, ui, x, and y. Referenced by draw(). |
|
|
Definition at line 16 of file Monster.cc. References bill, cargo, cels, Network::computers, game, get_border(), IN, index, Horde::lcels, net, Horde::off_screen, Horde::on_screen, OS, Game::RAND(), state(), target_c, target_x, target_y, Network::units, Network::width, Library::WINGDOWS, Computer::x, x, x_offset, XOFFSET, Computer::y, y, y_offset, and YOFFSET. Referenced by Horde::launch(). |
|
|
Definition at line 242 of file monster.cpp. References actualDirection, actualPosition, actualState, E, harmless, lastDirection, N, OUT, S, W, and X. Referenced by Referee::introMonster(). |
|
|
Definition at line 3 of file Monster.cc. References bill, game, Horde::height, i, Game::RAND(), Game::scrheight, Game::scrwidth, target_x, target_y, and Horde::width. Referenced by enter(), and update_at(). |
|
|
Definition at line 108 of file monster.cpp. References ID. |
|
|
Definition at line 113 of file monster.cpp. References actualDirection, actualPosition, actualState, arrestDuration, arrestLeft, arrestPause, board, brick, Board::closeup(), d, dangerous, dangerousPause, E, empty, FALSE, feetPosition, freedomPosition, harmless, harmlessLeft, ID, IQ, Board::isWay(), lastPosition, maxBodyPixmaps, monster, Board::move(), N, OUT, pacman, pause, pauseDuration, Board::position(), prison, prisonPosition, rem, Board::reset(), S, Board::set(), TRUE, tunnel, Board::turn(), W, Board::x(), X, and Board::y(). Referenced by update_in(), and update_out(). |
|
|
Definition at line 32 of file Monster.cc. References abs, bill, cels, FAST, game, Horde::lcels, Game::level, Horde::rcels, SLOW, step_size(), target_x, target_y, x, and y. |
|
|
Definition at line 98 of file monster.cpp. References actualPosition. Referenced by Referee::introMonster(). |
|
||||||||||||
|
Definition at line 32 of file monster.cpp. References actualState, arrestDuration, arrestLeft, arrestPause, dangerous, harmlessLeft, pause, and pauseDuration. Referenced by Referee::initMonsters(), and Monster(). |
|
||||||||||||
|
Definition at line 42 of file monster.cpp. References actualState, dangerous, dangerousPause, harmlessLeft, IQ, pause, and pauseDuration. Referenced by Referee::initMonsters(), and Referee::introMonster(). |
|
|
Definition at line 86 of file monster.cpp. References actualDirection, lastDirection, and X. Referenced by Referee::initMonsters(), and Referee::introMonster(). |
|
|
Definition at line 81 of file monster.cpp. References freedomPosition. Referenced by Referee::initMonsters(), and Monster(). |
|
||||||||||||||||
|
Definition at line 52 of file monster.cpp. References actualState, harmless, harmlessDuration, harmlessLeft, pause, pauseDuration, and warningDuration. Referenced by Monster(). |
|
||||||||||||
|
Definition at line 24 of file monster.cpp. References feetPosition, maxBodyPixmaps, and maxEyesPixmaps. Referenced by Referee::initMonsters(), and Referee::introMonster(). |
|
|
Definition at line 68 of file monster.cpp. References actualPosition, board, feetPosition, ID, lastPosition, monster, Board::reset(), and Board::set(). Referenced by Referee::initMonsters(), and Referee::introMonster(). |
|
|
Definition at line 76 of file monster.cpp. References prisonPosition. Referenced by Referee::initMonsters(), and Monster(). |
|
|
Definition at line 61 of file monster.cpp. References actualState, pause, pauseDuration, and rem. Referenced by Monster(). |
|
|
Referenced by draw(), enter(), update(), update_at(), update_dying(), update_in(), and update_out(). |
|
|
Definition at line 204 of file Monster.cc. References game, and Game::MIN(). Referenced by move(). |
|
|
Definition at line 186 of file Monster.cc. References AT, DYING, IN, OUT, state(), update_at(), update_dying(), update_in(), and update_out(). Referenced by Horde::update(). |
|
|
Definition at line 101 of file Monster.cc. References Network::base, bill, Computer::busy, cargo, cels, Network::computers, Computer::find_stray(), get_border(), Library::height, Horde::height, index, Horde::lcels, Horde::list, net, Network::off, OFF, Library::OFF, Computer::os, OS, OUT, state, sx, sy, target_c, Network::win, Library::WINGDOWS, x, x_offset, and y_offset. Referenced by update(). |
|
|
Definition at line 173 of file Monster.cc. References bill, cargo, Horde::DCELS, GRAVITY, index, OFF, Horde::on_screen, OS, state(), STRAY, Library::WINGDOWS, y, and y_offset. Referenced by update(). |
|
|
Definition at line 75 of file Monster.cc. References Horde::acels, AT, bill, Computer::busy, cels, Network::computers, game, i, index, move(), net, OS, Game::RAND(), SLOW, state(), target_c, target_x, target_y, Network::units, Horde::WCELS, Network::width, Library::WINGDOWS, Computer::x, XOFFSET, Computer::y, y_offset, and YOFFSET. Referenced by update(). |
|
|
Definition at line 156 of file Monster.cc. References bill, FAST, game, Horde::height, index, Game::INTERSECT(), move(), OFF, Horde::off_screen, Horde::on_screen, Game::scrheight, Game::scrwidth, state(), Horde::WCELS, Horde::width, x, y, and y_offset. Referenced by update(). |
|
|
Definition at line 50 of file monster.h. Referenced by direction(), eyes(), move(), and setDirection(). |
|
|
Definition at line 52 of file monster.h. Referenced by body(), eyes(), Monster(), move(), position(), and setPosition(). |
|
|
Definition at line 36 of file monster.h. Referenced by body(), eyes(), move(), setArrested(), setDangerous(), setHarmless(), and setREM(). |
|
|
Definition at line 46 of file monster.h. Referenced by move(), and setArrested(). |
|
|
Definition at line 47 of file monster.h. Referenced by move(), and setArrested(). |
|
|
Definition at line 48 of file monster.h. Referenced by move(), and setArrested(). |
|
|
Definition at line 25 of file Monster.h. Referenced by Game::button_press(), draw(), update(), and update_in(). |
|
|
Definition at line 32 of file monster.h. Referenced by Monster(), move(), and setPosition(). |
|
|
Definition at line 15 of file Monster.h. Referenced by Game::button_press(), Game::button_release(), draw_at(), draw_std(), draw_stray(), enter(), update_at(), and update_dying(). |
|
|
Definition at line 10 of file Monster.h. Referenced by Game::button_press(), draw_at(), draw_std(), enter(), move(), update_at(), and update_in(). |
|
|
Definition at line 40 of file monster.h. Referenced by move(), and setDangerous(). |
|
|
Definition at line 27 of file Monster.h. Referenced by Game::button_press(), draw(), and update(). |
|
|
Definition at line 21 of file Monster.h. Referenced by move(), and update_out(). |
|
|
Definition at line 54 of file monster.h. Referenced by body(), Monster(), move(), setMaxPixmaps(), and setPosition(). |
|
|
Definition at line 58 of file monster.h. Referenced by move(), and setFreedom(). |
|
|
Definition at line 30 of file Monster.h. Referenced by update_dying(). |
|
|
Definition at line 42 of file monster.h. Referenced by setHarmless(). |
|
|
Definition at line 43 of file monster.h. Referenced by body(), move(), setArrested(), setDangerous(), and setHarmless(). |
|
|
Definition at line 33 of file monster.h. Referenced by body(), id(), Monster(), move(), and setPosition(). |
|
|
|
|
|
Definition at line 9 of file Monster.h. Referenced by Game::button_press(), draw_at(), draw_std(), enter(), update_at(), update_dying(), update_in(), and update_out(). |
|
|
Definition at line 34 of file monster.h. Referenced by Monster(), move(), and setDangerous(). |
|
|
Definition at line 51 of file monster.h. Referenced by eyes(), and setDirection(). |
|
|
Definition at line 53 of file monster.h. Referenced by Monster(), move(), and setPosition(). |
|
|
Definition at line 55 of file monster.h. Referenced by body(), Monster(), move(), and setMaxPixmaps(). |
|
|
Definition at line 56 of file monster.h. Referenced by Monster(), and setMaxPixmaps(). |
|
|
Definition at line 23 of file Monster.h. Referenced by Game::button_press(), Game::button_release(), Horde::setup(), update_at(), update_dying(), and update_out(). |
|
|
Definition at line 26 of file Monster.h. Referenced by body(), draw(), eyes(), Monster(), move(), update(), and update_at(). |
|
|
Definition at line 39 of file monster.h. Referenced by move(), setArrested(), setDangerous(), setHarmless(), and setREM(). |
|
|
Definition at line 38 of file monster.h. Referenced by move(), setArrested(), setDangerous(), setHarmless(), and setREM(). |
|
|
Definition at line 57 of file monster.h. Referenced by move(), and setPrison(). |
|
|
Definition at line 20 of file Monster.h. Referenced by move(), and update_in(). |
|
|
Definition at line 93 of file monster.cpp. Referenced by Game::button_press(), Game::button_release(), Computer::find_stray(), Horde::setup(), and update_at(). |
|
|
Definition at line 28 of file Monster.h. Referenced by Game::button_press(), draw(), Computer::find_stray(), and update_dying(). |
|
|
Definition at line 18 of file Monster.h. Referenced by draw_at(), and update_at(). |
|
|
Definition at line 18 of file Monster.h. Referenced by draw_at(), and update_at(). |
|
|
Definition at line 14 of file Monster.h. Referenced by Game::button_press(), draw_at(), enter(), update_at(), and update_in(). |
|
|
Definition at line 12 of file Monster.h. Referenced by enter(), get_border(), move(), and update_in(). |
|
|
Definition at line 13 of file Monster.h. Referenced by enter(), get_border(), move(), and update_in(). |
|
|
Definition at line 44 of file monster.h. Referenced by body(), and setHarmless(). |
|
|
Definition at line 11 of file Monster.h. Referenced by clicked(), clickedstray(), draw_at(), draw_std(), draw_stray(), enter(), Computer::find_stray(), move(), update_at(), and update_out(). |
|
|
Definition at line 16 of file Monster.h. Referenced by Game::button_press(), draw_at(), draw_std(), enter(), and update_at(). |
|
|
Definition at line 32 of file Monster.h. Referenced by enter(), Computer::setup(), and update_in(). |
|
|
Definition at line 11 of file Monster.h. Referenced by clicked(), clickedstray(), draw_at(), draw_std(), draw_stray(), enter(), Computer::find_stray(), move(), update_dying(), and update_out(). |
|
|
Definition at line 17 of file Monster.h. Referenced by Game::button_press(), draw_at(), draw_std(), enter(), update_at(), update_dying(), update_in(), and update_out(). |
|
|
Definition at line 33 of file Monster.h. Referenced by enter(), and update_in(). |
1.4.2