- Timestamp:
- Nov 24, 2005, 6:03:24 PM (19 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/aclocal.m4
r5479 r5766 1 # generated automatically by aclocal 1.9. 6-*- Autoconf -*-1 # generated automatically by aclocal 1.9.5 -*- Autoconf -*- 2 2 3 3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, … … 29 29 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. 30 30 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], 31 [AM_AUTOMAKE_VERSION([1.9. 6])])31 [AM_AUTOMAKE_VERSION([1.9.5])]) 32 32 33 33 # AM_AUX_DIR_EXPAND -*- Autoconf -*- -
trunk/src/Makefile.am
r5750 r5766 68 68 world_entities/weapons/test_bullet.cc \ 69 69 world_entities/weapons/rocket.cc \ 70 world_entities/weapons/guided_missile.cc \ 70 71 world_entities/weapons/laser.cc \ 71 72 world_entities/weapons/aim.cc \ … … 106 107 world_entities/weapons/test_bullet.h \ 107 108 world_entities/weapons/rocket.h \ 109 world_entities/weapons/guided_missile.h \ 108 110 world_entities/weapons/laser.h \ 109 111 world_entities/weapons/aim.h \ -
trunk/src/defs/class_id.h
r5750 r5766 143 143 CL_BOMB = 0x00000243, 144 144 CL_GROUND_TURRET = 0x00000244, 145 CL_GUIDED_MISSILE = 0x00000245, 145 146 146 147 // gamePlay (range from 0x00000500 0x000005ff) -
trunk/src/lib/gui/gtk_gui/gui_keys.cc
r5475 r5766 119 119 pKeysBox->fill(addKey(CONFIG_NAME_PLAYER_LEFT, "LEFT")); 120 120 pKeysBox->fill(addKey(CONFIG_NAME_PLAYER_RIGHT, "RIGHT")); 121 pKeysBox->fill(addKey(CONFIG_NAME_PLAYER_FIRE, " BUTTON_LEFT"));121 pKeysBox->fill(addKey(CONFIG_NAME_PLAYER_FIRE, "MOUSE_LEFT")); 122 122 pKeysBox->fill(addKey(CONFIG_NAME_PLAYER_NEXT_WEAPON, "m")); 123 123 pKeysBox->fill(addKey(CONFIG_NAME_PLAYER_PREV_WEAPON, "n")); -
trunk/src/lib/gui/gtk_gui/gui_update.cc
r5241 r5766 29 29 #include <stdio.h> 30 30 #include <stdlib.h> 31 #include "globals.h" 31 32 32 33 using namespace std; -
trunk/src/world_entities/weapons/projectile.cc
r5511 r5766 38 38 this->lifeCycle = 0.0; 39 39 this->lifeSpan = 1.0f; /* sec */ 40 this->target = NULL; 40 41 41 42 this->remove(); … … 98 99 } 99 100 101 102 103 void Projectile::setTarget(PNode* target) 104 { 105 106 if (this->target == NULL) 107 this->target = new PNode(); 108 this->target->setParent(target); 109 } 110 111 100 112 /** 101 113 * signal tick, time dependent things will be handled here -
trunk/src/world_entities/weapons/projectile.h
r5500 r5766 31 31 inline bool isChageable() { return this->bChargeable; }; 32 32 33 void setTarget(PNode* target); 33 34 34 35 /** @brief This is called, when the Projectile is Emitted */ … … 54 55 55 56 Vector velocity; //!< velocity of the projectile. 57 58 PNode* target; //!< A target for guided Weapons. 56 59 }; 57 60 -
trunk/src/world_entities/weapons/turret.cc
r5750 r5766 138 138 pj->setVelocity(this->getVelocity()+(this->getAbsDir().apply(Vector(1,0,0))*100.0 + VECTOR_RAND(13) 139 139 /*target->getAbsCoor() - this->getAbsCoor()*/)*.5);//this->getVelocity()); 140 140 141 141 142 pj->setParent(NullParent::getInstance());
Note: See TracChangeset
for help on using the changeset viewer.