|
Public Methods |
| | cBoat () |
| P_ITEM | GetBoat (Location pos) |
| | check if there is a boat at this position and return the boat
|
| virtual | ~cBoat () |
| LOGICAL | Speech (P_CHAR pc, NXWSOCKET socket, std::string &talk) |
| void | OpenPlank (P_ITEM pi) |
| void | PlankStuff (P_CHAR pc, P_ITEM pi) |
| LOGICAL | Build (NXWSOCKET s, P_ITEM pBoat, char) |
| void | Move (NXWSOCKET s, int dir, P_ITEM pBoat) |
| void | Turn (P_ITEM, int) |
| void | remove () |
| void | setTiller (SERIAL tillerSerial) |
| void | setTiller (P_ITEM tiller) |
| void | setLeftPlank (SERIAL plankSerial) |
| void | setLeftPlank (P_ITEM plank) |
| void | setRightPlank (SERIAL plankSerial) |
| void | setRightPlank (P_ITEM plank) |
| void | setHold (SERIAL holdSerial) |
| void | setHold (P_ITEM hold) |
| void | setShipLink (P_ITEM ship) |
| P_ITEM | getTiller () |
| P_ITEM | getLeftPlank () |
| P_ITEM | getRightPlank () |
| P_ITEM | getHold () |
| P_ITEM | getShipLink () |
Static Public Methods |
| LOGICAL | makeBoatItems (P_ITEM pBoat) |
| void | buildShip (P_CHAR builder, P_ITEM shipdeed) |
| void | target_buildShip (NXWCLIENT ps, P_TARGET t) |
| P_ITEM | findmulti (Location where) |
| bool | inmulti (Location where, P_ITEM pi) |
| void | cBoat::insert_boat (P_ITEM pi, cBoat *boat) |
| void | cBoat::remove_boat (P_ITEM pi) |
| cBoat * | search_boat (SI32 ser) |
| P_ITEM | search_boat_by_plank (P_ITEM pl) |
Protected Methods |
| LOGICAL | boat_collision (P_ITEM pBoat1, int x1, int y1, int dir, P_ITEM pBoat2) |
| LOGICAL | collision (P_ITEM pi, Location where, int dir) |
| LOGICAL | good_position (P_ITEM pBoat, Location where, int dir) |
| LOGICAL | tile_check (multi_st multi, P_ITEM pBoat, map_st map, int x, int y,int dir) |
| void | LeaveBoat (P_CHAR pc, P_ITEM pi) |
| void | TurnStuff_i (P_ITEM, P_ITEM, int) |
| void | TurnStuff_c (P_ITEM, P_CHAR, int) |
| void | iMove (NXWSOCKET s, int dir, P_ITEM pBoat, LOGICAL forced=true) |
| void | TurnShip (UI08 size, SI32 dir, P_ITEM pPort, P_ITEM pStarboard, P_ITEM pTiller, P_ITEM pHold) |
Private Attributes |
| SERIAL | tiller_serial |
| SERIAL | l_plank_serial |
| SERIAL | r_plank_serial |
| SERIAL | container |
| P_ITEM | p_serial |
| P_ITEM | p_tiller |
| P_ITEM | p_l_plank |
| P_ITEM | p_r_plank |
| P_ITEM | p_container |