Changeset 10101 in orxonox.OLD for branches/playability/src
- Timestamp:
- Dec 19, 2006, 6:30:24 PM (18 years ago)
- Location:
- branches/playability/src/world_entities
- Files:
-
- 2 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/Makefile.am
r10081 r10101 7 7 ## THESE ARE THE BASE CLASSES OF ALL WORLD_ENTITIES 8 8 libORXwe_a_SOURCES = world_entity.cc camera.cc playable.cc player.cc \ 9 npcs/npc.cc weapons/weapon_manager.cc weapons/crosshair.cc \10 weapons/weapon.cc weapons/ammo_container.cc projectiles/projectile.cc \11 extendable.cc power_ups/power_up.cc power_ups/param_power_up.cc \12 power_ups/weapon_power_up.cc spawning_point.cc effects/explosion.cc effects/billboard.cc \13 effects/trail.cc elements/glgui_energywidget.cc9 npcs/npc.cc weapons/weapon_manager.cc weapons/crosshair.cc \ 10 weapons/weapon.cc weapons/ammo_container.cc projectiles/projectile.cc \ 11 extendable.cc power_ups/power_up.cc power_ups/param_power_up.cc \ 12 power_ups/weapon_power_up.cc spawning_point.cc effects/explosion.cc effects/billboard.cc \ 13 effects/trail.cc elements/glgui_energywidget.cc glgui_energywidget.cc 14 14 15 15 16 16 noinst_HEADERS = world_entity.h camera.h extendable.h playable.h \ 17 player.h npcs/npc.h weapons/weapon_manager.h weapons/crosshair.h \18 weapons/weapon.h weapons/ammo_container.h projectiles/projectile.h \19 power_ups/power_up.h power_ups/param_power_up.h power_ups/weapon_power_up.h \20 spawning_point.h effects/explosion.h effects/billboard.h effects/trail.h \21 elements/glgui_energywidget.h17 player.h npcs/npc.h weapons/weapon_manager.h weapons/crosshair.h \ 18 weapons/weapon.h weapons/ammo_container.h projectiles/projectile.h \ 19 power_ups/power_up.h power_ups/param_power_up.h power_ups/weapon_power_up.h \ 20 spawning_point.h effects/explosion.h effects/billboard.h effects/trail.h \ 21 elements/glgui_energywidget.h glgui_energywidget.h 22 22 23 23 -
branches/playability/src/world_entities/world_entity.cc
r10096 r10101 34 34 35 35 #include "elements/glgui_energywidget.h" 36 #include "elements/glgui_energywidgetvertical.h" 36 37 37 38 #include "state.h" … … 750 751 if (this->healthWidget == NULL) 751 752 { 752 this->healthWidget = new OrxGui::GLGuiEnergyWidget ();753 this->healthWidget = new OrxGui::GLGuiEnergyWidgetVertical(); 753 754 this->healthWidget->setDisplayedName(std::string(this->getClassName()) + " Energy:"); 754 755 this->healthWidget->setSize2D(30,400); -
branches/playability/src/world_entities/world_entity.h
r10096 r10101 183 183 float health; //!< The Energy of this Entity, if the Entity has any energy at all. 184 184 float healthMax; //!< The Maximal energy this entity can take. 185 OrxGui::GLGuiEnergyWidget * healthWidget; //!< The Slider (if wanted).185 OrxGui::GLGuiEnergyWidgetVertical* healthWidget; //!< The Slider (if wanted). 186 186 187 187 std::vector<Model*> models; //!< The model that should be loaded for this entity.
Note: See TracChangeset
for help on using the changeset viewer.