Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7264 in orxonox.OLD for branches/shared_lib/src/world_entities


Ignore:
Timestamp:
Apr 2, 2006, 4:51:19 PM (18 years ago)
Author:
bensch
Message:

shared_lib: compile again

Location:
branches/shared_lib/src/world_entities
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • branches/shared_lib/src/world_entities/Makefile.am

    r7155 r7264  
    11MAINSRCDIR=..
    22include $(MAINSRCDIR)/defs/include_paths.am
    3 include WorldEntities.am
    43
    54noinst_LIBRARIES = libORXwe.a
     5
     6## TODO ::
     7WRONG_SORTED_SOURCES_ = space_ships/space_ship.cc
     8
    69
    710## THESE ARE THE BASE CLASSES OF ALL WORLD_ENTITIES
     
    2730                spawning_point.cc \
    2831                \
     32                skybox.cc \
     33                terrain.cc \
    2934                \
    30                 effects/explosion.cc
     35                elements/image_entity.cc \
     36                elements/text_element.cc \
     37                \
     38                effects/explosion.cc \
     39                \
     40                $(WRONG_SORTED_SOURCES_)
    3141
     42LDFLAGS = --export-dynamic -module
     43
     44pkglib_LTLIBRARIES = \
     45                libORXplayables.la \
     46                libORXweapons.la \
     47                libORXprojectiles.la \
     48                libORXpower_ups.la \
     49                \
     50                libORXenvironmentals.la \
     51                \
     52                libORXnpcs.la \
     53                \
     54                libORXmisc_entities.la
     55
     56
     57libORXplayables_la_SOURCES = \
     58                space_ships/helicopter.cc \
     59                space_ships/hover.cc \
     60                space_ships/turbine_hover.cc \
     61                creatures/md2_creature.cc
     62
     63libORXweapons_la_SOURCES = \
     64                weapons/turret.cc \
     65                weapons/aiming_turret.cc \
     66                weapons/targeting_turret.cc \
     67                weapons/cannon.cc \
     68                weapons/hyperblaster.cc \
     69                weapons/aim.cc\
     70                weapons/test_gun.cc
     71
     72libORXprojectiles_la_SOURCES = \
     73                projectiles/bomb.cc \
     74                projectiles/laser.cc \
     75                projectiles/test_bullet.cc \
     76                projectiles/rocket.cc \
     77                projectiles/guided_missile.cc \
     78                projectiles/hyperblast.cc
     79
     80libORXpower_ups_la_SOURCES = \
     81                power_ups/turret_power_up.cc \
     82                power_ups/laser_power_up.cc
     83
     84
     85libORXnpcs_la_SOURCES = \
     86                npcs/ground_turret.cc \
     87                npcs/npc_test.cc \
     88                npcs/npc_test1.cc
     89
     90libORXenvironmentals_la_SOURCES = \
     91                environment.cc \
     92                skysphere.cc \
     93                satellite.cc \
     94                character_attributes.cc \
     95                test_entity.cc \
     96                planet.cc \
     97                environments/water.cc \
     98                environments/model_entity.cc \
     99                environments/building.cc \
     100                \
     101                movie_entity.cc \
     102                recorder.cc
     103
     104
     105libORXmisc_entities_la_SOURCES = \
     106                \
     107                effects/lightning_bolt.cc
    32108
    33109
     
    57133                effects/explosion.h \
    58134                \
    59                 $(WorldEntities_HEADERS_)
     135                \
     136                \
     137                npcs/npc_test.h \
     138                npcs/npc_test1.h \
     139                npcs/ground_turret.h \
     140                environment.h \
     141                skysphere.h \
     142                skybox.h \
     143                terrain.h \
     144                satellite.h \
     145                movie_entity.h \
     146                recorder.h \
     147                character_attributes.h \
     148                test_entity.h \
     149                planet.h \
     150                \
     151                weapons/test_gun.h \
     152                weapons/cannon.h \
     153                weapons/hyperblaster.h \
     154                weapons/turret.h \
     155                weapons/aiming_turret.h \
     156                weapons/targeting_turret.h \
     157                weapons/aim.h \
     158                \
     159                projectiles/bomb.h \
     160                projectiles/laser.h \
     161                projectiles/test_bullet.h \
     162                projectiles/rocket.h \
     163                projectiles/guided_missile.h \
     164                projectiles/hyperblast.h \
     165                \
     166                power_ups/turret_power_up.h \
     167                power_ups/laser_power_up.h \
     168                \
     169                space_ships/space_ship.h \
     170                space_ships/helicopter.h \
     171                space_ships/hover.h \
     172                space_ships/turbine_hover.h \
     173                creatures/md2_creature.h \
     174                \
     175                environments/water.h \
     176                environments/model_entity.h \
     177                environments/building.h \
     178                elements/image_entity.h \
     179                elements/text_element.h \
     180                \
     181                effects/lightning_bolt.h
    60182
    61 
    62 EXTRA_DIST = WorldEntities.am
  • branches/shared_lib/src/world_entities/WorldEntities.am

    r7167 r7264  
    33                world_entities/npcs/npc_test1.cc \
    44                world_entities/npcs/npc_test.cc \
    5                 world_entities/npcs/ground_turret.cc \
    65                \
    76                world_entities/environment.cc \
     
    5150
    5251
    53 WorldEntities_HEADERS_ = \
    54                 npcs/npc_test.h \
    55                 npcs/npc_test1.h \
    56                 npcs/ground_turret.h \
    57                 environment.h \
    58                 skysphere.h \
    59                 skybox.h \
    60                 terrain.h \
    61                 satellite.h \
    62                 movie_entity.h \
    63                 recorder.h \
    64                 character_attributes.h \
    65                 test_entity.h \
    66                 planet.h \
    67                 \
    68                 weapons/test_gun.h \
    69                 weapons/cannon.h \
    70                 weapons/hyperblaster.h \
    71                 weapons/turret.h \
    72                 weapons/aiming_turret.h \
    73                 weapons/targeting_turret.h \
    74                 weapons/aim.h \
    75                 \
    76                 projectiles/bomb.h \
    77                 projectiles/laser.h \
    78                 projectiles/test_bullet.h \
    79                 projectiles/rocket.h \
    80                 projectiles/guided_missile.h \
    81                 projectiles/hyperblast.h \
    82                 \
    83                 power_ups/turret_power_up.h \
    84                 power_ups/laser_power_up.h \
    85                 \
    86                 space_ships/space_ship.h \
    87                 space_ships/helicopter.h \
    88                 space_ships/hover.h \
    89                 space_ships/turbine_hover.h \
    90                 creatures/md2_creature.h \
    91                 \
    92                 environments/water.h \
    93                 environments/model_entity.h \
    94                 environments/building.h \
    95                 \
    96                 elements/image_entity.h \
    97                 elements/text_element.h \
    98                 \
    99                 effects/lightning_bolt.h
  • branches/shared_lib/src/world_entities/space_ships/helicopter.cc

    r7221 r7264  
    2020
    2121#include "weapons/weapon_manager.h"
    22 #include "weapons/test_gun.h"
    23 #include "weapons/turret.h"
    24 #include "weapons/cannon.h"
    2522
    2623#include "util/loading/factory.h"
     
    8279
    8380  //weapons:
    84   Weapon* wpRight = new TestGun(0);
    85   wpRight->setName("testGun Right");
    86   Weapon* wpLeft = new TestGun(1);
    87   wpLeft->setName("testGun Left");
     81//  Weapon* wpRight = new TestGun(0);
     82//  wpRight->setName("testGun Right");
     83//  Weapon* wpLeft = new TestGun(1);
     84//  wpLeft->setName("testGun Left");
    8885  Weapon* cannon = dynamic_cast<Weapon*>(Factory::fabricate(CL_CANNON));
    8986
    9087  cannon->setName("BFG");
    9188
    92   this->addWeapon(wpLeft, 1, 0);
    93   this->addWeapon(wpRight,1 ,1);
     89//  this->addWeapon(wpLeft, 1, 0);
     90//  this->addWeapon(wpRight,1 ,1);
    9491  this->addWeapon(cannon, 0, 6);
    9592
  • branches/shared_lib/src/world_entities/space_ships/hover.cc

    r7221 r7264  
    2020
    2121#include "weapons/weapon_manager.h"
    22 #include "weapons/test_gun.h"
    23 #include "weapons/turret.h"
    24 #include "weapons/cannon.h"
    2522
    2623#include "util/loading/factory.h"
     
    7471
    7572  //weapons:
    76   Weapon* wpRight = new TestGun(0);
    77   wpRight->setName("testGun Right");
    78   Weapon* wpLeft = new TestGun(1);
    79   wpLeft->setName("testGun Left");
    80   Weapon* cannon = dynamic_cast<Weapon*>(Factory::fabricate(CL_HYPERBLASTER));
    81 
    82   cannon->setName("BFG");
    83 
    84   this->addWeapon(wpLeft, 1, 0);
    85   this->addWeapon(wpRight,1 ,1);
    86   this->addWeapon(cannon, 0, 2);
     73//  Weapon* wpRight = new TestGun(0);
     74//  wpRight->setName("testGun Right");
     75//  Weapon* wpLeft = new TestGun(1);
     76//  wpLeft->setName("testGun Left");
     77//  Weapon* cannon = dynamic_cast<Weapon*>(Factory::fabricate(CL_HYPERBLASTER));
     78
     79//  cannon->setName("BFG");
     80
     81//  this->addWeapon(wpLeft, 1, 0);
     82//  this->addWeapon(wpRight,1 ,1);
     83//  this->addWeapon(cannon, 0, 2);
    8784
    8885  this->getWeaponManager()->changeWeaponConfig(1);
  • branches/shared_lib/src/world_entities/space_ships/space_ship.cc

    r7221 r7264  
    124124
    125125  //weapons:
    126   Weapon* wpRight = new TestGun(0);
    127   wpRight->setName("testGun Right");
    128   Weapon* wpLeft = new TestGun(1);
    129   wpLeft->setName("testGun Left");
     126  //Weapon* wpRight = dynamic_cast<Weapon*>(Factory::fabricate("TestGun"));
     127  //wpRight->setName("testGun Right");
     128  //Weapon* wpLeft = dynamic_cast<Weapon*>(Factory::fabricate("TestGun"));
     129  //wpLeft->setName("testGun Left");
    130130  //Weapon* cannon = dynamic_cast<Weapon*>(Factory::fabricate(CL_CANNON));
    131131
    132132  //cannon->setName("BFG");
    133133
    134   this->addWeapon(wpLeft, 1, 0);
    135   this->addWeapon(wpRight,1 ,1);
     134  //this->addWeapon(wpLeft, 1, 0);
     135  //this->addWeapon(wpRight,1 ,1);
    136136  //this->addWeapon(cannon, 0, 6);
    137137
  • branches/shared_lib/src/world_entities/space_ships/turbine_hover.cc

    r7221 r7264  
    2020
    2121#include "weapons/weapon_manager.h"
    22 #include "weapons/test_gun.h"
    23 #include "weapons/turret.h"
    24 #include "weapons/cannon.h"
    2522
    2623#include "util/loading/factory.h"
     
    7673
    7774  //weapons:
    78   Weapon* wpRight = new TestGun(0);
    79   wpRight->setName("testGun Right");
    80   Weapon* wpLeft = new TestGun(1);
    81   wpLeft->setName("testGun Left");
     75//  Weapon* wpRight = new TestGun(0);
     76//  wpRight->setName("testGun Right");
     77//  Weapon* wpLeft = new TestGun(1);
     78//  wpLeft->setName("testGun Left");
    8279  //Weapon* cannon = dynamic_cast<Weapon*>(Factory::fabricate(CL_HYPERBLASTER));
    8380
    8481  //  cannon->setName("BFG");
    8582
    86   this->addWeapon(wpLeft, 1, 0);
    87   this->addWeapon(wpRight,1 ,1);
     83//  this->addWeapon(wpLeft, 1, 0);
     84//  this->addWeapon(wpRight,1 ,1);
    8885  //this->addWeapon(cannon, 0, 2);
    8986
Note: See TracChangeset for help on using the changeset viewer.