Changeset 8814 in orxonox.OLD for branches/single_player_map/src
- Timestamp:
- Jun 26, 2006, 6:13:25 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/single_player_map/src/world_entities/npcs/generic_npc.cc
r8812 r8814 61 61 : NPC(NULL) 62 62 { 63 63 64 64 } 65 65 … … 214 214 return this->walkTo(coor.x, coor.y, coor.z, dir.w, dir.v.x, dir.v.y, dir.v.z); 215 215 } 216 217 218 219 /** 220 * run to a specific place with direction 221 * 222 * @param coor: vector place 223 * @param dir: direction 224 * 225 */ 226 float 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 */ 242 float 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 */ 257 float 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 */ 269 float 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 */ 285 float 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 */ 300 float GenericNPC::crouchTo(float x, float y, float qu, float qx, float qy, float qz) 301 {} 302 303 304 305 /* some oriantation functions */ 306 float GenericNPC::lookAt(WorldEntity* worldEntity) 307 {} 308 309 310 /* talking funcitons*/ 311 float GenericNPC::talkTo(WorldEntity* worldEntity, int dialogNr) 312 {} 313 314 /* shooting functions */ 315 void GenericNPC::shootAt(WorldEntity* entity) 316 {} 317 318 319 320 321 322 323 324 216 325 217 326
Note: See TracChangeset
for help on using the changeset viewer.