[Orxonox-commit 6623] r11263 - code/branches/HUD_HS16/src/modules/overlays/hud
patricwi at orxonox.net
patricwi at orxonox.net
Mon Oct 31 16:15:46 CET 2016
Author: patricwi
Date: 2016-10-31 16:15:46 +0100 (Mon, 31 Oct 2016)
New Revision: 11263
Added:
code/branches/HUD_HS16/src/modules/overlays/hud/HUDPickupSystem.cc
code/branches/HUD_HS16/src/modules/overlays/hud/HUDPickupSystem.h
Log:
new files included
Added: code/branches/HUD_HS16/src/modules/overlays/hud/HUDPickupSystem.cc
===================================================================
--- code/branches/HUD_HS16/src/modules/overlays/hud/HUDPickupSystem.cc (rev 0)
+++ code/branches/HUD_HS16/src/modules/overlays/hud/HUDPickupSystem.cc 2016-10-31 15:15:46 UTC (rev 11263)
@@ -0,0 +1,68 @@
+/*
+ * ORXONOX - the hottest 3D action shooter ever to exist
+ * > www.orxonox.net <
+ *
+ *
+ * License notice:
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ * Author:
+ * Patrick Wintermeyer
+ * Co-authors:
+ * ...
+ *
+ */
+
+#include "core/CoreIncludes.h"
+#include "core/XMLPort.h"
+#include "util/Convert.h"
+#include "core/class/Super.h"
+
+namespace orxonox
+{
+ RegisterClass(HUDPickupSystem);
+
+ HUDPickupSystem::HUDPickupSystem(Context* context) : OrxonoxOverlay(context)
+ {
+ RegisterObject(HUDPickupSystem);
+
+ }
+
+ HUDPickupSystem::~HUDPickupSystem()
+ {
+ if (this->isInitialized())
+ {
+ //TODO: Destroy me
+ }
+ }
+
+ //TODO: XMLPort
+
+ void HUDPickupSystem::updatePickupList()
+ {
+
+ }
+
+ void HUDPickupSystem::createPickupList()
+ {
+
+ }
+
+ void HUDPickupSystem::destroyAll()
+ {
+
+ }
+}
Added: code/branches/HUD_HS16/src/modules/overlays/hud/HUDPickupSystem.h
===================================================================
--- code/branches/HUD_HS16/src/modules/overlays/hud/HUDPickupSystem.h (rev 0)
+++ code/branches/HUD_HS16/src/modules/overlays/hud/HUDPickupSystem.h 2016-10-31 15:15:46 UTC (rev 11263)
@@ -0,0 +1,58 @@
+/*
+ * ORXONOX - the hottest 3D action shooter ever to exist
+ * > www.orxonox.net <
+ *
+ *
+ * License notice:
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ * Author:
+ * Patrick Wintermeyer
+ * Co-authors:
+ * ...
+ *
+ */
+#include "overlays/OverlaysPrereqs.h"
+
+#include <map>
+#include <vector>
+#include <string>
+
+#include "overlays/OrxonoxOverlay.h"
+#include "worldentities/pawns/Pawn.h"
+#include "overlays/OverlayGroup.h"
+
+namespace orxonox
+{
+ class _OverlaysExport HUDPickupSystem : public OrxonoxOverlay
+ {
+ public:
+ HUDPickupSystem(Context* context);
+ virtual ~HUDPickupSystem();
+
+ // virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) override;
+ // virtual void changedOwner() override;
+ // virtual void changedOverlayGroup() override;
+ // virtual void changedVisibility() override;
+ // virtual void changedName() override;
+ // virtual void positionChanged() override;
+ // virtual void sizeChanged() override;
+ protected:
+ void updatePickupList();
+ void createPickupList();
+ void destroyAll();
+ };
+}
\ No newline at end of file
More information about the Orxonox-commit
mailing list