Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8814 in orxonox.OLD for branches/single_player_map/src


Ignore:
Timestamp:
Jun 26, 2006, 6:13:25 PM (18 years ago)
Author:
patrick
Message:

more npc interface

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/single_player_map/src/world_entities/npcs/generic_npc.cc

    r8812 r8814  
    6161  : NPC(NULL)
    6262{
    63  
     63
    6464}
    6565
     
    214214  return this->walkTo(coor.x, coor.y, coor.z, dir.w, dir.v.x, dir.v.y, dir.v.z);
    215215}
     216
     217
     218
     219/**
     220 * run to a specific place with direction
     221 *
     222 * @param coor: vector place
     223 * @param dir: direction
     224 *
     225 */
     226float GenericNPC::runTo(const Vector& coordinate, const Quaternion& dir)
     227{}
     228
     229
     230/**
     231 * run to a specific place with direction
     232 *
     233 * @param x: x coordinate to go to
     234 * @param y: y coordinate to go to
     235 * @param z: z coordinate to go to
     236 * @param qu: angle to rotate
     237 * @param qx: x coordinate of rotation vector
     238 * @param qy: y coordinate of rotation vector
     239 * @param qz: z coordinate of rotation vector
     240 *
     241 */
     242float GenericNPC::runTo(float x, float y, float z, float qu, float qx, float qy, float qz)
     243{}
     244
     245
     246/**
     247 * run to a specific place with direction
     248 *
     249 * @param x: x coordinate to go to
     250 * @param y: y coordinate to go to
     251 * @param qu: angle to rotate
     252 * @param qx: x coordinate of rotation vector
     253 * @param qy: y coordinate of rotation vector
     254 * @param qz: z coordinate of rotation vector
     255 *
     256 */
     257float GenericNPC::runTo(float x, float y, float qu, float qx, float qy, float qz)
     258{}
     259
     260
     261
     262/**
     263 * crouch to a specific place with direction
     264 *
     265 * @param coor: vector place
     266 * @param dir: direction
     267 *
     268 */
     269float GenericNPC::crouchTo(const Vector& coordinate, const Quaternion& dir)
     270{}
     271
     272
     273/**
     274 * crouch to a specific place with direction
     275 *
     276 * @param x: x coordinate to go to
     277 * @param y: y coordinate to go to
     278 * @param z: z coordinate to go to
     279 * @param qu: angle to rotate
     280 * @param qx: x coordinate of rotation vector
     281 * @param qy: y coordinate of rotation vector
     282 * @param qz: z coordinate of rotation vector
     283 *
     284 */
     285float GenericNPC::crouchTo(float x, float y, float z, float qu, float qx, float qy, float qz)
     286{}
     287
     288
     289/**
     290 * couch to a specific place with direction
     291 *
     292 * @param x: x coordinate to go to
     293 * @param y: y coordinate to go to
     294 * @param qu: angle to rotate
     295 * @param qx: x coordinate of rotation vector
     296 * @param qy: y coordinate of rotation vector
     297 * @param qz: z coordinate of rotation vector
     298 *
     299 */
     300float GenericNPC::crouchTo(float x, float y, float qu, float qx, float qy, float qz)
     301{}
     302
     303
     304
     305  /* some oriantation functions */
     306float GenericNPC::lookAt(WorldEntity* worldEntity)
     307{}
     308
     309
     310  /* talking funcitons*/
     311float GenericNPC::talkTo(WorldEntity* worldEntity, int dialogNr)
     312{}
     313
     314  /* shooting functions */
     315void GenericNPC::shootAt(WorldEntity* entity)
     316{}
     317
     318
     319
     320
     321
     322
     323
     324
    216325
    217326
Note: See TracChangeset for help on using the changeset viewer.